blob: b7fbc9203793db6441754108ecf7ed2acfe8ef0a [file] [log] [blame]
Test simple shared worker sharing cases. Should print several PASS lines followed by DONE.
PASS: Exception thrown when creating SharedWorker with different URLs but same name: Error: URLMismatchError: DOM Exception 21
PASS: Accessing new instance of shared worker: self.foo: undefined
PASS: Setting global variable in shared worker: self.foo = 1234: 1234
PASS: Accessing simultaneously-loaded instance of shared worker: self.foo: 1234
PASS: Accessing new instance of shared worker: self.foo: undefined
PASS: Accessing already-loaded instance of shared worker: self.foo: 1234
DONE