Closed
Bug 944126
Opened 12 years ago
Closed 12 years ago
Random failures with browser_privatebrowsing_aboutSessionRestore.js
Categories
(Firefox :: Private Browsing, defect)
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: smaug, Assigned: smaug)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 1 obsolete file)
1.49 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
Rather similar to Bug 938030
Attachment #8339543 -
Flags: review?(ehsan)
Comment 1•12 years ago
|
||
Comment on attachment 8339543 [details] [diff] [review]
pb_test2_failure.diff
Review of attachment 8339543 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/components/privatebrowsing/test/browser/browser_privatebrowsing_aboutSessionRestore.js
@@ +18,5 @@
> win.gBrowser.selectedTab = newTab;
> let tabBrowser = win.gBrowser.getBrowserForTab(newTab);
> tabBrowser.addEventListener("load", function tabLoadListener() {
> + if (win.gBrowser.contentWindow.location != "about:sessionrestore") {
> + win.gBrowser.selectedBrowser.loadURI("about:sessionrestore");
I think you forgot a return here.
Attachment #8339543 -
Flags: review?(ehsan) → review-
Assignee | ||
Comment 2•12 years ago
|
||
bah, did I attach some wrong patch.
Assignee | ||
Comment 3•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=4a5614d8a8f1
(The tryserver run may have other failures which I'm investigating)
Attachment #8339543 -
Attachment is obsolete: true
Attachment #8339594 -
Flags: review?(ehsan)
Comment 4•12 years ago
|
||
Comment on attachment 8339594 [details] [diff] [review]
with return
Review of attachment 8339594 [details] [diff] [review]:
-----------------------------------------------------------------
I think the loadURI call is redundant, please verify that it's needed. r=me either way.
::: browser/components/privatebrowsing/test/browser/browser_privatebrowsing_aboutSessionRestore.js
@@ +18,5 @@
> win.gBrowser.selectedTab = newTab;
> let tabBrowser = win.gBrowser.getBrowserForTab(newTab);
> tabBrowser.addEventListener("load", function tabLoadListener() {
> + if (win.gBrowser.contentWindow.location != "about:sessionrestore") {
> + win.gBrowser.selectedBrowser.loadURI("about:sessionrestore");
Hmm, why do you need to load the URL again here?
Attachment #8339594 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 5•12 years ago
|
||
IIRC this was again (test) PAC loading lately, so we may get wrong load.
Comment 6•12 years ago
|
||
(In reply to comment #5)
> IIRC this was again (test) PAC loading lately, so we may get wrong load.
PAC?
Assignee | ||
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 28
Comment 9•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/9f4b4417d125
https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/e52eb86c3c02
https://hg.mozilla.org/releases/mozilla-esr24/rev/4d510f461923
status-b2g-v1.2:
--- → fixed
status-firefox27:
--- → fixed
status-firefox28:
--- → fixed
status-firefox-esr24:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•