Commit Graph

74 Commits

Author SHA1 Message Date
Andrew McCreight
3ca5e94a9f Bug 963312 - Get JS engine telemetry values from Components.utils, not nsIXPConnect. r=bholley,taras 2014-01-26 07:57:00 -08:00
Andrea Marchesini
c06ff4f6c3 Bug 958816 - UUIDs updated to make strings in nsIStackFrame API sane CLOSED TREE 2014-01-20 18:47:35 +01:00
Andrea Marchesini
982b9946ab Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-20 17:51:41 +01:00
Bobby Holley
027454492b Bug 951948 - Add a way for automation to force the creation of a privileged Components object for an unprivileged scope. r=ted,r=mrbkap 2014-01-14 18:49:29 -08:00
Bobby Holley
8850e08477 Bug 951948 - Separate out the unprivileged parts of nsXPCComponents into a separate interface and class. r=mrbkap 2014-01-14 18:49:29 -08:00
Bobby Holley
c333d1b0ee Bug 951948 - Remove most nsIXPCScriptable junk on nsXPCComponents. r=mrbkap 2014-01-14 18:49:28 -08:00
Bobby Holley
75db31a8d0 Bug 950909 - Tests. r=smaug 2013-12-19 18:08:07 -08:00
Bobby Holley
4cb1f20d1c Bug 937317 - Tests. r=bz 2013-12-11 17:51:59 -08:00
Gabor Krizsanits
eac54db205 Bug 943357 - Name argument of exportFunction should be optional. r=bholley 2013-12-10 09:56:19 +01:00
Phil Ringnalda
d1ba8751f2 Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test 2013-12-07 11:08:56 -08:00
Bobby Holley
998a44edfd Bug 937317 - Tests. r=bz 2013-12-06 12:01:43 -08:00
Carsten "Tomcat" Book
1050b1f918 Backed out changeset c84430c040dd (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:18 +01:00
Bobby Holley
6a1939e899 Bug 937317 - Tests. r=bz 2013-12-05 21:34:18 -08:00
Gabor Krizsanits
8709d4fbb5 Bug 939696 - isProxy for Cu. r=bholley 2013-11-26 14:54:02 +01:00
Bobby Holley
260c41dfe4 Bug 840488 - Introduce a mechanism to temporarily or permanently block script for a given scope, and use it for unsafe channels. r=bz 2013-11-12 16:43:33 -08:00
Gabor Krizsanits
4b6ef2a00b Bug 930523 = createObjectIn should waive. r=bholley 2013-11-05 08:02:07 +01:00
Gabor Krizsanits
9294bf448c Bug 930910 - evalInWindow for Cu. r=bholley 2013-11-05 08:00:30 +01:00
Gabor Krizsanits
9e77af3a4e Bug 930910 - exportFunction for Cu. r=bholley 2013-11-05 08:00:20 +01:00
Gabor Krizsanits
f78fec5657 Bug 930910 - options object for Cu.createObjectIn. r=bholley 2013-11-05 08:00:05 +01:00
Bobby Holley
9b45a35973 Bug 920553 - Introduce Cu.importGlobalProperties API. r=gabor 2013-09-27 18:34:25 +02:00
Ryan VanderMeulen
b2d6edce8e Merge fx-team to m-c. 2013-09-11 21:48:20 -04:00
Bobby Holley
1ee49a7ca0 Bug 856437 - Remove lookupMethod API. r=gabor 2013-09-11 11:28:20 -07:00
Mike Hordecki
e88ff437a4 Bug 898559 - Add metadata API for add-on globals. r=bholley 2013-09-11 09:50:15 -04:00
Ehsan Akhgari
192f3ab926 Bug 913830 - Remove more unneeded #includes from the xpconnect IDL files; r=bholley 2013-09-09 22:37:37 +02:00
Bobby Holley
93442ca1ad Bug 870043 - Add a script-accessible statistics for various watchdog events. r=mrbkap
We need this even for testing wakeups, because we can't be certain that any
given operation callback was necessarily triggered from the watchdog thread
(since it's triggered from within the JS engine in various cases as well).
2013-07-24 15:33:31 -07:00
Jan de Mooij
2c2722d303 Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj
--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310
2013-05-22 14:50:45 +02:00
Bobby Holley
b9ee7a89bb Bug 868675 - Introduce a Cu API for waiving/unwaiving. r=gabor,sr=mrbkap
This should be the API we promote going forward.
2013-05-07 10:09:02 -07:00
Bobby Holley
0f42b12cb0 Bug 862918 - Add a utility method on Cu to get the class name of an object. r=bz
instanceof is behaving sketchily on modal window, and I want this test to be robust.
2013-04-19 09:49:57 -04:00
Nicholas Nethercote
7dd7050c41 Bug 842438 (part 1) - Remove @line support from SpiderMonkey. r=benjamin.
--HG--
extra : rebase_source : 38502ad54c97a0e16e6396f9f39df31b73d0e289
2013-03-11 14:27:34 -07:00
Boris Zbarsky
213f724948 Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending 2013-02-15 22:41:31 -05:00
Nicholas Nethercote
0bda4fcd31 Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
2d79942fa4 Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
46ba51002e Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!

--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Boris Zbarsky
0635656574 Bug 826423. Fix SpecialPowers.wrap() to reliably detect Xrays. r=peterv 2013-01-04 12:02:13 -05:00
Gene Lian
f48d0b7bff Bug 821633 - Alarm API - .getAll() need to wrap the objects respecting to the content window (part 1, ObjectWrapper.jsm and Cu.createDateIn()). r=sicking 2012-12-17 13:29:00 +08:00
Bobby Holley
52508e361a Bug 808608 - Rescue expando sharing tests. r=mrbkap
We have a very nice and robust infrastructure for per-origin expando sharing
for Xrays. Unfortunately, the only way to currently exercise it is with
Location objects, since those are the only objects with same-origin Xrays
(cross-origin Xrays don't allow expandos at all). Sandbox wantXrays would
almost work here, but we actually make an explicit exception for sandboxes
so that they never share expandos (the 'exlusive global' stuff).

I think the infrastructure is nice and that we may want it in the future, so
I don't really want to back it out. But I also don't want to leave it in the
tree untested. So I'm adding an explicit Cu API to force DOM compartments to
use same-origin Xrays. This allows us to keep testing this stuff, which I think
is important.
2012-11-21 13:20:04 -08:00
Nicolas B. Pierron
a0f4f2a053 Bug 810062 - Toggle JSOPTIONs before the compartment creation. r=bhackett 2012-11-19 18:07:20 -08:00
Benjamin Peterson
c1b83b29cb Bug 803358 - Remove JSOPTION_RELIMIT. r=luke 2012-10-18 21:06:42 -04:00
Bobby Holley
243891d310 Bug 792036 - Add a SpecialPowers API to provide access to the Components object in various forms. r=mrbkap,ted
Now that window.Components is no longer acccessible to page JS, we need a way
to access it in mochitests. So this patch provides SpecialPowers.Components,
which is the bonafide Components object for the window upon which SpecialPowers
is defined. It also provides SpecialPowers.{Cc,Ci,Cr,Cu}, which are SpecialPowers-wrapped
versions of their respective sub-objects (with the exception of Ci, which is unwrapped).
2012-09-24 14:46:27 +02:00
David Anderson
f3d3148ca7 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
David Anderson
0e509b2165 Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
Kyle Huey
018dc47367 Bug 781700: Don't hold strong references to databases from the synchronization queue, so that GCing a database will unblock waiting operations. r=bent
--HG--
extra : rebase_source : 2f1b2405ffc91831d33eb91e4b2d61c2b1ac872b
2012-08-10 09:15:02 -07:00
David Anderson
43e8426cf2 Merge from mozilla-central. 2012-07-24 16:32:08 -07:00
David Anderson
8a0fb8757b Merge from mozilla-central. 2012-07-20 12:02:04 -07:00
David Anderson
5977d0bae2 Merge from mozilla-central.
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-18 19:02:32 -07:00
Bobby Holley
75f3cd7c86 Bug 773962 - Introduce Cu.recomputeWrappers. r=mrbkap
It's sort of annoying to add this API just for tests, but there's not another
great way to trigger a compartment-wide transplant with Xray waivers
(since setting document.domain doesn't recompute wrappers to/from chrome, and
Xray waivers will stop being accessible to content entirely in bug 742444).
2012-07-23 15:51:18 +02:00
Justin Lebar
2170f814d5 Bug 773980 - Add Components.utils.isDeadWrapper. r=bholley
--HG--
rename : js/xpconnect/tests/Makefile.in => js/xpconnect/tests/browser/Makefile.in
2012-07-19 12:39:43 -04:00
Gabor Krizsanits
ce3fab5c93 Bug 769273 - part3: Cu.nukeSandbox. r=bholley 2012-07-17 17:41:07 +02:00
David Anderson
2b66c77b6a Merge from mozilla-central.
--HG--
rename : accessible/src/msaa/CAccessibleText.cpp => accessible/src/msaa/ia2AccessibleText.cpp
rename : accessible/src/msaa/CAccessibleText.h => accessible/src/msaa/ia2AccessibleText.h
2012-06-20 17:36:56 -07:00
Fabrice Desré
7a73ff8ad0 Bug 766378 - adds a createArrayIn() call to create JS arrays in a given scope [r=mrbkap] 2012-06-19 16:54:46 -07:00