Commit Graph

324 Commits

Author SHA1 Message Date
Andrew McCreight
24b97f86af Bug 1143938 - Add listener argument to Components.utils.forceCC. r=smaug 2015-03-18 11:36:03 -07:00
Phil Ringnalda
d5d934be28 Merge f-t to m-c, a=merge 2015-03-07 19:38:53 -08:00
Paolo Amadini
f638425f9d Bug 1140435 - Part 2 - Allow JS code to provide an async stack when calling a function. r=bz 2015-03-07 13:30:34 +00:00
Jason Orendorff
85abad51f2 Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. r=efaust.
--HG--
extra : rebase_source : 44edb174028da6dbd637975e6358112060de535b
extra : amend_source : dd79490550af1370dac037057bdc2c06cb4c71f5
2015-01-30 13:56:15 -06:00
Wes Kocher
390b01dc2e Backed out changeset d7d9bbfa72c5 (bug 674779) for m-bc orange on a CLOSED TREE 2015-02-26 17:55:37 -08:00
David Rajchenbach-Teller
8d0fc0855c Bug 674779 - Add per-compartment CPU accounting. r=jandem, r=blassey, r=bz 2015-02-26 11:53:41 +01:00
Boris Zbarsky
aa57107ef2 Bug 1132187 part 3. Remove the WANT_CONVERT bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
0605bcb783 Bug 1132187 part 2. Remove the WANT_DELPROPERTY bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
ebbad0e9f4 Bug 1132187 part 1. Remove the totally unused WANT_CREATE bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
580807c19b Bug 1132184. Remove the nsIXPCScriptable postCreate and postTransplant hooks. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
f69290eaf6 Bug 1131801 part 2. Get rid of the now-useless RescueOrphansInScope. r=peterv 2015-02-13 14:34:53 -05:00
Boris Zbarsky
c7de70479f Bug 1131887 part 2. Remove the now-unused nsIXPConnect.reparentWrappedNativeIfFound. r=peterv 2015-02-13 14:34:53 -05:00
Wes Kocher
3af53039d1 Backed out changeset 38bcb731dba8 (bug 1131887) 2015-02-13 13:25:42 -08:00
Wes Kocher
8319eb47c6 Backed out changeset be654bd9e20d (bug 1131801) 2015-02-13 13:25:38 -08:00
Wes Kocher
cb7d8da562 Backed out changeset 6d9547a55557 (bug 1132184) 2015-02-13 13:25:36 -08:00
Wes Kocher
84682654cd Backed out changeset e5479c58d966 (bug 1132187) 2015-02-13 13:25:35 -08:00
Wes Kocher
cd6057f164 Backed out changeset 70b09a891a37 (bug 1132187) 2015-02-13 13:25:33 -08:00
Wes Kocher
4e40a28a6e Backed out changeset 9017975d0201 (bug 1132187) 2015-02-13 13:25:32 -08:00
Boris Zbarsky
a352d5c69e Bug 1132187 part 3. Remove the WANT_CONVERT bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
26bee4f820 Bug 1132187 part 2. Remove the WANT_DELPROPERTY bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
1c8e7c2015 Bug 1132187 part 1. Remove the totally unused WANT_CREATE bit. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
6a08acbbd1 Bug 1132184. Remove the nsIXPCScriptable postCreate and postTransplant hooks. r=peterv 2015-02-13 14:34:54 -05:00
Boris Zbarsky
3868298fd6 Bug 1131801 part 2. Get rid of the now-useless RescueOrphansInScope. r=peterv 2015-02-13 14:34:53 -05:00
Boris Zbarsky
3a8ff9079e Bug 1131887 part 2. Remove the now-unused nsIXPConnect.reparentWrappedNativeIfFound. r=peterv 2015-02-13 14:34:53 -05:00
Ms2ger
731bff666c Bug 1125901 - Part d: Remove unused nsIXPConnect.holdObject; r=bholley
It is now unused, so can be removed.
2015-02-04 09:41:41 +01:00
Ehsan Akhgari
59d99db61e Bug 1123108 - Mark nsIXPConnectWrappedNative::mIdentity as an nsCOMPtr; r=bholley 2015-01-22 17:54:54 -05:00
Trevor Saunders
6c486b0407 bug 1122100 - more MOZ_OVERRIDE in xpcomish stuff r=froydnj 2015-01-19 17:41:12 -05:00
Tom Schuster
9dfe5c2fd4 Bug 1097267 - Change the enumerate hook usage in XPC and browser. r=bholley 2014-12-11 19:31:10 +01:00
Tom Schuster
5dd32b3dd5 Bug 1097267 - Remove the DONT_ENUM_STATIC_PROPS flag from XPC. r=bholley 2014-12-11 19:31:10 +01:00
Mark Hammond
98b5b441cd Bug 287107 - make Components.returnCode be the xpcom nsresult if set by js components. r=bholley 2014-12-09 13:52:08 +11:00
Tom Schuster
bc28949aec Bug 993026 - Change XPIDLScriptable NewResolve to simpler Resolve. r=bholley 2014-11-08 01:07:12 +01:00
Bill McCloskey
7cf195d449 Bug 1091970 - [e10s] Cache object tag in add-on shims for remote objects (r=mrbkap) 2014-11-04 17:40:08 -08:00
Carsten "Tomcat" Book
e3f684b7a3 Backed out changeset 38ca6211d1d4 (bug 1091970) 2014-11-05 10:02:59 +01:00
Bill McCloskey
fe30fe6fd9 Bug 1091970 - [e10s] Cache object tag in add-on shims for remote objects (r=mrbkap) 2014-11-04 17:40:08 -08:00
Boris Zbarsky
170752efc2 Bug 1019191 part 14. Remove the now-unused HasBitInInterfacesBitmap and all the interfaces bitmap machinery that ends up unused as a result. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky
afbeda0759 Bug 1019191 part 1. Remove the dead finishInitForWrappedGlobal method. r=bholley 2014-10-22 11:40:46 -04:00
Bobby Holley
8e020623f3 Bug 1084245 - Introduce a hacky opt-out of the new security checks for MozTCPSocket. r=bz 2014-10-17 18:02:19 +02:00
Eric Rahm
83245fc00d Bug 1060171 - Part 1: Add log levels to nsIConsoleMessage. r=froydnj 2014-09-22 15:32:21 -07:00
Bobby Holley
9a78656a76 Bug 1052096 - Add an API to access the 'Location' string (used by memory reporters) of a compartment. r=billm 2014-09-12 17:41:18 -07:00
Bobby Holley
06cc2ae3c2 Bug 1062631 - Remove exception swallowing code in NS_ScriptErrorReporter. r=bz
See bug 1062631 comment 0.
2014-09-08 13:36:22 -07:00
Boris Zbarsky
12857de707 Bug 1063521. Remove the WANT_OUTER_OBJECT classinfo flag, since it's now unused. r=bholley 2014-09-08 10:05:11 -04:00
Boris Zbarsky
dfeaa19d76 Bug 969490. Add a Components.utils.now() that provides access in system JS to a monotonic timer, returning a fractional number milliseconds since process creation. r=bholley 2014-09-04 15:26:21 -04:00
Tom Schuster
901e429fff Bug 1045584 - Remove everything relating to frames from OldDebugAPI. r=jandem,bholley 2014-07-30 14:26:46 +02:00
Bobby Holley
6aa5f09145 Bug 1042840 - Remove evalInWindow. r=gabor 2014-07-28 11:19:25 -07:00
Bobby Holley
96f5760708 Bug 1038844 - Implement a COW opt-out for automation. r=gabor,sr=mrbkap 2014-07-17 21:34:48 -07:00
Bill McCloskey
926f8bfdd8 Bug 1017323 - Add-on interposition (r=bholley) 2014-07-14 22:10:05 -07:00
Boris Zbarsky
4c7f38333c Bug 1018583 part 2. Remove the returnStringOnly gunk from sandboxes. r=bholley 2014-07-04 01:22:50 -04:00
Carsten "Tomcat" Book
2271e217f3 Backed out changeset df2b43d4581e (bug 1018583) 2014-07-04 08:23:42 +02:00
Boris Zbarsky
3dc237819d Bug 1018583 part 2. Remove the returnStringOnly gunk from sandboxes. r=bholley 2014-07-04 01:22:50 -04:00
Bobby Holley
30506cb311 Bug 1032317 - Remove nsIXPConnect::InitClasses. r=gabor 2014-07-03 09:40:52 -07:00
Jim Blandy
e07aaa8185 Bug 800200: Remove references to JSD from outside js/jsd. r=mccr8,bholley,ted,smaug 2014-06-27 11:05:08 -07:00
Bobby Holley
81bc7fd4b5 Bug 1027131 - Use StackScopedClone for cloneInto. r=gabor 2014-06-23 13:25:08 -07:00
Bill McCloskey
904ef0cbaf Bug 990729 - No longer store addonId in sandbox metadata (r=bholley) 2014-06-21 11:54:37 -07:00
Andrew McCreight
50648bc638 Bug 1019101 - Add a way to get the max CC pause during a given period of time. r=smaug 2014-06-14 16:43:45 -07:00
Jason Orendorff
94981132ff Bug 1023109 - Update nsIXPCScriptable.idl UUID. (Interface changed in rev a470806c3553.) r=Waldo.
"[...] nothing can go wrong with this" --Jeff Walden.

