diff options
author | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-29 12:53:37 +0000 |
---|---|---|
committer | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-29 12:53:37 +0000 |
commit | c8421569872d0738907e56420415e4e07e67529b (patch) | |
tree | b009aec3917013c0a883261d69ce84c3f7533574 /webkit/glue | |
parent | 6787d0c8ea33ceb8094db48d1b5bc24208bad433 (diff) | |
download | chromium_src-c8421569872d0738907e56420415e4e07e67529b.zip chromium_src-c8421569872d0738907e56420415e4e07e67529b.tar.gz chromium_src-c8421569872d0738907e56420415e4e07e67529b.tar.bz2 |
DevTools: remove obsolete code.
Review URL: http://codereview.chromium.org/555160
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r-- | webkit/glue/devtools/js/inject_dispatch.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/webkit/glue/devtools/js/inject_dispatch.js b/webkit/glue/devtools/js/inject_dispatch.js index f327c5a..c0ea4bd 100644 --- a/webkit/glue/devtools/js/inject_dispatch.js +++ b/webkit/glue/devtools/js/inject_dispatch.js @@ -82,37 +82,6 @@ function dispatch(method, var_args) { DevToolsAgentHost.dispatch(call); }; - -// TODO(yurys): remove once injected script lives in the inspected context -if (this.InjectedScript) { - -// Plugging into upstreamed support. -InjectedScript._window = function() { - return contentWindow; -}; - - -// Plugging into upstreamed support. -InjectedScript.evaluateOnSelf = function(funcBody) { - return DevToolsAgentHost.evaluateOnSelf("(" + funcBody + ")();"); -}; - - -// TODO(pfeldman): Remove once Object.getOwnPropertyNames is implemented. -InjectedScript._getPropertyNames = function(object, resultSet) -{ - for (var name in object) - resultSet[name] = true; -} - -} - -// Plugging into upstreamed support. -Object.className = function(obj) { - return (obj == null) ? "null" : obj.constructor.name; -}; - - /** * A no-op function that is called by debugger agent just to trigger v8 * execution. |