Implement error reporting for workers.

Fixes #3311.
Fixes #13158.
This commit is contained in:
Ms2ger 2016-09-05 18:02:14 +02:00
parent 59cf735f85
commit 60142f87e2
50 changed files with 132 additions and 128 deletions

View file

@ -1,6 +1,6 @@
[digest.worker]
type: testharness
expected: TIMEOUT
expected: ERROR
[SHA-1 with empty source data]
expected: FAIL

View file

@ -1,3 +1,3 @@
[aes_cbc.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[aes_ctr.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[aes_gcm.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[rsa.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[failures.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[failures_AES-CBC.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[failures_AES-CTR.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[failures_AES-GCM.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[failures_AES-KW.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[failures_ECDH.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[failures_ECDSA.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[failures_HMAC.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[failures_RSA-OAEP.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[failures_RSA-PSS.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[failures_RSASSA-PKCS1-v1_5.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[successes.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[successes_AES-CBC.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[successes_AES-CTR.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[successes_AES-GCM.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[successes_AES-KW.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[successes_ECDH.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[successes_ECDSA.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[successes_HMAC.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[successes_RSA-OAEP.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[successes_RSA-PSS.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[successes_RSASSA-PKCS1-v1_5.worker]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,6 +0,0 @@
[WorkerGlobalScope_ErrorEvent_colno.htm]
type: testharness
expected: TIMEOUT
[ WorkerGlobalScope onerror event handler argument: col ]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[WorkerGlobalScope_ErrorEvent_filename.htm]
type: testharness
expected: TIMEOUT
[ WorkerGlobalScope onerror event handler argument: location ]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[WorkerGlobalScope_ErrorEvent_lineno.htm]
type: testharness
expected: TIMEOUT
[ WorkerGlobalScope onerror event handler argument: line ]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[WorkerGlobalScope_ErrorEvent_message.htm]
type: testharness
expected: TIMEOUT
[ WorkerGlobalScope onerror event handler argument: message ]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[Worker_ErrorEvent_bubbles_cancelable.htm]
type: testharness
expected: TIMEOUT
[ErrorEvent on worker doesn't bubble and is cancelable]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[Worker_ErrorEvent_filename.htm]
type: testharness
expected: TIMEOUT
[ AbstractWorker ErrorEvent.filename ]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[Worker_ErrorEvent_lineno.htm]
type: testharness
expected: TIMEOUT
[ AbstractWorker ErrorEvent.lineno ]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[Worker_ErrorEvent_message.htm]
type: testharness
expected: TIMEOUT
[ AbstractWorker ErrorEvent.message ]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[Worker_ErrorEvent_type.htm]
type: testharness
expected: TIMEOUT
[ AbstractWorker ErrorEvent.type ]
expected: TIMEOUT

View file

@ -1,6 +1,5 @@
[sharedworker.html]
type: testharness
expected: TIMEOUT
[Base URL in workers: new SharedWorker()]
expected: TIMEOUT
expected: FAIL

View file

@ -1,6 +0,0 @@
[AbstractWorker.onerror.html]
type: testharness
expected: TIMEOUT
[AbstractWorker.onerror]
expected: TIMEOUT

View file

@ -21,9 +21,6 @@
[DedicatedWorkerGlobalScope interface: attribute onmessage]
expected: FAIL
[WorkerGlobalScope interface: self must inherit property "onerror" with the proper type (3)]
expected: FAIL
[WorkerGlobalScope interface: self must inherit property "onlanguagechange" with the proper type (4)]
expected: FAIL

View file

@ -1,6 +0,0 @@
[exception-in-onerror.html]
type: testharness
expected: TIMEOUT
[onerror, "not handled" with an error in the onerror function]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[handled.html]
type: testharness
expected: TIMEOUT
[onerror, "handled"]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[not-handled.html]
type: testharness
expected: TIMEOUT
[onerror, "not handled"]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[propagate-to-window-onerror.html]
type: testharness
expected: TIMEOUT
[onerror, "not handled" with only window.onerror defined]
expected: TIMEOUT

View file

@ -1,6 +1,6 @@
[005.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[dedicated worker in shared worker in dedicated worker]
expected: TIMEOUT

View file

@ -1,9 +1,5 @@
[003.html]
type: testharness
expected: TIMEOUT
[worker]
expected: TIMEOUT
[shared]
expected: FAIL