[Webkit-unassigned] [Bug 208104] New: [GTK] Several async script related tests failing since r256808

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 23 03:47:32 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=208104

            Bug ID: 208104
           Summary: [GTK] Several async script related tests failing since
                    r256808
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dpino at igalia.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200223/15316451/attachment.htm>


More information about the webkit-unassigned mailing list