Bug 213235

Summary: [WPE] imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/async_005.htm is a flaky failure
Product: WebKit Reporter: Diego Pino <dpino>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: zan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Diego Pino 2020-06-15 22:00:28 PDT
imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-1.html [ Failure ]
imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/async_005.htm [ Failure ]

Both tests became flaky in the same revision:

r259703                       NOERROR
r259704                       UNKNOWN
[r259705-r259707]             TEXT (Expected: PASS)

Diff: https://build.webkit.org/results/WPE%20Linux%2064-bit%20Release%20(Tests)/r263069%20(18619)/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/async_005-diff.txt

--- /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/async_005-expected.txt
+++ /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/async_005-actual.txt
@@ -1,3 +1,3 @@
 
-FAIL A script element with both async and defer set should execute asynchronously assert_equals: expected "2134" but got "2341"
-2341
+PASS A script element with both async and defer set should execute asynchronously 
+2134

Diff: https://build.webkit.org/results/WPE%20Linux%2064-bit%20Release%20(Tests)/r263069%20(18619)/imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-1-diff.txt

--- /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-1-expected.txt
+++ /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-1-actual.txt
@@ -1,3 +1,3 @@
 
-PASS scr1 nonce before modification should not be blocked 
+FAIL scr1 nonce before modification should not be blocked assert_equals: expected "scr1 executed" but got ""
 

Stderr: https://build.webkit.org/results/WPE%20Linux%2064-bit%20Release%20(Tests)/r263069%20(18619)/imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-1-stderr.txt

CONSOLE MESSAGE: Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy.
Comment 1 Diego Pino 2024-01-12 22:44:10 PST
The test(s) filed under this bug ticket have consistently passed for the last 4000 revisions. Currently, there are no more tests in TestExpectations that refer to this bug. Therefore, I'm closing the bug.