| Index: Source/core/frame/DOMWindowBase64.cpp
|
| diff --git a/Source/core/frame/DOMWindowBase64.cpp b/Source/core/frame/DOMWindowBase64.cpp
|
| index 2d2e1f7c3240a3d747745426761edbd16ab1f592..2f43d507a7734917ebc143b517e977046fca3b5c 100644
|
| --- a/Source/core/frame/DOMWindowBase64.cpp
|
| +++ b/Source/core/frame/DOMWindowBase64.cpp
|
| @@ -48,7 +48,7 @@ String btoa(void*, const String& stringToEncode, ExceptionState& exceptionState)
|
| return String();
|
|
|
| if (!stringToEncode.containsOnlyLatin1()) {
|
| - exceptionState.throwDOMException(InvalidCharacterError, "'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");
|
| + exceptionState.throwDOMException(InvalidCharacterError, "The string to be encoded contains characters outside of the Latin1 range.");
|
| return String();
|
| }
|
|
|
| @@ -61,12 +61,12 @@ String atob(void*, const String& encodedString, ExceptionState& exceptionState)
|
| return String();
|
|
|
| if (!encodedString.containsOnlyLatin1()) {
|
| - exceptionState.throwDOMException(InvalidCharacterError, "'atob' failed: The string to be decoded contains characters outside of the Latin1 range.");
|
| + exceptionState.throwDOMException(InvalidCharacterError, "The string to be decoded contains characters outside of the Latin1 range.");
|
| return String();
|
| }
|
| Vector<char> out;
|
| if (!base64Decode(encodedString, out, isHTMLSpace<UChar>, Base64ValidatePadding)) {
|
| - exceptionState.throwDOMException(InvalidCharacterError, "'atob' failed: The string to be decoded is not correctly encoded.");
|
| + exceptionState.throwDOMException(InvalidCharacterError, "The string to be decoded is not correctly encoded.");
|
| return String();
|
| }
|
|
|
|
|