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

Unified Diff: third_party/WebKit/Source/core/fileapi/URLFileAPI.idl

Issue 1908263002: Don't expose URL.createObjectURL and revokeObjectURL to Service Workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test cleanup Created 4 years, 7 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
Index: third_party/WebKit/Source/core/fileapi/URLFileAPI.idl
diff --git a/third_party/WebKit/Source/core/fileapi/URLFileAPI.idl b/third_party/WebKit/Source/core/fileapi/URLFileAPI.idl
index 262e85f7e32e328ad78bced2b3b29a6b46c569f5..c2e86a7a7f174353d4586b6d88008b8015846915 100644
--- a/third_party/WebKit/Source/core/fileapi/URLFileAPI.idl
+++ b/third_party/WebKit/Source/core/fileapi/URLFileAPI.idl
@@ -4,8 +4,8 @@
// https://w3c.github.io/FileAPI/#creating-revoking
partial interface URL {
- [CallWith=ExecutionContext, RaisesException] static DOMString createObjectURL(Blob blob);
- // TODO(jsbell): Implement createFor()
+ [Exposed=(Window,DedicatedWorker,SharedWorker), CallWith=ExecutionContext, RaisesException] static DOMString createObjectURL(Blob blob);
+ // TODO(jsbell): Implement createFor(). https://crbug.com/608460
//static DOMString createFor(Blob blob);
- [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url);
+ [Exposed=(Window,DedicatedWorker,SharedWorker), CallWith=ExecutionContext] static void revokeObjectURL(DOMString url);
};
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp ('k') | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698