The intermittent failures are coming from events with keyCodes 34, 93,
and 95, corresponding to ", ], and _. The test doesn't send any of
these keys; I don't know where they're coming from. But at the very
least, we can not turn the test orange when we receive these events.
This change also removes some comments in the test about keypresses
being preventDefault'ed that, as far as I can tell, are incorrect.
Also set network.disable.ipc.security to true and leave it that way. This prevents security errors in the tests which happen when we pop the pref.
--HG--
extra : rebase_source : 95f7ca7c3b71cdc0e3e6fd1cfb663a5653f3ab6f
In fact this test was already disabled; the OOP version was the same as
the in-process version because the test explicitly disabled OOP tabs.
--HG--
extra : rebase_source : 7bcfb88e7368f72d1df863c0c026c7b0549caa77
Make this test less sensitive to the timing of its own unloading by
passing on only the expected messages and not any messages that occur
during unloading. Such messages might cause exceptions (e.g.,
"'TypeError: can't access dead object' when calling method:
[nsIPrompt::alert]"), and those exceptions might in turn trigger leaks
in nsXPConnect that last until shutdown because we store the most recent
exception from a call to an XPCWrappedJS on the XPCJSRuntime through
shutdown (rather than reporting it, as we probably should, and then
freeing it), leaking the window.
The error we're fixing is
E/GeckoConsole( 397): [JavaScript Error: "NS_ERROR_FACTORY_NOT_REGISTERED: Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)
[nsIComponentManager.getClassObject]" {file: "resource://gre/modules/BrowserElementPromptService.jsm" line: 572}]
For some reason, we're running code before the vanilla prompt service is
instantiated. We don't know why this is happening, but this patch works
around the problem on B2G, which is the only place where we ship this
code.
The error we're fixing is
E/GeckoConsole( 397): [JavaScript Error: "NS_ERROR_FACTORY_NOT_REGISTERED: Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)
[nsIComponentManager.getClassObject]" {file: "resource://gre/modules/BrowserElementPromptService.jsm" line: 572}]
For some reason, we're running code before the vanilla prompt service is
instantiated. We don't know why this is happening, but this patch works
around the problem on B2G, which is the only place where we ship this
code.
The error we're fixing is
E/GeckoConsole( 397): [JavaScript Error: "NS_ERROR_FACTORY_NOT_REGISTERED: Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)
[nsIComponentManager.getClassObject]" {file: "resource://gre/modules/BrowserElementPromptService.jsm" line: 572}]
For some reason, we're running code before the vanilla prompt service is
instantiated. We don't know why this is happening, but this patch works
around the problem on B2G, which is the only place where we ship this
code.
Includes the following patches
Bug 819000: Bail out of PresShell::Paint if not active. r=roc
Bug 819000: Make sure preloaded docshells are reset to active. r=jlebar
Bug 819000: Preload about:blank. r=cjones a=cjones