blob: 2529f00e7e03d9cc2b072262f2234a0dbb402fff [file] [log] [blame]
This is a testharness.js-based test.
PASS initialize global state
FAIL request to sw1 scope gets network redirect to sw2 scope assert_equals: expected "the shared worker script was served from network" but got "sw2 saw the request for the worker script"
FAIL request to sw1 scope gets network redirect to out-of-scope assert_equals: expected "sw1 saw importScripts from the worker" but got "importScripts: served from network"
PASS request to sw1 scope gets service-worker redirect to sw2 scope
FAIL request to sw1 scope gets service-worker redirect to out-of-scope assert_equals: expected "sw1 saw importScripts from the worker" but got "importScripts: served from network"
PASS cleanup global state
Harness: the test ran to completion.