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

Side by Side Diff: LayoutTests/fast/forms/calendar-picker/datepicker-crash-after-keydown.html

Issue 419053005: Fix crash in HTMLInputElement::setupDateTimeChooserParameters (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 4 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/calendar-picker/datepicker-crash-after-keydown-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 <input id="month" type="month"</div>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 }
6 function openPicker(input) {
7 sendKey(input, "Down", false, true);
8 finishTest();
9 }
10 function sendKey(input, keyName, ctrlKey, altKey) {
11 var event = document.createEvent('KeyboardEvent');
12 event.initKeyboardEvent('keydown', true, true, document.defaultView, keyName, 0, ctrlKey, altKey);
13 input.dispatchEvent(event);
14 }
15 openPicker(document.getElementById('month'), finishTest);
16 function finishTest() {
17 document.body.innerText = 'PASS (not crashed)';
18 }
19 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/calendar-picker/datepicker-crash-after-keydown-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698