Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: LayoutTests/fast/dom/HTMLInputElement/input-size-attribute.html

Issue 84693008: Improve HTMLInputElement exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLInputElement/input-size-attribute-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLInputElement/input-size-attribute.html
diff --git a/LayoutTests/fast/dom/HTMLInputElement/input-size-attribute.html b/LayoutTests/fast/dom/HTMLInputElement/input-size-attribute.html
index 60ef9e5c9fe21df003daea15156d2ad80894c3c2..6a8093dba9bbbed190fe93d6c3ff6d9db4801d86 100644
--- a/LayoutTests/fast/dom/HTMLInputElement/input-size-attribute.html
+++ b/LayoutTests/fast/dom/HTMLInputElement/input-size-attribute.html
@@ -23,7 +23,7 @@ shouldBe("input.removeAttribute('size'); input.size", "20");
shouldBe("input.setAttribute('size', '0'); input.size", "20");
shouldBe("input.setAttribute('size', '10'); input.size", "10");
-shouldThrow("input.size = 0", "'IndexSizeError: Index or size was negative, or greater than the allowed value.'");
+shouldThrow("input.size = 0", '"IndexSizeError: Failed to set the \'size\' property on \'HTMLInputElement\': The value provided is 0, which is an invalid size."');
</script>
</body>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLInputElement/input-size-attribute-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698