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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/file/file-crash-by-runin-parent.html

Issue 2693813002: Selection API: Some functions should throw InvalidNodeTypeError and IndexSizeError. (Closed)
Patch Set: adjust 2 more tests 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
OLDNEW
(Empty)
1 <style>
2 .c0 {
3 display: list-item;
4 }
5 .c7 {
6 -webkit-wrap-flow: auto;
7 display: run-in;
8 }
9 </style>
10 <script>
11 // This test requires ASAN to detect a regression.
12 onload = function() {
13 document.body.innerHTML += '<nav class="c0"></nav>';
14 document.designMode = 'on';
15 window.getSelection().setBaseAndExtent(document.createElement('q'), 1, docum ent.querySelector('nav'), 6);
16 document.designMode = 'off';
17 document.querySelector('nav').classList.add('c7');
18
19 if (window.testRunner)
20 testRunner.dumpAsText();
21 document.body.innerHTML += 'PASS if not crash.';
22 }
23 </script>
24 <body><rp class="c7"><input type="file"></rp></body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698