Bug 214155

Summary: REGRESSION (r264117): [ Mac iOS ] imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/blob.https.html
Product: WebKit Reporter: Truitt Savell <tsavell>
Component: New BugsAssignee: Karl Rackler <rackler>
Status: NEW ---    
Severity: Normal CC: ayumi_kojima, cdumez, dpino, rackler, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Truitt Savell 2020-07-09 12:36:47 PDT
imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/blob.https.html

When the web-platform-tests/html tests were re-synced in https://trac.webkit.org/changeset/264117/webkit this test began flaky failing

History:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcross-origin-embedder-policy%2Fblob.https.html

Diff:
--- /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/blob.https-expected.txt
+++ /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/blob.https-actual.txt
@@ -1,9 +1,10 @@
+CONSOLE MESSAGE: ReferenceError: Can't find variable: createScript
 
 Harness Error (FAIL), message = 2 duplicate test names: "Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via subframe", "Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via navigate"
 
-FAIL Cross-Origin-Embedder-Policy and blob: URL from https://localhost:9443 in subframe via subframe assert_true: Cross-origin without CORP did not fail expected true got false
+PASS Cross-Origin-Embedder-Policy and blob: URL from https://localhost:9443 in subframe via subframe 
 PASS Cross-Origin-Embedder-Policy and blob: URL from https://localhost:9443 in subframe via navigate 
-PASS Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via subframe 
+FAIL Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via subframe assert_true: Cross-origin without CORP did not fail expected true got false
 PASS Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via navigate 
 PASS Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via subframe 
 PASS Cross-Origin-Embedder-Policy and blob: URL from https://127.0.0.1:9443 in subframe via navigate
Comment 1 Radar WebKit Bug Importer 2020-07-09 12:37:13 PDT
<rdar://problem/65284564>
Comment 2 Truitt Savell 2020-07-09 12:42:22 PDT
This looks like it is only flaky for iOS Debug. On Mac is is flaky on Debug and Release
Comment 3 Truitt Savell 2020-07-09 12:45:31 PDT
Marked this test as a flaky failure in https://trac.webkit.org/changeset/264186/webkit
Comment 4 Diego Pino 2020-07-26 07:04:02 PDT
*** Bug 214799 has been marked as a duplicate of this bug. ***
Comment 5 ayumi_kojima 2021-07-28 09:32:26 PDT
It’s been flaky on iOS Release as well as long as I can see in the history with r277101 being the oldest revision available. Confirmed it gets the same diff.

Updated test expectations for iOS Release : https://trac.webkit.org/changeset/280389/webkit
Comment 6 Karl Rackler 2022-05-16 10:49:37 PDT
This test has also been timeout for iOS.  The first failure that I saw on the dashboard was 4/3/2022 at r292277.  

Updated test expectations.
Comment 7 Karl Rackler 2022-05-16 10:54:10 PDT
Pull request: https://github.com/WebKit/WebKit/pull/640
Comment 8 EWS 2022-05-16 10:58:00 PDT
Test gardening commit r294244 (250602@main): <https://commits.webkit.org/250602@main>

Reviewed commits have been landed. Closing PR #640 and removing active labels.