Closed
Bug 677423
Opened 13 years ago
Closed 13 years ago
Add togglePrivateBrowsing() to head.js
Categories
(Firefox Graveyard :: Panorama, defect)
Firefox Graveyard
Panorama
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 8
People
(Reporter: ttaubert, Assigned: ttaubert)
References
Details
(Whiteboard: [cleanup])
Attachments
(1 file, 1 obsolete file)
7.44 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
This is now used in a lot of Panorama tests and we should move this to head.js instead of having duplicates.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #551633 -
Flags: feedback?(raymond)
Comment 2•13 years ago
|
||
Comment on attachment 551633 [details] [diff] [review] patch v1 Looks good
Attachment #551633 -
Flags: feedback?(raymond) → feedback+
Comment 3•13 years ago
|
||
Comment on attachment 551633 [details] [diff] [review] patch v1 >+function togglePrivateBrowsing(callback) { >+ if (callback) { This probably shouldn't be called without a callback.
Assignee | ||
Comment 4•13 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #3) > >+function togglePrivateBrowsing(callback) { > >+ if (callback) { > > This probably shouldn't be called without a callback. Agreed.
Attachment #551633 -
Attachment is obsolete: true
Attachment #551712 -
Flags: review?(dao)
Comment 5•13 years ago
|
||
Comment on attachment 551712 [details] [diff] [review] patch v2 >--- a/browser/base/content/test/tabview/browser_tabview_bug624727.js >+++ b/browser/base/content/test/tabview/browser_tabview_bug624727.js >@@ -58,18 +58,17 @@ function test() { > assertOneTabInGroup(prefix, group1); > assertOneTabInGroup(prefix, group2); > } > > let testStateAfterEnteringPB = function () { > let prefix = 'enter'; > ok(!pb.privateBrowsingEnabled, prefix + ': private browsing is disabled'); > registerCleanupFunction(function () { >- if (pb.privateBrowsingEnabled) >- pb.privateBrowsingEnabled = false >+ pb.privateBrowsingEnabled = false lacks a semicolon
Attachment #551712 -
Flags: review?(dao) → review+
Assignee | ||
Comment 6•13 years ago
|
||
http://hg.mozilla.org/integration/fx-team/rev/3a90c0752436
Whiteboard: [cleanup] → [cleanup][fixed-in-fx-team]
Assignee | ||
Comment 7•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/3a90c0752436
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [cleanup][fixed-in-fx-team] → [cleanup]
Target Milestone: --- → Firefox 8
Updated•8 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•