Commit Graph

43 Commits

Author SHA1 Message Date
Bobby Holley
516a8b2f4c Bug 1052052 - Hoist AutoCxPusher into ScriptSettings.h. r=gabor 2014-08-14 12:53:52 -07:00
Seth Fowler
9df3dafe56 Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Bobby Holley
63bfd2eb94 Bug 1052042 - Move the pre-pop GC to AutoEntryScript. r=billm 2014-08-13 15:36:44 -07:00
Bobby Holley
8c4bd13859 Bug 1052042 - Make AutoJSAPI MOZ_STACK_CLASS. r=billm
We're about to give AutoEntryScript (a subclass) a non-virtual destructor, which
is safe so long as these things are only stack-allocated.
2014-08-13 15:36:43 -07:00
Ehsan Akhgari
a7a241f207 Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Bob Owen
bb3d91a4eb Bug 1037564 Part 2: Replace AutoPushJSContexts et al. in nsXBLPrototypeHandler. r=bholley 2014-07-18 12:52:32 +01:00
Olli Pettay
2091da9022 Bug 1029866 - Rename InitUsingWin(...) to Init(...), r=bobowencode
--HG--
extra : rebase_source : e04aac99fe64270f283cf49ed52b8f7512a2fa3b
2014-06-25 13:17:17 +03:00
Bob Owen
2aaffc99ec Bug 1025476 - Part 1: Add compulsory Init functions to AutoJSAPI. r=bholley 2014-06-19 08:21:14 +01:00
Jim Blandy
b546e7c699 Bug 971673: Replace ScriptSettingsStack's array with a C++-stack-allocated linked list. r=bholley 2014-06-12 23:24:13 -07:00
Bobby Holley
efcf015b2b Bug 990090 - Add a version of AutoJSAPIWithErrorsReportedToWindow that takes an nsIGlobalObject. r=bz 2014-06-12 10:02:33 -07:00
Boris Zbarsky
28594997c0 Bug 1019163. Hold a weak ref to the principal in AutoEntryScript, to reduce call overhead. r=bholley 2014-06-04 22:48:06 -04:00
Bobby Holley
a81ce7e83c Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Bobby Holley
1655b3aa4f Bug 989528 - Introduce AutoJSAPIWithErrorsReportedToWindow as a replacement for AutoPushJSContextForErrorReporting. r=bz 2014-04-14 20:26:59 -07:00
Bobby Holley
6ecb59c370 Bug 989528 - Implement AutoJSAPI. r=bz 2014-04-14 20:26:59 -07:00
Bobby Holley
8f8a05d68e Bug 978042 - Make AutoEntryScript usable as a JSContext* and add some assertions. r=bz 2014-03-20 10:19:43 -04:00
Bobby Holley
bfbb0757c7 Bug 968460 - Use the incumbent global for nsGlobalWindow::GetCallerGlobal and remove JS_GetScriptedGlobal. r=bz 2014-02-14 22:39:33 -08:00
Bobby Holley
7df867acf9 Bug 968335 - Implement GetCallerPrincipalOverride. r=bz 2014-02-14 22:36:44 -08:00
Bobby Holley
cbd65e36d6 Bug 968335 - Make Auto{Entry,Incumbent}Global inherit ScriptSettingsStackEntry. r=bz
This will allow us to downcast from a stack entry to an AutoEntryGlobal, and
thereby get at the AutoCxPusher.
2014-02-14 22:36:43 -08:00
Bobby Holley
e8d850c291 Bug 968335 - Use an AutoCxPusher directly in Auto{Entry,Incumbent}Global. r=bz
This will let us ask whether the AutoCxPusher is stack-top.
2014-02-14 22:36:43 -08:00
Phil Ringnalda
f2630e3d05 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
7149c177ee Bug 968335 - Implement GetCallerPrincipalOverride. r=bz 2014-02-14 16:13:38 -08:00
Bobby Holley
6c95fae0b3 Bug 968335 - Make Auto{Entry,Incumbent}Global inherit ScriptSettingsStackEntry. r=bz
This will allow us to downcast from a stack entry to an AutoEntryGlobal, and
thereby get at the AutoCxPusher.
2014-02-14 16:13:37 -08:00
Bobby Holley
36891c136e Bug 968335 - Use an AutoCxPusher directly in Auto{Entry,Incumbent}Global. r=bz
This will let us ask whether the AutoCxPusher is stack-top.
2014-02-14 16:13:37 -08:00
Andrea Marchesini
a78e19a577 Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 19:53:31 +01:00
Wes Kocher
1789589121 Backed out changeset e451b39305f6 (bug 949488) for breaking mochitest-8 on at least b2g 2014-01-06 18:10:34 -08:00
Andrea Marchesini
80df46356b Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 00:05:01 +01:00
Bobby Holley
332db76fde Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-11 17:51:57 -08:00
Bobby Holley
58b3fbc1df Bug 937317 - Manipulate the script settings stack from the RAII classes. r=bz 2013-12-11 17:51:57 -08:00
Bobby Holley
acafd45da4 Bug 937317 - Implement basic script settings stack machinery. r=bz 2013-12-11 17:51:57 -08:00
Bobby Holley
b0193d7cfc 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
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
1a8a1b2498 Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-06 12:01:42 -08:00
Bobby Holley
b46c066b97 Bug 937317 - Manipulate the script settings stack from the RAII classes. r=bz 2013-12-06 12:01:42 -08:00
Bobby Holley
1638458354 Bug 937317 - Implement basic script settings stack machinery. r=bz 2013-12-06 12:01:41 -08:00
Bobby Holley
d741772187 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
7ce9485f88 Backed out changeset f65970fe598f (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:42:48 +01:00
Carsten "Tomcat" Book
7a75e7c08a Backed out changeset 004fa11e352a (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:42:40 +01:00
Carsten "Tomcat" Book
cc051705a9 Backed out changeset 1f45be0c2485 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:42:31 +01:00
Carsten "Tomcat" Book
f2423ebd61 Backed out changeset cad77af5f7e6 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:42:20 +01:00
Bobby Holley
550f45cbab Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-05 21:34:16 -08:00
Bobby Holley
286a469f49 Bug 937317 - Manipulate the script settings stack from the RAII classes. r=bz 2013-12-05 21:34:16 -08:00
Bobby Holley
c311c9dc85 Bug 937317 - Implement basic script settings stack machinery. r=bz 2013-12-05 21:34:16 -08:00
Bobby Holley
04c4f10a48 Bug 937317 - Factor out the shareable parts of CallSetup into AutoEntryScript and AutoIncubentScript. r=bz 2013-12-05 21:34:16 -08:00