Closed
Bug 846101
Opened 13 years ago
Closed 12 years ago
Intermittent browser/components/preferences/in-content/tests/browser_privacypane_4.js | Test timed out
Categories
(Firefox :: Settings UI, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: RyanVM, Unassigned)
References
Details
(Keywords: intermittent-failure)
https://tbpl.mozilla.org/php/getParsedLog.php?id=20140595&tree=Mozilla-Inbound
Rev3 WINNT 6.1 mozilla-inbound debug test mochitest-browser-chrome on 2013-02-27 04:32:11 PST for push de7a2806e767
slave: talos-r3-w7-098
04:48:35 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/components/preferences/in-content/tests/browser_privacypane_4.js | Console message: [JavaScript Warning: "SyntaxError: octal literals and octal escape sequences are deprecated" {file: "chrome://browser/content/sync/utils.js" line: 160 column: 35 source: " stream.init(fp.file, -1, 0600, 0);
04:48:35 INFO - "}]
04:48:35 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/components/preferences/in-content/tests/browser_privacypane_4.js | Console message: [JavaScript Warning: "SyntaxError: octal literals and octal escape sequences are deprecated" {file: "chrome://browser/content/sync/utils.js" line: 160 column: 35 source: " stream.init(fp.file, -1, 0600, 0);
04:48:35 INFO - "}]
04:48:35 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/components/preferences/in-content/tests/browser_privacypane_4.js | Console message: [JavaScript Warning: "SyntaxError: octal literals and octal escape sequences are deprecated" {file: "chrome://browser/content/sync/utils.js" line: 160 column: 35 source: " stream.init(fp.file, -1, 0600, 0);
04:48:35 INFO - "}]
04:48:36 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/components/preferences/in-content/tests/browser_privacypane_4.js | Checking if the preferences tab was opened
<snip>
04:48:38 WARNING - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/components/preferences/in-content/tests/browser_privacypane_4.js | Test timed out
04:48:38 WARNING - This is a harness error.
Comment 2•13 years ago
|
||
Hm, I'm not sure what changed in the privacy preferences UI or tests that could cause a timeout—and a timeout that only appears for the in-content version. I *think* this may have something to do with the tab opening and closing code in privacypane_tests_perwindow.js since it's the asynchronous component of the browser_privacypane_4.js tests and since the code does differ between the dialog and in-content versions.
>function runTestOnPrivacyPrefPane(testFunc) {
>
> gBrowser.tabContainer.addEventListener("TabOpen", function(aEvent) {
> gBrowser.tabContainer.removeEventListener("TabOpen", arguments.callee, true);
> let browser = aEvent.originalTarget.linkedBrowser;
> browser.addEventListener("Initialized", function(aEvent) {
> browser.removeEventListener("Initialized", arguments.callee, true);
> is(browser.contentWindow.location.href, "about:preferences", "Checking if the preferences tab was opened");
> testFunc(browser.contentWindow);
> gBrowser.removeCurrentTab();
> testRunner.runNext();
> }, true);
> }, true);
>
> gBrowser.selectedTab = gBrowser.addTab("about:preferences");
>}
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 5•12 years ago
|
||
Closing inactive keywords:intermittent-failure bugs where the TBPLbot has previously commented and the test isn't marked as disabled; filter on orange-cleanup-201401.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
| Comment hidden (Legacy TBPL/Treeherder Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•