diff options
author | fqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-13 23:00:41 +0000 |
---|---|---|
committer | fqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-13 23:00:41 +0000 |
commit | 7a64bcecf1febf468f3eaa39695a11e72d24b5dc (patch) | |
tree | b48f82e05098ad25e61c91abe5d238b38c24729e /chrome/chrome.xcodeproj | |
parent | de0db991e70385acee6bec418c7f0a72e147f20e (diff) | |
download | chromium_src-7a64bcecf1febf468f3eaa39695a11e72d24b5dc.zip chromium_src-7a64bcecf1febf468f3eaa39695a11e72d24b5dc.tar.gz chromium_src-7a64bcecf1febf468f3eaa39695a11e72d24b5dc.tar.bz2 |
Clean 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.
Review URL: http://codereview.chromium.org/10687
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.xcodeproj')
0 files changed, 0 insertions, 0 deletions