Commit 5c1567f1 authored by dominicc@chromium.org's avatar dominicc@chromium.org

Unreviewed, rolling out r140051.

http://trac.webkit.org/changeset/140051
https://bugs.webkit.org/show_bug.cgi?id=107210

html-parser-srcdoc.html failing on Chromium Linux Perf and
Chromium Mac Perf with a lot of error spew about blocked
script execution in 'about:srcdoc' (Requested by dominicc on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-17

* Parser/html-parser-srcdoc.html: Removed.
* Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 287d8de1
2013-01-17 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r140051.
http://trac.webkit.org/changeset/140051
https://bugs.webkit.org/show_bug.cgi?id=107210
html-parser-srcdoc.html failing on Chromium Linux Perf and
Chromium Mac Perf with a lot of error spew about blocked
script execution in 'about:srcdoc' (Requested by dominicc on
#webkit).
* Parser/html-parser-srcdoc.html: Removed.
* Skipped:
2013-01-16 Ryosuke Niwa <rniwa@webkit.org>
Remove NodeListsNodeData when it's no longer needed
......
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
<script>
// Use the threaded parser if available:
if (window.internals && window.internals.settings.setThreadedHTMLParser)
window.internals.settings.setThreadedHTMLParser(true);
var spec = PerfTestRunner.loadFile("resources/html5.html");
var iframe = document.createElement("iframe");
iframe.style.display = "none"; // Prevent creation of the rendering tree, so we only test HTML parsing.
iframe.sandbox = ''; // Prevent external script loads which could cause write() to return before completing the parse.
document.body.appendChild(iframe);
PerfTestRunner.prepareToMeasureValuesAsync({done: onCompletedRun, unit: 'ms'});
iframe.onload = function() {
var now = PerfTestRunner.now();
PerfTestRunner.measureValueAsync(now - then);
then = now;
iframe.srcdoc = spec;
}
var then = PerfTestRunner.now();
iframe.srcdoc = spec;
function onCompletedRun() {
iframe.onload = null;
// FIXME: This should probably remove the iframe, but that currently
// causes the threaded-parser to never send the load event for the main page.
// document.body.removeChild(iframe);
}
</script>
</body>
......@@ -67,8 +67,3 @@ SVG/SvgNestedUse.html
ShadowDOM
Canvas/drawimage.html
# Works fine, but is mostly useful to the threaded-parsing folks, as
# it's very similar to parser/html-parser.html just using
# srcdoc to load instead of document.write.
parser/html-parser-srcdoc.html
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment