mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1184607 P1 Update webidl for RequestRedirect and 'opaqueredirect' in ResponseType. r=ehsan
This commit is contained in:
parent
cd54636a36
commit
867558de7a
@ -23,6 +23,7 @@ interface Request {
|
||||
readonly attribute RequestMode mode;
|
||||
readonly attribute RequestCredentials credentials;
|
||||
readonly attribute RequestCache cache;
|
||||
readonly attribute RequestRedirect redirect;
|
||||
|
||||
[Throws,
|
||||
NewObject] Request clone();
|
||||
@ -40,6 +41,7 @@ dictionary RequestInit {
|
||||
RequestMode mode;
|
||||
RequestCredentials credentials;
|
||||
RequestCache cache;
|
||||
RequestRedirect redirect;
|
||||
};
|
||||
|
||||
// Gecko currently does not ship RequestContext, so please don't use it in IDL
|
||||
@ -61,3 +63,4 @@ enum RequestContext {
|
||||
enum RequestMode { "same-origin", "no-cors", "cors", "cors-with-forced-preflight" };
|
||||
enum RequestCredentials { "omit", "same-origin", "include" };
|
||||
enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" };
|
||||
enum RequestRedirect { "follow", "error", "manual" };
|
||||
|
@ -34,4 +34,4 @@ dictionary ResponseInit {
|
||||
HeadersInit headers;
|
||||
};
|
||||
|
||||
enum ResponseType { "basic", "cors", "default", "error", "opaque" };
|
||||
enum ResponseType { "basic", "cors", "default", "error", "opaque", "opaqueredirect" };
|
||||
|
Loading…
Reference in New Issue
Block a user