Bobby Holley
e70ddb7476
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Seth Fowler
0fd6e994ae
Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
...
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Boris Zbarsky
d519374494
Bug 1019149. For calls into JS-implemented WebIDL, don't check whether it's OK to run the script (it is) and whether the script lives in a window (it doesn't). r=bholley
2014-06-03 11:38:37 -04:00
Boris Zbarsky
490d4fc9b2
Bug 1019091. Do less work in the CallSetup destructor when we have no exception. r=bholley
2014-06-03 11:38:37 -04:00
Terrence Cole
e82db4c03a
Bug 1013531 - Clarify the naming of the rooting analysis supression guards; r=sfink
...
--HG--
extra : rebase_source : 95229e907222dd7335f92ae13dd83f1065eabf58
2014-05-28 17:34:36 -07:00
Ryan VanderMeulen
5822c2ae12
Backed out changeset 0d61bcf08362 (bug 1013531) for bustage.
...
CLOSED TREE
2014-05-29 13:26:55 -04:00
Terrence Cole
a3d66fba38
Bug 1013531 - Clarify the naming of the rooting analysis supression guards; r=sfink
...
--HG--
extra : rebase_source : ce44e4a4428414a132eae7167c485ff366b1f0a6
2014-05-28 17:34:36 -07:00
Nick Lebedev
c49e263d0f
Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley
2014-05-13 11:58:00 +02:00
Boris Zbarsky
865b9215f3
Bug 978618. Fix error reporting for unintended XPConnect exceptions thrown by JS-implemented webidl to actually work correctly. r=bholley
2014-03-05 08:32:27 -05:00
Bobby Holley
c8041c17a7
Bug 975419 - Trace the Incumbent Global from a CallbackObject (but check it too, just to be safe). r=bz,mccr8
2014-03-03 08:53:42 -08:00
Bobby Holley
e5ad98ec72
Bug 968335 - Implement GetCallerPrincipalOverride. r=bz
2014-02-14 22:36:44 -08:00
Phil Ringnalda
4d898ac6fc
Back out 4fc776ee6852:6a0ebe4ddd01 (bug 968335) and e7d697004921 (bug 923904) for b2g emulator build bustage
...
CLOSED TREE
2014-02-14 18:35:30 -08:00
Bobby Holley
c0fe9cb542
Bug 968335 - Implement GetCallerPrincipalOverride. r=bz
2014-02-14 16:13:38 -08:00
Olli Pettay
0eb04a40df
Bug 963285 - CallSetup may set context options but not restore them , r=bz
2014-01-24 00:56:50 +02:00
Terrence Cole
5f6e9be3fb
Bug 955660 - Fix an exact rooting hazard in CallSetup; r=bz
2013-12-31 08:30:57 -08:00
Steve Fink
a710319696
Backed out changeset f71e6905567f (bug 952688)
...
--HG--
extra : rebase_source : 8d66cb74d228fd4e34c72afab98132bf1d2ba549
2013-12-20 16:46:31 -08:00
Steve Fink
abb96de92a
Bug 952688 - Root CallbackObject's CallSetup around GlobalScope() call, r=terrence
2013-12-20 16:07:00 -08:00
Bobby Holley
3e1858537b
Bug 950909 - Forward native aggregation to the root XPCWrappedJS. r=mccr8,sr=smaug
2013-12-19 18:08:07 -08:00
Bobby Holley
5bd2767e3a
Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
...
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-11 17:51:58 -08:00
Bobby Holley
3b27d85d5f
Bug 937317 - Pass the entire CallbackObject to CallSetup. r=bz
...
We need this so that we can grab the incumbent global that we stashed on the
CallbackObject.
2013-12-11 17:51:57 -08:00
Bobby Holley
d6f35ca2ac
Bug 937317 - Factor out the shareable parts of CallSetup into AutoEntryScript and AutoIncubentScript. r=bz
2013-12-11 17:51:57 -08:00
Phil Ringnalda
cacf62c269
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
78f90c96fa
Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
...
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-06 12:01:42 -08:00
Bobby Holley
d29d61de41
Bug 937317 - Pass the entire CallbackObject to CallSetup. r=bz
...
We need this so that we can grab the incumbent global that we stashed on the
CallbackObject.
2013-12-06 12:01:42 -08:00
Bobby Holley
96186598dc
Bug 937317 - Factor out the shareable parts of CallSetup into AutoEntryScript and AutoIncubentScript. r=bz
2013-12-06 12:01:41 -08:00
Carsten "Tomcat" Book
2f0f6d99a7
Backed out changeset f65970fe598f (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:42:48 +01:00
Carsten "Tomcat" Book
25d7777933
Backed out changeset 1156b23f333f (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:42:07 +01:00
Carsten "Tomcat" Book
928b1a0621
Backed out changeset 767065f0560b (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:59 +01:00
Bobby Holley
cff106e954
Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
...
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-05 21:34:17 -08:00
Bobby Holley
e23b983161
Bug 937317 - Pass the entire CallbackObject to CallSetup. r=bz
...
We need this so that we can grab the incumbent global that we stashed on the
CallbackObject.
2013-12-05 21:34:17 -08:00
Bobby Holley
62118215d7
Bug 937317 - Factor out the shareable parts of CallSetup into AutoEntryScript and AutoIncubentScript. r=bz
2013-12-05 21:34:16 -08:00
Olli Pettay
2ad7b8f672
Additional fix for Bug 943613, r=bz
...
--HG--
extra : rebase_source : 5a635b26e6ee26d20de88f056136d4a3d0a8e0fe
2013-11-27 18:21:00 +02:00
Olli Pettay
6729b9e7ff
Bug 943613 - Notify JS implemented Event Target when an event listener is added / removed, r=bz
...
--HG--
extra : rebase_source : 3285e318ca454297f4a9f06c86e733ddf70f4cf8
2013-11-27 17:22:16 +02:00
Boris Zbarsky
299e9bc2b3
Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug
2013-11-21 07:51:16 -05:00
Bobby Holley
d149235527
Bug 939166 - Stop going through nsIScriptGlobalObject in CallSetup. r=bz
2013-11-20 08:48:00 -08:00
Bobby Holley
a17328e5cc
Bug 840488 - Remove CheckFunctionAccess. r=bz
...
\o/
Aside from checking whether script is enabled, all the other work this function
does is silly.
2013-11-12 16:43:32 -08:00
Eddy Bruel
1ed81b38c5
Bug 880330 - Refactor dom to use the new options API (2/2); r=khuey
2013-10-28 12:51:05 +01:00
Jon Coppeard
692778cddf
Bug 917798 - Handlify JS exception APIs r=terrence r=bz
2013-09-19 08:54:01 +01:00
Nikhil Marathe
ae7fc7fa18
Bug 901291 - Get WebIDL callbacks working on Workers. r=khuey
2013-09-09 14:58:29 -07:00
Kyle Huey
888aba875b
Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8
2013-09-08 20:28:48 -07:00
Peter Van der Beken
b174788298
Bug 905392 - Need way to throw web-console-visible exception-message from JS-implemented webidl object. r=bz.
2013-09-03 14:01:53 +02:00
Bobby Holley
0846601377
Bug 903212 - Remove ScriptEvaluated, and simplify callers. r=mrbkap
2013-08-14 14:00:03 -07:00
Mike Hommey
2e729aa83d
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Bobby Holley
44080291f9
Bug 883450 - Re-order stuff in CallSetup so that we construct the RootedObject after the Push. r=bz
2013-06-20 11:05:34 -07:00
Bobby Holley
da316c6a98
Bug 877261 - Stop taking a cx in XPCWrappedJS::GetNewOrUsed. r=Ms2ger
...
Some of these callers seem to be passing a ccx when they don't need to, but
let's just remove the param all together for consistency.
2013-06-04 21:11:19 -07:00
Bobby Holley
f2943090bd
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
cdde50556c
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Boris Zbarsky
e2a1e61323
Bug 874105. Make CallSetup hold a Rooted to the object it's constructed with so we don't have to worry about it going gray while things like argument conversion for the call are in progress. r=mccr8
2013-05-21 14:15:29 -04:00