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 50e81d4f94e113978c44670d17ab244cd12db5aa..b3d39a5286260be4797482059e58e693d2503694 100644 |
--- a/LayoutTests/fast/dom/Window/atob-btoa.html |
+++ b/LayoutTests/fast/dom/Window/atob-btoa.html |
@@ -46,9 +46,9 @@ shouldThrow('window.atob("z")'); |
shouldBe('window.atob("zz")', '"Ï"'); |
shouldBe('window.atob("zzz")', '"Ï\u003C"'); |
shouldBe('window.atob("zzz=")', '"Ï\u003C"'); |
-shouldBe('window.atob("zzz==")', '"Ï\u003C"'); |
-shouldBe('window.atob("zzz===")', '"Ï\u003C"'); |
-shouldBe('window.atob("zzz====")', '"Ï\u003C"'); |
+shouldThrow('window.atob("zzz==")'); // excess pad characters. |
+shouldThrow('window.atob("zzz===")'); // excess pad characters. |
+shouldThrow('window.atob("zzz====")'); // excess pad characters. |
shouldBe('window.atob("zzzz")', '"Ï\u003Có"'); |
shouldThrow('window.atob("zzzzz")'); |
shouldThrow('window.atob("z=zz")'); |