зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1610141, findbar should only apply to the main browsers and tests, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D68782 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
fc54bfbe54
Коммит
61184721de
|
@ -141,6 +141,6 @@
|
||||||
<command id="cmd_find"
|
<command id="cmd_find"
|
||||||
oncommand="document.getElementById('FindToolbar').onFindCommand();"/>
|
oncommand="document.getElementById('FindToolbar').onFindCommand();"/>
|
||||||
</commandset>
|
</commandset>
|
||||||
<browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" src="about:blank"/>
|
||||||
<findbar id="FindToolbar" browserid="content"/>
|
<findbar id="FindToolbar" browserid="content"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -244,5 +244,5 @@
|
||||||
|
|
||||||
]]></script>
|
]]></script>
|
||||||
|
|
||||||
<browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" src="about:blank"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -197,7 +197,7 @@
|
||||||
}
|
}
|
||||||
]]></script>
|
]]></script>
|
||||||
|
|
||||||
<browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" src="about:blank"/>
|
||||||
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" messagemanagergroup="test" src="about:blank"/>
|
||||||
<findbar id="FindToolbar" browserid="content"/>
|
<findbar id="FindToolbar" browserid="content"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -81,7 +81,7 @@ find-menu appears in editor element which has had makeEditable() called but desi
|
||||||
}
|
}
|
||||||
]]></script>
|
]]></script>
|
||||||
|
|
||||||
<browser id="content" flex="1" src="about:blank" type="content" primary="true"/>
|
<browser id="content" flex="1" src="about:blank" type="content" primary="true" messagemanagergroup="test"/>
|
||||||
<browser id="content-remote" remote="true" flex="1" src="about:blank" type="content" primary="true"/>
|
<browser id="content-remote" remote="true" flex="1" src="about:blank" type="content" primary="true" messagemanagergroup="test"/>
|
||||||
<findbar id="FindToolbar" browserid="content"/>
|
<findbar id="FindToolbar" browserid="content"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
<commandset>
|
<commandset>
|
||||||
<command id="cmd_find" oncommand="document.getElementById('FindToolbar').onFindCommand();"/>
|
<command id="cmd_find" oncommand="document.getElementById('FindToolbar').onFindCommand();"/>
|
||||||
</commandset>
|
</commandset>
|
||||||
<browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" src="about:blank"/>
|
||||||
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" messagemanagergroup="test" src="about:blank"/>
|
||||||
<findbar id="FindToolbar" browserid="content"/>
|
<findbar id="FindToolbar" browserid="content"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -115,7 +115,7 @@
|
||||||
}
|
}
|
||||||
]]></script>
|
]]></script>
|
||||||
<html:input id="textbox"/>
|
<html:input id="textbox"/>
|
||||||
<browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" src="about:blank"/>
|
||||||
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" messagemanagergroup="test" src="about:blank"/>
|
||||||
<findbar id="FindToolbar" browserid="content"/>
|
<findbar id="FindToolbar" browserid="content"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -93,6 +93,6 @@
|
||||||
SimpleTest.waitForFocus(startTest, window);
|
SimpleTest.waitForFocus(startTest, window);
|
||||||
]]></script>
|
]]></script>
|
||||||
|
|
||||||
<browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" src="about:blank"/>
|
||||||
<findbar id="FindToolbar" browserid="content"/>
|
<findbar id="FindToolbar" browserid="content"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -80,6 +80,6 @@
|
||||||
<commandset>
|
<commandset>
|
||||||
<command id="cmd_find" oncommand="document.getElementById('FindToolbar').onFindCommand();"/>
|
<command id="cmd_find" oncommand="document.getElementById('FindToolbar').onFindCommand();"/>
|
||||||
</commandset>
|
</commandset>
|
||||||
<browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" src="about:blank"/>
|
||||||
<findbar id="FindToolbar" browserid="content"/>
|
<findbar id="FindToolbar" browserid="content"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -247,7 +247,7 @@
|
||||||
SimpleTest.waitForFocus(startTest, window);
|
SimpleTest.waitForFocus(startTest, window);
|
||||||
]]></script>
|
]]></script>
|
||||||
|
|
||||||
<browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" src="about:blank"/>
|
||||||
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" messagemanagergroup="test" src="about:blank"/>
|
||||||
<findbar id="FindToolbar" browserid="content"/>
|
<findbar id="FindToolbar" browserid="content"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -263,7 +263,7 @@
|
||||||
<commandset>
|
<commandset>
|
||||||
<command id="cmd_find" oncommand="document.getElementById('FindToolbar').onFindCommand();"/>
|
<command id="cmd_find" oncommand="document.getElementById('FindToolbar').onFindCommand();"/>
|
||||||
</commandset>
|
</commandset>
|
||||||
<browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" src="about:blank"/>
|
||||||
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" messagemanagergroup="test" src="about:blank"/>
|
||||||
<findbar id="FindToolbar" browserid="content"/>
|
<findbar id="FindToolbar" browserid="content"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -183,7 +183,7 @@
|
||||||
}
|
}
|
||||||
]]></script>
|
]]></script>
|
||||||
|
|
||||||
<browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" src="about:blank"/>
|
||||||
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" messagemanagergroup="test" src="about:blank"/>
|
||||||
<findbar id="FindToolbar" browserid="content"/>
|
<findbar id="FindToolbar" browserid="content"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -779,7 +779,7 @@
|
||||||
<commandset>
|
<commandset>
|
||||||
<command id="cmd_find" oncommand="document.getElementById('FindToolbar').onFindCommand();"/>
|
<command id="cmd_find" oncommand="document.getElementById('FindToolbar').onFindCommand();"/>
|
||||||
</commandset>
|
</commandset>
|
||||||
<browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content" messagemanagergroup="test" src="about:blank"/>
|
||||||
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" src="about:blank"/>
|
<browser type="content" primary="true" flex="1" id="content-remote" remote="true" messagemanagergroup="test" src="about:blank"/>
|
||||||
<findbar id="FindToolbar" browserid="content"/>
|
<findbar id="FindToolbar" browserid="content"/>
|
||||||
</window>
|
</window>
|
||||||
|
|
|
@ -180,6 +180,7 @@ let ACTORS = {
|
||||||
},
|
},
|
||||||
|
|
||||||
allFrames: true,
|
allFrames: true,
|
||||||
|
messageManagerGroups: ["browsers", "test"],
|
||||||
},
|
},
|
||||||
|
|
||||||
// This is the actor that responds to requests from the find toolbar and
|
// This is the actor that responds to requests from the find toolbar and
|
||||||
|
|
Загрузка…
Ссылка в новой задаче