diff options
Diffstat (limited to 'Tools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp')
-rw-r--r-- | Tools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp b/Tools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp index 2f7288a..4936efd 100644 --- a/Tools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp +++ b/Tools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp @@ -79,6 +79,9 @@ webkit_test_plugin_new_instance(NPMIMEType mimetype, else if (strcasecmp(argn[i], "src") == 0 && strcasecmp(argv[i], "data:application/x-webkit-test-netscape,returnerrorfromnewstream") == 0) obj->returnErrorFromNewStream = TRUE; + else if (!strcasecmp(argn[i], "src") + && !strcasecmp(argv[i], "data:application/x-webkit-test-netscape,alertwhenloaded")) + executeScript(obj, "alert('Plugin Loaded!')"); else if (strcasecmp(argn[i], "logfirstsetwindow") == 0) obj->logSetWindow = TRUE; else if (strcasecmp(argn[i], "testnpruntime") == 0) |