This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Teach WindowGeometryInitializedBeforeSetWindow that NPP_SetWindow can…
… be called more than once The NPP_SetWindow call made when the plugin is torn down was confusing us, and was causing us to spew an error into the next test. Fixes <http://webkit.org/b/46900> <rdar://problem/8496888> REGRESSION (r68520): plugins/access-after-page-destroyed.html failing on Windows Reviewed by Anders Carlsson. * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowGeometryInitializedBeforeSetWindow.cpp: (WindowGeometryInitializedBeforeSetWindow::WindowGeometryInitializedBeforeSetWindow): Initialize member. (WindowGeometryInitializedBeforeSetWindow::NPP_SetWindow): Bail if this isn't the first time this is called. Canonical link: https://commits.webkit.org/59417@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 27 additions and 1 deletion.