Title: [138329] trunk/Source/_javascript_Core
- Revision
- 138329
- Author
- oli...@apple.com
- Date
- 2012-12-20 17:26:39 -0800 (Thu, 20 Dec 2012)
Log Message
Finally found the problem. Using the wrong JSContextGroup.
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/API/tests/testapi.c (138328 => 138329)
--- trunk/Source/_javascript_Core/API/tests/testapi.c 2012-12-21 01:18:21 UTC (rev 138328)
+++ trunk/Source/_javascript_Core/API/tests/testapi.c 2012-12-21 01:26:39 UTC (rev 138329)
@@ -1047,7 +1047,6 @@
// Test garbage collection with a fresh context
context = JSGlobalContextCreateInGroup(NULL, NULL);
- JSContextGroupRef contextGroup = JSContextGetGroup(context);
TestInitializeFinalize = true;
testInitializeFinalize();
JSGlobalContextRelease(context);
@@ -1063,6 +1062,8 @@
JSClassRef globalObjectClass = JSClassCreate(&globalObjectClassDefinition);
context = JSGlobalContextCreateInGroup(NULL, globalObjectClass);
+ JSContextGroupRef contextGroup = JSContextGetGroup(context);
+
JSGlobalContextRetain(context);
JSGlobalContextRelease(context);
ASSERT(JSContextGetGlobalContext(context) == context);
Modified: trunk/Source/_javascript_Core/ChangeLog (138328 => 138329)
--- trunk/Source/_javascript_Core/ChangeLog 2012-12-21 01:18:21 UTC (rev 138328)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-12-21 01:26:39 UTC (rev 138329)
@@ -1,5 +1,12 @@
2012-12-20 Oliver Hunt <oli...@apple.com>
+ Finally found the problem. Using the wrong JSContextGroup.
+
+ * API/tests/testapi.c:
+ (main):
+
+2012-12-20 Oliver Hunt <oli...@apple.com>
+
Try to convince bots to be happy with testapi.
* API/JSScriptRefPrivate.h:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes