summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/service-workers/service-worker/update-import-scripts.https.html.ini
blob: 1abf875645cea54a7ea3fbc4310902688d36aad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[update-import-scripts.https.html]
  expected:
    if (os == "android") and not fission and debug and not swgl: [OK, ERROR]
    if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT]
    if (os == "android") and fission: [OK, TIMEOUT, ERROR]
  [update() should find an update in an imported script but update() should result in failure due to missing the other imported script.]
    expected:
      if (os == "linux") and not fission and not debug: [FAIL, PASS]
      if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN]
      FAIL

  [update() should treat 404 on imported scripts as no change.]
    expected:
      if (os == "linux") and not fission and not debug: [PASS, FAIL]
      if (os == "win") and not debug and (processor == "x86"): [PASS, NOTRUN]

  [update() should fail when a new worker imports an unavailable script.]
    expected:
      if (processor == "x86") and not debug: [PASS, TIMEOUT]

  [update() should succeed when the old imported script no longer exist but the new worker doesn't import it.]
    expected:
      if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL, NOTRUN]
      if (processor == "x86") and (os == "linux"): [PASS, NOTRUN]

  [update() should work with cross-origin importScripts.]
    expected:
      if (processor == "x86") and not debug: [PASS, NOTRUN]