Diff
Modified: trunk/LayoutTests/ChangeLog (221896 => 221897)
--- trunk/LayoutTests/ChangeLog 2017-09-12 00:40:11 UTC (rev 221896)
+++ trunk/LayoutTests/ChangeLog 2017-09-12 00:42:17 UTC (rev 221897)
@@ -1,3 +1,14 @@
+2017-09-11 Michael Catanzaro <[email protected]>
+
+ [GTK] Unreviewed layout test gardening
+
+ * TestExpectations:
+ * http/tests/fetch/fetching-same-resource-with-different-options-expected.txt: Renamed from LayoutTests/http/tests/fetch/fetching-same-resource-with-diffferent-options-expected.txt.
+ * http/tests/fetch/fetching-same-resource-with-different-options.html: Renamed from LayoutTests/http/tests/fetch/fetching-same-resource-with-diffferent-options.html.
+ * platform/gtk/TestExpectations:
+ * platform/ios-wk2/TestExpectations:
+ * platform/win/TestExpectations:
+
2017-09-11 Joseph Pecoraro <[email protected]>
Web Inspector: Cleanup and test MIMETypeUtilities
Modified: trunk/LayoutTests/TestExpectations (221896 => 221897)
--- trunk/LayoutTests/TestExpectations 2017-09-12 00:40:11 UTC (rev 221896)
+++ trunk/LayoutTests/TestExpectations 2017-09-12 00:42:17 UTC (rev 221897)
@@ -1457,3 +1457,5 @@
webkit.org/b/171945 perf/class-list-remove.html [ Pass Failure Timeout ]
webkit.org/b/176183 fast/block/inside-inlines/opacity-on-inline.html [ ImageOnlyFailure ]
+
+webkit.org/b/166025 http/tests/fetch/fetching-same-resource-with-different-options.html [ Pass Failure ]
Copied: trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-different-options-expected.txt (from rev 221896, trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-diffferent-options-expected.txt) (0 => 221897)
--- trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-different-options-expected.txt (rev 0)
+++ trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-different-options-expected.txt 2017-09-12 00:42:17 UTC (rev 221897)
@@ -0,0 +1,12 @@
+CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=1. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
+CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=2. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
+CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=3. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
+CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
+CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=4. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
+
+PASS Ensure cors checks work when loading in parallel the same resource with different modes
+PASS Ensure cors checks work when loading successively the same resource with different modes
+
Copied: trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-different-options.html (from rev 221896, trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-diffferent-options.html) (0 => 221897)
--- trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-different-options.html (rev 0)
+++ trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-different-options.html 2017-09-12 00:42:17 UTC (rev 221897)
@@ -0,0 +1,69 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Fetching the same resource with different options</title>
+ <script src=""
+ <script src=""
+ </head>
+ <body>
+ <script>
+promise_test(function(t) {
+ var url1 = "http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=1";
+ var url2 = "http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=2";
+ return Promise.all([
+ fetch(url1, {"mode": "no-cors"}).then((response) => {
+ assert_equals(response.type, "opaque");
+ }),
+ fetch(url1, {"mode": "cors"}).then((response) => {
+ assert_equals(response.type, "cors");
+ return response.arrayBuffer().then((arrayBuffer) => {
+ assert_true(arrayBuffer.byteLength > 0);
+ });
+ }),
+ promise_rejects(t, new TypeError(), fetch(url1, {"mode": "cors", "credentials": "include"})),
+ promise_rejects(t, new TypeError(), fetch(url2, {"mode": "cors", "credentials": "include"})),
+ fetch(url2, {"mode": "cors"}).then((response) => {
+ assert_equals(response.type, "cors");
+ return response.arrayBuffer().then((arrayBuffer) => {
+ assert_true(arrayBuffer.byteLength > 0);
+ });
+ }),
+ fetch(url2, {"mode": "no-cors"}).then((response) => {
+ assert_equals(response.type, "opaque");
+ })
+ ]);
+}, 'Ensure cors checks work when loading in parallel the same resource with different modes');
+
+promise_test(function(t) {
+ var url3 = "http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=3";
+ var url4 = "http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=4";
+ return fetch(url3, {"mode": "cors"}).then((response) => {
+ assert_equals(response.type, "cors");
+ return response.arrayBuffer().then((arrayBuffer) => {
+ assert_true(arrayBuffer.byteLength > 0);
+ });
+ }).then(() => {
+ return fetch(url3, {"mode": "no-cors"}).then((response) => {
+ assert_equals(response.type, "opaque");
+ });
+ }).then(() => {
+ return promise_rejects(t, new TypeError(), fetch(url3, {"mode": "cors", "credentials": "include"}));
+ }).then(() => {
+ return promise_rejects(t, new TypeError(), fetch(url4, {"mode": "cors", "credentials": "include"}));
+ }).then(() => {
+ return fetch(url4, {"mode": "no-cors"}).then((response) => {
+ assert_equals(response.type, "opaque");
+ });
+ }).then(() => {
+ return fetch(url4, {"mode": "cors"}).then((response) => {
+ assert_equals(response.type, "cors");
+ return response.arrayBuffer().then((arrayBuffer) => {
+ assert_true(arrayBuffer.byteLength > 0);
+ });
+ });
+ });
+}, 'Ensure cors checks work when loading successively the same resource with different modes');
+ </script>
+ </body>
+</html>
Deleted: trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-diffferent-options-expected.txt (221896 => 221897)
--- trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-diffferent-options-expected.txt 2017-09-12 00:40:11 UTC (rev 221896)
+++ trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-diffferent-options-expected.txt 2017-09-12 00:42:17 UTC (rev 221897)
@@ -1,12 +0,0 @@
-CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=1. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
-CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=2. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
-CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=3. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
-CONSOLE MESSAGE: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
-CONSOLE MESSAGE: Fetch API cannot load http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=4. Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true.
-
-PASS Ensure cors checks work when loading in parallel the same resource with different modes
-PASS Ensure cors checks work when loading successively the same resource with different modes
-
Deleted: trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-diffferent-options.html (221896 => 221897)
--- trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-diffferent-options.html 2017-09-12 00:40:11 UTC (rev 221896)
+++ trunk/LayoutTests/http/tests/fetch/fetching-same-resource-with-diffferent-options.html 2017-09-12 00:42:17 UTC (rev 221897)
@@ -1,69 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <meta charset="utf-8">
- <title>Fetching the same resource with different options</title>
- <script src=""
- <script src=""
- </head>
- <body>
- <script>
-promise_test(function(t) {
- var url1 = "http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=1";
- var url2 = "http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=2";
- return Promise.all([
- fetch(url1, {"mode": "no-cors"}).then((response) => {
- assert_equals(response.type, "opaque");
- }),
- fetch(url1, {"mode": "cors"}).then((response) => {
- assert_equals(response.type, "cors");
- return response.arrayBuffer().then((arrayBuffer) => {
- assert_true(arrayBuffer.byteLength > 0);
- });
- }),
- promise_rejects(t, new TypeError(), fetch(url1, {"mode": "cors", "credentials": "include"})),
- promise_rejects(t, new TypeError(), fetch(url2, {"mode": "cors", "credentials": "include"})),
- fetch(url2, {"mode": "cors"}).then((response) => {
- assert_equals(response.type, "cors");
- return response.arrayBuffer().then((arrayBuffer) => {
- assert_true(arrayBuffer.byteLength > 0);
- });
- }),
- fetch(url2, {"mode": "no-cors"}).then((response) => {
- assert_equals(response.type, "opaque");
- })
- ]);
-}, 'Ensure cors checks work when loading in parallel the same resource with different modes');
-
-promise_test(function(t) {
- var url3 = "http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=3";
- var url4 = "http://localhost:8000/resources/download-json-with-delay.php?iteration=2&delay=100&cors=true&allowCache=true&test=4";
- return fetch(url3, {"mode": "cors"}).then((response) => {
- assert_equals(response.type, "cors");
- return response.arrayBuffer().then((arrayBuffer) => {
- assert_true(arrayBuffer.byteLength > 0);
- });
- }).then(() => {
- return fetch(url3, {"mode": "no-cors"}).then((response) => {
- assert_equals(response.type, "opaque");
- });
- }).then(() => {
- return promise_rejects(t, new TypeError(), fetch(url3, {"mode": "cors", "credentials": "include"}));
- }).then(() => {
- return promise_rejects(t, new TypeError(), fetch(url4, {"mode": "cors", "credentials": "include"}));
- }).then(() => {
- return fetch(url4, {"mode": "no-cors"}).then((response) => {
- assert_equals(response.type, "opaque");
- });
- }).then(() => {
- return fetch(url4, {"mode": "cors"}).then((response) => {
- assert_equals(response.type, "cors");
- return response.arrayBuffer().then((arrayBuffer) => {
- assert_true(arrayBuffer.byteLength > 0);
- });
- });
- });
-}, 'Ensure cors checks work when loading successively the same resource with different modes');
- </script>
- </body>
-</html>
Modified: trunk/LayoutTests/platform/gtk/TestExpectations (221896 => 221897)
--- trunk/LayoutTests/platform/gtk/TestExpectations 2017-09-12 00:40:11 UTC (rev 221896)
+++ trunk/LayoutTests/platform/gtk/TestExpectations 2017-09-12 00:42:17 UTC (rev 221897)
@@ -1315,7 +1315,7 @@
webkit.org/b/167576 storage/indexeddb/modern/index-3-private.html [ Crash ]
webkit.org/b/169811 fast/mediastream/captureStream/canvas2d-heavy-drawing.html [ Crash Pass Failure ]
-webkit.org/b/169811 fast/mediastream/captureStream/canvas2d.html [ Crash ]
+webkit.org/b/169811 fast/mediastream/captureStream/canvas2d.html [ Crash Timeout ]
webkit.org/b/169811 fast/mediastream/captureStream/canvas3d.html [ Crash Timeout ]
webkit.org/b/172281 accessibility/insert-children-assert.html [ Crash ]
@@ -1909,6 +1909,15 @@
webkit.org/b/176174 media/event-queue-crash.html [ Pass Failure ]
+webkit.org/b/176756 inspector/heap/getPreview.html [ Timeout Pass ]
+
+webkit.org/b/176757 fast/hidpi/filters-invert.html [ Pass ImageOnlyFailure ]
+webkit.org/b/176757 fast/hidpi/filters-multiple.html [ Pass ImageOnlyFailure ]
+
+webkit.org/b/176758 animations/3d/transform-origin-vs-functions.html [ Pass Failure ]
+
+webkit.org/b/176759 crypto/subtle/rsa-oaep-import-key-wrap-jwk-oct-key.html [ Pass Failure ]
+
#////////////////////////////////////////////////////////////////////////////////////////
# End of Flaky tests
#////////////////////////////////////////////////////////////////////////////////////////
Modified: trunk/LayoutTests/platform/ios-wk2/TestExpectations (221896 => 221897)
--- trunk/LayoutTests/platform/ios-wk2/TestExpectations 2017-09-12 00:40:11 UTC (rev 221896)
+++ trunk/LayoutTests/platform/ios-wk2/TestExpectations 2017-09-12 00:42:17 UTC (rev 221897)
@@ -1902,8 +1902,6 @@
# Hover test does not apply
fast/css/deferred-parsing/hover-test.html [ Skip ]
-webkit.org/b/166025 http/tests/fetch/fetching-same-resource-with-diffferent-options.html [ Pass Failure ]
-
# Skipped because there is no key to show the context menu
fast/events/context-activated-by-key-event.html [ Skip ]
Modified: trunk/LayoutTests/platform/mac/TestExpectations (221896 => 221897)
--- trunk/LayoutTests/platform/mac/TestExpectations 2017-09-12 00:40:11 UTC (rev 221896)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2017-09-12 00:42:17 UTC (rev 221897)
@@ -1422,8 +1422,6 @@
media/encrypted-media/mock-MediaKeySession-remove.html [ Skip ]
media/encrypted-media/mock-MediaKeySession-update.html [ Skip ]
-webkit.org/b/166025 http/tests/fetch/fetching-same-resource-with-diffferent-options.html [ Pass Failure ]
-
webkit.org/b/162507 http/tests/media/hls/hls-video-resize.html [ Pass Failure ]
webkit.org/b/167642 imported/w3c/web-platform-tests/shadow-dom/slotchange.html [ Pass Failure ]
Modified: trunk/LayoutTests/platform/win/TestExpectations (221896 => 221897)
--- trunk/LayoutTests/platform/win/TestExpectations 2017-09-12 00:40:11 UTC (rev 221896)
+++ trunk/LayoutTests/platform/win/TestExpectations 2017-09-12 00:42:17 UTC (rev 221897)
@@ -3831,7 +3831,6 @@
fast/events/page-visibility-iframe-move-test.html [ Timeout Pass ]
fast/events/tabindex-focus-chain.html [ Failure Timeout Pass ]
fast/images/animated-gif-scrolling-crash.html [ Crash Pass ]
-http/tests/fetch/fetching-same-resource-with-diffferent-options.html [ Failure Pass ]
http/tests/misc/delete-frame-during-readystatechange-with-gc-after-video-removal.html [ Crash Pass ]
http/tests/preload/single_download_preload_headers_charset.php [ Crash Failure Pass ]
http/tests/security/contentSecurityPolicy/audio-redirect-allowed.html [ Crash Timeout Pass ]