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):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105926
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-01-25 Ryosuke Niwa <rniwa@webkit.org>
+
+ 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 <abarth@webkit.org>
PerformanceTests's runner.js shouldn't be Parser-specific
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
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);