Title: [258450] trunk/LayoutTests
- Revision
- 258450
- Author
- lawrenc...@apple.com
- Date
- 2020-03-13 16:59:20 -0700 (Fri, 13 Mar 2020)
Log Message
Unreviewed, reverting r258431.
These tests are flaky failing.
Reverted changeset:
"Add mixed content block test for imported scripts in worker
global scope"
https://bugs.webkit.org/show_bug.cgi?id=209075
https://trac.webkit.org/changeset/258431
Modified Paths
Removed Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (258449 => 258450)
--- trunk/LayoutTests/ChangeLog 2020-03-13 23:57:20 UTC (rev 258449)
+++ trunk/LayoutTests/ChangeLog 2020-03-13 23:59:20 UTC (rev 258450)
@@ -1,5 +1,18 @@
2020-03-13 Jason Lawrence <lawrenc...@apple.com>
+ Unreviewed, reverting r258431.
+
+ These tests are flaky failing.
+
+ Reverted changeset:
+
+ "Add mixed content block test for imported scripts in worker
+ global scope"
+ https://bugs.webkit.org/show_bug.cgi?id=209075
+ https://trac.webkit.org/changeset/258431
+
+2020-03-13 Jason Lawrence <lawrenc...@apple.com>
+
[ Mac ] http/tests/security/mixedContent/insecure-worker-global-scope.html is flaky failing.
https://bugs.webkit.org/show_bug.cgi?id=209093
Deleted: trunk/LayoutTests/http/tests/security/mixedContent/insecure-worker-global-scope-expected.txt (258449 => 258450)
--- trunk/LayoutTests/http/tests/security/mixedContent/insecure-worker-global-scope-expected.txt 2020-03-13 23:57:20 UTC (rev 258449)
+++ trunk/LayoutTests/http/tests/security/mixedContent/insecure-worker-global-scope-expected.txt 2020-03-13 23:59:20 UTC (rev 258450)
@@ -1,13 +0,0 @@
-CONSOLE MESSAGE: [blocked] The page at https://127.0.0.1:8443/security/mixedContent/insecure-worker-global-scope.html was not allowed to display insecure content from http://127.0.0.1:8000/security/mixedContent/resources/worker-sending-message.js.
-
-Tests that mixed content check blocks imported insecure script in a global worker scope.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS Imported, secure worker script is running and sent a message: 'Running.'
-PASS Imported, insecure worker script threw an exception.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
Deleted: trunk/LayoutTests/http/tests/security/mixedContent/insecure-worker-global-scope.html (258449 => 258450)
--- trunk/LayoutTests/http/tests/security/mixedContent/insecure-worker-global-scope.html 2020-03-13 23:57:20 UTC (rev 258449)
+++ trunk/LayoutTests/http/tests/security/mixedContent/insecure-worker-global-scope.html 2020-03-13 23:59:20 UTC (rev 258450)
@@ -1,42 +0,0 @@
-<html>
-<head>
- <script src=""
-</head>
-<body _onload_="runTest()">
-<script>
- description("Tests that mixed content check blocks imported insecure script in a global worker scope.");
- jsTestIsAsync = true;
-
- if (document.location.protocol !== "https:")
- document.location.href = ""
-
- if (window.testRunner)
- testRunner.dumpAsText();
-
- const numberOfTestsToRun = 2;
- let numberOfTestsDone = 0;
- let interval = setInterval(function () {
- if (numberOfTestsDone === numberOfTestsToRun) {
- clearInterval(interval);
- finishJSTest();
- }
- }, 50);
- function runTest() {
- let worker = new Worker("https://127.0.0.1:8443/security/mixedContent/resources/worker-importing-secure-script.js");
- worker.addEventListener('message', function (message) {
- testPassed("Imported, secure worker script is running and sent a message: '" + message.data + "'");
- numberOfTestsDone++;
- });
-
- worker = new Worker("https://127.0.0.1:8443/security/mixedContent/resources/worker-importing-insecure-script.js");
- worker.addEventListener('message', function (message) {
- if (message.data ="" "ERROR")
- testPassed("Imported, insecure worker script threw an exception.");
- else
- testFailed("Imported, insecure worker script is running and sent a message: '" + message.data + "'");
- numberOfTestsDone++;
- });
- }
-</script>
-</body>
-</html>
\ No newline at end of file
Deleted: trunk/LayoutTests/http/tests/security/mixedContent/resources/worker-importing-insecure-script.js (258449 => 258450)
--- trunk/LayoutTests/http/tests/security/mixedContent/resources/worker-importing-insecure-script.js 2020-03-13 23:57:20 UTC (rev 258449)
+++ trunk/LayoutTests/http/tests/security/mixedContent/resources/worker-importing-insecure-script.js 2020-03-13 23:59:20 UTC (rev 258450)
@@ -1,5 +0,0 @@
-try {
- importScripts("http://127.0.0.1:8000/security/mixedContent/resources/worker-sending-message.js");
-} catch (error) {
- postMessage("ERROR");
-}
Deleted: trunk/LayoutTests/http/tests/security/mixedContent/resources/worker-importing-secure-script.js (258449 => 258450)
--- trunk/LayoutTests/http/tests/security/mixedContent/resources/worker-importing-secure-script.js 2020-03-13 23:57:20 UTC (rev 258449)
+++ trunk/LayoutTests/http/tests/security/mixedContent/resources/worker-importing-secure-script.js 2020-03-13 23:59:20 UTC (rev 258450)
@@ -1 +0,0 @@
-importScripts("https://127.0.0.1:8443/security/mixedContent/resources/worker-sending-message.js");
\ No newline at end of file
Deleted: trunk/LayoutTests/http/tests/security/mixedContent/resources/worker-sending-message.js (258449 => 258450)
--- trunk/LayoutTests/http/tests/security/mixedContent/resources/worker-sending-message.js 2020-03-13 23:57:20 UTC (rev 258449)
+++ trunk/LayoutTests/http/tests/security/mixedContent/resources/worker-sending-message.js 2020-03-13 23:59:20 UTC (rev 258450)
@@ -1 +0,0 @@
-postMessage("Running.");
\ No newline at end of file
Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (258449 => 258450)
--- trunk/LayoutTests/platform/mac-wk1/TestExpectations 2020-03-13 23:57:20 UTC (rev 258449)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations 2020-03-13 23:59:20 UTC (rev 258450)
@@ -271,9 +271,6 @@
# Fails with WebKit1 only.
editing/secure-input/reset-state-on-navigation.html [ Failure ]
-# Fails on Mojave Debug WK1
-[ Mojave Debug ] http/tests/security/mixedContent/insecure-worker-global-scope.html [ Skip ]
-
# Plug-in blocking callback doesn't exist in WebKit1.
plugins/unavailable-plugin-indicator-obscurity.html
http/tests/plugins/plugin-allow-then-reload.html [ Skip ]
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes