WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
51076
didClearWindowObject may be dispatched when window object is not cleared
https://bugs.webkit.org/show_bug.cgi?id=51076
Summary
didClearWindowObject may be dispatched when window object is not cleared
Jon Honeycutt
Reported
2010-12-14 17:06:23 PST
FrameLoader::receivedFirstData() calls DocumentWriter::begin(), which is responsible for clearing the window object before loading new content. If a frame is showing the initial empty document, and the URL we're transitioning to is in the same security origin, DocumentWriter::begin() will choose not to clear the window object. After DocumentWriter::begin() returns, FrameLoader::receivedFirstData() dispatches the didClearWindowObject callback - whether or not the window object was cleared.
Attachments
Add attachment
proposed patch, testcase, etc.
Jon Honeycutt
Comment 1
2010-12-14 17:52:40 PST
<
rdar://problem/8770335
>
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