Call notifyDone in a timeout - otherwise we'll end up entering layout from layout.
* DumpRenderTree/TestNetscapePlugIn/Tests/mac/ConvertPoint.cpp:
(ConvertPoint::NPP_SetWindow):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@99302
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2011-11-04 Anders Carlsson <andersca@apple.com>
+ Fix WKTR crash when running NPN_ConvertPoint test.
+
+ Call notifyDone in a timeout - otherwise we'll end up entering layout from layout.
+
+ * DumpRenderTree/TestNetscapePlugIn/Tests/mac/ConvertPoint.cpp:
+ (ConvertPoint::NPP_SetWindow):
+
+2011-11-04 Anders Carlsson <andersca@apple.com>
+
NPN_ConvertPoint plug-in test should be called from NPP_SetWindow
https://bugs.webkit.org/show_bug.cgi?id=71570
if (testConvert())
executeScript("document.getElementById('result').innerHTML = 'SUCCESS!'");
- notifyDone();
+ executeScript("setTimeout(function() { layoutTestController.notifyDone() }, 0)");
return NPERR_NO_ERROR;
}
};