| Index: webkit/glue/plugins/test/plugin_get_javascript_url_test.cc
|
| ===================================================================
|
| --- webkit/glue/plugins/test/plugin_get_javascript_url_test.cc (revision 42644)
|
| +++ webkit/glue/plugins/test/plugin_get_javascript_url_test.cc (working copy)
|
| @@ -33,6 +33,9 @@
|
| }
|
|
|
| NPError ExecuteGetJavascriptUrlTest::SetWindow(NPWindow* pNPWindow) {
|
| + if (pNPWindow->window == NULL)
|
| + return NPERR_NO_ERROR;
|
| +
|
| if (!test_started_) {
|
| std::string url = SELF_URL;
|
| HostFunctions()->geturlnotify(id(), url.c_str(), "_top",
|
|
|