Update editor, themes, menus, backgrounds, and release tooling
This commit is contained in:
@@ -29,6 +29,7 @@ const COMMANDS: &[&str] = &[
|
||||
"adoptTab",
|
||||
"resize",
|
||||
"visible",
|
||||
"focus",
|
||||
"input",
|
||||
"insertText",
|
||||
"edit",
|
||||
@@ -414,7 +415,7 @@ impl BrowserState {
|
||||
let _ = app.emit_to(&source, "browser-tab-moved", json!({ "tabId": id }));
|
||||
return Ok(worker.routing.lock().map_err(fail)?.snapshot(result, owner));
|
||||
}
|
||||
if ["closeTab", "navigate", "back", "forward", "reload", "stop", "find", "stopFind", "openExternal", "moveToWindow", "resize", "visible", "input", "insertText", "edit", "contextAction", "frameAck", "bookmark", "agentSnapshot"].contains(&command) {
|
||||
if ["closeTab", "navigate", "back", "forward", "reload", "stop", "find", "stopFind", "openExternal", "moveToWindow", "resize", "visible", "focus", "input", "insertText", "edit", "contextAction", "frameAck", "bookmark", "agentSnapshot"].contains(&command) {
|
||||
let id = args["tabId"].as_str().ok_or("Invalid browser tab.")?;
|
||||
match worker.routing.lock().map_err(fail)?.owners.get(id) {
|
||||
Some(window) if window == owner => {},
|
||||
|
||||
Reference in New Issue
Block a user