Chromium Code Reviews
DescriptionClean up the proxy code for handling frame navigation.
When a frame navigates to a new page, the old context handle is disposed, and the global proxy object is detached from
the old context. A new context is created using the global proxy object. However, the security token is not created
because, at this point, the security origin is not updated to new URL.
When the new document is ready, V8Proxy updates the security token using the security origin of the document.
Our code relies on the fact that ScriptController::clearWindowShell be called only when the frame loads a page, but not at closing time.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=5396
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||