Closed Bug 830565 Opened 12 years ago Closed 12 years ago

Add isPrivateBrowsing property to Tab class

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: evold, Assigned: evold)

Details

No description provided.
Assignee: nobody → evold
Irakli you should take a look at this proposed API change.
Flags: needinfo?(rFobic)
Erik, I do believe you suggested somewhere alternative of having `isPrivateBrowsing(thingy)` don't remember where, or could be that I misunderstood. Either way I think that would be a better option, since `thingy` can be window or tab or whatever else may come up in a future (panel ?). What do you think ?
Flags: needinfo?(rFobic) → needinfo?(evold)
I do like that better, that is bug 828746. The problem is that in bug 777813 I added a `isPrivateBrowsing` getter to our Window class. Does it sound alright to deprecate the `isPrivateBrowsing` property in bug 828746 ?
Flags: needinfo?(evold) → needinfo?(rFobic)
It's little lame to do this now, but I think it's probably for the best. So I'd say yes.
Flags: needinfo?(rFobic)
Also I thing `require("sdk/private-browsing").isPrivate(aObject)` suggested by you is better name than `isPrivateBrowsing`. So let's stick to it instead.
Alright let's close this bug then.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
No longer blocks: sdk-pwpb, ptpbmode
You need to log in before you can comment on or make changes to this bug.