Open crazytonyi opened 6 years ago
The feature is now non-standard. It was removed from the WhatWG version of the spec, which is the one used by implementers and the upstream version that the W3C HTML spec uses.
It has also been removed from HTML5Test V9.
This is a tad confusing. The MDN doc for registerContentHandler() (as linked from the "Custom content handlers" test) indicates the following:
as well as:
But the current w3c draft for HTML 5.2 (also as linked from the test) still includes registerContentHandler() :
https://www.w3.org/TR/html5/webappapis.html#custom-scheme-and-content-handlers-the-registerprotocolhandler-and-registercontenthandler-methods
So I'm not sure if Firefox is being neurotic, or if the spec is out of date. But the compare page for that test is consistent with the MDN note that this feature is only implemented on Firefox:
http://html5test.com/compare/feature/offline.registerContentHandler.html
There are a handful of older browsers that are non-Firefox in the list (Presto-based Opera), and Samsung Internet also supports it, but not Chrome, modern Opera, or Edge.
Based on the above, should this test be removed?