Bug 40973 - Save the insertion point before beforeload events
Summary: Save the insertion point before beforeload events
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Adam Barth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 23:59 PDT by Adam Barth
Modified: 2010-06-22 00:04 PDT (History)
1 user (show)

See Also:


Attachments
Patch (5.17 KB, patch)
2010-06-22 00:00 PDT, Adam Barth
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2010-06-21 23:59:15 PDT
Save the insertion point before beforeload events
Comment 1 Adam Barth 2010-06-22 00:00:41 PDT
Created attachment 59346 [details]
Patch
Comment 2 Eric Seidel (no email) 2010-06-22 00:03:21 PDT
Comment on attachment 59346 [details]
Patch

HTML5 talks about needing to save the insertion point at the start of runScript and then restore at the end, whch would cover this case. This may end up restoring "too early" but I'm not sure what that would mean (if anything).  In either case, this brings us closer to correct behavior.
Comment 3 Adam Barth 2010-06-22 00:04:48 PDT
Committed r61604: <http://trac.webkit.org/changeset/61604>