Commit Graph

42 Commits

Author SHA1 Message Date
Benjamin Smedberg
34e030da69 Bug 614610 - Annotate ProcessType for content and jetpack crashes, r=ted 2010-11-30 09:54:31 -05:00
Benjamin Smedberg
ddabab91cb Bug 613061 - test_jetpack.js (and probably code in production) crashes at IPC::Channel::set_listener because the destruction of JetpackProcessParent races with the unwinding of the stack frame which calls JetpackParent::ActorDestroy. Add an extra trip around the event loop to avoid the race. r=cjones a=myself/orange
--HG--
extra : rebase_source : f7e4b3c417051b438e1613d4e9bc685e10af1595
2010-11-22 09:10:39 -05:00
Benjamin Smedberg
8cf4c9b6a3 Bug 609066 - nsIJetpack.registerReceiver doesn't recognize functions wrapped in a proxy, throws NS_ERROR_ILLEGAL_VALUE. Don't use JS_ObjectIsFunction, instead use JS_TypeOfValue to determine whether we have a legal receiver. r?mrbkap
--HG--
extra : rebase_source : f0a24b355e7669c30fb3b26d2e609d7145c197f8
2010-11-17 15:58:08 -05:00
Benjamin Smedberg
84f471652b Bug 602891 part B - Backend support for jetpack-process crashes and crash recovery, r=cjones
On crash, an event will be submitted to the parent with the name "core:process-error" with a context object. If crash reporting is enabled and a crash report is available, the context object will have a .dumpID property which can be used to submit the crash report.

--HG--
extra : rebase_source : d089bb451271999ae3861a83f2b21ba8ec9e0122
2010-11-17 15:57:02 -05:00
Benedict Hsieh
fba1d721da Bug 592768 - When using async launch, the toplevel actor doesn't have a process handle. Set the process ID with a callback function (OnChannelConnected). r=cjones
--HG--
extra : rebase_source : aa7743035e9a21759d99b9b9fbaf6371b8c82395
2010-10-08 16:24:36 -07:00
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Johnny Stenback
1cb512cddb Bug 580128. Properly switch compartments and wrap values when running xpcshell tests. r=mrbkap@gmail.com 2010-10-10 15:46:16 -07:00
Andreas Gal<gal@uci.edu>
ed2f2057d1 Bug 600032 - TM: set right compartment for Jetpack r=gregor 2010-09-29 09:23:04 -07:00
Andreas Gal
1649ef6d21 Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap). 2010-09-27 15:55:15 -07:00
Dan Witte
4e67b70bc1 Bug 589413 - Failure to open libnss3.so when Firefox path contains UTF-8 characters. Part 2: consumers. r=bsmedberg, a=final+ 2010-09-13 10:54:02 -07:00
Luke Wagner
5e9978f911 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
Robert Sayre
e5da7a11b5 merge mozilla-central to tracemonkey. 2010-08-27 22:24:14 -04:00
Gregor Wagner
ea9e3a32b4 Bug 590319 - TM: Global Object created in JetpackChild needs its own compartment r=mrbkap 2010-08-26 14:26:57 -07:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Benjamin Smedberg
89760e61ed Bug 588563 - Add a ctypes global within the jetpack process, r=dwitte
--HG--
extra : rebase_source : 91334359c5b597f99bfce7c7a58af50e889bd19a
2010-08-24 13:26:31 -04:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Benjamin Smedberg
50c345a485 Disable test_rooting on a CLOSED TREE, since with the GC changes the handle isn't being collected deterministically. 2010-08-10 13:26:30 -04:00
Benjamin Smedberg
1e3daa33ff Bustage fix, bug 578821. 2010-08-10 11:48:49 -04:00
Benjamin Smedberg
d2b5f1a5d7 But 578821 - Give jetpacks a way to mark a handle as unrooted, so that it can live as long as client code holds it alive without having to be explicitly deleted, and give the other side the ability to see handle deletion, r=bent/atul/cjones 2010-07-27 16:18:08 -04:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Robert Sayre
951426beed Merge mozilla-central to tracemonkey. 2010-07-11 16:23:48 -07:00
Robert Sayre
70fc03b113 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Benjamin Smedberg
1bd930635b Bug 577684 - Jetpack should push the JS context on to the XPConnect stack when running message receivers, r=mrbkap 2010-07-15 10:40:33 -04:00
Benjamin Smedberg
2afb186ba8 Bug 578809 - Jetpack .callMessage should be RPC, not sync, so that handles created during the reply are available correctly, r=bent 2010-07-23 17:11:33 -04:00
Benjamin Smedberg
43e0394bf5 Bug 578773 - Jetpack processes should send messages about uncaught exceptions to the parent, r=bent 2010-07-23 17:11:33 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Ben Newman
91ca5c2718 Disable hanging jetpack XPCShell tests. r=sdwilsh 2010-06-25 11:42:34 -07:00
Robert Sayre
b0ccdf3af2 Move includes in JetpackActorCommon.cpp only. 2010-06-30 14:28:08 -07:00
Robert Sayre
efd4bd36c6 Merge backout. 2010-06-30 13:50:52 -07:00
Robert Sayre
67c4011c63 Backed out changeset 562f69adb6b8 2010-06-30 13:50:26 -07:00
Robert Sayre
aed1689a0b Squash warning, rebuild with Windows clobbered. 2010-06-30 13:45:02 -07:00
Robert Sayre
77addc3777 try to fix moz_free macro substitution bustage on Windows by reordering includes 2010-06-30 13:26:15 -07:00
Robert Sayre
27b5a3b6fb Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Ben Newman
980230bd13 Implement the multi-process Jetpack API (bug 556846). r=bsmedberg,bent 2010-06-25 08:00:37 -07:00
Ben Newman
713e822c3c Build and IPDL groundwork for the multi-process Jetpack API (bug 556846). r=bsmedberg 2010-06-25 08:00:35 -07:00
Benjamin Smedberg
cc2a808f76 Bug 568698 - Instead of fixing two globals in the jetpack process, allow jetpack to create sandboxes in which to load user code and implementation modules, r=bent 2010-07-08 09:40:07 -07:00
Benjamin Smedberg
29b2d71ebf Bug 574870 - Re-enable multi-process jetpack tests, and introduce a .destroy method which is needed for running tests correctly (jetpack processes must eventually exit, or debug builds will fail to shut down), r=bent 2010-07-07 22:31:30 -07:00