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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/autoscroll-select-crash.html

Issue 2844593002: Protect against lifecycle updates that delete a layout object for autoscroll (Closed)
Patch Set: none Created 3 years, 7 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 | third_party/WebKit/Source/core/html/HTMLSelectElement.cpp » ('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 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <iframe id=iframe srcdoc="
5 <style>
6 .c:hover { display: block; }
7 .c { content: attr(class); width: 400px; height: 400px; }
8 </style>
9 <body id=body>
10 <select id=target autofocus=autofocus size=2 class=c></select>
11 </body>"></iframe>
12 <script>
13 var testObj;
14 function moveGesture() {
15 eventSender.mouseMoveTo(200, 51);
16 eventSender.mouseUp();
17 testObj.done();
18 }
19 function reloadIframe() {
20 iframe.contentWindow.location.reload();
21 setTimeout(moveGesture, 50);
mstensho (USE GERRIT) 2017/04/28 20:15:28 Looks like this timeout is slightly too low for my
22 }
23 function go(test) {
24 testObj = test;
25 if (window.eventSender) {
26 eventSender.mouseMoveTo(200, 50);
27 eventSender.mouseDown();
28 setTimeout(reloadIframe, 0);
29 } else {
30 test.done();
31 }
32 }
33
34 async_test(go);
35 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698