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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/drag-dragend-detaches.html

Issue 2759603002: Check detached status before attempting to clear drag transfer state (reland.) (Closed)
Patch Set: rebased upto r458127 Created 3 years, 9 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/LayoutTests/fast/events/drag-dragend-detaches-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 <iframe src="resources/iframe-drag-dragend-detaches.html"></iframe>
5 <script>
6 function updateResult(msg) {
7 document.getElementById('results').innerHTML = msg;
8 }
9
10 function test() {
11 updateResult('Test failed.');
12
13 testRunner.dumpAsText();
14 testRunner.waitUntilDone();
15
16 var ifr = document.querySelector("iframe");
17 ifr.contentWindow.test(ifr.offsetLeft, ifr.offsetTop);
18 }
19
20 function finishUp() {
21 updateResult('Test passed (no crash.)');
22 document.querySelector("iframe").remove();
23 // This will detach the iframe, verifying in the process
24 // if the tail end of the drag operation handles that as
25 // wanted (== gracefully, no crashing.)
26 }
27 window.onload = test;
28 </script>
29 <div id="results"></div>
30 </body>
31 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/drag-dragend-detaches-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698