Closed
Bug 748635
Opened 13 years ago
Closed 12 years ago
Make the view source window aware of whether it has been opened from a private document or not
Categories
(Firefox :: Private Browsing, defect)
Firefox
Private Browsing
Tracking
()
RESOLVED
INVALID
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
This will be useful in the fix for bug 722868.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Gavin: ping
Assignee | ||
Comment 3•12 years ago
|
||
Gavin: review ping!
Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 618141 [details] [diff] [review]
Patch (v1)
Dave, would you mind reviewing this, or forwarding it to the right person if you're not that person? Thanks!
Attachment #618141 -
Flags: review?(gavin.sharp) → review?(dtownsend+bugmail)
Comment 5•12 years ago
|
||
What are the changes to viewsource.js for? Is there some other patch that uses them?
Comment 6•12 years ago
|
||
See patches in bug 722868.
Comment 7•12 years ago
|
||
(In reply to Josh Matthews [:jdm] from comment #6)
> See patches in bug 722868.
Which one in particular? None of them use the new gFromPrivateWindow variable that this patch creates.
Assignee | ||
Comment 8•12 years ago
|
||
(In reply to Dave Townsend (:Mossop) from comment #7)
> (In reply to Josh Matthews [:jdm] from comment #6)
> > See patches in bug 722868.
>
> Which one in particular? None of them use the new gFromPrivateWindow
> variable that this patch creates.
gFromPrivateWindow is meant to make this possible to test, see the changes to browser/components/privatebrowsing/test/browser/browser_privatebrowsing_viewsource.js in this patch.
Comment 9•12 years ago
|
||
(In reply to Ehsan Akhgari [:ehsan] from comment #8)
> (In reply to Dave Townsend (:Mossop) from comment #7)
> > (In reply to Josh Matthews [:jdm] from comment #6)
> > > See patches in bug 722868.
> >
> > Which one in particular? None of them use the new gFromPrivateWindow
> > variable that this patch creates.
>
> gFromPrivateWindow is meant to make this possible to test, see the changes
> to
> browser/components/privatebrowsing/test/browser/
> browser_privatebrowsing_viewsource.js in this patch.
Ok, but what is the point? All the patches I see are working to add this extra argument to the viewsource window. The test tests whether that extra argument got passed correctly (not sure why it doesn't just check window.arguments though). I haven't yet seen anything that uses that extra argument at all though, what am I missing?
Assignee | ||
Comment 10•12 years ago
|
||
Ah hmm, you're right. I don't remember what changes in bug 722868, but the latest patches which I landed no longer need this. So -> INVALID!
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Updated•12 years ago
|
Attachment #618141 -
Flags: review?(dtownsend+bugmail)
You need to log in
before you can comment on or make changes to this bug.
Description
•