Bug 208980

Summary: [WPE] Two iframe tests are failing since r253791
Product: WebKit Reporter: Diego Pino <dpino>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Diego Pino 2020-03-12 00:45:28 PDT
Two iframe tests are failing since r253791 (Resync web-platform-tests/html tests from upstream):

  * imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_allow_downloads.sub.tentative.html [ Failure ]
  * imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_block_downloads.sub.tentative.html [ Failure ]

Diff:

--- /home/dpino/workspace/webkit-wpe/layout-test-results/retries/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_block_downloads.sub.tentative-expected.txt
+++ /home/dpino/workspace/webkit-wpe/layout-test-results/retries/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_block_downloads.sub.tentative-actual.txt
@@ -1,4 +1,5 @@
+CONSOLE MESSAGE: Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
 

-FAIL <a download> triggered download in sandbox is blocked. assert_equals: Expect no download to happen, but got one. expected "TOKEN_NOT_SET" but got "TOKEN_SET"
+FAIL <a download> triggered download in sandbox is blocked. undefined is not an object (evaluating 'anchor.href = "support/download_stash.py?token=" + token')

--- /home/dpino/workspace/webkit-wpe/layout-test-results/retries/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_allow_downloads.sub.tentative-expected.txt
+++ /home/dpino/workspace/webkit-wpe/layout-test-results/retries/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_allow_downloads.sub.tentative-actual.txt
@@ -1,5 +1,6 @@
 CONSOLE MESSAGE: line 1984: Error while parsing the 'sandbox' attribute: 'allow-downloads' is an invalid sandbox flag.
+CONSOLE MESSAGE: Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.

 
-PASS <a download> triggered download in sandbox is allowed by allow-downloads. 
+FAIL <a download> triggered download in sandbox is allowed by allow-downloads. undefined is not an object (evaluating 'anchor.href = "support/download_stash.py?token=" + token')
Comment 1 Diego Pino 2022-01-02 16:49:25 PST
The tests listed in this bug no longer exists. There isn't either any tests listed under this bug in TestExpecations.

Closing bug.