Index: LayoutTests/fast/dom/idl-dictionary-unittest.html |
diff --git a/LayoutTests/fast/dom/idl-dictionary-unittest.html b/LayoutTests/fast/dom/idl-dictionary-unittest.html |
index 2de66ef7c1a83fa04ad28437aba71dcdf141f48c..474e13debfb9a06ba537a314c7b45549628c89a2 100644 |
--- a/LayoutTests/fast/dom/idl-dictionary-unittest.html |
+++ b/LayoutTests/fast/dom/idl-dictionary-unittest.html |
@@ -127,5 +127,15 @@ if (window.internals && internals.dictionaryTest) { |
shouldThrow("dictionaryTest.set(42)"); |
shouldThrow("dictionaryTest.set('string')"); |
debug(''); |
+ |
+ debug('Test for [Clamp] member'); |
+ dictionaryTest.set({ |
+ longMember: 2147483648, |
+ longMemberWithClamp: 2147483648 |
+ }); |
+ dict = dictionaryTest.get(); |
+ shouldBe('dict.longMember', '-2147483648'); |
+ shouldBe('dict.longMemberWithClamp', '2147483647'); |
+ debug(''); |
} |
</script> |