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 652829ef205dc4f90d693f81b2ef910fcb598cbe..567e6ab7483e832df33ef0f03e7648e280245ecc 100644 |
--- a/LayoutTests/fast/dom/idl-dictionary-unittest.html |
+++ b/LayoutTests/fast/dom/idl-dictionary-unittest.html |
@@ -106,5 +106,10 @@ if (window.internals && internals.dictionaryTest) { |
debug('Test for setting invalid enum value'); |
shouldThrow("dictionaryTest.set({enumMember: 'invalid'})"); |
debug(''); |
+ |
+ debug('Test for passing invalid dictionary values'); |
+ shouldThrow("dictionaryTest.set(42)"); |
+ shouldThrow("dictionaryTest.set('string')"); |
+ debug(''); |
} |
</script> |