Bug 45351

Summary: pushstate-clears-forward-history.html crashes with Chromium DRT
Product: WebKit Reporter: Mihai Parparita <mihaip>
Component: Tools / TestsAssignee: Mihai Parparita <mihaip>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dglazkov, fishd
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch
none
Patch none

Mihai Parparita
Reported 2010-09-07 18:27:33 PDT
pushstate-clears-forward-history.html crashes with Chromium DRT
Attachments
Patch (3.17 KB, patch)
2010-09-07 18:35 PDT, Mihai Parparita
no flags
Patch (3.22 KB, patch)
2010-09-08 08:56 PDT, Mihai Parparita
no flags
Mihai Parparita
Comment 1 2010-09-07 18:35:44 PDT
Mihai Parparita
Comment 2 2010-09-07 18:37:47 PDT
Dimitri, since you suggested that I look at this, perhaps you can review too :) Darin, this is mostly a FYI, in case I'm misunderstanding something about popstate firing synchronously and bad things that happen because of that.
Darin Fisher (:fishd, Google)
Comment 3 2010-09-07 22:33:48 PDT
Comment on attachment 66821 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=66821&action=prettypatch > LayoutTests/fast/loader/stateobjects/popstate-fires-with-page-cache.html:50 > + setTimeout(function() { testWindow.close(); finishJSTest(); }, 0); readability nit: setTimeout(function() { testWindow.close(); finishJSTest(); }, 0); That way it is easy to set breakpoints too in the JS debugger.
Mihai Parparita
Comment 4 2010-09-08 08:56:53 PDT
Mihai Parparita
Comment 5 2010-09-08 08:57:17 PDT
(In reply to comment #3) > readability nit: > setTimeout(function() { > testWindow.close(); > finishJSTest(); > }, 0); Fixed in new version of the patch.
Dimitri Glazkov (Google)
Comment 6 2010-09-08 09:10:46 PDT
Comment on attachment 66902 [details] Patch k.
WebKit Commit Bot
Comment 7 2010-09-08 22:18:54 PDT
Comment on attachment 66902 [details] Patch Clearing flags on attachment: 66902 Committed r67060: <http://trac.webkit.org/changeset/67060>
WebKit Commit Bot
Comment 8 2010-09-08 22:18:58 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.