Closed
Bug 824493
Opened 12 years ago
Closed 12 years ago
Intermittent timeout in test_sts_privatebrowsing_perwindowpb.html | Test timed out.
Categories
(Firefox :: Private Browsing, defect)
Tracking
()
RESOLVED
FIXED
Firefox 20
People
(Reporter: jdm, Assigned: andreshm)
References
(Blocks 1 open bug)
Details
(Keywords: intermittent-failure)
Attachments
(1 file, 1 obsolete file)
3.13 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
https://tbpl.mozilla.org/php/getParsedLog.php?id=18240445&tree=Firefox
Rev3 WINNT 6.1 mozilla-central opt test mochitest-other on 2012-12-24 06:09:44 PST for push dc2abccc2adb
slave: talos-r3-w7-085
The screenshot in the log shows that we're not suppressing the default window load (ie. the firstrun page).
Comment 1•12 years ago
|
||
(Keyword intermittent-failure is required in order for TBPL to suggest this for future failures)
Keywords: intermittent-failure
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → andres
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #697706 -
Flags: review?(josh)
Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•12 years ago
|
||
Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=29c79ba11d34
Reporter | ||
Comment 4•12 years ago
|
||
Comment on attachment 697706 [details] [diff] [review]
Patch v1
Review of attachment 697706 [details] [diff] [review]:
-----------------------------------------------------------------
::: security/manager/ssl/tests/mochitest/stricttransportsecurity/test_sts_privatebrowsing_perwindowpb.html
@@ +28,5 @@
> getInterface(Ci.nsIWebNavigation).QueryInterface(Ci.nsIDocShellTreeItem).
> rootTreeItem.QueryInterface(Ci.nsIInterfaceRequestor).
> getInterface(Ci.nsIDOMWindow);
>
> + mainWindow.Services.prefs.setIntPref("browser.startup.page", 0);
SpecialPowers.Services
@@ +57,5 @@
> function testOnWindow(aIsPrivate, aCallback) {
> var win = mainWindow.OpenBrowserWindow({private: aIsPrivate});
> win.addEventListener("load", function onLoad() {
> win.removeEventListener("load", onLoad, false);
> + win.gBrowser.addEventListener("DOMContentLoaded", function onInnerLoad() {
Please check if the this event listener is actually required with the browser.startup.page pref set to 0.
@@ +218,5 @@
> test_sts_after_exiting_private_mode
> ];
>
> + function finish() {
> + mainWindow.Services.prefs.clearUserPref("browser.startup.page")
Likewise.
Attachment #697706 -
Flags: review?(josh)
Assignee | ||
Comment 5•12 years ago
|
||
Applied suggested changes. The event listener is still required.
Attachment #697706 -
Attachment is obsolete: true
Attachment #697920 -
Flags: review?(josh)
Updated•12 years ago
|
Attachment #697920 -
Flags: review?(josh) → review+
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
You need to log in
before you can comment on or make changes to this bug.
Description
•