summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/service-workers/service-worker/update-import-scripts.https.html.ini
blob: c8a3fee34409ba9d09d52842f91f538ca9b874a4 (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
29
30
31
32
[update-import-scripts.https.html]
  expected:
    if (os == "win") and not debug and (processor == "x86_64"): [TIMEOUT, OK]
    if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT]
    if (os == "android") and debug and not swgl: [OK, 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 == "win") and not debug and (processor == "x86_64"): NOTRUN
      if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN]
      if (os == "linux") and not fission and not debug: [FAIL, PASS]
      FAIL

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

  [update() should fail when a new worker imports an unavailable script.]
    expected:
      if (processor == "x86_64") and (os == "win") and not debug: [PASS, TIMEOUT]
      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 (os == "win") and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN]
      if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL, TIMEOUT, NOTRUN]

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