Bug 1092737 followup, because ScalarValueString got renamed.
authorBoris Zbarsky <bzbarsky@mit.edu>
Fri, 21 Nov 2014 15:46:19 -0500
changeset 241276 276ed454c4cd4c994293003431bf3a357497a65d
parent 241275 125c6f4823e5515d9a65f152b77ed8e2510d8bbb
child 241277 24ab00570a33bf0f3d4e05021a1dea97f1b8188a
push idunknown
push userunknown
push dateunknown
bugs1092737
milestone36.0a1
Bug 1092737 followup, because ScalarValueString got renamed.
dom/webidl/TextDecoder.webidl
dom/webidl/TextEncoder.webidl
--- a/dom/webidl/TextDecoder.webidl
+++ b/dom/webidl/TextDecoder.webidl
@@ -13,17 +13,17 @@
 [Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options),
  Exposed=(Window,Worker,System)]
 interface TextDecoder {
   [Constant]
   readonly attribute DOMString encoding;
   [Constant]
   readonly attribute boolean fatal;
   [Throws]
-  ScalarValueString decode(optional BufferSource input, optional TextDecodeOptions options);
+  USVString decode(optional BufferSource input, optional TextDecodeOptions options);
 };
 
 dictionary TextDecoderOptions {
   boolean fatal = false;
 };
 
 dictionary TextDecodeOptions {
   boolean stream = false;
--- a/dom/webidl/TextEncoder.webidl
+++ b/dom/webidl/TextEncoder.webidl
@@ -11,10 +11,10 @@
  */
 
 [Constructor(optional DOMString utfLabel = "utf-8"),
  Exposed=(Window,Worker,System)]
 interface TextEncoder {
   [Constant]
   readonly attribute DOMString encoding;
   [Throws, NewObject]
-  Uint8Array encode(optional ScalarValueString input = "");
+  Uint8Array encode(optional USVString input = "");
 };