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

Unified Diff: LayoutTests/fast/dom/script-tests/unsigned-long-attribute-reflection.js

Issue 99443005: Enforce HTML range restriction on setting unsigned attribute values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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 | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/script-tests/unsigned-long-attribute-reflection.js
diff --git a/LayoutTests/fast/dom/script-tests/unsigned-long-attribute-reflection.js b/LayoutTests/fast/dom/script-tests/unsigned-long-attribute-reflection.js
index 45a35159b1f57aaa43ade3eede78db6591b86ef0..660270e2c40a4432fc57b96adee8f2cb64a3dfa4 100644
--- a/LayoutTests/fast/dom/script-tests/unsigned-long-attribute-reflection.js
+++ b/LayoutTests/fast/dom/script-tests/unsigned-long-attribute-reflection.js
@@ -39,11 +39,9 @@ function testUnsignedLong(interface, createElement, attribute)
t(0, "0");
t(2147483647, "2147483647");
- // per spec:
- //t(2147483648, "0");
- //t(-1, "0");
- // per implementation <http://crbug.com/316122>:
- t(2147483648, "2147483648");
- t(-1, "4294967295");
+ t(2147483648, "0");
+ t(2147483700, "0");
+ t(-1, "0");
+ t(-3, "0");
}, "set " + interface + "." + attribute);
}
« no previous file with comments | « no previous file | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698