Commit Graph

32251 Commits

Author SHA1 Message Date
Kyle Huey
e690de14af Bug 810987: When sharing a global, don't import properties onto the global, import them onto the appropriate 'this' object. r=mrbkap
--HG--
extra : rebase_source : c3a92d4197831fa3061bf3f01b7cc610cc89e867
2012-11-13 11:13:27 -08:00
Kyle Huey
437ea18f52 Backout Bug 810987. 2012-11-13 10:27:37 -08:00
Kyle Huey
1605b8037a Backed out changeset 62886fd1aaa4 2012-11-13 10:25:24 -08:00
Kyle Huey
a63f21401a Bug 810987: Followup bustage fix. 2012-11-13 10:24:08 -08:00
Till Schneidereit
aae89c91b3 Bug 784294 - Convert some array extras to self-hosted js implementations. r=Waldo
The following methods are converted:
- lastIndexOf
- indexOf
- forEach
- some
- every
- reduce
- reduceRight

--HG--
extra : rebase_source : 7dd5dc4167c505c6d02823d2d8d8c7da0cf0e237
2012-08-28 14:35:15 +02:00
Till Schneidereit
7343e1d424 Bug 791850 - Lazily clone self-hosted methods installed via js_DefineFunction. r=luke
--HG--
extra : rebase_source : e350e006484af8bc41e8bebe9a2d3842cebe91b9
2012-09-18 22:11:37 +02:00
Hannes Verschore
5a46e283d2 Bug 809390: Improve range analysis on bitand, r=mjrosenb 2012-11-13 18:27:54 +01:00
Kyle Huey
f6db28c28a Bug 810987: When sharing a global, don't import properties onto the global, import them onto the appropriate 'this' object. r=mrbkap 2012-11-13 08:57:44 -08:00
Ed Morley
6c4fbc534b Backout bcb591d32bd6 (bug 809674) on suspicion of breaking B2G marionette-webapi 2012-11-13 13:48:21 +00:00
Hannes Verschore
3cf9adf644 Bug 806298: Follow-up fix to unregress kraken-dft, r=jandem 2012-11-13 11:46:06 +01:00
Hannes Verschore
42483631ba Bug 806298: Disable recompile check for constructing JM calls, r=dvander 2012-11-13 09:45:35 +01:00
Phil Ringnalda
7d33676bf3 Merge m-c to m-i 2012-11-12 21:08:17 -08:00
Phil Ringnalda
1129de0ed7 Back out 08fd9aa0d6e1 (bug 810102) for turning bug 728834 permaorange 2012-11-12 21:01:17 -08:00
Ryan VanderMeulen
5f0fd7aeda Backed out de9fff3a523, c567df2244f5, 8e3d976d5dc5, and c7499faaec23 (bug 800915) for bustage.
--HG--
extra : rebase_source : c823063bfa31d59d32b3402bd4b458b84b703cd5
2012-11-12 21:43:39 -05:00
Bobby Holley
2e39ac86be Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
If callers want to throw, it's now their responsibility.
2012-11-12 17:35:32 -08:00
Bobby Holley
59915360cc Bug 800915 - Reimplement PUNCTURE consumers in terms of isSafeToUnwrap() and remove PUNCTURE API. r=mrbkap 2012-11-12 17:35:32 -08:00
Bobby Holley
118da73481 Bug 800915 - Add infrastructure to flag security wrappers as unsafe to unwrap. r=mrbkap 2012-11-12 17:35:32 -08:00
Bobby Holley
b892d5b7f5 Bug 800915 - Clarify and refine the semantics of SecurityWrapper so that it is used if and only if unwrapping is unsafe. r=mrbkap
The naming scheme for Xray typedefs is the concatenation of the tuple:
({SC,}, {Security,Permissive}, Xray, {XPCWN,DOM}). This is admittedly a bit
much, but I think it's still better than explicitly doing the "typdef Foo Xray"
everywhere. Moreover, once the new DOM bindings are done, the last component
in the tuple will go away.
2012-11-12 17:35:31 -08:00
Makoto Kato
05ff1bb2bb Bug 810661 - Turn off PGO of Ctypes.cpp. r=khuey 2012-11-13 10:22:05 +09:00
Kannan Vijayan
d3a0b15f29 Bug 803730 - Fix boxing of object input in instanceOf checks. r=sstangl,dvander 2012-11-12 19:40:18 -05:00
Bobby Holley
b12489b1f9 Bug 809674 - Fail at call time when invoking an XPCWrappedJS method with [implicit_jscontext] or [optional_argc]. r=mrbkap
I think this is the path of least resistance here.
2012-11-12 16:17:24 -08:00
Bobby Holley
380b933b23 Bug 810743 - First check for pending exceptions, _then_ examine the invoke result. r=mrbkap 2012-11-12 16:17:24 -08:00
Luke Wagner
24bb8ac700 Bug 810192 - don't require a default constructor for Hash{Map,Set}; only construct objects for live elements (r=terrence) 2012-11-12 15:30:39 -08:00
Bill McCloskey
849c947155 Bug 810560 - Followup (r=luke) 2012-11-12 15:17:01 -08:00
Bill McCloskey
0437a8fe30 Bug 810560 - Fix scheduledForDestruction assertion (r=luke)
--HG--
extra : rebase_source : 6c25ad6b505e818d66f1caaea907c55355f7559a
2012-11-12 14:57:53 -08:00
Jeff Walden
2ba13eb1a0 Warning patrol: change the type of a variable to that of the value assigned to it, remove a set-but-never-used variable. No bug, r=sparky 2012-11-12 13:40:29 -08:00
Norbert Lindenberg
01c75ee215 Bug 769872 - Add C++ core of Intl object and constructors Collator, NumberFormat, DateTimeFormat. However, disable initialization of Intl object and its constructors while functionality is incomplete. r=jwalden 2012-11-12 13:23:01 -08:00
Terrence Cole
66d39084cd Bug 810102 - Exactly root all BaseShape; r=sfink 2012-11-08 15:35:48 -08:00
Peter Van der Beken
b2ba5959ec Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Nicholas D. Matsakis
a79a5c58ad Bug 800064 - Fix the units of computation in the shell watchdog. r=terrence 2012-11-11 07:07:07 -05:00
Brian Smith
5977555bd6 Bug 799009: Remove unneeded SSL-related security alerts, r=honzab, r=dao 2012-11-10 20:49:44 -08:00
Brian Smith
5bd1df9e3f Bug 799007: Remove support for low/weak/null cipher suites, r=honzab, r=dao 2012-11-10 20:49:29 -08:00
Brian Smith
a71cf40b82 backout cset b36d5c933092 due to orange 2012-11-10 19:09:07 -08:00
Brian Smith
e75ead1bc2 backout cset 30f8e29f9cd1 due to orange 2012-11-10 19:08:26 -08:00
Brian Smith
661fa55dce Bug 799009: Remove unneeded SSL-related security alerts, r=honzab, r=dao
--HG--
extra : rebase_source : b6216bf3163f63f1eb4f16901943d9f351bca2cf
2012-11-10 18:19:55 -08:00
Brian Smith
3c7bd35add Bug 799007: Remove support for low/weak/null cipher suites, r=honzab, r=dao
--HG--
extra : rebase_source : 822ef336a5cdeb7d6693dbe46844a26465600854
2012-11-10 18:18:14 -08:00
Brian Smith
cbbae4e698 Bug 804441: Put our NSPR and NSS header wrappers before OS_INCLUDES, r=ted
This allows inline functions in headers to call NSPR/NSS functions without
causing linking errors.

