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

Side by Side Diff: LayoutTests/fast/forms/ua-shadow-select-all-crash.html

Issue 848843002: VisibleSelection::nonBoundaryShadowTreeRootNode should return null when its anchor is a shadow root (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 | LayoutTests/fast/forms/ua-shadow-select-all-crash-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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <button type="button" id="button1">FOOO</button>
5 <input type="text" id="input1">
6 <script>
7 if (window.testRunner)
8 window.testRunner.dumpAsText();
9 var button1 = document.getElementById('button1');
10 var input1 = document.getElementById('input1');
11 input1.setSelectionRange(0);
12 input1.type = 'week';
13 var oSelection = window.getSelection();
14 document.execCommand('SelectAll');
15 oSelection.deleteFromDocument();
16 input1.value = 'foo';
17 </script>
18 <p>Pass if it doesn't crash</p>
19 </body>
20 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/ua-shadow-select-all-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698