Commit Graph

3976 Commits

Author SHA1 Message Date
Boris Zbarsky
dae60ad74d 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
72d84e295c Bug 1017424 part 9. Remove redundant xpconnect code looking for ChromeWindow/ModalContentWindow classes. r=bholley 2014-09-05 14:28:46 -04:00
Boris Zbarsky
291c91ca15 Bug 1017424 part 7. Remove code to handle XPConnect window wrappers from WindowNamedPropertiesHandler and XPCJSRuntime. r=peterv 2014-09-05 14:28:45 -04:00
Boris Zbarsky
34e5d52a93 Bug 1017424 part 5. Remove classinfo for Window. r=peterv 2014-09-05 14:28:45 -04:00
Boris Zbarsky
606d8e7d30 Bug 1017424 part 4. Remove Web IDL quickstubs for Window. r=peterv 2014-09-05 14:28:44 -04:00
Boris Zbarsky
f9250dfe0d 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
Mike Hommey
fc99c53ae5 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Bobby Holley
c5fd483020 Bug 1051224 - Add an opt-out for cross-origin argument checking. r=gabor 2014-09-03 13:02:36 -07:00
Ehsan Akhgari
10583ebaa1 Bug 1060977 - Fix more bad implicit constructors in xpconnect; r=smaug 2014-08-31 21:06:35 -04:00
Eric Faust
dd4eb066b2 Bug 1027425 - Make all Proxy handler constructors use MOZ_CONSTEXPR. (r=bz, r=froydnj) 2014-08-28 13:47:16 -07:00
Eric Faust
33d3cc6444 Bug 1017862 - Remove virtual destructor from BaseProxyHandler. (r=jorendorff) 2014-08-28 13:30:56 -07:00
David Major
fe73a6c3fb Bug 1023941 - Part 5: Loader hook to redirect the missing import. r=bsmedberg
--HG--
extra : rebase_source : 7cf2e857f51dcfcc95bb806d49ef13b794f5ba5b
2014-08-28 14:53:38 +12:00
Nicholas Nethercote
8b3951c20f Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Terrence Cole
9cd68fdbee Bug 1057140 - Revert JS_realloc bustage from bug 1033442; r=sfink 2014-08-25 12:28:38 -07:00
Andrew McCreight
e22baa3a1e Bug 1052626, part 2 - Report the total size of nsXPCWrappedJS. r=bholley,froydnj 2014-08-25 12:34:00 -07:00
Andrew McCreight
eb17f3480d Bug 1052626, part 1 - Outline and constify JSObject2WrappedJSMap::SizeOfIncludingThis. r=njn 2014-08-25 12:34:00 -07:00
Nicholas Nethercote
cf5ec4adfc Bug 1023719 - Report notable classes in the JS memory reporter. r=till.
--HG--
extra : rebase_source : 3139b17f6a660f460adb820c390368dc8367069a
2014-04-15 19:43:18 -07:00
Chris Peterson
cb633d73b2 Bug 1054630 - Collect telemetry on usage of SpiderMonkey's deprecated language extensions: for-each, destructuring for-in, legacy generators, and expression closures. r=till 2014-08-24 11:56:08 -07:00
Nigel Babu
ae2a8f86a1 Backed out 6 changesets (bug 1054630) for hazards bustage ON A CLOSED TREE
Backed out changeset 684b95601155 (bug 1054630)
Backed out changeset e656c61ecd70 (bug 1054630)
Backed out changeset fa6d52a0cfea (bug 1054630)
Backed out changeset 19d115a44912 (bug 1054630)
Backed out changeset 0bceb044a4de (bug 1054630)
Backed out changeset be39ba3aa672 (bug 1054630)
2014-08-24 16:33:36 +05:30
Chris Peterson
04231a9a9d Bug 1054630 - Part 5b: Collect telemetry on usage of SpiderMonkey's deprecated expression closures. r=till 2014-08-17 17:22:42 -07:00
Chris Peterson
8314f6540a Bug 1054630 - Part 4: Collect telemetry on usage of SpiderMonkey's deprecated legacy generators. r=till 2014-08-17 17:17:03 -07:00
Chris Peterson
47a40cf9c8 Bug 1054630 - Part 3: Collect telemetry on usage of SpiderMonkey's deprecated destructuring for-in. r=till 2014-08-17 17:13:12 -07:00
Chris Peterson
d68b904757 Bug 1054630 - Part 2: Collect telemetry on usage of SpiderMonkey's deprecated for-each. r=till 2014-08-17 17:12:35 -07:00
Chris Peterson
3b4765acc2 Bug 1054630 - Part 1: Add plumbing for SpiderMonkey parser telemetry. r=till 2014-08-23 13:35:17 -07:00
Mike Hommey
df40db63a5 Bug 1041941 - Use templates for Gecko XPCOM components. r=gps 2014-08-24 09:11:05 +09:00
Bobby Holley
9bd29258b4 Bug 1056332 - Remove cross-global adopt telemetry. r=gabor 2014-08-23 09:01:50 +02:00
Peter Van der Beken
fc635bef9a Bug 1041731 - Unforgeable Xrayed methods aren't getting cached on the holder. r=bholley.
--HG--
extra : rebase_source : 9e86ba2d864e6894cc10722ddaf83ded41d88e42
2014-08-22 11:25:07 +02:00
Jeff Walden
5c6736a43a Bug 969478 - Make the arguments/caller properties of functions be entirely implemented by accessors living on Function.prototype. r=jorendorff
--HG--
extra : rebase_source : 258c158f041f673b201ca3cd978e1522a1887311
2014-08-01 19:11:22 -07:00
Rishab Arora
6eec2504bb Bug 1021379 - Renamed typed arrays' move method to copyWithin, fixed up to ES6 semantics. r=till, r=jwalden
--HG--
extra : rebase_source : deae33f4603ef3c40a2d214b0426bb0756b5307a
2014-07-10 11:49:22 +05:30
Ed Morley
5e7dc0a427 Backed out changeset f2da252a9248 (bug 1054630) 2014-08-22 09:28:38 +01:00
Chris Peterson
d8f89ab9fd Bug 1054630 - Part 1: Add plumbing for SpiderMonkey parser telemetry. r=till 2014-08-11 23:17:44 -07:00
Trevor Saunders
86b7aff8fc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Bobby Holley
354fc3883c Bug 981218 - Remove default compartment objects. r=luke
\o/
2014-08-21 17:13:51 -07:00
Bill McCloskey
1418f34a28 Bug 1008107 - Allow SandboxPrivate to be null in sandbox_finalize (r=bz) 2014-08-21 13:29:20 -07:00
Bill McCloskey
d3390cb4aa Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 18:14:56 -07:00
Wes Kocher
f1646bf5bb Backed out changeset 2a9cfbab0adc (bug 1053999) for Windows build bustage on a CLOSED TREE 2014-08-20 16:08:04 -07:00
Bill McCloskey
07fa0dbfeb Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 15:16:07 -07:00
Bobby Holley
b4f76ad447 Bug 821573 - Stop allowing COWs as native interfaces. r=gabor 2014-08-20 12:06:52 -07:00
Bobby Holley
0311441e18 Bug 1050340 - Tests. r=gabor 2014-08-18 14:18:40 -07:00
Bobby Holley
0cde03f09c Bug 1050340 - Stop doing a CheckedUnwrap while crawling the object graph in Structured Clone. r=luke
\o/
2014-08-18 14:18:40 -07:00
Bobby Holley
650a9f4c18 Bug 1050340 - Do a CheckedUnwrap in xpc::IsReflector. r=gabor
This matches the behavior of UnwrapReflectorToISupports, and makes all of the
structured clone callbacks scattered throughout Gecko compatible with wrappers
that have not already had CheckedUnwrap invoked on them.
2014-08-18 14:18:39 -07:00
Dan Gohman
875b3dcb01 Bug 1054334 - Constify xpconnect's gNoString r=nbp 2014-08-18 12:20:42 -07:00
Dan Gohman
d4dcf10a95 Bug 1054334 - SpiderMonkey: Eliminate unnecessary parentheses around return values r=nbp 2014-08-18 12:20:40 -07:00
Dan Gohman
70a7c8657e Bug 1054334 - SpiderMonkey: Delete unneeded semicolons r=nbp 2014-08-18 12:20:39 -07:00
Bobby Holley
0cb72d2e6c Bug 1052089 - Swap out the SafeJSContextGlobal for the new UnprivilegedJunkScope. r=billm 2014-08-18 10:57:30 -07:00
Bobby Holley
4c2d9e0211 Bug 1052089 - Rename JunkScope to PrivilegedJunkScope and remove fallibility of singleton scope access. r=billm
These two things ended up getting mushed together in my tree.
2014-08-18 10:57:30 -07:00
Bobby Holley
0a751ae4d7 Bug 1052089 - Infallibly init singleton scopes in the XPCJSRuntime constructor. r=billm
We've had some problems with GetJunkScope returning null and causing crashes in
the past, but I'm now pretty convinced that just null-checking it isn't the
answer. Rather than creating it lazily, we should create it at a defined point
in startup. Any problems will then be much more reproducible, and we can track
them down and fix them.
2014-08-18 10:57:30 -07:00
Bobby Holley
bfe01a01cf Bug 1052089 - Make the junk scope invisible to the debugger and Components-less. r=billm
This prevents the JS engine from trying to fire off debugger notifications and
do other complicated things when we create this thing early in startup in the
upcoming patches.
2014-08-18 10:57:30 -07:00
Bobby Holley
ff340370af Bug 1052089 - Don't fuss around with remote-XUL XBL-scope special cases for sandboxes. r=billm 2014-08-18 10:57:29 -07:00
Bobby Holley
e90a53352c Bug 1052089 - Don't require the cx to be in a compartment during sandbox creation. r=billm 2014-08-18 10:57:29 -07:00