--HG--
extra : rebase_source : f89df8a53d6e8f624c84fc3b84982c4dd92d5f38
2012-10-24 14:31:54 -07:00
Matt Joras
0c3a8afe00 Bug 798033 - Removes 'using namespace' from js headers - r=billm 2012-11-10 10:46:01 -05:00
Bill McCloskey
405d5a5606 Bug 803376 - Add a new form of TRANSPLANT GC, with assertions for leaks (r=luke)
--HG--
extra : rebase_source : 5cd365e2b3917ad3b649a39613ab9dae47d27320
2012-11-09 11:44:21 -08:00
Terrence Cole
c458934d6c Bug 805080 - Move more API users to CompileOptions; r=luke
There is no reason to have special methods for specific sets of CompileOptions
when the JS::Compile interface is so easy to use.  Other API methods can be
moved internal or removed entirely with this change.

--HG--
extra : rebase_source : f48fb221ebe02c0137e521ea605953532808825d
2012-11-06 17:36:47 -08:00
Peter Van der Beken
4b67a43418 Fix for bug 807330 (Make xpc_qsUnwrapThis/xpc_qsUnwrapArg deal with new DOM bindings). r=jst.
--HG--
extra : rebase_source : 3553f82516bfaa0764185f94e2eef616d9cd696d
2012-09-26 16:17:46 +02:00
Luke Wagner
97e419ad14 Bug 807845 - provide a jsfriendapi to query the caller's outermost enclosing function (r=jimb) 2012-11-09 11:39:52 -08:00
Bill McCloskey
32d0a05f8e Backout 34791dac914c for assertion failure (bug 803376) 2012-11-09 11:39:39 -08:00
Wes Johnston
0c2cb7022e Bug 810398 - Update support library error message to be clearer. r=blassey 2012-11-09 11:07:40 -08:00
Bill McCloskey
a065bb1ee0 Bug 803376 - Add a new form of TRANSPLANT GC, with assertions for leaks (r=luke) 2012-11-07 12:06:29 -08:00
Bill McCloskey
8e25bf01c8 Bug 809295 - Do a better job handling failure in JSCompartment::wrap (r=luke) 2012-11-05 21:09:20 -08:00
Bill McCloskey
ca4d072439 Bug 803376 - Remove old TRANSPLANT GCs (r=luke) 2012-10-18 16:48:22 -07:00
Bill McCloskey
b852c9cf93 Bug 803376 - Add a special form of wrapper rooting (r=luke) 2012-10-03 22:44:30 -07:00
Bill McCloskey
c6fc79b890 Bug 803376 - Allow wrappers to be reused (r=bholley) 2012-09-11 17:14:24 -07:00
Bill McCloskey
d53bc493a0 Bug 803376 - Add JSObject::setCrossCompartmentSlot (r=terrence) 2012-09-14 16:58:50 -07:00