mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Implement basics of link preloading (#37036)
These changes allow a minimal set of checks for font-src CSP checks to pass. Part of #4577 Part of #35035 --------- Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
9dc1391bef
commit
36e4886da1
174 changed files with 2814 additions and 1097 deletions
|
@ -5389,9 +5389,6 @@
|
|||
[HTMLBaseElement interface: document.createElement("base") must inherit property "target" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLinkElement interface: attribute as]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLinkElement interface: attribute sizes]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5407,9 +5404,6 @@
|
|||
[HTMLLinkElement interface: attribute fetchPriority]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLinkElement interface: document.createElement("link") must inherit property "as" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLinkElement interface: document.createElement("link") must inherit property "sizes" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
642
tests/wpt/meta/html/dom/reflection-metadata.html.ini
vendored
642
tests/wpt/meta/html/dom/reflection-metadata.html.ini
vendored
|
@ -881,648 +881,6 @@
|
|||
[link.tabIndex: IDL set to -2147483648]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to ""]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo "]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to undefined]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to 7]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "5%"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "+100"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to ".5"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to true]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to false]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to object "[object Object\]"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to -Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to null]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to object "test-toString"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to object "test-valueOf"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "fetch"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xfetch"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "fetch\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "etch"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "FETCH"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "audio"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xaudio"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "audio\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "udio"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "AUDIO"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "document"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xdocument"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "document\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "ocument"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "DOCUMENT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "embed"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xembed"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "embed\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "mbed"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "EMBED"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "font"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xfont"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "font\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "ont"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "FONT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "image"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "ximage"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "image\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "mage"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "IMAGE"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "manifest"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xmanifest"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "manifest\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "anifest"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "MANIFEST"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "manifeſt"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "object"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xobject"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "object\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "bject"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "OBJECT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "report"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xreport"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "report\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "eport"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "REPORT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "script"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xscript"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "script\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "cript"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "SCRIPT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "ſcript"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "sharedworker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xsharedworker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "sharedworker\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "haredworker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "SHAREDWORKER"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "sharedworKer"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "ſharedworker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "style"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xstyle"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "style\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "tyle"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "STYLE"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "ſtyle"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "track"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xtrack"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "track\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "rack"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "TRACK"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "tracK"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "video"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xvideo"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "video\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "ideo"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "VIDEO"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "worker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xworker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "worker\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "orker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "WORKER"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "worKer"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xslt"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xxslt"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xslt\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "slt"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "XSLT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: setAttribute() to "xſlt"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to ""]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo "]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to undefined]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to 7]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "5%"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "+100"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to ".5"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to true]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to false]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to object "[object Object\]"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to -Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to null]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to object "test-toString"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to object "test-valueOf"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "fetch"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xfetch"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "fetch\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "etch"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "FETCH"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "audio"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xaudio"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "audio\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "udio"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "AUDIO"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "document"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xdocument"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "document\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "ocument"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "DOCUMENT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "embed"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xembed"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "embed\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "mbed"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "EMBED"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "font"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xfont"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "font\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "ont"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "FONT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "image"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "ximage"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "image\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "mage"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "IMAGE"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "manifest"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xmanifest"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "manifest\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "anifest"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "MANIFEST"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "manifeſt"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "object"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xobject"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "object\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "bject"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "OBJECT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "report"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xreport"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "report\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "eport"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "REPORT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "script"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xscript"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "script\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "cript"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "SCRIPT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "ſcript"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "sharedworker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xsharedworker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "sharedworker\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "haredworker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "SHAREDWORKER"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "sharedworKer"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "ſharedworker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "style"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xstyle"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "style\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "tyle"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "STYLE"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "ſtyle"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "track"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xtrack"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "track\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "rack"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "TRACK"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "tracK"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "video"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xvideo"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "video\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "ideo"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "VIDEO"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "worker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xworker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "worker\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "orker"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "WORKER"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "worKer"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xslt"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xxslt"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xslt\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "slt"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "XSLT"]
|
||||
expected: FAIL
|
||||
|
||||
[link.as: IDL set to "xſlt"]
|
||||
expected: FAIL
|
||||
|
||||
[meta.accessKey: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue