From 9710896ed55c59aaf2ebbfe2eb31f9403dcc7ad3 Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Sun, 17 Feb 2019 21:00:57 -0500 Subject: [PATCH] Update web-platform-tests to revision 3a43f99a56a4c016e3f1cda41330f1a2c0e780ff --- tests/wpt/metadata/MANIFEST.json | 10 ++++++++ .../properties-value-inherit-001.html.ini | 3 --- .../scroll-behavior-smooth.html.ini | 3 --- .../encoding/single-byte-decoder.html.ini | 16 +++++++++---- .../fetch/content-type/response.window.js.ini | 9 ------- .../nosniff/parsing-nosniff.window.js.ini | 6 +++++ .../traverse_the_history_1.html.ini | 4 ++++ .../length-attribute.window.js.ini | 4 ++++ .../the-details-element/toggleEvent.html.ini | 7 ++++++ ...lout-exception-vs-return-xml.window.js.ini | 2 +- .../css/transition_calc_implicit.html.ini | 2 -- .../length-attribute.window.js | 24 +++++++++++++++++++ 12 files changed, 67 insertions(+), 23 deletions(-) create mode 100644 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini create mode 100644 tests/wpt/metadata/html/browsers/the-window-object/length-attribute.window.js.ini create mode 100644 tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini delete mode 100644 tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini create mode 100644 tests/wpt/web-platform-tests/html/browsers/the-window-object/length-attribute.window.js diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index f7789ec1707c..e8c7a0ebacfa 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -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", @@ -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" diff --git a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-001.html.ini b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-001.html.ini index 7f17425c4aa1..5d20389c8e9f 100644 --- a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-001.html.ini +++ b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-001.html.ini @@ -56,6 +56,3 @@ [background-position length(px) / events] expected: FAIL - [font-size length(em) / events] - expected: FAIL - diff --git a/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini b/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini index ee754ce4aa35..bcd187f508ce 100644 --- a/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini +++ b/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini @@ -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 diff --git a/tests/wpt/metadata/encoding/single-byte-decoder.html.ini b/tests/wpt/metadata/encoding/single-byte-decoder.html.ini index 9f65c3197326..71d8e2b6761f 100644 --- a/tests/wpt/metadata/encoding/single-byte-decoder.html.ini +++ b/tests/wpt/metadata/encoding/single-byte-decoder.html.ini @@ -58,7 +58,7 @@ expected: FAIL [windows-1254: iso_8859-9:1989 (XMLHttpRequest)] - expected: TIMEOUT + expected: FAIL [windows-1258: cp1258 (XMLHttpRequest)] expected: TIMEOUT @@ -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 @@ -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 diff --git a/tests/wpt/metadata/fetch/content-type/response.window.js.ini b/tests/wpt/metadata/fetch/content-type/response.window.js.ini index d36a6a6fc70a..18f786d49638 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -312,12 +312,3 @@ ['>"; + 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)");