Closed
Bug 845811
Opened 11 years ago
Closed 11 years ago
openLinkIn should use the target window's isBlankPageURL function
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 22
People
(Reporter: dao, Assigned: dao)
Details
Attachments
(1 file)
1.26 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
openLinkIn calls isBlankPageURL to determine whether it should raise the window and focus the location bar. isBlankPageURL returns true for about:newtab and false for about:privatebrowsing in non-private windows and vice versa in private windows. Therefore it should be called in the target window's context, as that may have a different privacy status than the current window.
Attachment #718968 -
Flags: review?(ehsan)
Comment 1•11 years ago
|
||
Comment on attachment 718968 [details] [diff] [review] patch Review of attachment 718968 [details] [diff] [review]: ----------------------------------------------------------------- Nice catch! How did you find this bug, out of curiosity?
Attachment #718968 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to :Ehsan Akhgari from comment #1) > Nice catch! How did you find this bug, out of curiosity? Just by reading the code.
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/bc4d875f93d5
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bc4d875f93d5
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
You need to log in
before you can comment on or make changes to this bug.
Description
•