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

Side by Side Diff: LayoutTests/fast/forms/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: 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
OLDNEW
(Empty)
1 <input id="month" type="month"</div>
tkent 2014/07/30 23:19:57 - The top level indentation is not helpful. - Plea
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, keyNa me, 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

Powered by Google App Engine
This is Rietveld 408576698