Index: LayoutTests/fast/dom/HTMLElement/set-invalid-value.html |
diff --git a/LayoutTests/fast/dom/HTMLElement/set-invalid-value.html b/LayoutTests/fast/dom/HTMLElement/set-invalid-value.html |
index f2aad769a36083bc4bae2380fe4fa5016d629ca9..3d5fd44a9fe1285d38bac57ec1eb4432bee1634c 100644 |
--- a/LayoutTests/fast/dom/HTMLElement/set-invalid-value.html |
+++ b/LayoutTests/fast/dom/HTMLElement/set-invalid-value.html |
@@ -11,13 +11,13 @@ |
<script> |
description('When contentEditable is set to invalid string, SYNTAX_ERR exception (code: 12) must be raised.') |
-shouldThrow("document.getElementById('div').contentEditable = 'abc'", '"Error: SyntaxError: DOM Exception 12"'); |
+shouldThrow("document.getElementById('div').contentEditable = 'abc'", '"SyntaxError: An invalid or illegal string was specified."'); |
shouldBe('document.getElementById("div").getAttribute("contentEditable")','"true"'); |
shouldBe('document.getElementById("div").contentEditable', '"true"'); |
shouldBe('document.getElementById("div").isContentEditable', 'true'); |
shouldBe('window.getComputedStyle(div, "").getPropertyValue("-webkit-user-modify")', '"read-write"'); |
-shouldThrow("document.getElementById('div').contentEditable = ''", '"Error: SyntaxError: DOM Exception 12"'); |
+shouldThrow("document.getElementById('div').contentEditable = ''", '"SyntaxError: An invalid or illegal string was specified."'); |
shouldBe('document.getElementById("div").getAttribute("contentEditable")','"true"'); |
shouldBe('document.getElementById("div").contentEditable', '"true"'); |
shouldBe('document.getElementById("div").isContentEditable', 'true'); |