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

Unified Diff: LayoutTests/editing/selection/selectAllChildren.html

Issue 813163007: Enable strict type checking for Selection.selectAllChildren() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | LayoutTests/editing/selection/selectAllChildren-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/selection/selectAllChildren.html
diff --git a/LayoutTests/editing/selection/selectAllChildren.html b/LayoutTests/editing/selection/selectAllChildren.html
index 3fb94f40d062a746863aa4dc572374aa999375e3..85767cf2e41e15696845337e55d58368733c9c34 100644
--- a/LayoutTests/editing/selection/selectAllChildren.html
+++ b/LayoutTests/editing/selection/selectAllChildren.html
@@ -39,9 +39,9 @@ s.selectAllChildren(test);
shouldBe('window.getSelection().toString()', '"foobar"');
// call with types other than Node
-shouldNotThrow('s.selectAllChildren(null)');
-shouldNotThrow('s.selectAllChildren(window)');
-shouldNotThrow('s.selectAllChildren("")');
+shouldThrow('s.selectAllChildren(null)');
+shouldThrow('s.selectAllChildren(window)');
+shouldThrow('s.selectAllChildren("")');
</script>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/editing/selection/selectAllChildren-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698