WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
50513
Check If PingLoader Handles Cross Frame Loads Correctly
https://bugs.webkit.org/show_bug.cgi?id=50513
Summary
Check If PingLoader Handles Cross Frame Loads Correctly
Joseph Pecoraro
Reported
2010-12-03 22:08:47 PST
In a conversation with Alexey, he mentioned we should check if unload image loads made via cross-frame boundaries inside one frame's unload handler is handled properly. For example, given a page with an iframe. When that page is unloaded, if the iframe's unload handler triggers an image load on the top frame (main document) does that image load get treated properly by becoming a PingLoader. If the m_pageDismissalEventBeingDispatched state of the iframe is true, can the above scenario still cause an image to be loaded on another frame and should that load then have PingLoader privileges or not. Possible scenarios: 1) Main document has an iframe, main document navigates, iframe's unload triggers load in parent frame 2) Main document has an iframe, iframe element is removed, iframe's unload triggers load in parent frame 3) Main document has an iframe, iframe document navigates, iframe's unload triggers load in parent frame • What should happen in these scenarios? • Do we handle them sanely? • Should we create tests for them?
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2010-12-04 12:26:26 PST
Here are the reasons to improve on this: - if PingLoader doesn't intercept such request, and it is canceled, then the frame gets into a load error state, and doesn't go into back/forward cache; - well, make statistics work.
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