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

Unified Diff: LayoutTests/fast/dom/incompatible-operations.html

Issue 213773003: select.add() should support optgroup adding and before index (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months 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/incompatible-operations-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/incompatible-operations.html
diff --git a/LayoutTests/fast/dom/incompatible-operations.html b/LayoutTests/fast/dom/incompatible-operations.html
index c22874179b6174c59b09ab2ed0889068797a4cfe..d79f94d4b1f6c57d10b339c2158d248f91e26a7a 100644
--- a/LayoutTests/fast/dom/incompatible-operations.html
+++ b/LayoutTests/fast/dom/incompatible-operations.html
@@ -40,11 +40,11 @@ shouldBeFalse("aNode.isSameNode(void 0)");
shouldBe("aNode.lookupPrefix(aDOMImplementation)", "null");
shouldBe("aNode.lookupPrefix(void 0)", "null");
shouldBeTrue("aNode.cloneNode(aDOMImplementation) instanceof HTMLDivElement");
-shouldBeUndefined("aSelect.add(aDOMImplementation, aDOMImplementation)");
-shouldBeUndefined("aSelect.add(aDOMImplementation, anOption)");
+shouldThrow("aSelect.add(aDOMImplementation, aDOMImplementation)");
+shouldThrow("aSelect.add(aDOMImplementation, anOption)");
+shouldThrow("aSelect.add(void 0, void 0)");
+shouldThrow("aSelect.add(void 0, anOption)");
shouldBeUndefined("aSelect.add(anOption, aDOMImplementation)");
-shouldBeUndefined("aSelect.add(void 0, void 0)");
-shouldBeUndefined("aSelect.add(void 0, anOption)");
shouldBeUndefined("aSelect.add(anOption, void 0)");
</script>
</body>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/incompatible-operations-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698