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

Side by Side Diff: LayoutTests/fast/images/object-image.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.waitUntilDone(); 6 testRunner.waitUntilDone();
7 testRunner.dumpAsText(true); 7 testRunner.dumpAsTextWithPixelResults();
8 testRunner.setPluginsEnabled(false); 8 testRunner.setPluginsEnabled(false);
9 } 9 }
10 10
11 function done() 11 function done()
12 { 12 {
13 if (window.testRunner) 13 if (window.testRunner)
14 testRunner.notifyDone(); 14 testRunner.notifyDone();
15 } 15 }
16 16
17 window.onload = function() { 17 window.onload = function() {
18 var elem = document.createElement("object"); 18 var elem = document.createElement("object");
19 elem.onload = done; 19 elem.onload = done;
20 elem.type = "image/png"; 20 elem.type = "image/png";
21 elem.data = "resources/oval.png"; 21 elem.data = "resources/oval.png";
22 document.body.appendChild(elem); 22 document.body.appendChild(elem);
23 }; 23 };
24 </script> 24 </script>
25 </head> 25 </head>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/images/mask-box-image-crash.html ('k') | LayoutTests/fast/images/paint-subrect.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698