Update web-platform-tests to revision 0f986ae5b0865c0bef78e41e35d144e30a14b2e7

This commit is contained in:
WPT Sync Bot 2020-08-17 08:21:20 +00:00
parent 62c7cb4c79
commit 3becf15667
84 changed files with 165 additions and 152 deletions

View file

@ -4,7 +4,7 @@
expected: TIMEOUT expected: TIMEOUT
[Opening a blob URL in a new window immediately before revoking it works.] [Opening a blob URL in a new window immediately before revoking it works.]
expected: FAIL expected: TIMEOUT
[Fetching a blob URL immediately before revoking it works in an iframe.] [Fetching a blob URL immediately before revoking it works in an iframe.]
expected: FAIL expected: FAIL

View file

@ -1,4 +1,4 @@
[hit-test-floats-004.html] [hit-test-floats-003.html]
[Miss float below something else] [Miss float below something else]
expected: FAIL expected: FAIL

View file

@ -0,0 +1,4 @@
[CaretPosition-001.html]
[Element at (400, 100)]
expected: FAIL

View file

@ -0,0 +1,4 @@
[elementFromPoint-001.html]
[CSSOM View - 5 - extensions to the Document interface]
expected: FAIL

View file

@ -17,3 +17,6 @@
[test the top of layer] [test the top of layer]
expected: FAIL expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -2,6 +2,3 @@
[elementsFromPoint on the root document for points in iframe elements] [elementsFromPoint on the root document for points in iframe elements]
expected: FAIL expected: FAIL
[elementsFromPoint on inner documents]
expected: FAIL

View file

@ -318,21 +318,15 @@
[<iframe>: combined response Content-Type: */* text/html] [<iframe>: combined response Content-Type: */* text/html]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain] [<iframe>: separate response Content-Type: text/html;" \\" text/plain]
expected: FAIL expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*] [<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain] [<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk] [<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL expected: FAIL

View file

@ -56,3 +56,6 @@
[separate text/javascript x/x] [separate text/javascript x/x]
expected: FAIL expected: FAIL
[separate text/javascript error]
expected: FAIL

View file

@ -11,9 +11,6 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!] [X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL expected: FAIL
[X-Content-Type-Options%3A%20%22nosniFF%22] [X-Content-Type-Options%3A%20'NosniFF']
expected: FAIL
[X-Content-Type-Options%3A%20%2Cnosniff]
expected: FAIL expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_3.html] [traverse_the_history_2.html]
[Multiple history traversals, last would be aborted] [Multiple history traversals, last would be aborted]
expected: FAIL expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_3.html] [traverse_the_history_4.html]
[Multiple history traversals, last would be aborted] [Multiple history traversals, last would be aborted]
expected: FAIL expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_5.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1,2 +0,0 @@
[cross-origin-objects-on-new-window.html]
expected: TIMEOUT

View file

@ -1,5 +0,0 @@
[creating_browsing_context_test_01.html]
expected: TIMEOUT
[first argument: absolute url]
expected: TIMEOUT

View file

@ -1,4 +1,5 @@
[embedded-opener-remove-frame.html] [embedded-opener-remove-frame.html]
expected: CRASH
[opener of discarded nested browsing context] [opener of discarded nested browsing context]
expected: FAIL expected: FAIL

View file

@ -1,4 +1,5 @@
[supported-elements.html] [supported-elements.html]
expected: TIMEOUT
[Contenteditable element should support autofocus] [Contenteditable element should support autofocus]
expected: FAIL expected: FAIL
@ -9,7 +10,7 @@
expected: FAIL expected: FAIL
[Area element should support autofocus] [Area element should support autofocus]
expected: FAIL expected: TIMEOUT
[Host element with delegatesFocus should support autofocus] [Host element with delegatesFocus should support autofocus]
expected: FAIL expected: FAIL

View file

