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

Side by Side Diff: LayoutTests/fast/events/touch/touch-action-touch-handlers.html

Issue 806183005: Remove FrameLoader's checkLoadComplete and checkLoadCompleteForThisFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <style> 5 <style>
6 #touchActionDiv { 6 #touchActionDiv {
7 height: 50px; 7 height: 50px;
8 width: 200px; 8 width: 200px;
9 border: 1px solid blue; 9 border: 1px solid blue;
10 } 10 }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 debug("transitioning to auto should decrease handler count"); 90 debug("transitioning to auto should decrease handler count");
91 div.style.touchAction = "auto"; 91 div.style.touchAction = "auto";
92 shouldBe("getTouchHandlerCount(document)", "1"); 92 shouldBe("getTouchHandlerCount(document)", "1");
93 93
94 debug("touch-action on div inside frame should add a handler"); 94 debug("touch-action on div inside frame should add a handler");
95 var iframe = document.createElement("iframe"); 95 var iframe = document.createElement("iframe");
96 document.body.appendChild(iframe); 96 document.body.appendChild(iframe);
97 nestedDocument = iframe.contentWindow.document; 97 nestedDocument = iframe.contentWindow.document;
98 nestedDocument.open('text/html', 'replace'); 98 nestedDocument.open('text/html', 'replace');
99 nestedDocument.write("<!DOCTYPE html>\n<div style='touch-action: none'></div >"); 99 nestedDocument.write("<!DOCTYPE html>\n<div style='touch-action: none'></div >");
100 nestedDocument.close();
100 window.internals.forceCompositingUpdate(document); 101 window.internals.forceCompositingUpdate(document);
101 shouldBe("getTouchHandlerCount(nestedDocument)", "2"); 102 shouldBe("getTouchHandlerCount(nestedDocument)", "2");
102 shouldBe("getTouchHandlerCount(document)", "2"); 103 shouldBe("getTouchHandlerCount(document)", "2");
103 } 104 }
104 </script> 105 </script>
105 </body> 106 </body>
106 </html> 107 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/frames/location-put-after-removal-expected.txt » ('j') | Source/core/frame/Frame.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698