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 | |
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')
-rwxr-xr-x | webkit/tools/layout_tests/test_expectations.txt | 1 | ||||
-rw-r--r-- | webkit/tools/npapi_layout_test_plugin/main.cpp | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/webkit/tools/layout_tests/test_expectations.txt b/webkit/tools/layout_tests/test_expectations.txt index a266923..0b1fbad 100755 --- a/webkit/tools/layout_tests/test_expectations.txt +++ b/webkit/tools/layout_tests/test_expectations.txt @@ -2317,6 +2317,7 @@ BUG21767 : LayoutTests/http/tests/security/cross-frame-access-enumeration.html = // WK roll to 48371 BUG21840 : LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials.html = FAIL BUG21840 : LayoutTests/http/tests/loading/basic-credentials-sent-automatically.html = FAIL +BUG21841 : LayoutTests/plugins/destroy-during-npp-new.html = FAIL // missing upstream baseline from 48368 BUG21842 SKIP WIN LINUX : LayoutTests/platform/win/accessibility/scroll-to-anchor.html = FAIL 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; |