summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 15:18:04 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 15:18:04 +0000
commit7419d4b42d6be9b4b0f93c3fc4a85ca104e24821 (patch)
tree93896973bafb635a55e3595bb772356b21b405d0 /chrome_frame/test
parente608d5644b2b4c76ffad9a7d443f338746256e8b (diff)
downloadchromium_src-7419d4b42d6be9b4b0f93c3fc4a85ca104e24821.zip
chromium_src-7419d4b42d6be9b4b0f93c3fc4a85ca104e24821.tar.gz
chromium_src-7419d4b42d6be9b4b0f93c3fc4a85ca104e24821.tar.bz2
Remove extension automation support that was used only by CEEE.
BUG=none TEST=all automated tests pass Review URL: http://codereview.chromium.org/6756044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80626 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test')
-rw-r--r--chrome_frame/test/automation_client_mock.h1
-rw-r--r--chrome_frame/test/data/privileged_apis_host.html32
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