diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-12 22:40:07 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-12 22:40:07 +0000 |
commit | 5862bb5ece261cb835b5677cdc6e138a071e07f9 (patch) | |
tree | 9bcb0f2e50d6fd0d6052712390a232b0a7a37ee1 /chrome/browser/external_tab_container.h | |
parent | 41734542d56be130baff1327c91abd988d7b850a (diff) | |
download | chromium_src-5862bb5ece261cb835b5677cdc6e138a071e07f9.zip chromium_src-5862bb5ece261cb835b5677cdc6e138a071e07f9.tar.gz chromium_src-5862bb5ece261cb835b5677cdc6e138a071e07f9.tar.bz2 |
This CL adds a way to block resource requests in the ResourceDispatcherHost for specific RenderViewHosts.
This is used by the interstitial code to prevent the original page from making network requests while the interstitial is showing.
Several UI tests are still required to test this. Because of the inherent complexity of the scenarios to test this, I'm afraid these tests are going to be flakey and soon after disabled (like many of the interstitial UI tests at this point).
This will be done next as part of my next effort to mock some of the WebContents stuff.
TEST=Run the unit tests. Create a page that does XMLHttpRequests and log when the requests complete with the time it did. While that page is shown, switch to a malware/bad SSL page. Come back to the page, ensure no requests were processed while the interstitial was showing.
BUG=None
Review URL: http://codereview.chromium.org/16546
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7898 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.h')
0 files changed, 0 insertions, 0 deletions