From ecabb8b521932d21d6748dc7bba447030eb72287 Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Fri, 19 Apr 2019 22:13:27 -0400 Subject: [PATCH] Update web-platform-tests to revision 4657e102531b29ebfbf73b547693288c51c8b8c0 --- tests/wpt/metadata/MANIFEST.json | 21 +- .../at-font-face-font-matching.html.ini | 24 ++ ...nsitions-animatable-properties-01.html.ini | 3 + .../encoding/single-byte-decoder.html.ini | 65 +--- .../fetch/content-type/response.window.js.ini | 37 +- ...ml.ini => traverse_the_history_3.html.ini} | 2 +- ...ml.ini => traverse_the_history_5.html.ini} | 2 +- .../non-active-document.html.ini | 10 + .../script-onerror-insertion-point-2.html.ini | 2 - .../realtimeanalyser-fft-scaling.html.ini | 1 + ...icated-worker-options-credentials.html.ini | 13 +- .../css/transition_calc_implicit.html.ini | 2 - .../generic-sensor/generic-sensor-tests.js | 7 +- .../interfaces/webaudio.idl | 4 +- .../wpt/web-platform-tests/tools/lint/lint.py | 262 +++++---------- .../web-platform-tests/tools/lint/rules.py | 316 ++++++++++++++++++ .../tools/lint/tests/test_file_lints.py | 215 ++++++++++++ .../tools/lint/tests/test_path_lints.py | 58 ++++ .../workers/modules/resources/credentials.py | 5 +- 19 files changed, 777 insertions(+), 272 deletions(-) rename tests/wpt/metadata/html/browsers/history/the-history-interface/{traverse_the_history_2.html.ini => traverse_the_history_3.html.ini} (71%) rename tests/wpt/metadata/html/browsers/history/the-history-interface/{traverse_the_history_4.html.ini => traverse_the_history_5.html.ini} (71%) create mode 100644 tests/wpt/metadata/html/semantics/embedded-content/the-img-element/non-active-document.html.ini delete mode 100644 tests/wpt/metadata/html/semantics/scripting-1/the-script-element/script-onerror-insertion-point-2.html.ini delete mode 100644 tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini create mode 100644 tests/wpt/web-platform-tests/tools/lint/rules.py diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index f4d36982ea4..85b062a1178 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -319097,6 +319097,11 @@ {} ] ], + "tools/lint/rules.py": [ + [ + {} + ] + ], "tools/lint/tests/__init__.py": [ [ {} @@ -649420,7 +649425,7 @@ "support" ], "generic-sensor/generic-sensor-tests.js": [ - "8168d7a39f75fc22404c8c39937723e10c372d2d", + "a48b4c59aa89d0f1a0c7855f93bd80ce0f33fbf0", "support" ], "generic-sensor/idlharness.https.window.js": [ @@ -670296,7 +670301,7 @@ "support" ], "interfaces/webaudio.idl": [ - "4f1914dbae23a5619b72b92b761bd146d1aaacf9", + "4679558023ae87655f46b10d5a57d39269c6e8c9", "support" ], "interfaces/webauthn.idl": [ @@ -704876,7 +704881,11 @@ "support" ], "tools/lint/lint.py": [ - "ccadcdc16c72a9790c7de697c6f7762f0cbe06f1", + "19d0c112186a09ab2ca5fb449faf4ea90bb66e04", + "support" + ], + "tools/lint/rules.py": [ + "78f9d072a8a71c7af0494dc3625bd7aa937a5554", "support" ], "tools/lint/tests/__init__.py": [ @@ -705016,7 +705025,7 @@ "support" ], "tools/lint/tests/test_file_lints.py": [ - "28ccacc8787c61c2a6cf34552f179ef893360fed", + "ddf03986e10f5c336ea7ce7731bbcdd2135235d0", "support" ], "tools/lint/tests/test_lint.py": [ @@ -705024,7 +705033,7 @@ "support" ], "tools/lint/tests/test_path_lints.py": [ - "bf8418d52a02e1a22b83fbb15c0b468969546dc6", + "ab44c559187e8e435a34d5e13076feb420a15270", "support" ], "tools/localpaths.py": [ @@ -722416,7 +722425,7 @@ "testharness" ], "workers/modules/resources/credentials.py": [ - "7623d849625db4df7a9a10b8edd6f5e5e3187faf", + "fb1c7fe96cba4f41ac4b32c09642aea44fe05b23", "support" ], "workers/modules/resources/dynamic-import-and-then-static-import-worker.js": [ diff --git a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini index 37f7f11182a..468859377f2 100644 --- a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini +++ b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini @@ -311,3 +311,27 @@ [Matching font-style: 'oblique -10deg' should prefer 'oblique -1deg 0deg' over 'oblique -20deg -15deg'] expected: FAIL + [Matching font-weight: '430' should prefer '350 399' over '340 398'] + expected: FAIL + + [Matching font-stretch: '100%' should prefer '110% 120%' over '115% 116%'] + expected: FAIL + + [Matching font-weight: '430' should prefer '500' over '400 425'] + expected: FAIL + + [Matching font-stretch: '110%' should prefer '105%' over '100%'] + expected: FAIL + + [Matching font-style: 'oblique 0deg' should prefer 'oblique 30deg 60deg' over 'oblique 40deg 50deg'] + expected: FAIL + + [Matching font-weight: '400' should prefer '351 398' over '501 550'] + expected: FAIL + + [Matching font-style: 'oblique -20deg' should prefer 'oblique -20deg' over 'oblique -60deg -40deg'] + expected: FAIL + + [Matching font-style: 'oblique -10deg' should prefer 'italic' over 'oblique 0deg 10deg'] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini index 8850ec200da..323528d3385 100644 --- a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini +++ b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini @@ -74,3 +74,6 @@ [opacity end] expected: FAIL + [letter-spacing end] + 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 d146040e0c1..3d135f3bd66 100644 --- a/tests/wpt/metadata/encoding/single-byte-decoder.html.ini +++ b/tests/wpt/metadata/encoding/single-byte-decoder.html.ini @@ -2,7 +2,7 @@ type: testharness [single-byte-decoder.html?document] - expected: CRASH + expected: TIMEOUT [ISO-8859-4: iso_8859-4:1988 (document.characterSet and document.inputEncoding)] expected: FAIL @@ -32,7 +32,6 @@ [single-byte-decoder.html?XMLHttpRequest] - expected: CRASH [ISO-8859-2: iso_8859-2:1987 (XMLHttpRequest)] expected: FAIL @@ -58,67 +57,7 @@ expected: FAIL [windows-1254: iso_8859-9:1989 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: windows-1254 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1257: cp1257 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: x-cp1254 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1255: windows-1255 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1258: x-cp1258 (XMLHttpRequest)] - expected: TIMEOUT - - [x-mac-cyrillic: x-mac-cyrillic (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1258: cp1258 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1257: x-cp1257 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: iso88599 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: iso_8859-9 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1257: windows-1257 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1258: windows-1258 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1256: cp1256 (XMLHttpRequest)] - expected: TIMEOUT - - [x-mac-cyrillic: x-mac-ukrainian (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1255: x-cp1255 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1256: x-cp1256 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1256: windows-1256 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: l5 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: latin5 (XMLHttpRequest)] - expected: TIMEOUT - - [windows-1254: iso8859-9 (XMLHttpRequest)] - expected: TIMEOUT + expected: FAIL [single-byte-decoder.html?TextDecoder] 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 18f786d4963..72022cb4ff0 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -22,7 +22,7 @@ expected: NOTRUN [