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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/text/text-set-selection-crash.html

Issue 2269043002: Reland of Remove EventSender from HTMLStyleElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deflake Created 4 years, 1 month 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
1 <body> 1 <body>
2 <script src="../../../resources/js-test.js"></script> 2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
3 <applet code=""><input><embed type="application/x-blink-test-plugin" width="200" ></embed></applet> 4 <applet code=""><input><embed type="application/x-blink-test-plugin" width="200" ></embed></applet>
4 <script> 5 <script>
5 description('There was a bug that HTMLTextFormControlElement::setSelectionRange crashed. This test requires ASAN or something.'); 6 var t = async_test('There was a bug that HTMLTextFormControlElement::setSelectio nRange crashed. This test requires ASAN or something.');
6 jsTestIsAsync = true;
7 document.body.onload = function() { 7 document.body.onload = function() {
8 document.getElementsByTagName('input')[0].focus(); 8 t.step(function() {
yhirano 2016/11/08 06:25:54 Can you tell me why this |t.step| is needed?
hiroshige 2016/11/08 06:38:37 Removing t.step() also works.
9 testPassed('if not crash.'); 9 document.getElementsByTagName('input')[0].focus();
10 finishJSTest(); 10 }, 'passed if not crash.');
11 t.done();
11 }; 12 };
12 </script> 13 </script>
13 </body> 14 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698