Title: [99302] trunk/Tools
Revision
99302
Author
[email protected]
Date
2011-11-04 11:20:11 -0700 (Fri, 04 Nov 2011)

Log Message

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):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (99301 => 99302)


--- trunk/Tools/ChangeLog	2011-11-04 18:14:58 UTC (rev 99301)
+++ trunk/Tools/ChangeLog	2011-11-04 18:20:11 UTC (rev 99302)
@@ -1,5 +1,14 @@
 2011-11-04  Anders Carlsson  <[email protected]>
 
+        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  <[email protected]>
+
         NPN_ConvertPoint plug-in test should be called from NPP_SetWindow
         https://bugs.webkit.org/show_bug.cgi?id=71570
 

Modified: trunk/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/mac/ConvertPoint.cpp (99301 => 99302)


--- trunk/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/mac/ConvertPoint.cpp	2011-11-04 18:14:58 UTC (rev 99301)
+++ trunk/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/mac/ConvertPoint.cpp	2011-11-04 18:20:11 UTC (rev 99302)
@@ -74,7 +74,7 @@
         if (testConvert())
             executeScript("document.getElementById('result').innerHTML = 'SUCCESS!'");
 
-        notifyDone();
+        executeScript("setTimeout(function() { layoutTestController.notifyDone() }, 0)");
         return NPERR_NO_ERROR;
     }
 };
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to