Closed
Bug 812828
Opened 13 years ago
Closed 13 years ago
"Open All in Tabs" doesn't work when only Library window is open with no other windows in background
Categories
(Toolkit :: Places, defect)
Tracking
()
VERIFIED
FIXED
mozilla20
People
(Reporter: Virtual, Assigned: jdm)
References
Details
(Keywords: nightly-community, regression, verifyme)
Attachments
(1 file)
Regression window (mozilla-inbound-win64-pgo)
Good:
https://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-win64-pgo/1352901940/
Bad:
https://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-win64-pgo/1352912619/
Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=c44db6486c0d&tochange=a6305a66f8c1
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Updated•13 years ago
|
tracking-firefox19:
--- → ?
Keywords: regression
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Comment 1•13 years ago
|
||
Regression window (mozilla-inbound-win32)
Good:
https://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-win32/1352908422/
Bad:
https://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-win32/1352911602/
Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=3c17914da5d6&tochange=a6305a66f8c1
![]() |
||
Comment 2•13 years ago
|
||
An error in error console as follows:
Error: TypeError: aWindow is null
Source file: resource://gre/modules/PrivateBrowsingUtils.jsm
Line: 24
Suspected bug 723005
![]() |
||
Updated•13 years ago
|
Component: Bookmarks & History → Places
Product: Firefox → Toolkit
Version: Trunk → 19 Branch
Comment 3•13 years ago
|
||
we should likely assume not-in-pb-window if there's no open browser window, unless windows opened from a pb window should gain some pb flag... Josh?
Flags: needinfo?(josh)
Comment 4•13 years ago
|
||
we should likely assume not-in-pb-window if there's no open browser window, unless windows opened from a pb window should gain some pb flag... Josh?
Assignee | ||
Comment 6•13 years ago
|
||
Attachment #683124 -
Flags: review?(mak77)
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → josh
Comment 7•13 years ago
|
||
Comment on attachment 683124 [details] [diff] [review]
If there's no active window when opening targets in tabs, assume we don't want private browsing.
Review of attachment 683124 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with the following change
::: browser/components/places/src/PlacesUIUtils.jsm
@@ +550,5 @@
> var urls = [];
> for (let item of aItemsToOpen) {
> + urls.push(item.uri);
> + if (browserWindow && PrivateBrowsingUtils.isWindowPrivate(browserWindow)) {
> + continue;
So, now that I look at this again, the pb status is not going to change through the loop, so it should be moved outside of it like
if (!pb) {
for () {}
}
Attachment #683124 -
Flags: review?(mak77) → review+
Comment 8•13 years ago
|
||
her I missed the .push(), so just move out the pbwin && ispbwin to a temp var and check the var in the loop.
Assignee | ||
Comment 9•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a401cd8c40e4
This may need backporting depending on when the merge occurs,
Comment 10•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment 11•13 years ago
|
||
Comment on attachment 683124 [details] [diff] [review]
If there's no active window when opening targets in tabs, assume we don't want private browsing.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 723005
User impact if declined: Open all in tabs doesn't from from the Library if no browser window is open
Testing completed (on m-c, etc.): Manual testing.
Risk to taking this patch (and alternatives if risky): None, just a null check
String or UUID changes made by this patch: None.
Attachment #683124 -
Flags: approval-mozilla-aurora?
Comment 12•13 years ago
|
||
Not a severe enough regression to track, but approving for Aurora 19 nonetheless.
Updated•13 years ago
|
Attachment #683124 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 13•13 years ago
|
||
Updated•13 years ago
|
status-firefox19:
--- → fixed
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Comment 14•13 years ago
|
||
VERIFIED on latest hourly Nightly builds
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:20.0) Gecko/20.0 Firefox/20.0
buildID: 20121120180539
Source: Built from http://hg.mozilla.org/integration/mozilla-inbound/rev/0dc53785ef12
Thank you! :)
Status: RESOLVED → VERIFIED
Summary: "Open All in Tabs" don't work when only Library window is open with no other windows in background → "Open All in Tabs" doesn't work when only Library window is open with no other windows in background
Comment 15•13 years ago
|
||
Is this something that could be automated in testsuite?
Flags: in-testsuite?
Keywords: verifyme
Comment 16•13 years ago
|
||
Verified as fixed on Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0 (20130109111322).
QA Contact: ioana.budnar
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Updated•8 years ago
|
Keywords: nightly-community
Virtual_ManPL [:Virtual] 🇵🇱 - (please needinfo? me - so I will see your comment/reply/question/etc.)
Reporter
|
||
Updated•8 years ago
|
QA Contact: ioana_damy → Virtual
You need to log in
before you can comment on or make changes to this bug.
Description
•