Bug 110801 - Threaded HTML parser fails fast/loader/stateobjects/state-attribute-history-getter.html
Summary: Threaded HTML parser fails fast/loader/stateobjects/state-attribute-history-g...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Seidel (no email)
URL:
Keywords:
Depends on:
Blocks: 106127
  Show dependency treegraph
 
Reported: 2013-02-25 14:21 PST by Adam Barth
Modified: 2013-02-26 01:59 PST (History)
5 users (show)

See Also:


Attachments
Patch (2.28 KB, patch)
2013-02-25 17:35 PST, Eric Seidel (no email)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2013-02-25 14:21:51 PST
fast/loader/stateobjects/state-attribute-history-getter.html times out and shouldn't!
Comment 1 Adam Barth 2013-02-25 14:26:48 PST
Reduction:


<!DOCTYPE html>
<script>
testRunner.dumpAsText();
testRunner.waitUntilDone();

history.pushState(42, "", "");

window.onpopstate = function(e) {
    testRunner.notifyDone();
}

history.back();
</script>
Comment 2 Eric Seidel (no email) 2013-02-25 17:35:10 PST
Created attachment 190165 [details]
Patch
Comment 3 Adam Barth 2013-02-25 17:36:42 PST
Comment on attachment 190165 [details]
Patch

This patch is ridiculous, but I think this makes sense to emulate the quirks of the main thread parser as closely as possible.  We'll likely rip this out when we re-write the loader.
Comment 4 Eric Seidel (no email) 2013-02-26 01:59:19 PST
Comment on attachment 190165 [details]
Patch

Clearing flags on attachment: 190165

Committed r144027: <http://trac.webkit.org/changeset/144027>
Comment 5 Eric Seidel (no email) 2013-02-26 01:59:22 PST
All reviewed patches have been landed.  Closing bug.