Title: [105926] trunk/PerformanceTests
Revision
105926
Author
[email protected]
Date
2012-01-25 14:25:10 -0800 (Wed, 25 Jan 2012)

Log Message

html5-full-render.html fails due to a log
https://bugs.webkit.org/show_bug.cgi?id=77046

Reviewed by Adam Barth.

Replace the call to log() in html5-full-render.html by a call to newly added logInfo(),
which doesn't print anything inside DRT.

* Parser/html5-full-render.html:
* resources/runner.js:
(logInfo):

Modified Paths

Diff

Modified: trunk/PerformanceTests/ChangeLog (105925 => 105926)


--- trunk/PerformanceTests/ChangeLog	2012-01-25 22:13:29 UTC (rev 105925)
+++ trunk/PerformanceTests/ChangeLog	2012-01-25 22:25:10 UTC (rev 105926)
@@ -1,3 +1,17 @@
+2012-01-25  Ryosuke Niwa  <[email protected]>
+
+        html5-full-render.html fails due to a log
+        https://bugs.webkit.org/show_bug.cgi?id=77046
+
+        Reviewed by Adam Barth.
+
+        Replace the call to log() in html5-full-render.html by a call to newly added logInfo(),
+        which doesn't print anything inside DRT.
+
+        * Parser/html5-full-render.html:
+        * resources/runner.js:
+        (logInfo):
+
 2012-01-19  Adam Barth  <[email protected]>
 
         PerformanceTests's runner.js shouldn't be Parser-specific

Modified: trunk/PerformanceTests/Parser/html5-full-render.html (105925 => 105926)


--- trunk/PerformanceTests/Parser/html5-full-render.html	2012-01-25 22:13:29 UTC (rev 105925)
+++ trunk/PerformanceTests/Parser/html5-full-render.html	2012-01-25 22:25:10 UTC (rev 105926)
@@ -18,7 +18,7 @@
     chunks.push(chunk);
 }
 
-log("Testing " + spec.length + " byte document in " + chunkCount + " " + chunkSize + " byte chunks.");
+logInfo("Testing " + spec.length + " byte document in " + chunkCount + " " + chunkSize + " byte chunks.");
 
 function loadChunkedSpecIntoIframe(iframe) {
     // Note: We've inlined the stylesheets in html5.html.  Before we did that, it seemed to be

Modified: trunk/PerformanceTests/resources/runner.js (105925 => 105926)


--- trunk/PerformanceTests/resources/runner.js	2012-01-25 22:13:29 UTC (rev 105925)
+++ trunk/PerformanceTests/resources/runner.js	2012-01-25 22:25:10 UTC (rev 105926)
@@ -3,6 +3,11 @@
     window.scrollTo(0, document.body.height);
 }
 
+function logInfo(text) {
+    if (!window.layoutTestController)
+        log(text);
+}
+
 function loadFile(path) {
     var xhr = new XMLHttpRequest();
     xhr.open("GET", path, false);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to