Commit 1baae1c9 authored by Cathy Lu's avatar Cathy Lu Committed by Pier Angelo Vendrame
Browse files

Bug 1791322 - iframe sandbox wpt tests modified with delay r=nika

parent 0a3ebadf
Loading
Loading
Loading
Loading
+0 −4
Changes for testing/web-platform/meta/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_block_downloads.tentative.html.ini: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@
      if (os == "linux") and not fission and not debug: [PASS, FAIL]
      if (os == "mac") and debug: [PASS, FAIL]
      if (os == "mac") and not debug: [PASS, FAIL]
      if os == "android": FAIL

  [<a download> triggered download in sandbox is blocked before a request is made.]
    expected: FAIL
@@ -15,15 +14,12 @@
    expected:
      if (os == "mac") and debug: [PASS, FAIL]
      if (os == "mac") and not debug: [PASS, FAIL]
      if os == "android": FAIL

  [<a target="_blank" > triggered download in sandbox is blocked.]
    expected:
      if (os == "mac") and debug: [PASS, FAIL]
      if (os == "mac") and not debug: [PASS, FAIL]
      if os == "android": FAIL

  [<a target="_blank" rel="noopener" > triggered download in sandbox is blocked.]
    expected:
      if (os == "mac") and debug: [PASS, FAIL]
      if os == "android": FAIL
+0 −2
Changes for testing/web-platform/meta/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigation_download_block_downloads.sub.tentative.html.ini: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -2,10 +2,8 @@
  [Navigation resulted download in sandbox is blocked.]
    expected:
      if (os == "mac") and not debug: [PASS, FAIL]
      if os == "android": FAIL

  [Navigation resulted download in sandbox from <object> is blocked.]
    expected:
      if (os == "mac") and debug: [PASS, FAIL]
      if (os == "mac") and not debug: [PASS, FAIL]
      if os == "android": FAIL
+1 −3
Changes for testing/web-platform/meta/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_window_open_download_block_downloads.tentative.html.ini: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
@@ -3,17 +3,15 @@
    expected:
      if (os == "linux") and debug and not fission: [PASS, FAIL]
      if (os == "linux") and not debug: [PASS, FAIL]
      if os == "android": FAIL

  [window.open(download, "_blank") triggering download in sandbox is blocked.]
    expected:
      if (os == "mac") and debug: [PASS, FAIL]
      if (os == "linux") and not debug: [PASS, FAIL]
      if os == "android": FAIL

  [window.open(download, "_blank", "noopener") triggering download in sandbox is blocked.]
    expected:
      if (os == "linux") and debug: PASS
      if os == "win": PASS
      if os == "android": FAIL
      if os == "android": PASS
      [PASS, FAIL]
+1 −1
Changes for testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_download_helper.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
function StreamDownloadFinishDelay() {
    return 1000;
    return 2000;
}

function DownloadVerifyDelay() {