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

Unified Diff: third_party/WebKit/Source/modules/filesystem/SharedWorkerGlobalScopeFileSystem.idl

Issue 1667213002: Don't expose nonstandard FileSystem API to Service Workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@work-bind
Patch Set: virtual/stable rebaselines Created 4 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
Index: third_party/WebKit/Source/modules/filesystem/SharedWorkerGlobalScopeFileSystem.idl
diff --git a/third_party/WebKit/Source/modules/filesystem/WorkerGlobalScopeFileSystem.idl b/third_party/WebKit/Source/modules/filesystem/SharedWorkerGlobalScopeFileSystem.idl
similarity index 94%
rename from third_party/WebKit/Source/modules/filesystem/WorkerGlobalScopeFileSystem.idl
rename to third_party/WebKit/Source/modules/filesystem/SharedWorkerGlobalScopeFileSystem.idl
index f01817aa4de0dda351e709f10c6b475fd4f7a255..b01deac2762621897c03d7ff209be79a8b2ea436 100644
--- a/third_party/WebKit/Source/modules/filesystem/WorkerGlobalScopeFileSystem.idl
+++ b/third_party/WebKit/Source/modules/filesystem/SharedWorkerGlobalScopeFileSystem.idl
@@ -24,7 +24,8 @@
*
*/
-partial interface WorkerGlobalScope {
+[ImplementedAs=WorkerGlobalScopeFileSystem]
+partial interface SharedWorkerGlobalScope {
const unsigned short TEMPORARY = 0;
const unsigned short PERSISTENT = 1;
@@ -32,6 +33,4 @@ partial interface WorkerGlobalScope {
[RuntimeEnabled=FileSystem, RaisesException, MeasureAs=RequestFileSystemSyncWorker] DOMFileSystemSync webkitRequestFileSystemSync(unsigned short type, long long size);
[RuntimeEnabled=FileSystem] void webkitResolveLocalFileSystemURL(DOMString url, EntryCallback successCallback, optional ErrorCallback errorCallback);
[RuntimeEnabled=FileSystem, RaisesException] EntrySync webkitResolveLocalFileSystemSyncURL(DOMString url);
-
- [RuntimeEnabled=FileSystem] attribute FileErrorConstructor FileError;
};

Powered by Google App Engine
This is Rietveld 408576698