WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
208104
[GLIB] Several async script related tests failing since
r256808
https://bugs.webkit.org/show_bug.cgi?id=208104
Summary
[GLIB] Several async script related tests failing since r256808
Diego Pino
Reported
2020-02-23 03:47:32 PST
The following tests are failing: * imported/w3c/web-platform-tests/content-security-policy/script-src/scripthash-changed-1.html [ Failure ] * imported/w3c/web-platform-tests/content-security-policy/script-src/scripthash-changed-2.html [ Failure ] * imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-1.html [ Failure ] * imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-2.html [ Failure ] * imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/async_005.htm [ Failure ] * imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/execution-timing/085.html [ Failure ] * imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-text-modifications.html [ Failure ] --- /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-2-expected.txt +++ /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-2-actual.txt @@ -1,3 +1,3 @@ -PASS scr2 nonce before modification should be blocked +FAIL scr2 nonce before modification should be blocked assert_equals: expected "" but got "scr2 executed" --- /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-1-expected.txt +++ /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/content-security-policy/script-src/scriptnonce-changed-1-actual.txt @@ -1,3 +1,4 @@ +CONSOLE MESSAGE: line 25: 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. -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 "" --- /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/content-security-policy/script-src/scripthash-changed-2-expected.txt +++ /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/content-security-policy/script-src/scripthash-changed-2-actual.txt @@ -1,3 +1,3 @@ -PASS scr2.innerText before modification should be blocked +FAIL scr2.innerText before modification should be blocked assert_equals: expected "" but got "scr2 at #execute-the-script-block" --- /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/content-security-policy/script-src/scripthash-changed-1-expected.txt +++ /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/content-security-policy/script-src/scripthash-changed-1-actual.txt @@ -1,3 +1,4 @@ +CONSOLE MESSAGE: line 29: 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. -PASS scr1.innerText before modification should not be blocked +FAIL scr1.innerText before modification should not be blocked assert_equals: expected "scr1 at #prepare-a-script" but got "" --- /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/async_005-expected.txt +++ /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/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 --- /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/execution-timing/085-expected.txt +++ /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/execution-timing/085-actual.txt @@ -1,4 +1,4 @@ FAILED (This TC requires JavaScript enabled) -FAIL scheduler: async script and slow-loading defer script assert_array_equals: property 0, expected "external script #2" but got "external script #1" +PASS scheduler: async script and slow-loading defer script --- /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-text-modifications-expected.txt +++ /home/igalia/dpino/workspace/webkit-gtk/layout-test-results/retries/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-text-modifications-actual.txt @@ -1,3 +1,3 @@ -FAIL Modify inline script element's text after prepare-a-script before evaluation assert_equals: <script>'s innerText should be already modified expected "t.unreached_func(\"This should not be evaluated\")();" +FAIL Modify inline script element's text after prepare-a-script before evaluation assert_unreached: This should not be evaluated Reached unreachable code
Attachments
Add attachment
proposed patch, testcase, etc.
Diego Pino
Comment 1
2020-03-13 22:05:10 PDT
imported/w3c/web-platform-tests/content-security-policy/script-src/scripthash-changed-1.html is a flaky failure since:
r258271
TEXT (Expected: FAIL) [
r258272
-
r258282
] UNKNOWN
r258283
PASS (Expected: FAIL)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug