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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/selection/missing-arguments.html

Issue 2712603003: Move tests in fast/dom/Selection/ to editing/selection/. (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/missing-arguments-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 var selection = getSelection(); 8 var selection = getSelection();
9 var node = document.body; 9 var node = document.body;
10 shouldThrow("selection.addRange()"); 10 shouldThrow("selection.addRange()");
11 shouldThrow("selection.getRangeAt()"); 11 shouldThrow("selection.getRangeAt()");
12 shouldThrow("selection.selectAllChildren()"); 12 shouldThrow("selection.selectAllChildren()");
13 shouldThrow("selection.setBaseAndExtent()"); 13 shouldThrow("selection.setBaseAndExtent()");
14 shouldThrow("selection.setBaseAndExtent(node)"); 14 shouldThrow("selection.setBaseAndExtent(node)");
15 shouldThrow("selection.setBaseAndExtent(node, 0)"); 15 shouldThrow("selection.setBaseAndExtent(node, 0)");
16 shouldThrow("selection.setBaseAndExtent(node, 0, node)"); 16 shouldThrow("selection.setBaseAndExtent(node, 0, node)");
17 </script> 17 </script>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/missing-arguments-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698