Closed Bug 539296 Opened 13 years ago Closed 13 years ago

Does registerProtocolHandler() violate Private Browsing mode?

Categories

(Firefox :: Private Browsing, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3.7a1
Tracking Status
status2.0 --- ?

People

(Reporter: dveditz, Assigned: ehsan.akhgari)

Details

(Keywords: privacy, Whiteboard: [pb-paper])

Attachments

(1 file)

Web sites can register a protocol handler as a short-hand.

navigator.registerProtocolHandler("porn",
                                  "https://www.pornsite.com/tinyurl?page=%s",
                                  "Porn shortener");

The user does get a prompt (infobar) asking whether they want to save this, but they may not realize this is saving stuff on disk. For passwords we chose to suppress the infobar, and in the password case I would think users would have a better chance of realizing it requires storage.

We need to consider whether the behavior is OK or if we want to make a change during private mode.

https://developer.mozilla.org/en/Web-based_protocol_handlers
Keywords: privacy
I would say that we probably shouldn't prompt to register protocol handlers in private browsing mode at all, because I don't think users would understand the privacy risks of registering one inside the private browsing mode.

Working on a patch.
Assignee: nobody → ehsan.akhgari
Status: NEW → ASSIGNED
Attached patch Patch (v1)Splinter Review
Attachment #422261 - Flags: review?(mconnor)
Attachment #422261 - Flags: review?(mconnor) → review+
http://hg.mozilla.org/mozilla-central/rev/efbae83be6af
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
Version: unspecified → Trunk
status2.0: --- → ?
Whiteboard: [pb-paper]
You need to log in before you can comment on or make changes to this bug.