Index: Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp |
=================================================================== |
--- Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp (revision 77831) |
+++ Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp (working copy) |
@@ -200,6 +200,9 @@ |
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") == 0 && |
+ strcasecmp(argv[i], "data:application/x-webkit-test-netscape,alertwhenloaded") == 0) |
+ executeScript(obj, "alert('Plugin Loaded!')"); |
else if (strcasecmp(argn[i], "onSetWindow") == 0 && !obj->onSetWindow) |
obj->onSetWindow = strdup(argv[i]); |
else if (strcasecmp(argn[i], "onNew") == 0 && !onNewScript) |