Index: Source/modules/fetch/Request.idl |
diff --git a/Source/modules/fetch/Request.idl b/Source/modules/fetch/Request.idl |
index 4aacac79c05f6cdeb5cafdd0637caf4d89f85f72..02870cf541ff276890f9f6d3a611724e7bbc6d8f 100644 |
--- a/Source/modules/fetch/Request.idl |
+++ b/Source/modules/fetch/Request.idl |
@@ -8,6 +8,10 @@ typedef (Request or USVString) RequestInfo; |
enum RequestMode { "same-origin", "no-cors", "cors" }; |
enum RequestCredentials { "omit", "same-origin", "include" }; |
+enum RequestContext { "", "audio", "beacon", "cspreport", "download", "embed", "eventsource", "favicon", |
jsbell
2015/04/06 17:04:15
Put this above RequestMode to match the spec order
shiva.jm
2015/04/09 09:16:22
Done.
|
+"fetch", "font", "form", "frame", "hyperlink", "iframe", "image", "imageset", "import", "internal", |
jsbell
2015/04/06 17:04:15
Can you indent these continuation lines?
Maybe tr
shiva.jm
2015/04/09 09:16:22
Done.
|
+"location", "manifest", "metarefresh", "object", "ping", "plugin", "prefetch", "script", "serviceworker", |
+"sharedworker", "subresource", "style", "track", "video", "worker", "xmlhttprequest", "xslt" }; |
[ |
Constructor(RequestInfo input, optional Dictionary requestInitDict), |
@@ -32,8 +36,7 @@ enum RequestCredentials { "omit", "same-origin", "include" }; |
// is removed. |
[RuntimeEnabled=ExperimentalStream] readonly attribute ReadableByteStream body; |
- // FIXME: Implement the following: |
- // readonly attribute RequestContext context; |
+ readonly attribute RequestContext context; |
jsbell
2015/04/06 17:04:15
Move above referrer to match the attribute order i
shiva.jm
2015/04/09 09:16:22
Done.
|
}; |
Request implements Body; |