Boris Zbarsky
ab6fc58420
Bug 771429. Instead of using bound functions for the functions we get off the sandbox proto, use a function proxy. That allows property gets on the functions to get through. r=bholley
2012-07-13 19:29:13 -04:00
Bobby Holley
473b4a8aa9
Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv
2012-07-13 14:33:25 +02:00
Bobby Holley
4262204785
Bug 601277 - Better tests for document.domain. r=mrbkap
2012-07-12 10:10:15 +02:00
Nathan Froyd
5b30baa4c3
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ehsan Akhgari
79476e0c44
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more xpconnect parts); r=bholley
2012-06-19 23:33:46 -04:00
Bobby Holley
bb38fbaa32
Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz
2012-06-15 08:31:27 +02:00
Peter Van der Beken
c13ddebfa6
Fix for bug 760131 (Quickstub argument unwrapping fails for security-wrapped list proxy and paris binding objects). r=bz.
...
--HG--
extra : rebase_source : 945d58f3b73f25f05528e6c6d69745215cb4793a
2012-06-01 18:24:52 +02:00
Bobby Holley
051ea1ec66
Bug 763341 - Handle wrappers in new dom binding QI. r=bz
...
The |ok| parent check goes away because it's ill-conceived. All it's really checking is that proxies are parented to the global, and it's impossible to port to SpecialPowers, because SpecialPowers will think that the proxy is parented to the SpecialPowers global. I don't think this check is very important, so I removed it.
2012-06-12 15:44:21 +02:00
Bobby Holley
fb72dcee1f
Bug 762432 - Handle proxies on __lookupGetter__ and __lookupSetter__. r=jorendorff
2012-06-12 15:44:14 +02:00
Gabor Krizsanits
be6dae7869
Bug 734891 - part 5: Adding optional XHR constructor to sandbox
2012-06-09 15:19:27 -07:00
Gabor Krizsanits
0fd528e2e2
Bug 734891 - part 4: Using ExpandedPrincipal
2012-06-09 15:19:27 -07:00
Bobby Holley
af6f37d415
Bug 758415 - Tests. r=mrbkap
2012-06-05 19:07:38 +02:00
Bobby Holley
717cddc4c1
Bug 760076 - Make |construct| use Wrapper::CALL. r=mrbkap
2012-05-31 18:36:15 +02:00
Bobby Holley
0639533b11
Bug 758563 - Warn when __exposedProps__ is missing. r=bz
2012-05-25 18:42:40 +02:00
Bobby Holley
6e3fdf4e54
Bug 553102 - Fix test_cows.xul. r=mrbkap
2012-05-24 13:04:57 +02:00
Gabor Krizsanits
f826dbc135
Bug 747434 - Part 2: Optional Components object in sandbox. r=bholley
2012-05-22 20:21:45 -04:00
Gervase Markham
d3c0e246ff
Bug 716478 - update line numbers in XPCshell tests, necessary because of updating licence to MPL 2 with new, shorter boilerplate.
2012-05-21 12:13:52 +01:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Boris Zbarsky
15ff74a708
Bug 751077. Skip binding for the XPConnect-default property ops as well when resolving properties on a sandbox prototype. r=bholley
2012-05-07 13:26:50 -04:00
Gabor Krizsanits
f65e785137
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-28 09:12:28 -04:00
Ryan VanderMeulen
3f70ab0134
Backout a0b3af4ac9f5 (bug 735280) due to Android jsreftest orange.
2012-04-25 21:59:36 -04:00
Gabor Krizsanits
8f2218a116
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-25 20:12:33 -04:00
Ryan VanderMeulen
7d4f50a90d
Backout 0b170d1f5d10 (bug 735280) due to red.
2012-04-24 22:09:23 -04:00
Gabor Krizsanits
0a0e1a6bd0
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-24 21:48:02 -04:00
Boris Zbarsky
4571359b0e
Bug 726949. Instead of using the given proto for the sandbox directly, use a proxy that forwards to the given proto but rebinds all getters/setters/methods to use the given proto, not the sandbox global, as this. r=bholley, a=tracking-firefox
...
The code in XPCQuickStubs.h just moved from XPCQuickStubs.cpp.
2012-04-19 14:19:41 -04:00
Ed Morley
b9555a71ef
Backout 3e24a0ebd104 (bug 726949) for M-oth orange; a=backout
2012-04-19 12:28:43 -07:00
Boris Zbarsky
549135f239
Bug 726949. Instead of using the given proto for the sandbox directly, use a proxy that forwards to the given proto but rebinds all getters/setters/methods to use the given proto, not the sandbox global, as this. r=bholley, a=tracking-firefox
...
The code in XPCQuickStubs.h just moved from XPCQuickStubs.cpp.
2012-04-19 14:19:41 -04:00
Bobby Holley
e5b3f77326
Bug 745483 - Don't assert that TI is enabled when the pref is disabled. r=jdm
2012-04-15 17:54:03 -07:00
Bobby Holley
57c411f141
Bug 743843 - Introduce the options object for Components.Exception. r=Ms2ger,sr=mrbkap
2012-04-15 17:51:37 -07:00
Luke Wagner
e7a6830156
Bug 744842 - don't include actual args in error.stack.toString (r=dmandelin)
...
--HG--
extra : rebase_source : 66a780c6abfc4fadc7cc08ed97224296af20ad61
2012-04-11 18:07:44 -07:00
Andrew McCreight
c3b5a510a8
Bug 744272. disable test_watchpoints due to bogus failures. rs=billm
2012-04-10 18:43:22 -07:00
Bobby Holley
b1e579a168
Bug 739796 - Make js_TransplantObjectWithWrapper and GetSameCompartmentSecurityWrapper play nicely together. r=mrbkap
...
--HG--
extra : rebase_source : c132069987b4cae121dfcf1b19ffacaee845df1e
2012-04-05 12:21:12 -07:00
Kyle Huey
69f68d7938
Bug 722671: Components.utils.getWeakReference should get a reference to the underlying native object if possible. r=mrbkap
2012-04-01 19:21:13 -07:00
Bobby Holley
e3ef16972d
Bug 738874 - Don't allow non-classinfo XPCWNs to be wrapped cross-compartment. r=mrbkap
2012-03-25 22:35:50 -07:00
Bobby Holley
3b2b440f54
Bug 735544 - Allow exception stacks to cross compartment boundaries. r=luke
2012-03-15 15:19:52 -07:00
Marco Bonardo
b7c136e7dc
Bug 722254 - Add an XPCOMUtils method to generate a singleton factory.
...
Use the new factory in Places js services, to ensure they can't be instanced multiple times.
r=bsmedberg
2012-02-07 10:17:42 +01:00
Brian Hackett
4f5cff94b3
Don't run compile-and-go scripts on globals with a cleared scope, bug 680456. r=dmandelin
2012-01-31 16:36:07 -08:00
Andrew McCreight
3d62207de2
Bug 693527 - tell the cycle collector about watchpoints. r=jorendorff
2012-01-27 17:13:21 -08:00
Luke Wagner
73a1588f02
Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8)
...
--HG--
extra : rebase_source : f6d2c2c6083f4589691ede571159bfd7e7ef8701
2011-07-18 14:54:48 -07:00
Josh Matthews
93504129e1
Bug 463122 - Propagate mozJSComponentLoader exceptions that occur while executing the script. r=mrbkap
2011-12-28 11:55:11 -05:00
Makoto Kato
4bd01ef782
Bug 711404 - Part a: Correctly handle unsigned long long as PRUint64 instead of PRInt64; r=bholley
2011-12-24 09:25:54 +01:00
Ms2ger
84ddd624f8
Bug 712649 - Components.utils.getWeakReference(null) should fail silently; r=bholley
2011-12-24 09:20:04 +01:00
Matt Brubeck
ac7dca5992
Merge mozilla-central to mozilla-inbound
2011-12-18 08:22:53 -08:00
Andrew McCreight
b8401845bd
Bug 711616 - QI wrapped native weak map keys to nsINode. r=jst
2011-12-17 22:11:04 -08:00
John Schoenick
34b5116fdd
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Ms2ger
b6f42e130c
Backed out changeset ba447ace2594 (bug 687679) for bustage.
2011-12-16 21:17:16 +01:00
John Schoenick
d2b02fa02e
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Andrew McCreight
541dcff9f2
Bug 680937, part 2 - Add native wrapper preservation hook, call it in WeakMap_set. r=billm
2011-12-15 17:45:21 -08:00
Bobby Holley
9440548e3f
Bug 711203 - enable XPConnect wstring test. r=khuey
2011-12-15 13:27:42 -08:00
Andrew McCreight
5ee90597ab
Bug 709162 - crash test for cycle collector dumping. rs=bholley a=mbrubeck
2011-12-14 16:02:12 -08:00