mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Implement static Response.json (#36589)
Implements https://fetch.spec.whatwg.org/#dom-response-json Restructured the constructor to follow the spec more closely with a separate "initialize the response" algorithm. Testing: There are existing WPT tests for this. --------- Signed-off-by: Sebastian C <sebsebmc@gmail.com>
This commit is contained in:
parent
dc0c067c9b
commit
281d942981
6 changed files with 215 additions and 179 deletions
|
@ -551,7 +551,7 @@ DOMInterfaces = {
|
|||
},
|
||||
|
||||
'Response': {
|
||||
'canGc': ['Error', 'Redirect', 'Clone', 'Text', 'Blob', 'FormData', 'Json', 'ArrayBuffer', 'Headers', 'Bytes'],
|
||||
'canGc': ['Error', 'Redirect', 'Clone', 'CreateFromJson', 'Text', 'Blob', 'FormData', 'Json', 'ArrayBuffer', 'Headers', 'Bytes'],
|
||||
},
|
||||
|
||||
'RTCPeerConnection': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue