Sign in
webkit
/
WebKit
/
816395a4d82c8a9d685986402000a5441c27f7c3
/
.
/
LayoutTests
/
http
/
tests
/
workers
/
resources
/
worker-importScripts-source2.js
blob: 8640edd4fa41f4fad4f426ca145996d3020c3055 [
file
] [
log
] [
blame
]
if
(!
loadedSource1
)
postMessage
(
"Resource 2 loaded before resource 1"
);
loadedSource2
=
true
;
postMessage
(
"Loaded resource 2"
);
if
(
this
.
secondShouldThrow
)
{
postMessage
(
"Second resource throwing an exception"
);
throw
"Thrown by second resource"
;
}