--HG--
extra : rebase_source : 95640f61aae830080c96ff6db849b9da36ad4bcf
2014-06-10 12:20:11 -05:00
Bill McCloskey
6f5327bb6c Bug 1014993 - Add Cu.isCrossProcessWrapper (r=mrbkap) 2014-05-28 18:05:22 -07:00
Drew Willcoxon
c18470f959 Bug 1016721 - nsIXPCComponents_Utils.cloneInto's comment should mention cloneFunctions (plural), not cloneFunction. r=bholley 2014-05-28 17:07:33 -07:00
Nathan Froyd
b80b3999b9 Bug 1012748 - part 3 - remove nsIXPCSecurityManager; r=bholley 2014-05-19 12:59:30 -04:00
Girish Sharma
5b1b3f4f0c Bug 1004487 - Add Cu.isModuleLoaded method to know if a resource has been loaded via Cu.import, r=bholley 2014-05-15 23:52:45 +05:30
Bobby Holley
97779f0a27 Bug 1001198 - Explicitly create the SafeJSContext from XPConnect. r=gabor 2014-05-06 23:17:44 -07:00
Bobby Holley
2513cf740a Bug 1001198 - Explicitly fire up the SSM from nsXPConnect. r=gabor 2014-05-06 23:17:43 -07:00
Andrew McCreight
b89c24ee20 Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug 2014-05-06 17:25:26 -07:00
Jason Orendorff
4740c9dea6 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Bobby Holley
88cc67dc3b Bug 998083 - Introduce Cu.getObjectPrincipal and kill nsIScriptSecurityManager::GetObjectPrincipal. r=gabor 2014-04-19 10:39:59 -07:00
Fabrice Desré
b6c050f2c2 Bug 965970 - Add support to compile asm.js code at install/update time r=luke,bholley,marco 2014-04-17 22:03:03 -07:00
Ehsan Akhgari
186680d83a Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Bobby Holley
830107fc87 Bug 986940 - Remove Cu.createArrayIn. r=gabor 2014-03-24 11:30:20 -03:00
Bobby Holley
de8f0657d6 Bug 986940 - Remove Cu.createDateIn. r=gabor
When we switch ObjectWrapper.jsm to use Cu.cloneInto, this became unused.
2014-03-24 11:30:20 -03:00
Andrew McCreight
798ec9614e Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-20 12:55:40 -08:00
Andrew McCreight
6c86943613 Backout bug 966762 for Valgrind leaks 2014-02-19 17:17:58 -08:00
Andrew McCreight
7cd422c324 Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-19 13:27:15 -08:00
Bobby Holley
c8ca39b87d Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. 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
8f0f5028b0 Bug 968335 - Implement Cu.getWebIDLCallerPrincipal. r=bz 2014-02-14 16:13:38 -08:00
Bobby Holley
f209e98c03 Bug 969156 - Don't fire onNewGlobalObject until the end of nsGlobalWindow::SetNewDocument. r=bz 2014-02-10 10:03:56 -08:00
Andrea Marchesini
7c745b83df Bug 964293 - Implement Cu.cloneInto() method, r=bholley 2014-01-30 04:45:48 -08:00
Andrew McCreight
b8f0bd8317 Bug 963665 - Make nsIXPConnect noscript. r=bholley 2014-01-27 07:16:38 -08:00
Andrew McCreight
afb5cd4a63 Bug 963312 - Get JS engine telemetry values from Components.utils, not nsIXPConnect. r=bholley,taras 2014-01-26 07:57:00 -08:00
Bobby Holley
499b09923b Bug 957688 - Remove nsIXPCSecurityManager::CanAccess and nsScriptSecurityManager::CheckPropertyAccessImpl. r=mrbkap
\o/
2014-01-24 16:08:26 -08:00
Bobby Holley
63ace2357b Bug 957688 - Remove checkAccess nsIXPCScriptable hook. r=mrbkap 2014-01-24 16:08:25 -08:00
Andrea Marchesini
0ba0cf3428 Bug 958816 - UUIDs updated to make strings in nsIStackFrame API sane CLOSED TREE 2014-01-20 18:47:35 +01:00
Andrea Marchesini
b66fa0e177 Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-20 17:51:41 +01:00
Tom Schuster
f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Bobby Holley
8456c88c1c 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
94364e8227 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
2f2c1edb82 Bug 951948 - Remove most nsIXPCScriptable junk on nsXPCComponents. r=mrbkap 2014-01-14 18:49:28 -08:00
Bobby Holley
1583d450c9 Bug 951948 - Make nsJSID.initialize [noscript]. r=mrbkap
This lets us remove the usage of nsISecurityCheckedComponent. See the next patch.
2014-01-14 18:49:28 -08:00
Andrew McCreight
194d76d7e9 Bug 956455, part 3 - Remove the holder argument to nsXPConnect::WrapNativeToJSVal. r=gabor 2014-01-06 11:54:43 -08:00
Bobby Holley
9f6b17cb86 Bug 950909 - Tests. r=smaug 2013-12-19 18:08:07 -08:00
Bobby Holley
bdd70cb368 Bug 913734 - Stop storing security policies on XPCWrappedNativeProtos. r=mrbkap
This is just a cache, so we can safely remove it without impacting correctness.
The rest of this mechanism goes away in subsequent patches.
2013-12-13 19:15:43 -08:00
Bobby Holley
001073c3bb Bug 937317 - Tests. r=bz 2013-12-11 17:51:59 -08:00
Gabor Krizsanits
c72f579afd Bug 943357 - Name argument of exportFunction should be optional. r=bholley 2013-12-10 09:56:19 +01: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
8d45e8f483 Bug 937317 - Tests. r=bz 2013-12-06 12:01:43 -08:00
Carsten "Tomcat" Book
6a47cb092b Backed out changeset c84430c040dd (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:18 +01:00
Bobby Holley
14b961d31f Bug 937317 - Tests. r=bz 2013-12-05 21:34:18 -08:00
Gabor Krizsanits
a0942c44d4 Bug 939696 - isProxy for Cu. r=bholley 2013-11-26 14:54:02 +01:00
Terrence Cole
e609612139 Bug 940718 - Create the first safe JSContext in a GC safe location; r=bholley
--HG--
extra : rebase_source : fa6e43d8e194e21e1a5231050aa7a959d844edd5
2013-11-20 12:12:11 -08:00
Mike Hommey
26bc04d200 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Bobby Holley
358692053b 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