diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 19:11:08 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 19:11:08 +0000 |
commit | 57f7edd5e79bba97565a75c5a33c2b1216961220 (patch) | |
tree | 91421d120f9d35cb0eaeb0c84e1a193c73f15c97 /webkit/tools/npapi_layout_test_plugin | |
parent | 274eeb834395e7481a4c3d2d85378647f2975205 (diff) | |
download | chromium_src-57f7edd5e79bba97565a75c5a33c2b1216961220.zip chromium_src-57f7edd5e79bba97565a75c5a33c2b1216961220.tar.gz chromium_src-57f7edd5e79bba97565a75c5a33c2b1216961220.tar.bz2 |
Revert "Fix LayoutTests/plugins/destroy-during-npp-new.html"
This reverts commit r26234.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26249 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/npapi_layout_test_plugin')
-rw-r--r-- | webkit/tools/npapi_layout_test_plugin/main.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/webkit/tools/npapi_layout_test_plugin/main.cpp b/webkit/tools/npapi_layout_test_plugin/main.cpp index b546efe..fbd9b82 100644 --- a/webkit/tools/npapi_layout_test_plugin/main.cpp +++ b/webkit/tools/npapi_layout_test_plugin/main.cpp @@ -143,8 +143,6 @@ void NPAPI NP_Shutdown(void) { } -static void executeScript(const PluginObject* obj, const char* script); - NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char *argn[], char *argv[], NPSavedData *saved) { if (browser->version >= 14) { @@ -166,8 +164,7 @@ NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, ch fflush(stdout); } } - } else if (strcasecmp(argn[i], "cleardocumentduringnew") == 0) - executeScript(obj, "document.body.innerHTML = ''"); + } } instance->pdata = obj; |