Closed
Bug 1504008
Opened 7 years ago
Closed 7 years ago
bypass protocol handler prompt when unecessary
Categories
(WebExtensions :: General, enhancement, P1)
WebExtensions
General
Tracking
(firefox65 verified)
VERIFIED
FIXED
mozilla65
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | verified |
People
(Reporter: mixedpuppy, Assigned: mixedpuppy)
References
Details
Attachments
(2 files, 1 obsolete file)
currently using protocol_handlers will always prompt asking the user to select a handler, which is completely unhelpful since the ui is so bad.
We should
- set the default handler if no existing handler is installed
- force the prompt if an existing handler exists so the user can choose (otherwise finding this is difficult)
| Assignee | ||
Comment 1•7 years ago
|
||
Assignee: nobody → mixedpuppy
| Assignee | ||
Comment 2•7 years ago
|
||
If no handlers exist for a protocol, dont show the handler chooser dialog.
If a default handler exists, force showing the dialog when a new handler
has been installed so the user may choose the new handler.
| Assignee | ||
Updated•7 years ago
|
Attachment #9021941 -
Attachment is obsolete: true
| Assignee | ||
Updated•7 years ago
|
Priority: -- → P1
| Assignee | ||
Comment 4•7 years ago
|
||
Pushed by mixedpuppy@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/0a69cd7ad7ac
correctly show/not show protocol hander dialog, r=aswan
Comment 6•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
| Assignee | ||
Comment 8•7 years ago
|
||
I may be worth a bit of manual testing. here are two that can be done after installing this extension.
str 1; test protocol does not show dialog
- open a tab and enter the url ext+test:foobar
- tab show open to extension page, no dialog
str 2; test protocol does show dialog
- open a tab and enter mail:foobar
- dialog should open asking how to handle it
- extension should be listed in the choices
- selecting extension should result in page opening
If you make a copy of the extension, changing the id and name in the manifest, and have both installed:
str 3; test protocol now shows dialog
- open a tab and enter the url ext+test:foobar
- dialog should open asking how to handle it
- two extensions should be listed in the choices
- selecting an extension should result in page opening
Flags: needinfo?(mixedpuppy)
Comment 9•7 years ago
|
||
Thank you for the test extension Shane.
All scenarios work as expected and listed in the above comment, however I had to use 'mailto:foobar' on str2 instead. Verified using 65.0a1 on Windows 10 x64 bit.
Status: RESOLVED → VERIFIED
| Assignee | ||
Comment 10•7 years ago
|
||
(In reply to Vlad Jiman from comment #9)
> had to use 'mailto:foobar' on str2 instead.
Oops, sorry, mailto is correct.
You need to log in
before you can comment on or make changes to this bug.
Description
•