summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools')
-rwxr-xr-xwebkit/tools/layout_tests/test_expectations.txt1
-rw-r--r--webkit/tools/npapi_layout_test_plugin/main.cpp5
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;