Open
Bug 1511013
Opened 6 years ago
Updated 2 years ago
[wpt-sync] Sync PR 14294 - [html] Add more protocol handlers tests
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Keywords: leave-open, Whiteboard: [wptsync downstream][stockwell disabled])
Sync web-platform-tests PR 14294 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/14294
Details from upstream follow.
Wanming Lin <wanming.lin@intel.com> wrote:
> [html] Add more protocol handlers tests
>
> - Imported and merged protocol handler tests from chromium(https://chromium.googlesource.com/chromium/src/+/HEAD/third_party/blink/web_tests/http/tests/navigatorcontentutils)
> - Fixed bug that it should throw SecurityError with invaild schemes
> - Did some code optimization
Assignee | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=df62cd6b55a1ccee7e30fe067067bf84bdc37021
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=b0e5c829885c5ec5f570cfef66f26a468e07dde5
Assignee | ||
Comment 5•6 years ago
|
||
Ran 1 tests and 178 subtests
OK : 1
PASS : 88
FAIL : 90
New tests that have failures or other problems:
/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html
registerProtocolHandler: Invalid URL "http://example.com" should throw SYNTAX_ERR.: FAIL
the unregisterProtocolHandler method should exist on the navigator object: FAIL
unregisterProtocolHandler: Attempting to override the "about" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "attachment" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "blob" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "chrome" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "cid" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "data" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "file" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "ftp" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "http" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "http://" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "https" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "javascript" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "livescript" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "magnet:+" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "mailto" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "mailto
" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "mailto:" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "mailto://" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "mailtoo" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "mid" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "mocha" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "mаilto" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "opera" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "operamail" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "res" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "resource" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "shttp" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "ssh:/" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "tcl" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "tel:sip" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "unrecognized" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "vbscript" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "view-source" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "web+" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "ws" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "wss" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Attempting to override the "wyciwyg" protocol should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "" should throw SYNTAX_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "%S" should throw SYNTAX_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "http://%s.com" should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "http://%s.example.com" should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "http://[v8.:::]//url=%s" should throw SYNTAX_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "http://example.com" should throw SYNTAX_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "http://example.com/%s" should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "http://foobar.example.com/%s" should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "https://example.com/%s" should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html" should throw SYNTAX_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%" should throw SYNTAX_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%a" should throw SYNTAX_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "mailto:%s" should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Invalid URL "mailto:%s@example.com" should throw SECURITY_ERR.: FAIL
unregisterProtocolHandler: Valid URL "%s" should work.: FAIL
unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html#%s" should work.: FAIL
unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%s" should work.: FAIL
unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%s/bar/baz/" should work.: FAIL
unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%s/bar/baz/?foo=1337&bar#baz" should work.: FAIL
unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html/%s/foo/%s/" should work.: FAIL
unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html?foo=%s" should work.: FAIL
unregisterProtocolHandler: Valid URL "https://web-platform.test:8443/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html?foo=%s&bar" should work.: FAIL
unregisterProtocolHandler: overriding the "BitcoIn" protocol should work: FAIL
unregisterProtocolHandler: overriding the "Irc" protocol should work: FAIL
unregisterProtocolHandler: overriding the "MagneT" protocol should work: FAIL
unregisterProtocolHandler: overriding the "SmsTo" protocol should work: FAIL
unregisterProtocolHandler: overriding the "TEL" protocol should work: FAIL
unregisterProtocolHandler: overriding the "WTAI" protocol should work: FAIL
unregisterProtocolHandler: overriding the "WebCAL" protocol should work: FAIL
unregisterProtocolHandler: overriding the "bitcoin" protocol should work: FAIL
unregisterProtocolHandler: overriding the "geo" protocol should work: FAIL
unregisterProtocolHandler: overriding the "im" protocol should work: FAIL
unregisterProtocolHandler: overriding the "irc" protocol should work: FAIL
unregisterProtocolHandler: overriding the "ircs" protocol should work: FAIL
unregisterProtocolHandler: overriding the "magnet" protocol should work: FAIL
unregisterProtocolHandler: overriding the "mailto" protocol should work: FAIL
unregisterProtocolHandler: overriding the "mms" protocol should work: FAIL
unregisterProtocolHandler: overriding the "news" protocol should work: FAIL
unregisterProtocolHandler: overriding the "nntp" protocol should work: FAIL
unregisterProtocolHandler: overriding the "openpgp4fpr" protocol should work: FAIL
unregisterProtocolHandler: overriding the "sip" protocol should work: FAIL
unregisterProtocolHandler: overriding the "sms" protocol should work: FAIL
unregisterProtocolHandler: overriding the "smsto" protocol should work: FAIL
unregisterProtocolHandler: overriding the "ssh" protocol should work: FAIL
unregisterProtocolHandler: overriding the "teL" protocol should work: FAIL
unregisterProtocolHandler: overriding the "tel" protocol should work: FAIL
unregisterProtocolHandler: overriding the "urn" protocol should work: FAIL
unregisterProtocolHandler: overriding the "web+myprotocol" protocol should work: FAIL
unregisterProtocolHandler: overriding the "webcal" protocol should work: FAIL
unregisterProtocolHandler: overriding the "wtai" protocol should work: FAIL
unregisterProtocolHandler: overriding the "xmpp" protocol should work: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/73a59b523e68
[wpt PR 14294] - [html] Add more protocol handlers tests, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/3b5a780e75de
[wpt PR 14294] - Update wpt metadata, a=testonly
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/466d0030af6d
[wpt PR 14294] - [html] Add more protocol handlers tests: update test expectations. r=jgraham-on-IRC
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4666c210aa93
[wpt PR 14294] - [html] Add more protocol handlers tests: properly escape brackets.
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/02c769f96a92
[wpt PR 14294] - Attempting to disable the test in order to green up the wpt. r=wpt-fix
Comment 10•6 years ago
|
||
[protocol.https.html] was disabled by the above comment so I'm setting this with disabled and leave-open tag
Keywords: leave-open
Whiteboard: [wptsync downstream] → [wptsync downstream][stockwell disabled]
Comment 11•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Comment 12•5 years ago
|
||
The disabled annotation was removed by https://hg.mozilla.org/mozilla-central/rev/89f07125aee88bc63b353fb34b6e37b3c33da6df in bug 1597267
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•