diff options
Diffstat (limited to 'dom/workers/test/WorkerDebuggerGlobalScope.reportError_childWorker.js')
-rw-r--r-- | dom/workers/test/WorkerDebuggerGlobalScope.reportError_childWorker.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/workers/test/WorkerDebuggerGlobalScope.reportError_childWorker.js b/dom/workers/test/WorkerDebuggerGlobalScope.reportError_childWorker.js new file mode 100644 index 000000000..823e7c477 --- /dev/null +++ b/dom/workers/test/WorkerDebuggerGlobalScope.reportError_childWorker.js @@ -0,0 +1,5 @@ +"use strict"; + +self.onerror = function () { + postMessage("error"); +} |