Commit 2e737459 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 24f8f132
Loading
Loading
Loading
Loading
+0 −4
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
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
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
Original line number Diff line number Diff line
function StreamDownloadFinishDelay() {
    return 1000;
    return 2000;
}

function DownloadVerifyDelay() {