Index: third_party/WebKit/Source/modules/encoding/TextEncoder.idl |
diff --git a/third_party/WebKit/Source/modules/encoding/TextEncoder.idl b/third_party/WebKit/Source/modules/encoding/TextEncoder.idl |
index 8812f044c97f32c2e7c51dbb90a0b1b3368a3451..1d0f2934159ed524196f494bcdb9a0a407d271a4 100644 |
--- a/third_party/WebKit/Source/modules/encoding/TextEncoder.idl |
+++ b/third_party/WebKit/Source/modules/encoding/TextEncoder.idl |
@@ -36,5 +36,5 @@ |
MeasureAs=TextEncoderConstructor |
] interface TextEncoder { |
readonly attribute DOMString encoding; |
- [MeasureAs=TextEncoderEncode] Uint8Array encode(optional USVString input = ""); |
+ [RaisesException, MeasureAs=TextEncoderEncode] Uint8Array encode(optional USVString input = ""); |
}; |