Index: LayoutTests/fast/js/script-tests/custom-constructors.js |
diff --git a/LayoutTests/fast/js/script-tests/custom-constructors.js b/LayoutTests/fast/js/script-tests/custom-constructors.js |
index ce5c42ff70c93a7c68d567489c2971fe9b97c470..e7c749ef3f1fe6ddf33a5c41d88fcc84a3426614 100644 |
--- a/LayoutTests/fast/js/script-tests/custom-constructors.js |
+++ b/LayoutTests/fast/js/script-tests/custom-constructors.js |
@@ -43,7 +43,10 @@ shouldBeEqualToString("new Option('somedata', 'somevalue').value", "somevalue"); |
shouldBeFalse("new Option().defaultSelected"); |
shouldBeFalse("new Option('somedata', 'somevalue').defaultSelected"); |
shouldBeFalse("new Option('somedata', 'somevalue', false).defaultSelected"); |
+shouldBeFalse("new Option('somedata', 'somevalue', false, false).defaultSelected"); |
philipj_slow
2015/06/26 14:28:38
I don't think testing that the |selected| argument
|
shouldBeTrue("new Option('somedata', 'somevalue', true).defaultSelected"); |
+shouldBeTrue("new Option('somedata', 'somevalue', true, false).defaultSelected"); |
+shouldBeTrue("new Option('somedata', 'somevalue', true, true).defaultSelected"); |
shouldBeFalse("new Option().selected"); |
shouldBeFalse("new Option('somedata', 'somevalue').selected"); |