diff options
Diffstat (limited to 'chrome_frame/test')
-rw-r--r-- | chrome_frame/test/automation_client_mock.h | 1 | ||||
-rw-r--r-- | chrome_frame/test/data/privileged_apis_host.html | 32 |
2 files changed, 0 insertions, 33 deletions
diff --git a/chrome_frame/test/automation_client_mock.h b/chrome_frame/test/automation_client_mock.h index 52a1ce63..6f736a0 100644 --- a/chrome_frame/test/automation_client_mock.h +++ b/chrome_frame/test/automation_client_mock.h @@ -96,7 +96,6 @@ class MockAutomationProxy : public ChromeFrameAutomationProxy { MOCK_METHOD1(ReleaseTabProxy, void(AutomationHandle handle)); MOCK_METHOD0(server_version, std::string(void)); MOCK_METHOD1(SendProxyConfig, void(const std::string&)); - MOCK_METHOD1(SetEnableExtensionAutomation, void(bool enable)); ~MockAutomationProxy() {} }; diff --git a/chrome_frame/test/data/privileged_apis_host.html b/chrome_frame/test/data/privileged_apis_host.html index fde39e1..052b276 100644 --- a/chrome_frame/test/data/privileged_apis_host.html +++ b/chrome_frame/test/data/privileged_apis_host.html @@ -47,40 +47,8 @@ appendStatus('After postPrivateMessage') } - function tryInstallExtension() { - var cf = GetChromeFrame(); - - try { - // Any message received by this listener is a failure. - // This succeeds in FF, but throws an exception in IE. - cf.installExtension('foo'); - onFailure(testName, 1, 'installExtension should throw'); - } catch(e) { - appendStatus('installExtension threw exception') - } - - appendStatus('After installExtension') - } - - function tryLoadExtension() { - var cf = GetChromeFrame(); - - try { - // Any message received by this listener is a failure. - // This succeeds in FF, but throws an exception in IE. - cf.loadExtension('foo'); - onFailure(testName, 1, 'loadExtension should throw'); - } catch(e) { - appendStatus('loadExtension threw exception') - } - - appendStatus('After loadExtension') - } - function OnChromeFrameLoaded(url) { tryPrivateMessage(); - tryInstallExtension(); - tryLoadExtension(); // The frame reflects this twice, first to a bogus target // and again to the default target '*'. We succeed if we |