Bug 110801

Summary: Threaded HTML parser fails fast/loader/stateobjects/state-attribute-history-getter.html
Product: WebKit Reporter: Adam Barth <abarth>
Component: WebCore Misc.Assignee: Eric Seidel (no email) <eric>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, esprehn+autocc, ojan.autocc, tonyg, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 106127    
Attachments:
Description Flags
Patch none

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.