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

Side by Side Diff: LayoutTests/platform/chromium/fast/events/touch/touch-target-removed-crash.html

Issue 11644037: Revert 138188 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 8 years 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 <!DOCTYPE html>
2 <html>
3 <body>
4 <p id="description">Test passes if no crash.</p>
5 <script>
6 if (!window.testRunner)
7 return;
8
9 window.testRunner.dumpAsText();
10
11 function crash() {
12 var div = document.createElement('div');
13 div.ontouchstart = function() { };
14 document.body.appendChild(div);
15 window.internals.touchEventHandlerCount(document);
16 div.parentNode.removeChild(div);
17 div = 0;
18 if (window.GCController)
19 GCController.collect();
20 window.internals.touchEventHandlerCount(document);
21 }
22
23 crash();
24 </script>
25 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698