Skip to content

Commit

Permalink
Update web-platform-tests to revision 3a43f99a56a4c016e3f1cda41330f1a…
Browse files Browse the repository at this point in the history
…2c0e780ff
  • Loading branch information
servo-wpt-sync committed Feb 18, 2019
1 parent f6de47c commit 9710896
Show file tree
Hide file tree
Showing 12 changed files with 67 additions and 23 deletions.
10 changes: 10 additions & 0 deletions tests/wpt/metadata/MANIFEST.json
Expand Up @@ -373049,6 +373049,12 @@
{}
]
],
"html/browsers/the-window-object/length-attribute.window.js": [
[
"/html/browsers/the-window-object/length-attribute.window.html",
{}
]
],
"html/browsers/the-window-object/name-attribute.window.js": [
[
"/html/browsers/the-window-object/name-attribute.window.html",
Expand Down Expand Up @@ -625314,6 +625320,10 @@
"653f12b4646c06ffa65f84cd2dfe72566f9662ff",
"testharness"
],
"html/browsers/the-window-object/length-attribute.window.js": [
"d56e1e469280436e27d4a00d3e70f1d4773c80a7",
"testharness"
],
"html/browsers/the-window-object/name-attribute.window.js": [
"f266dd7acb96cc473129c066e59f027c2eb067f0",
"testharness"
Expand Down
Expand Up @@ -56,6 +56,3 @@
[background-position length(px) / events]
expected: FAIL

[font-size length(em) / events]
expected: FAIL

Expand Up @@ -3,9 +3,6 @@
[scroll-behavior: smooth on DIV element]
expected: FAIL

[Smooth scrolling while doing history navigation.]
expected: FAIL

[Instant scrolling while doing history navigation.]
expected: FAIL

16 changes: 11 additions & 5 deletions tests/wpt/metadata/encoding/single-byte-decoder.html.ini
Expand Up @@ -58,7 +58,7 @@
expected: FAIL

[windows-1254: iso_8859-9:1989 (XMLHttpRequest)]
expected: TIMEOUT
expected: FAIL

[windows-1258: cp1258 (XMLHttpRequest)]
expected: TIMEOUT
Expand Down Expand Up @@ -99,9 +99,6 @@
[windows-1255: x-cp1255 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1255: windows-1255 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1257: x-cp1257 (XMLHttpRequest)]
expected: TIMEOUT

Expand All @@ -117,7 +114,16 @@
[windows-1257: windows-1257 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1254: csisolatin5 (XMLHttpRequest)]
[windows-1254: iso88599 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1254: iso-8859-9 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1254: iso8859-9 (XMLHttpRequest)]
expected: TIMEOUT

[windows-1254: iso-ir-148 (XMLHttpRequest)]
expected: TIMEOUT


Expand Down
9 changes: 0 additions & 9 deletions tests/wpt/metadata/fetch/content-type/response.window.js.ini
Expand Up @@ -312,12 +312,3 @@
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL

[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL

[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL

[<iframe>: separate response Content-Type: */* text/html]
expected: FAIL

Expand Up @@ -11,3 +11,9 @@
[X-Content-Type-Options%3A%20nosniff%0C]
expected: FAIL

[X-Content-Type-Options%3A%20%22nosniFF%22]
expected: FAIL

[Content-Type-Options%3A%20nosniff]
expected: FAIL

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

@@ -0,0 +1,4 @@
[length-attribute.window.html]
[Window object's length IDL attribute (and named access)]
expected: FAIL
@@ -0,0 +1,7 @@
[toggleEvent.html]
[Calling open twice on 'details' fires only one toggle event]
expected: FAIL

[Setting open=true to opened 'details' element should not fire a toggle event at the 'details' element]
expected: FAIL

@@ -1,5 +1,5 @@
[bailout-exception-vs-return-xml.window.html]
expected: TIMEOUT
expected: CRASH
[document.open should throw an InvalidStateError with XML document even when the ignore-opens-during-unload counter is greater than 0 (during beforeunload event)]
expected: TIMEOUT

Expand Down
2 changes: 0 additions & 2 deletions tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini

This file was deleted.

@@ -0,0 +1,24 @@
async_test(t => {
const frame = document.createElement("iframe");
frame.srcdoc = "<iframe name=x srcdoc='<iframe name=z></iframe>'></iframe><iframe name=y></iframe>";
frame.onload = t.step_func_done(() => {
const frameW = frame.contentWindow;
assert_equals(frameW.length, 2);
assert_not_equals(frameW.x, undefined);
assert_not_equals(frameW.y, undefined);
assert_equals(frameW.z, undefined);
assert_equals(frameW.x, frameW[0]);
assert_equals(frameW.y, frameW[1]);
const xFrameW = frameW.x;
assert_equals(xFrameW.length, 1);
assert_not_equals(xFrameW.z, undefined);
assert_equals(xFrameW.z, xFrameW[0]);
frame.remove();
assert_equals(frameW.length, 0);
assert_equals(frameW.x, undefined);
assert_equals(frameW[0], undefined);
assert_equals(xFrameW.length, 0);
assert_equals(xFrameW.z, undefined);
});
document.body.append(frame);
}, "Window object's length IDL attribute (and named access)");

0 comments on commit 9710896

Please sign in to comment.