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); |
}; |