[close.https.any.sharedworker.html]
  expected:
    if not tsan and (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT]
    if not tsan and (os == "mac") and debug: [OK, TIMEOUT]
    if tsan: [OK, ERROR, TIMEOUT, CRASH]
    [OK, TIMEOUT, CRASH]
  [close]
    expected: [PASS, TIMEOUT]

  [close without waiting for ready]
    expected: [PASS, TIMEOUT, NOTRUN]

  [close with code and reason]
    expected: [PASS, TIMEOUT, NOTRUN]

  [close with code and long reason]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated closure with code and reason]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated connection closure]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated closure without code and reason]
    expected: [PASS, TIMEOUT, NOTRUN]


[close.https.any.worker.html]
  expected:
    if debug and (os == "win") and (processor == "x86_64"): [CRASH, OK, TIMEOUT]
    if debug and (os == "linux") and not fission: [CRASH, OK, TIMEOUT]
    if debug and (os == "mac"): [OK, TIMEOUT]
    if not debug and (processor == "x86"): [OK, TIMEOUT]
    [OK, TIMEOUT, CRASH]
  [close]
    expected: [PASS, TIMEOUT, NOTRUN]

  [close without waiting for ready]
    expected: [PASS, TIMEOUT, NOTRUN]

  [close with code and reason]
    expected: [PASS, TIMEOUT, NOTRUN]

  [close with code and long reason]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated closure with code and reason]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated connection closure]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated closure without code and reason]
    expected: [PASS, TIMEOUT, NOTRUN]


[close.https.any.serviceworker.html]
  expected:
    if (os == "linux") and fission and not debug and asan: [CRASH, OK, ERROR, TIMEOUT]
    if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT]
    if (os == "linux") and fission and debug: [CRASH, OK, ERROR, TIMEOUT]
    if (os == "mac") and debug: [CRASH, OK, TIMEOUT]
    if (os == "linux") and not fission: [OK, ERROR, TIMEOUT, CRASH]
    [OK, ERROR, TIMEOUT]
  [close]
    expected: [PASS, TIMEOUT, NOTRUN]

  [close without waiting for ready]
    expected: [PASS, TIMEOUT, NOTRUN]

  [close with code and reason]
    expected: [PASS, TIMEOUT, NOTRUN]

  [close with code and long reason]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated closure with code and reason]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated connection closure]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated closure without code and reason]
    expected: [PASS, TIMEOUT, NOTRUN]


[close.https.any.html]
  expected:
    if not debug and fission and (os == "mac"): [OK, CRASH, TIMEOUT]
    if not debug and not fission: [CRASH, OK, TIMEOUT]
    [OK, TIMEOUT]
  [close]
    expected: [PASS, TIMEOUT]

  [close without waiting for ready]
    expected: [PASS, TIMEOUT, NOTRUN]

  [close with code and reason]
    expected:
      if not fission: [PASS, FAIL, TIMEOUT, NOTRUN]
      [PASS, TIMEOUT, NOTRUN]

  [close with code and long reason]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated closure with code and reason]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated connection closure]
    expected: [PASS, TIMEOUT, NOTRUN]

  [server initiated closure without code and reason]
    expected: [PASS, TIMEOUT, NOTRUN]
