author | autofoolip <auto@foolip.org> |
Wed, 14 Aug 2019 10:55:24 +0000 | |
changeset 488099 | c9694304fca4accbcb7c49a386e81dab34b961c2 |
parent 488098 | c09e52feec63f2617c9483221e3bc4ad8a46b727 |
child 488100 | 371d397dd98a37ffeec153357a1f95810e13dce5 |
push id | 36435 |
push user | cbrindusan@mozilla.com |
push date | Thu, 15 Aug 2019 09:46:49 +0000 |
treeherder | mozilla-central@0db07ff50ab5 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1573003, 18377 |
milestone | 70.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/testing/web-platform/tests/interfaces/fetch.idl +++ b/testing/web-platform/tests/interfaces/fetch.idl @@ -22,17 +22,17 @@ interface mixin Body { [NewObject] Promise<ArrayBuffer> arrayBuffer(); [NewObject] Promise<Blob> blob(); [NewObject] Promise<FormData> formData(); [NewObject] Promise<any> json(); [NewObject] Promise<USVString> text(); }; typedef (Request or USVString) RequestInfo; -[Constructor(RequestInfo input, optional RequestInit init), +[Constructor(RequestInfo input, optional RequestInit init = {}), Exposed=(Window,Worker)] interface Request { readonly attribute ByteString method; readonly attribute USVString url; [SameObject] readonly attribute Headers headers; readonly attribute RequestDestination destination; readonly attribute USVString referrer; @@ -67,17 +67,17 @@ dictionary RequestInit { any window; // can only be set to null }; enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "image", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" }; enum RequestMode { "navigate", "same-origin", "no-cors", "cors" }; enum RequestCredentials { "omit", "same-origin", "include" }; enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" }; enum RequestRedirect { "follow", "error", "manual" }; -[Constructor(optional BodyInit? body = null, optional ResponseInit init), Exposed=(Window,Worker)] +[Constructor(optional BodyInit? body = null, optional ResponseInit init = {}), Exposed=(Window,Worker)] interface Response { [NewObject] static Response error(); [NewObject] static Response redirect(USVString url, optional unsigned short status = 302); readonly attribute ResponseType type; readonly attribute USVString url; readonly attribute boolean redirected;