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

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

Issue 1466563003: Make [TypeChecking=Interface] the default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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/FileReaderSync.idl
diff --git a/third_party/WebKit/Source/core/fileapi/FileReaderSync.idl b/third_party/WebKit/Source/core/fileapi/FileReaderSync.idl
index 642d8e2237b45a085c8323817cdf0a3424a58e44..63d8a2e849f0ab8c05d84e40b645409a7bf49840 100644
--- a/third_party/WebKit/Source/core/fileapi/FileReaderSync.idl
+++ b/third_party/WebKit/Source/core/fileapi/FileReaderSync.idl
@@ -33,12 +33,12 @@
[
GarbageCollected,
Exposed=Worker,
- Constructor
+ Constructor,
] interface FileReaderSync {
- [CallWith=ExecutionContext, RaisesException] ArrayBuffer readAsArrayBuffer(Blob blob);
+ [CallWith=ExecutionContext, RaisesException, LegacyInterfaceTypeChecking] ArrayBuffer readAsArrayBuffer(Blob blob);
// TODO(philipj): readAsBinaryString() was removed from the spec in 2012:
// https://github.com/w3c/FileAPI/commit/8cce54559dc27bf8b8244f3f0ca9fb3e4d96efdb
- [CallWith=ExecutionContext, RaisesException, Measure] DOMString readAsBinaryString(Blob blob);
- [CallWith=ExecutionContext, RaisesException] DOMString readAsText(Blob blob, optional DOMString label);
- [CallWith=ExecutionContext, RaisesException] DOMString readAsDataURL(Blob blob);
+ [CallWith=ExecutionContext, RaisesException, LegacyInterfaceTypeChecking, Measure] DOMString readAsBinaryString(Blob blob);
+ [CallWith=ExecutionContext, RaisesException, LegacyInterfaceTypeChecking] DOMString readAsText(Blob blob, optional DOMString label);
+ [CallWith=ExecutionContext, RaisesException, LegacyInterfaceTypeChecking] DOMString readAsDataURL(Blob blob);
};
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/FileReader.idl ('k') | third_party/WebKit/Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698