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

Side by Side Diff: LayoutTests/scrollbars/scrollable-iframe-remove-crash.html

Issue 216933006: Remove carriage returns from LayoutTests (18) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Expectations Created 6 years, 8 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 <html> 1 <html>
2 <script> 2 <script>
3 if (window.testRunner) 3 if (window.testRunner)
4 { 4 {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.waitUntilDone(); 6 testRunner.waitUntilDone();
7 } 7 }
8 8
9 function scrollEventFired() 9 function scrollEventFired()
10 { 10 {
11 document.getElementById('console').innerHTML = "Scrolled by JavaScript scrol lTo(): PASS"; 11 document.getElementById('console').innerHTML = "Scrolled by JavaScript scrol lTo(): PASS";
12 12
13 if (window.testRunner) 13 if (window.testRunner)
14 testRunner.notifyDone(); 14 testRunner.notifyDone();
15 } 15 }
16 16
17 function runTest() 17 function runTest()
18 { 18 {
19 window.frames[0].onscroll = scrollEventFired; 19 window.frames[0].onscroll = scrollEventFired;
20 window.frames[0].scrollTo(0, 50); 20 window.frames[0].scrollTo(0, 50);
21 } 21 }
22 </script> 22 </script>
23 <junk id="console"> 23 <junk id="console">
24 <iframe onload="runTest();" src="resources/scrollable-iframe.html"> 24 <iframe onload="runTest();" src="resources/scrollable-iframe.html">
25 </junk> 25 </junk>
26 </html> 26 </html>
27 27
OLDNEW
« no previous file with comments | « LayoutTests/plugins/iframe-shims.html ('k') | LayoutTests/scrollbars/scrollbar-part-created-with-no-parent-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698