WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
53785
WebKit2: Pages with dynamically inserted iframes can add extraneous back/forward items.
https://bugs.webkit.org/show_bug.cgi?id=53785
Summary
WebKit2: Pages with dynamically inserted iframes can add extraneous back/forw...
Brady Eidson
Reported
2011-02-04 10:17:23 PST
WebKit2: Pages with dynamically inserted iframes can add extraneous back/forward items. First noticed at
http://www.cnn.com/
with dynamically appended iframes related to facebook. Turns out this is because the "decidePolicyForNavigationAction" policy delegate is asynchronous, and WebCore can't handle that too well. The answer to that policy delegate is what sets up the provisional DocumentLoader in the FrameLoader, and if it's not synchronous, the FrameLoader can't tell the DocumentLoader "this is a quick redirect - you shouldn't add a back/forward history item" Making the delegate call synchronous is the cleanest way to fix this for now. LayoutTest will be included in the upcoming patch. In radar as <
rdar://problem/8636239
>
Attachments
Patch + layout test (v1)
(12.08 KB, patch)
2011-02-04 12:24 PST
,
Brady Eidson
andersca
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2011-02-04 12:24:42 PST
Created
attachment 81263
[details]
Patch + layout test (v1)
Brady Eidson
Comment 2
2011-02-04 12:39:03 PST
http://trac.webkit.org/changeset/77657
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug