Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /html/webappapis/system-state-and-capabilities/the-navigator-object/historical.https.window.html - WPT Dashboard Interop Dashboard
[
"registerContentHandler",
"isProtocolHandlerRegistered",
"isContentHandlerRegistered",
"unregisterContentHandler"
].forEach(method => {
test(() => {
assert_false(method in self.navigator);
}, method + "() is removed");
});
test(() => {
let called = false;
self.navigator.registerProtocolHandler("web+test", "%s", { toString: () => called = true });
assert_false(called);
}, "registerProtocolHandler has no third argument");