Open Bug 1631446 Opened 2 years ago Updated 9 months ago

Safelist dat, dweb, ipfs, ipns, and ssb schemes for registerProtocolHandler()

Categories

(Core :: DOM: Navigation, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: fredw, Assigned: fredw)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

These schemes were added to WebExtension's procol_handlers in bug 1428446.

After bug 1476035 we switched to a whitelist (as described by the spec) for registerProtocolHandler, so it's now inconsistent with WebExtension's procol_handlers.

This is currently being discussed in chromium / HTML5 there:
https://www.chromestatus.com/feature/4776602869170176
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/29sFh4tTdcs/K4XroilVBAAJ
https://github.com/whatwg/html/issues/3935
https://github.com/whatwg/html/issues/3998

Could we make this encompass all the schemes that seem reasonable that have been requested?

(In reply to Anne (:annevk) from comment #1)

Could we make this encompass all the schemes that seem reasonable that have been requested?

Yes sure, it seems it's not clear which ones are "reasonable" for now. I'm just opening this for the record and will update the things when there is an agreement on the WHATWG side.

Blocks: 1056860
Type: defect → enhancement
Depends on: 1632774

(In reply to Frédéric Wang (:fredw) from comment #2)

(In reply to Anne (:annevk) from comment #1)

Could we make this encompass all the schemes that seem reasonable that have been requested?

Yes sure, it seems it's not clear which ones are "reasonable" for now. I'm just opening this for the record and will update the things when there is an agreement on the WHATWG side.

Current proposal is summarized on https://github.com/mozilla/standards-positions/issues/339

I would request we add the did: scheme to the list of entries here, given it is a standard track technology being specified in a formal W3C Working Group: https://bugzilla.mozilla.org/show_bug.cgi?id=1639016

Attachment #9141735 - Attachment description: Bug 1631446: Safelist dat, dweb, ipfs, ipns, and ssb schemes for registerProtocolHandler(). → Bug 1631446: Safelist cabal, dat, did, dweb, ethereum, hyper, ipfs, ipns, and ssb schemes for registerProtocolHandler().
Severity: -- → N/A
Priority: -- → P3

IIUC:

How can we unblock this?

You need to log in before you can comment on or make changes to this bug.