@ -171,3 +171,6 @@
[XHTML img usemap="#hash-id"] [XHTML img usemap="#hash-id"]
expected: FAIL expected: FAIL
[HTML (standards) IMG usemap="no-hash-name"]
expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-1.html] [iframe_sandbox_popups_escaping-1.html]
expected: TIMEOUT expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-2.html] [iframe_sandbox_popups_escaping-2.html]
expected: TIMEOUT expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,5 +1,4 @@
[iframe_sandbox_popups_escaping-3.html] [iframe_sandbox_popups_escaping-3.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_nonescaping-1.html] [iframe_sandbox_popups_nonescaping-1.html]
expected: CRASH expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox] [Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN expected: NOTRUN

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_nonescaping-3.html] [iframe_sandbox_popups_nonescaping-3.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox] [Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL expected: NOTRUN

View file

@ -7,7 +7,7 @@
expected: FAIL expected: FAIL
[Opening a blob URL in a new window immediately before revoking it works.] [Opening a blob URL in a new window immediately before revoking it works.]
expected: FAIL expected: TIMEOUT
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.] [Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
expected: TIMEOUT expected: TIMEOUT

View file

@ -251142,7 +251142,7 @@
], ],
"tools": { "tools": {
"protocol-server.py": [ "protocol-server.py": [
"6fcbe92070380b0b7df649db7330efb8f69d7cae", "176d90c4848987c2302bdd27e2d0dd4ab9c9e414",
[] []
] ]
} }
@ -319211,7 +319211,7 @@
[] []
], ],
"Utils.py": [ "Utils.py": [
"9353530eb009d2e25e7c7f08564ec4a61f4a9a3c", "065c30491c7aaac938860775d0e949b2ac02d33c",
[] []
], ],
"__init__.py": [ "__init__.py": [
@ -325616,7 +325616,7 @@
[] []
], ],
"cors.py": [ "cors.py": [
"bc0c1089fe374958383aecd70d5da5a91a5b8037", "6ed31f2cd7d1782f8b7267d646d3ba26ab1a2a6d",
[] []
], ],
"eventsource-onmessage-realm.htm": [ "eventsource-onmessage-realm.htm": [
@ -339138,7 +339138,7 @@
[] []
], ],
"update_html5lib_tests.py": [ "update_html5lib_tests.py": [
"0bc21d31f74c237eeb3d0041af1f6eadd3717b12", "e4f339a6053213645602b58c203b20b46a9b00cc",
[] []
] ]
}, },
@ -351619,7 +351619,7 @@
} }
}, },
"localpaths.py": [ "localpaths.py": [
"93cff2b8e085b90d670d80f5598dcd77e512bad0", "51aecea7712a2f90ab1778d62fe8b74d722785e6",
[] []
], ],
"manifest": { "manifest": {
@ -357848,7 +357848,7 @@
[] []
], ],
"setup.py": [ "setup.py": [
"ab96bd10357cd6b3022364d471e5cebf0cb652dd", "a459e2c4714104830d667c33c7814ef3c50f567c",
[] []
], ],
"test": { "test": {
@ -358008,7 +358008,7 @@
[] []
], ],
"base.py": [ "base.py": [
"a027cf32610a49e61f4141bfb5fce5d051385b3e", "99f6e5cff4c8b826d1390b482eb686da5915083c",
[] []
], ],
"chrome.py": [ "chrome.py": [
@ -358040,7 +358040,7 @@
[] []
], ],
"firefox.py": [ "firefox.py": [
"fc5abf8b93cd24ed3dd46c4384dd7c94facce232", "91384cb0addaeac640e94c8d55faa2ce394af783",
[] []
], ],
"firefox_android.py": [ "firefox_android.py": [
@ -358060,7 +358060,7 @@
[] []
], ],
"sauce.py": [ "sauce.py": [
"3133716a6fe1f8df108ad3ba9a719cce9b057d3d", "c57ac942ed4e7624a0a7d115df3a210aec5d9ee1",
[] []
], ],
"sauce_setup": { "sauce_setup": {
@ -358074,11 +358074,11 @@
] ]
}, },
"servo.py": [ "servo.py": [
"5b657993f1900cd34a1460c5bc3a9093fcc7f13c", "b9476540ac7c53162e70669c4b7ba4883fd75f75",
[] []
], ],
"servodriver.py": [ "servodriver.py": [
"02b796b7560385cd00902bbfc1b361a542249f85", "43794e41706d6ccc1f686655c8edeca95e3c4c62",
[] []
], ],
"webkit.py": [ "webkit.py": [
@ -358091,11 +358091,11 @@
] ]
}, },
"config.py": [ "config.py": [
"e7f9d7b8cc987bfdfecda6548acf82d1be3a28d4", "d46beb8e71db63e8fdb54ba939792350535b8ff9",
[] []
], ],
"environment.py": [ "environment.py": [
"65f82005f317f8614e5a2febc35a996b9b0c3871", "e1812b8740a8c077db1101aedf292ba6ec3c488d",
[] []
], ],
"executors": { "executors": {
@ -358108,11 +358108,11 @@
[] []
], ],
"base.py": [ "base.py": [
"82496fcad9c9d46dbf04b81fbf60b2e1dcdd1045", "e8a776b59356b6b8755fb60efeb57ecda8e2c6d1",
[] []
], ],
"executorchrome.py": [ "executorchrome.py": [
"3ae318795f0b62468a6a8a991fa07b2a78e2743b", "3a704754137f587bc7a134874193d2e2167c59c4",
[] []
], ],
"executoredge.py": [ "executoredge.py": [
@ -358128,7 +358128,7 @@
[] []
], ],
"executormarionette.py": [ "executormarionette.py": [
"1ba9f06aabc8cf10e91cf3aa92643562f05a1c1a", "e0e6aba0f57853e863355a308ade56c24575da72",
[] []
], ],
"executoropera.py": [ "executoropera.py": [
@ -358140,7 +358140,7 @@
[] []
], ],
"executorselenium.py": [ "executorselenium.py": [
"1fa9953b36e14c3373a4ce1257ee7e19482ce1d4", "82ab6f25560e67ee3a3877b6ee4af8b6cc200e3a",
[] []
], ],
"executorservo.py": [ "executorservo.py": [
@ -358148,11 +358148,11 @@
[] []
], ],
"executorservodriver.py": [ "executorservodriver.py": [
"071b506f9af90f7ea46e28ae8814a83996ed9f4a", "dbed2fedbdf1c686dda800bf182fbfc2ee6e0dd2",
[] []
], ],
"executorwebdriver.py": [ "executorwebdriver.py": [
"695b16b9cca19525a0656f66da45fe66c599fb8b", "e0414669372e076fc63fec4c8c65584f9b00f813",
[] []
], ],
"executorwebkit.py": [ "executorwebkit.py": [
@ -358211,7 +358211,7 @@
[] []
], ],
"font.py": [ "font.py": [
"6226fc66fedf2afc96b5110f3524b00d185cc538", "910358f51596f9e392f81ef156cdd0b101983b7b",
[] []
], ],
"formatters": { "formatters": {
@ -358255,7 +358255,7 @@
[] []
], ],
"metadata.py": [ "metadata.py": [
"df31ac40de8b8ee70813c3b2e03d1865f672e29d", "ab8d4740f3fcc2b186a68d57758d46db47ad97ab",
[] []
], ],
"print_reftest_runner.html": [ "print_reftest_runner.html": [
@ -358308,7 +358308,7 @@
], ],
"tests": { "tests": {
"__init__.py": [ "__init__.py": [
"fbde873198f812bed450fb6dc273c0675238b70c", "11a7418e76040e21cadf5b400638dac2c337e251",
[] []
], ],
"base.py": [ "base.py": [
@ -358380,11 +358380,11 @@
[] []
], ],
"state.py": [ "state.py": [
"f8a83525cbd4706bdfbc99a518d2bac123d34e96", "bdb23fed99e19fa55abeec7202a3a1b471bedc03",
[] []
], ],
"sync.py": [ "sync.py": [
"c3da2098d3c55dd5a79fa662a112335a03fcaa33", "f878752f4514ae9cce5c74a5f994fc5e71eac826",
[] []
], ],
"tree.py": [ "tree.py": [
@ -358475,11 +358475,11 @@
} }
}, },
"wptrunner.py": [ "wptrunner.py": [
"a397fd6f0b857e02b6eccd003e7b0a4541e0955b", "f033205a00b88a6ab2521c5e1e6df51095cf4801",
[] []
], ],
"wpttest.py": [ "wpttest.py": [
"3750defa6a13de88d4e73f485b51b069db085c4b", "c670179c81a0666162d5f959b311fda58786c9e3",
[] []
] ]
}, },
@ -358562,7 +358562,7 @@
[] []
], ],
"base.py": [ "base.py": [
"0aeceb615896815d05ee2971341efc204ccf319c", "8b34eb7cd0cdfb0a4a3a9356549e7d1c8f06851b",
[] []
], ],
"docroot": { "docroot": {
@ -358785,7 +358785,7 @@
[] []
], ],
"handlers.py": [ "handlers.py": [
"d315b0212c48aae4f2c805f3f055cd8d1096088b", "2cc25e2c21cea4ed6826a94320d452c0d386fe2b",
[] []
], ],
"logger.py": [ "logger.py": [
@ -364829,25 +364829,25 @@
], ],
"auth1": { "auth1": {
"auth.py": [ "auth.py": [
"5ef369336091067e78c6019bc4c6adacdfe46c03", "db4f7bc4c9fee9a31ff07a9708d6f6299f716c93",
[] []
] ]
}, },
"auth10": { "auth10": {
"auth.py": [ "auth.py": [
"5ef369336091067e78c6019bc4c6adacdfe46c03", "db4f7bc4c9fee9a31ff07a9708d6f6299f716c93",
[] []
] ]
}, },
"auth11": { "auth11": {
"auth.py": [ "auth.py": [
"5ef369336091067e78c6019bc4c6adacdfe46c03", "db4f7bc4c9fee9a31ff07a9708d6f6299f716c93",
[] []
] ]
}, },
"auth2": { "auth2": {
"auth.py": [ "auth.py": [
"5ef369336091067e78c6019bc4c6adacdfe46c03", "db4f7bc4c9fee9a31ff07a9708d6f6299f716c93",
[] []
], ],
"corsenabled.py": [ "corsenabled.py": [
@ -364857,13 +364857,13 @@
}, },
"auth3": { "auth3": {
"auth.py": [ "auth.py": [
"5ef369336091067e78c6019bc4c6adacdfe46c03", "db4f7bc4c9fee9a31ff07a9708d6f6299f716c93",
[] []
] ]
}, },
"auth4": { "auth4": {
"auth.py": [ "auth.py": [
"5ef369336091067e78c6019bc4c6adacdfe46c03", "db4f7bc4c9fee9a31ff07a9708d6f6299f716c93",
[] []
] ]
}, },
@ -364893,7 +364893,7 @@
}, },
"auth9": { "auth9": {
"auth.py": [ "auth.py": [
"5ef369336091067e78c6019bc4c6adacdfe46c03", "db4f7bc4c9fee9a31ff07a9708d6f6299f716c93",
[] []
] ]
}, },
@ -397603,7 +397603,7 @@
] ]
], ],
"grid-intrinsic-track-sizes-001.html": [ "grid-intrinsic-track-sizes-001.html": [
"15ca612c7cb5a639ba6da6931b2e55775e12d4dc", "f570f02aa709b54693f2a092f46d4d78d680ea9d",
[ [
null, null,
{} {}

View file

@ -1,4 +1,4 @@
[hit-test-floats-004.html] [hit-test-floats-003.html]
[Miss float below something else] [Miss float below something else]
expected: FAIL expected: FAIL

View file

@ -0,0 +1,4 @@
[CaretPosition-001.html]
[Element at (400, 100)]
expected: FAIL

View file

@ -0,0 +1,4 @@
[elementFromPoint-001.html]
[CSSOM View - 5 - extensions to the Document interface]
expected: FAIL

View file

@ -21,3 +21,6 @@
[test the top of layer] [test the top of layer]
expected: FAIL expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -2,6 +2,3 @@
[elementsFromPoint on the root document for points in iframe elements] [elementsFromPoint on the root document for points in iframe elements]
expected: FAIL expected: FAIL
[elementsFromPoint on inner documents]
expected: FAIL

View file

@ -318,21 +318,15 @@
[<iframe>: combined response Content-Type: */* text/html] [<iframe>: combined response Content-Type: */* text/html]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain] [<iframe>: separate response Content-Type: text/html;" \\" text/plain]
expected: FAIL expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*] [<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain] [<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk] [<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL expected: FAIL

View file

@ -56,3 +56,6 @@
[separate text/javascript x/x] [separate text/javascript x/x]
expected: FAIL expected: FAIL
[separate text/javascript error]
expected: FAIL

View file

@ -11,9 +11,6 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!] [X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL expected: FAIL
[X-Content-Type-Options%3A%20%22nosniFF%22] [X-Content-Type-Options%3A%20'NosniFF']
expected: FAIL
[X-Content-Type-Options%3A%20%2Cnosniff]
expected: FAIL expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_2.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_4.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_5.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1,2 +0,0 @@
[cross-origin-objects-on-new-window.html]
expected: TIMEOUT

View file

@ -1,5 +0,0 @@
[creating_browsing_context_test_01.html]
expected: TIMEOUT
[first argument: absolute url]
expected: TIMEOUT

View file

@ -1,4 +1,5 @@
[embedded-opener-remove-frame.html] [embedded-opener-remove-frame.html]
expected: CRASH
[opener and "removed" embedded documents] [opener and "removed" embedded documents]
expected: FAIL expected: FAIL

View file

@ -1,4 +1,5 @@
[supported-elements.html] [supported-elements.html]
expected: TIMEOUT
[Contenteditable element should support autofocus] [Contenteditable element should support autofocus]
expected: FAIL expected: FAIL
@ -9,7 +10,7 @@
expected: FAIL expected: FAIL
[Area element should support autofocus] [Area element should support autofocus]
expected: FAIL expected: TIMEOUT
[Host element with delegatesFocus should support autofocus] [Host element with delegatesFocus should support autofocus]
expected: FAIL expected: FAIL

View file

@ -172,3 +172,6 @@
[XHTML img usemap="http://example.org/#garbage-before-hash-id"] [XHTML img usemap="http://example.org/#garbage-before-hash-id"]
expected: FAIL expected: FAIL
[HTML (standards) IMG usemap="no-hash-name"]
expected: FAIL

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_escaping-1.html] [iframe_sandbox_popups_escaping-1.html]
type: testharness type: testharness
expected: TIMEOUT expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-2.html] [iframe_sandbox_popups_escaping-2.html]
expected: TIMEOUT expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,6 +1,5 @@
[iframe_sandbox_popups_escaping-3.html] [iframe_sandbox_popups_escaping-3.html]
type: testharness type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT expected: FAIL

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_nonescaping-1.html] [iframe_sandbox_popups_nonescaping-1.html]
type: testharness type: testharness
expected: CRASH expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox] [Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN expected: NOTRUN

View file

@ -1,5 +1,6 @@
[iframe_sandbox_popups_nonescaping-3.html] [iframe_sandbox_popups_nonescaping-3.html]
type: testharness type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox] [Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL expected: NOTRUN

View file

@ -14,7 +14,7 @@ from __future__ import print_function
import os import os
import sys import sys
here = os.path.abspath(os.path.split(__file__)[0]) here = os.path.abspath(os.path.dirname(__file__))
repo_root = os.path.abspath(os.path.join(here, os.pardir, os.pardir)) repo_root = os.path.abspath(os.path.join(here, os.pardir, os.pardir))
sys.path.insert(0, os.path.join(repo_root, "tools")) sys.path.insert(0, os.path.join(repo_root, "tools"))

View file

@ -4,7 +4,6 @@
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"> <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
<link rel="help" href="https://www.w3.org/TR/css-grid-1/#algo-content"> <link rel="help" href="https://www.w3.org/TR/css-grid-1/#algo-content">
<meta name="assert" content="This test checks that the intrinsic contribution of a single grid item smaller than its container is distributed correctly among the tracks it spans when intrinsic tracks are involved."> <meta name="assert" content="This test checks that the intrinsic contribution of a single grid item smaller than its container is distributed correctly among the tracks it spans when intrinsic tracks are involved.">
<base href="https://wpt.live/css/css-grid/grid-definition/">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style> <style>
#grid { #grid {

View file

@ -20,7 +20,7 @@ def assetName(path):
def basepath(path): def basepath(path):
""" Returns the path part of os.path.split. """ Returns the path part of os.path.split.
""" """
return os.path.split(path)[0] return os.path.dirname(path)
def isPathInsideBase(path, base=''): def isPathInsideBase(path, base=''):
path = os.path.normpath(path) path = os.path.normpath(path)

View file

@ -31,6 +31,6 @@ def main(request, response):
elif handler == b"redirect": elif handler == b"redirect":
return run_other(request, response, os.path.join(request.doc_root, u"common", u"redirect.py")) return run_other(request, response, os.path.join(request.doc_root, u"common", u"redirect.py"))
else: else:
return run_other(request, response, os.path.join(os.path.split(isomorphic_decode(__file__))[0], isomorphic_decode(handler) + u".py")) return run_other(request, response, os.path.join(os.path.dirname(isomorphic_decode(__file__)), isomorphic_decode(handler) + u".py"))
else: else:
return return

View file

@ -37,7 +37,7 @@ When you are done, type "deactivate" to deactivate the virtual environment.
TESTS_PATH = "html/syntax/parsing/" TESTS_PATH = "html/syntax/parsing/"
def get_paths(): def get_paths():
script_path = os.path.split(os.path.abspath(__file__))[0] script_path = os.path.dirname(os.path.abspath(__file__))
repo_base = get_repo_base(script_path) repo_base = get_repo_base(script_path)
tests_path = os.path.join(repo_base, TESTS_PATH) tests_path = os.path.join(repo_base, TESTS_PATH)
return script_path, tests_path return script_path, tests_path
@ -47,7 +47,7 @@ def get_repo_base(path):
if os.path.exists(os.path.join(path, ".git")): if os.path.exists(os.path.join(path, ".git")):
return path return path
else: else:
path = os.path.split(path)[0] path = os.path.dirname(path)
def get_expected(data): def get_expected(data):
data = "#document\n" + data data = "#document\n" + data
@ -100,7 +100,7 @@ def make_tests(script_dir, out_dir, input_file_name, test_data):
def write_test_file(script_dir, out_dir, tests, file_name, template_file_name): def write_test_file(script_dir, out_dir, tests, file_name, template_file_name):
file_name = os.path.join(out_dir, file_name + ".html") file_name = os.path.join(out_dir, file_name + ".html")
short_name = os.path.split(file_name)[1] short_name = os.path.basename(file_name)
with open(os.path.join(script_dir, template_file_name), "r") as f: with open(os.path.join(script_dir, template_file_name), "r") as f:
template = MarkupTemplate(f) template = MarkupTemplate(f)
@ -139,7 +139,7 @@ def main():
os.path.join("tree-construction", "scripted"))))) os.path.join("tree-construction", "scripted")))))
for (scripted, test_file) in test_iterator: for (scripted, test_file) in test_iterator:
input_file_name = os.path.splitext(os.path.split(test_file)[1])[0] input_file_name = os.path.splitext(os.path.basename(test_file))[0]
if scripted: if scripted:
input_file_name = "scripted_" + input_file_name input_file_name = "scripted_" + input_file_name
test_data = support.TestData(test_file) test_data = support.TestData(test_file)

