Closed
Bug 912347
Opened 11 years ago
Closed 11 years ago
stop showing the protocolHandlerRegistered door hanger.
Categories
(Firefox :: File Handling, defect)
Firefox
File Handling
Tracking
()
RESOLVED
FIXED
Firefox 26
People
(Reporter: dougt, Assigned: dougt)
References
Details
Attachments
(2 files)
17.53 KB,
image/png
|
Details | |
5.66 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
Every time a webapp re-registers a protocol handler that is already registered, there is an info bar that displays: %S has already been added as an application for %S links. I am not sure why we do this, but it is pretty annoying. Re-registering should be silent.
Assignee | ||
Updated•11 years ago
|
Summary: stop showing the → stop showing the protocolHandlerRegistered door hanger.
Assignee | ||
Comment 1•11 years ago
|
||
myk, do you mind if I remove this?
Comment 2•11 years ago
|
||
I don't mind! And I agree. This message is particularly confusing because it appears *before* the user is prompted to approve the registration; so it can easily come out of the blue, with no context to explain why it appeared: https://github.com/mozilla/mozilla-central/blob/f194714a1daafa4fe4ba0a211cf63e9e21f319e9/browser/components/feeds/src/WebContentConverter.js#L412-L416 And nothing in the spec requires or even suggests such a message: http://www.whatwg.org/specs/web-apps/current-work/#custom-handlers However, I'm neither the owner nor a peer of the module in question (Firefox). Let's see what Gavin thinks.
Flags: needinfo?(gavin.sharp)
Comment 4•11 years ago
|
||
(https://bugzilla.mozilla.org/show_bug.cgi?id=372441#c10 and https://bugzilla.mozilla.org/show_bug.cgi?id=372441#c13 don't have any rationale, unfortunately)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #800813 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 800813 [details] [diff] [review] bug_912347_prevent_already_registered_protocol_handler_info_bar Review of attachment 800813 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/components/feeds/src/WebContentConverter.js @@ +412,5 @@ > // XXX this should be a "security exception" according to spec > throw("Not allowed to register a protocol handler for " + aProtocol); > } > > + var buttons; I should remove this.
Assignee | ||
Comment 8•11 years ago
|
||
review ping?
Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 800813 [details] [diff] [review] bug_912347_prevent_already_registered_protocol_handler_info_bar over to jaws -- his queue looks empty.
Attachment #800813 -
Flags: review?(gavin.sharp) → review?(jaws)
Comment 10•11 years ago
|
||
Comment on attachment 800813 [details] [diff] [review] bug_912347_prevent_already_registered_protocol_handler_info_bar Review of attachment 800813 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/components/feeds/src/WebContentConverter.js @@ +420,4 @@ > > + var notificationIcon = uri.prePath + "/favicon.ico"; > + var notificationValue = "Protocol Registration: " + aProtocol; > + var addButton = { Remove the |var buttons = [addButton];| below and just change this to be: var buttons = [{ ... }]; since addButton isn't used elsewhere.
Attachment #800813 -
Flags: review?(jaws) → review+
Updated•11 years ago
|
Status: NEW → ASSIGNED
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Assignee | ||
Comment 11•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a4e9c9c9dbf9
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: --- → Firefox 26
You need to log in
before you can comment on or make changes to this bug.
Description
•