Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Unified Diff: modules/serviceworkers/Body.idl

Issue 959933002: Move IDLs to 39 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/presentation/Presentation.idl ('k') | modules/serviceworkers/Cache.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/serviceworkers/Body.idl
diff --git a/modules/serviceworkers/Body.idl b/modules/serviceworkers/Body.idl
new file mode 100644
index 0000000000000000000000000000000000000000..bb065791d04e55f218b92ad03f7326e013e3e5db
--- /dev/null
+++ b/modules/serviceworkers/Body.idl
@@ -0,0 +1,21 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// http://fetch.spec.whatwg.org/#body
+[
+ RuntimeEnabled=ServiceWorker,
+ Exposed=ServiceWorker,
+ NoInterfaceObject,
+ ActiveDOMObject,
+ GarbageCollected,
+] interface Body {
+ readonly attribute boolean bodyUsed;
+ [CallWith=ScriptState] Promise arrayBuffer();
+ [CallWith=ScriptState] Promise blob();
+ [CallWith=ScriptState] Promise json();
+ [CallWith=ScriptState] Promise text();
+
+ // Still to be implemented.
+ // [CallWith=ScriptState] Promise formData();
+};
« no previous file with comments | « modules/presentation/Presentation.idl ('k') | modules/serviceworkers/Cache.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698