View file

@ -1,7 +1,7 @@
import os import os
import sys import sys
here = os.path.abspath(os.path.split(__file__)[0]) here = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, os.path.join(here)) sys.path.insert(0, os.path.join(here))
sys.path.insert(0, os.path.join(here, "wptserve")) sys.path.insert(0, os.path.join(here, "wptserve"))

View file

@ -11,7 +11,7 @@ import textwrap
from setuptools import setup, find_packages from setuptools import setup, find_packages
here = os.path.split(__file__)[0] here = os.path.dirname(__file__)
PACKAGE_NAME = 'wptrunner' PACKAGE_NAME = 'wptrunner'
PACKAGE_VERSION = '1.14' PACKAGE_VERSION = '1.14'

View file

@ -7,7 +7,7 @@ from six import iteritems
from ..wptcommandline import require_arg # noqa: F401 from ..wptcommandline import require_arg # noqa: F401
here = os.path.split(__file__)[0] here = os.path.dirname(__file__)
def inherit(super_module, child_globals, product_name): def inherit(super_module, child_globals, product_name):

View file

@ -30,7 +30,7 @@ from ..executors.executormarionette import (MarionetteTestharnessExecutor, # no
from ..process import cast_env from ..process import cast_env
here = os.path.join(os.path.split(__file__)[0]) here = os.path.dirname(__file__)
__wptrunner__ = {"product": "firefox", __wptrunner__ = {"product": "firefox",
"check_args": "check_args", "check_args": "check_args",

View file

@ -20,7 +20,7 @@ from ..executors import executor_kwargs as base_executor_kwargs
from ..executors.executorselenium import (SeleniumTestharnessExecutor, # noqa: F401 from ..executors.executorselenium import (SeleniumTestharnessExecutor, # noqa: F401
SeleniumRefTestExecutor) # noqa: F401 SeleniumRefTestExecutor) # noqa: F401
here = os.path.split(__file__)[0] here = os.path.dirname(__file__)
# Number of seconds to wait between polling operations when detecting status of # Number of seconds to wait between polling operations when detecting status of
# Sauce Connect sub-process. # Sauce Connect sub-process.
sc_poll_period = 1 sc_poll_period = 1

View file

@ -8,7 +8,7 @@ from ..executors.executorservo import (ServoCrashtestExecutor, # noqa: F401
ServoRefTestExecutor, # noqa: F401 ServoRefTestExecutor, # noqa: F401
ServoWdspecExecutor) # noqa: F401 ServoWdspecExecutor) # noqa: F401
here = os.path.join(os.path.split(__file__)[0]) here = os.path.dirname(__file__)
__wptrunner__ = { __wptrunner__ = {
"product": "servo", "product": "servo",

View file

@ -13,7 +13,7 @@ from ..executors.executorservodriver import (ServoWebDriverTestharnessExecutor,
ServoWebDriverRefTestExecutor) # noqa: F401 ServoWebDriverRefTestExecutor) # noqa: F401
from ..process import cast_env from ..process import cast_env
here = os.path.join(os.path.split(__file__)[0]) here = os.path.dirname(__file__)
__wptrunner__ = { __wptrunner__ = {
"product": "servodriver", "product": "servodriver",

View file

@ -3,7 +3,7 @@ import os
import sys import sys
from collections import OrderedDict from collections import OrderedDict
here = os.path.split(__file__)[0] here = os.path.dirname(__file__)
class ConfigDict(dict): class ConfigDict(dict):
def __init__(self, base_path, *args, **kwargs): def __init__(self, base_path, *args, **kwargs):
@ -19,7 +19,7 @@ class ConfigDict(dict):
def read(config_path): def read(config_path):
config_path = os.path.abspath(config_path) config_path = os.path.abspath(config_path)
config_root = os.path.split(config_path)[0] config_root = os.path.dirname(config_path)
parser = SafeConfigParser() parser = SafeConfigParser()
success = parser.read(config_path) success = parser.read(config_path)
assert config_path in success, success assert config_path in success, success

View file

@ -11,7 +11,7 @@ from mozlog import get_default_logger, handlers, proxy
from .wptlogging import LogLevelRewriter from .wptlogging import LogLevelRewriter
here = os.path.split(__file__)[0] here = os.path.dirname(__file__)
repo_root = os.path.abspath(os.path.join(here, os.pardir, os.pardir, os.pardir)) repo_root = os.path.abspath(os.path.join(here, os.pardir, os.pardir, os.pardir))
sys.path.insert(0, repo_root) sys.path.insert(0, repo_root)

View file

@ -16,7 +16,7 @@ from ..testrunner import Stop
from .actions import actions from .actions import actions
from .protocol import Protocol, BaseProtocolPart from .protocol import Protocol, BaseProtocolPart
here = os.path.split(__file__)[0] here = os.path.dirname(__file__)
def executor_kwargs(test_type, server_config, cache_manager, run_info_data, def executor_kwargs(test_type, server_config, cache_manager, run_info_data,

View file

@ -8,7 +8,7 @@ from .executorwebdriver import WebDriverProtocol, WebDriverRefTestExecutor, WebD
from .protocol import PrintProtocolPart from .protocol import PrintProtocolPart
from ..webdriver_server import ChromeDriverServer from ..webdriver_server import ChromeDriverServer
here = os.path.join(os.path.split(__file__)[0]) here = os.path.dirname(__file__)
class ChromeDriverPrintProtocolPart(PrintProtocolPart): class ChromeDriverPrintProtocolPart(PrintProtocolPart):

View file

@ -12,7 +12,7 @@ errors = None
marionette = None marionette = None
pytestrunner = None pytestrunner = None
here = os.path.join(os.path.split(__file__)[0]) here = os.path.dirname(__file__)
from .base import (CallbackHandler, from .base import (CallbackHandler,
CrashtestExecutor, CrashtestExecutor,

View file

@ -24,7 +24,7 @@ from .protocol import (BaseProtocolPart,
TestDriverProtocolPart) TestDriverProtocolPart)
from ..testrunner import Stop from ..testrunner import Stop
here = os.path.join(os.path.split(__file__)[0]) here = os.path.dirname(__file__)
webdriver = None webdriver = None
exceptions = None exceptions = None

View file

@ -16,7 +16,7 @@ from ..webdriver_server import wait_for_service
webdriver = None webdriver = None
ServoCommandExtensions = None ServoCommandExtensions = None
here = os.path.join(os.path.split(__file__)[0]) here = os.path.dirname(__file__)
def do_delayed_imports(): def do_delayed_imports():

View file

@ -31,7 +31,7 @@ from ..testrunner import Stop
import webdriver as client import webdriver as client
from webdriver import error from webdriver import error
here = os.path.join(os.path.split(__file__)[0]) here = os.path.dirname(__file__)
class WebDriverCallbackHandler(CallbackHandler): class WebDriverCallbackHandler(CallbackHandler):

View file

@ -6,7 +6,7 @@ import plistlib
from shutil import copy2, rmtree from shutil import copy2, rmtree
from subprocess import call, check_output from subprocess import call, check_output
HERE = os.path.split(__file__)[0] HERE = os.path.dirname(__file__)
SYSTEM = platform.system().lower() SYSTEM = platform.system().lower()

View file

@ -320,7 +320,7 @@ def write_new_expected(metadata_path, expected):
manifest_str = wptmanifest.serialize(expected.node, manifest_str = wptmanifest.serialize(expected.node,
skip_empty_data=True) skip_empty_data=True)
assert manifest_str != "" assert manifest_str != ""
dir = os.path.split(path)[0] dir = os.path.dirname(path)
if not os.path.exists(dir): if not os.path.exists(dir):
os.makedirs(dir) os.makedirs(dir)
tmp_path = path + ".tmp" tmp_path = path + ".tmp"

View file

@ -1,7 +1,7 @@
import os import os
import sys import sys
here = os.path.abspath(os.path.split(__file__)[0]) here = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, os.path.join(here, os.pardir, os.pardir, os.pardir)) sys.path.insert(0, os.path.join(here, os.pardir, os.pardir, os.pardir))
import localpaths as _localpaths # noqa: F401 import localpaths as _localpaths # noqa: F401

View file

@ -1,7 +1,7 @@
import os import os
from six.moves import cPickle as pickle # noqa: N813 from six.moves import cPickle as pickle # noqa: N813
here = os.path.abspath(os.path.split(__file__)[0]) here = os.path.abspath(os.path.dirname(__file__))
class BaseState(object): class BaseState(object):
def __new__(cls, logger): def __new__(cls, logger):

View file

@ -8,7 +8,7 @@ import uuid
from .base import Step, StepRunner from .base import Step, StepRunner
from .tree import Commit from .tree import Commit
here = os.path.abspath(os.path.split(__file__)[0]) here = os.path.abspath(os.path.dirname(__file__))
def copy_wpt_tree(tree, dest, excludes=None, includes=None): def copy_wpt_tree(tree, dest, excludes=None, includes=None):
@ -41,7 +41,7 @@ def copy_wpt_tree(tree, dest, excludes=None, includes=None):
source_path = os.path.join(tree.root, tree_path) source_path = os.path.join(tree.root, tree_path)
dest_path = os.path.join(dest, tree_path) dest_path = os.path.join(dest, tree_path)
dest_dir = os.path.split(dest_path)[0] dest_dir = os.path.dirname(dest_path)
if not os.path.isdir(source_path): if not os.path.isdir(source_path):
if not os.path.exists(dest_dir): if not os.path.exists(dest_dir):
os.makedirs(dest_dir) os.makedirs(dest_dir)
@ -50,7 +50,7 @@ def copy_wpt_tree(tree, dest, excludes=None, includes=None):
for source, destination in [("testharness_runner.html", ""), for source, destination in [("testharness_runner.html", ""),
("testdriver-vendor.js", "resources/")]: ("testdriver-vendor.js", "resources/")]:
source_path = os.path.join(here, os.pardir, source) source_path = os.path.join(here, os.pardir, source)
dest_path = os.path.join(dest, destination, os.path.split(source)[1]) dest_path = os.path.join(dest, destination, os.path.basename(source))
shutil.copy2(source_path, dest_path) shutil.copy2(source_path, dest_path)

View file

@ -19,7 +19,7 @@ from .font import FontInstaller
from .testrunner import ManagerGroup from .testrunner import ManagerGroup
from .browsers.base import NullBrowser from .browsers.base import NullBrowser
here = os.path.split(__file__)[0] here = os.path.dirname(__file__)
logger = None logger = None

View file

@ -135,7 +135,7 @@ class RunInfo(dict):
if path in dirs: if path in dirs:
break break
dirs.add(str(path)) dirs.add(str(path))
path = os.path.split(path)[0] path = os.path.dirname(path)
mozinfo.find_and_update_from_json(*dirs) mozinfo.find_and_update_from_json(*dirs)

View file

@ -21,7 +21,7 @@ logging.basicConfig()
wptserve.logger.set_logger(logging.getLogger()) wptserve.logger.set_logger(logging.getLogger())
here = os.path.split(__file__)[0] here = os.path.dirname(__file__)
doc_root = os.path.join(here, "docroot") doc_root = os.path.join(here, "docroot")

View file

@ -197,7 +197,7 @@ class FileHandler(object):
raise HTTPException(404) raise HTTPException(404)
def get_headers(self, request, path): def get_headers(self, request, path):
rv = (self.load_headers(request, os.path.join(os.path.split(path)[0], "__dir__")) + rv = (self.load_headers(request, os.path.join(os.path.dirname(path), "__dir__")) +
self.load_headers(request, path)) self.load_headers(request, path))
if not any(key.lower() == b"content-type" for (key, _) in rv): if not any(key.lower() == b"content-type" for (key, _) in rv):

View file

@ -3,7 +3,7 @@ import os
from wptserve.utils import isomorphic_decode from wptserve.utils import isomorphic_decode
here = os.path.split(os.path.abspath(isomorphic_decode(__file__)))[0] here = os.path.dirname(os.path.abspath(isomorphic_decode(__file__)))
def main(request, response): def main(request, response):
auth = imp.load_source(u"", os.path.join(here, auth = imp.load_source(u"", os.path.join(here,

View file

@ -3,7 +3,7 @@ import os
from wptserve.utils import isomorphic_decode from wptserve.utils import isomorphic_decode
here = os.path.split(os.path.abspath(isomorphic_decode(__file__)))[0] here = os.path.dirname(os.path.abspath(isomorphic_decode(__file__)))
def main(request, response): def main(request, response):
auth = imp.load_source(u"", os.path.join(here, auth = imp.load_source(u"", os.path.join(here,

View file

@ -3,7 +3,7 @@ import os
from wptserve.utils import isomorphic_decode from wptserve.utils import isomorphic_decode
here = os.path.split(os.path.abspath(isomorphic_decode(__file__)))[0] here = os.path.dirname(os.path.abspath(isomorphic_decode(__file__)))
def main(request, response): def main(request, response):
auth = imp.load_source(u"", os.path.join(here, auth = imp.load_source(u"", os.path.join(here,

View file

@ -3,7 +3,7 @@ import os
from wptserve.utils import isomorphic_decode from wptserve.utils import isomorphic_decode
here = os.path.split(os.path.abspath(isomorphic_decode(__file__)))[0] here = os.path.dirname(os.path.abspath(isomorphic_decode(__file__)))
def main(request, response): def main(request, response):
auth = imp.load_source(u"", os.path.join(here, auth = imp.load_source(u"", os.path.join(here,

View file

@ -3,7 +3,7 @@ import os
from wptserve.utils import isomorphic_decode from wptserve.utils import isomorphic_decode
here = os.path.split(os.path.abspath(isomorphic_decode(__file__)))[0] here = os.path.dirname(os.path.abspath(isomorphic_decode(__file__)))
def main(request, response): def main(request, response):
auth = imp.load_source(u"", os.path.join(here, auth = imp.load_source(u"", os.path.join(here,

View file

@ -3,7 +3,7 @@ import os
from wptserve.utils import isomorphic_decode from wptserve.utils import isomorphic_decode
here = os.path.split(os.path.abspath(isomorphic_decode(__file__)))[0] here = os.path.dirname(os.path.abspath(isomorphic_decode(__file__)))
def main(request, response): def main(request, response):
auth = imp.load_source(u"", os.path.join(here, auth = imp.load_source(u"", os.path.join(here,

View file

@ -3,7 +3,7 @@ import os
from wptserve.utils import isomorphic_decode from wptserve.utils import isomorphic_decode
here = os.path.split(os.path.abspath(isomorphic_decode(__file__)))[0] here = os.path.dirname(os.path.abspath(isomorphic_decode(__file__)))
def main(request, response): def main(request, response):
auth = imp.load_source(u"", os.path.join(here, auth = imp.load_source(u"", os.path.join(here,

View file

@ -221,3 +221,9 @@
[WebGL test #52: attachment 7 should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 255,255,0,255] [WebGL test #52: attachment 7 should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 255,255,0,255]
expected: FAIL expected: FAIL
[WebGL test #48: attachment 3 should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,47,0,0]
expected: FAIL
[WebGL test #40: attachment 3 should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,47,0,0]
expected: FAIL