| Index: LayoutTests/fast/dom/Window/atob-btoa.html
|
| diff --git a/LayoutTests/fast/dom/Window/atob-btoa.html b/LayoutTests/fast/dom/Window/atob-btoa.html
|
| index e23c802e0630f9c519f9351f2352f02ad8dce340..552900a94c9a39ead88cba80869e5b5eeea22345 100644
|
| --- a/LayoutTests/fast/dom/Window/atob-btoa.html
|
| +++ b/LayoutTests/fast/dom/Window/atob-btoa.html
|
| @@ -19,7 +19,7 @@ shouldBe('window.btoa("abcde")', '"YWJjZGU="');
|
| shouldBe('window.btoa("abcdef")', '"YWJjZGVm"');
|
|
|
| shouldBe('typeof window.btoa', '"function"');
|
| -shouldThrow('window.btoa()', '"TypeError: Not enough arguments"');
|
| +shouldThrow('window.btoa()', '"TypeError: Failed to execute \'btoa\' on \'DOMWindow\': 1 argument required, but only 0 present."');
|
| shouldBe('window.btoa("")', '""');
|
| shouldBe('window.btoa(null)', '"bnVsbA=="'); // Gets converted to "null" string.
|
| shouldBe('window.btoa(undefined)', '"dW5kZWZpbmVk"');
|
| @@ -32,7 +32,7 @@ shouldBe('window.btoa', '0');
|
| shouldBe('typeof window.btoa', '"number"');
|
|
|
| shouldBe('typeof window.atob', '"function"');
|
| -shouldThrow('window.atob()', '"TypeError: Not enough arguments"');
|
| +shouldThrow('window.atob()', '"TypeError: Failed to execute \'atob\' on \'DOMWindow\': 1 argument required, but only 0 present."');
|
| shouldBe('window.atob("")', '""');
|
| shouldBe('window.atob(null)', '"\x9Eée"'); // Gets converted to "null" string.
|
| shouldThrow('window.atob(undefined)');
|
|
|