Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #13193 - servo:error-workers, r=nox
Implement error reporting for workers. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13193) <!-- Reviewable:end -->
- Loading branch information
Showing
60 changed files
with
169 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[digest.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR | ||
[SHA-1 with empty source data] | ||
expected: FAIL | ||
|
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/aes_cbc.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[aes_cbc.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/aes_ctr.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[aes_ctr.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/aes_gcm.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[aes_gcm.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/encrypt_decrypt/rsa.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[rsa.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/failures.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[failures.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/failures_AES-CBC.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[failures_AES-CBC.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/failures_AES-CTR.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[failures_AES-CTR.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/failures_AES-GCM.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[failures_AES-GCM.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/failures_AES-KW.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[failures_AES-KW.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/failures_ECDH.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[failures_ECDH.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/failures_ECDSA.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[failures_ECDSA.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/failures_HMAC.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[failures_HMAC.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/failures_RSA-OAEP.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[failures_RSA-OAEP.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/failures_RSA-PSS.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[failures_RSA-PSS.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[failures_RSASSA-PKCS1-v1_5.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/successes.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[successes.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/successes_AES-CBC.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[successes_AES-CBC.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/successes_AES-CTR.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[successes_AES-CTR.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/successes_AES-GCM.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[successes_AES-GCM.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/successes_AES-KW.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[successes_AES-KW.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/successes_ECDH.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[successes_ECDH.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/successes_ECDSA.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[successes_ECDSA.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/successes_HMAC.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[successes_HMAC.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/successes_RSA-OAEP.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[successes_RSA-OAEP.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/successes_RSA-PSS.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[successes_RSA-PSS.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/WebCryptoAPI/generateKey/successes_RSASSA-PKCS1-v1_5.worker.js.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[successes_RSASSA-PKCS1-v1_5.worker] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: ERROR |
6 changes: 0 additions & 6 deletions
6
tests/wpt/metadata/workers/WorkerGlobalScope_ErrorEvent_colno.htm.ini
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tests/wpt/metadata/workers/WorkerGlobalScope_ErrorEvent_filename.htm.ini
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tests/wpt/metadata/workers/WorkerGlobalScope_ErrorEvent_lineno.htm.ini
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tests/wpt/metadata/workers/WorkerGlobalScope_ErrorEvent_message.htm.ini
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tests/wpt/metadata/workers/Worker_ErrorEvent_bubbles_cancelable.htm.ini
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.