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 a3333bcf5aa51824780b20c1517c68a6de00758c..6501c5ff43c7d5bb0fb2e2073ec2ff4e597f432a 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")'); |