Closed
Bug 1408670
Opened 7 years ago
Closed 7 years ago
Bug 1399429 should have used PBU.isContentWindowPrivate instead of PBU.isBrowserPrivate
Categories
(Firefox :: Private Browsing, enhancement)
Firefox
Private Browsing
Tracking
()
RESOLVED
FIXED
Firefox 58
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox56 | --- | unaffected |
firefox57 | --- | unaffected |
firefox58 | --- | fixed |
People
(Reporter: Kwan, Assigned: Kwan)
References
Details
Attachments
(1 file, 1 obsolete file)
I misread the code and used the wrong function in bug 1399429. It works fine
(and does the exact same thing) but causes console spam because of [1], and
won't work fine in future when that stops being just a warning.
See bug 1069059
[1] https://searchfox.org/mozilla-central/rev/1c1a5cef772214e9cff487040ac3068d56e96cc6/toolkit/modules/PrivateBrowsingUtils.jsm#23
Assignee | ||
Comment 1•7 years ago
|
||
Follow up correction to bug 1399429.
MozReview-Commit-ID: JMoTVbc3SAx
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
Comment on attachment 8918571 [details] [diff] [review]
Use PBU.isContentWindowPrivate instead of PBU.isBrowserPrivate in ContextMenu.jsm. r?
Hey Felipe, sorry for the churn, I only later realised isBrowserPrivate causes console spam (and might in the future break).
Attachment #8918571 -
Attachment is obsolete: true
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8919243 [details]
Bug 1408670 - Use PBU.isContentWindowPrivate instead of PBU.isBrowserPrivate in ContextMenu.jsm.
https://reviewboard.mozilla.org/r/190142/#review195478
I wonder if it's better to move this to the original bug due to the need for the uplift request..
Attachment #8919243 -
Flags: review?(felipc) → review+
Comment hidden (obsolete) |
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 7•7 years ago
|
||
(In reply to Ian Moody [:Kwan] from comment #6)
> Thanks for the quick review!
> I was just going to add a branch patch to bug 1399429 with these changes
> folded in.
Great, works for me!
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•7 years ago
|
||
Okay, actually doing the right thing in the code now, with a try run to prove it:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b369d636d592c1acd55d1524ef041db97fb3172e
(you can see the previous one blowing up try on reviewboard)
Keywords: checkin-needed
Comment 10•7 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/6af3f537a063
Use PBU.isContentWindowPrivate instead of PBU.isBrowserPrivate in ContextMenu.jsm. r=Felipe
Keywords: checkin-needed
Comment 11•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Updated•7 years ago
|
status-firefox56:
--- → unaffected
status-firefox57:
--- → fix-optional
status-firefox-esr52:
--- → unaffected
Assignee | ||
Comment 12•7 years ago
|
||
The fix in this was rolled up into the uplift in bug 1399429, so 57 was never actually affected.
You need to log in
before you can comment on or make changes to this bug.
Description
•