Index: LayoutTests/fast/dom/Window/atob-btoa-expected.txt |
diff --git a/LayoutTests/fast/dom/Window/atob-btoa-expected.txt b/LayoutTests/fast/dom/Window/atob-btoa-expected.txt |
index 7bc9cb607a0665b3bf52d2347cf803ccf86c9393..bd0f45b69738802c9ae654c0479eaf7b20261d57 100644 |
--- a/LayoutTests/fast/dom/Window/atob-btoa-expected.txt |
+++ b/LayoutTests/fast/dom/Window/atob-btoa-expected.txt |
@@ -11,9 +11,9 @@ PASS window.btoa("abcd") is "YWJjZA==" |
PASS window.btoa("abcde") is "YWJjZGU=" |
PASS window.btoa("abcdef") is "YWJjZGVm" |
PASS typeof window.btoa is "function" |
-PASS window.btoa() is "dW5kZWZpbmVk" |
+PASS window.btoa() threw exception TypeError: Not enough arguments. |
PASS window.btoa("") is "" |
-PASS window.btoa(null) is "" |
+PASS window.btoa(null) is "bnVsbA==" |
PASS window.btoa(undefined) is "dW5kZWZpbmVk" |
PASS window.btoa(window) is "W29iamVjdCBXaW5kb3dd" |
PASS window.btoa("éé") is "6ek=" |
@@ -22,9 +22,9 @@ PASS window.btoa("тест") threw exception InvalidCharacterError: An invalid o |
PASS window.btoa is 0 |
PASS typeof window.btoa is "number" |
PASS typeof window.atob is "function" |
-PASS window.atob() threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name.. |
+PASS window.atob() threw exception TypeError: Not enough arguments. |
PASS window.atob("") is "" |
-PASS window.atob(null) is "" |
+PASS window.atob(null) is "ée" |
PASS window.atob(undefined) threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name.. |
PASS window.atob(" YQ==") threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name.. |
PASS window.atob("YQ==\u000a") threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name.. |