blob: d101f21f6d6e4b035158ca022b3e69999c12261a [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: URL_MISMATCH_ERR: 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