Does registerProtocolHandler() violate Private Browsing mode?

RESOLVED FIXED in Firefox 3.7a1

Status

()

Firefox
Private Browsing
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: dveditz, Assigned: Ehsan)

Tracking

({privacy})

Trunk
Firefox 3.7a1
privacy
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(status2.0 ?)

Details

(Whiteboard: [pb-paper])

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
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
(Reporter)

Updated

8 years ago
Keywords: privacy
(Assignee)

Comment 1

8 years ago
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
(Assignee)

Comment 2

8 years ago
Created attachment 422261 [details] [diff] [review]
Patch (v1)
Attachment #422261 - Flags: review?(mconnor)

Updated

8 years ago
Attachment #422261 - Flags: review?(mconnor) → review+
(Assignee)

Comment 3

8 years ago
http://hg.mozilla.org/mozilla-central/rev/efbae83be6af
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Flags: in-testsuite+
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
Version: unspecified → Trunk
(Assignee)

Updated

8 years ago
status2.0: --- → ?
Whiteboard: [pb-paper]
You need to log in before you can comment on or make changes to this bug.