mirror of
https://github.com/servo/servo.git
synced 2025-09-20 03:40:09 +01:00
Properly rethrow any exceptions from parsing JSON in Body mixin's Json()
This commit is contained in:
parent
3ce3f39383
commit
d8e5b558f4
2 changed files with 8 additions and 18 deletions
|
@ -6,9 +6,6 @@
|
|||
[Consume String request's body as formData]
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: 'undefined']
|
||||
expected: FAIL
|
||||
|
||||
[Consume Int8Array request's body as text]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -45,15 +42,6 @@
|
|||
[Consume FormData request's body as FormData]
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: 'undefined']
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: '{']
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: 'a']
|
||||
expected: FAIL
|
||||
|
||||
[Consume ArrayBuffer request's body as blob]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -81,6 +69,3 @@
|
|||
[Consume Float32Array request's body as text]
|
||||
expected: FAIL
|
||||
|
||||
[Trying to consume bad JSON text as JSON: '[']
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue