Commit Graph

23170 Commits

Author SHA1 Message Date
Hannes Verschore
34e57b1e05 Bug 809485: Don't stop at resumepoints in edgecase analysis, r=dvander 2012-11-14 12:02:58 +01:00
Jan de Mooij
c3b47e2cb1 Bug 809021 - Fix FastInvoke arguments length. r=dvander 2012-11-14 09:58:23 +01:00
Phil Ringnalda
79637f405f Merge m-c to m-i 2012-11-13 22:18:42 -08:00
Phil Ringnalda
0b198716f3 Back out 3da143341145 (bug 784294) and 862f9cd7eb0b (bug 791850) for breaking Jetpack 2012-11-13 22:08:22 -08:00
Vladimir Vukicevic
ab4b89c989 no bug; sync dirs; CLOSED TREE bustage fix 2012-11-13 14:55:17 -05:00
Ehsan Akhgari
ff6b8ed976 Merge mozilla-central into mozilla-inbound 2012-11-13 11:16:31 -08:00
Kyle Huey
eb284af7b6 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
d77f59d91d Backout Bug 810987. 2012-11-13 10:27:37 -08:00
Kyle Huey
4c42acb694 Backed out changeset 62886fd1aaa4 2012-11-13 10:25:24 -08:00
Kyle Huey
f9f141bbec Bug 810987: Followup bustage fix. 2012-11-13 10:24:08 -08:00
Blake Kaplan
952e7b94b3 Bug 811100 - Use the compartment's global for our global instead of always walking our parent chain. r=luke
--HG--
extra : rebase_source : acef0f81b55542b68c821f49afddf5be8b56d90f
2012-11-13 10:38:19 -08:00
Ed Morley
b24c51981f Backout bcb591d32bd6 (bug 809674) on suspicion of breaking B2G marionette-webapi 2012-11-13 13:48:21 +00:00
Hannes Verschore
bebaed1be7 Bug 806298: Follow-up fix to unregress kraken-dft, r=jandem 2012-11-13 11:46:06 +01:00
Hannes Verschore
180623d6d4 Bug 806298: Disable recompile check for constructing JM calls, r=dvander 2012-11-13 09:45:35 +01:00
Phil Ringnalda
45529e865f Merge m-c to m-i 2012-11-12 21:08:17 -08:00
Phil Ringnalda
6659b55460 Back out 08fd9aa0d6e1 (bug 810102) for turning bug 728834 permaorange 2012-11-12 21:01:17 -08:00
Ryan VanderMeulen
2c380fb37b 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
24950d41c9 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
763350c2ab 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
6935651371 Bug 800915 - Add infrastructure to flag security wrappers as unsafe to unwrap. r=mrbkap 2012-11-12 17:35:32 -08:00
Bobby Holley
aee7a8dde8 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
97504c0a7c Bug 810661 - Turn off PGO of Ctypes.cpp. r=khuey 2012-11-13 10:22:05 +09:00
Kannan Vijayan
016acf4d14 Bug 803730 - Fix boxing of object input in instanceOf checks. r=sstangl,dvander 2012-11-12 19:40:18 -05:00
Bobby Holley
073a74ab6f 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
ab1c2296a4 Bug 810743 - First check for pending exceptions, _then_ examine the invoke result. r=mrbkap 2012-11-12 16:17:24 -08:00
Luke Wagner
da2499ccc0 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
e72652f68f Bug 810560 - Followup (r=luke) 2012-11-12 15:17:01 -08:00
Bill McCloskey
c9da53d854 Bug 810560 - Fix scheduledForDestruction assertion (r=luke)
--HG--
extra : rebase_source : 6c25ad6b505e818d66f1caaea907c55355f7559a
2012-11-12 14:57:53 -08:00
Bill McCloskey
51374d6014 Bug 811553 - Only count major page faults when possible (r=terrence) 2012-11-13 17:14:57 -08:00
Bill McCloskey
629c39229c Bug 811176 - Shrinking GCs should clean up everything (r=terrence) 2012-11-13 17:14:53 -08:00
Bill McCloskey
28cc760e16 Bug 811176 - Purge small exec pools on GC (r=njn) 2012-11-13 17:13:44 -08:00
Nicholas D. Matsakis
3005a9f3ca Bug 781602 - Permit multiple ion compilation modes. r=dvander
This implies the possibility of multiple ion scripts per JSScript.
* * *
Add abstractions for cases that handle all comp. modes at once.
* * *
split out separate fields for seq, par
* * *
Convert Invalidate() to assert that it is being run in sequential mode.
2012-11-13 18:58:48 -05:00
Jeff Walden
1040dd3fd1 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
9319ea6c3e 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
b3c6615148 Bug 810102 - Exactly root all BaseShape; r=sfink 2012-11-08 15:35:48 -08:00
Peter Van der Beken
508194a997 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
78f95f5c9a Bug 800064 - Fix the units of computation in the shell watchdog. r=terrence 2012-11-11 07:07:07 -05:00
Brian Smith
d79b8dcdb8 Bug 799009: Remove unneeded SSL-related security alerts, r=honzab, r=dao 2012-11-10 20:49:44 -08:00
Brian Smith
1da60348ef Bug 799007: Remove support for low/weak/null cipher suites, r=honzab, r=dao 2012-11-10 20:49:29 -08:00
Brian Smith
87d054d8e5 backout cset b36d5c933092 due to orange 2012-11-10 19:09:07 -08:00
Brian Smith
7781a26273 backout cset 30f8e29f9cd1 due to orange 2012-11-10 19:08:26 -08:00
Brian Smith
d6580050c0 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
cb19bf16cd 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
20fdba1c78 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
b35928035b Bug 798033 - Removes 'using namespace' from js headers - r=billm 2012-11-10 10:46:01 -05:00
Bill McCloskey
7e36fddbbd 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
6a34ee2abe 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
340572b953 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
e3722a2ce4 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
1aa12c38e7 Backout 34791dac914c for assertion failure (bug 803376) 2012-11-09 11:39:39 -08:00
Wes Johnston
41d7374421 Bug 810398 - Update support library error message to be clearer. r=blassey 2012-11-09 11:07:40 -08:00
Bill McCloskey
c386b1080e 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
f27437f917 Bug 809295 - Do a better job handling failure in JSCompartment::wrap (r=luke) 2012-11-05 21:09:20 -08:00
Bill McCloskey
6a0626cc37 Bug 803376 - Remove old TRANSPLANT GCs (r=luke) 2012-10-18 16:48:22 -07:00
Bill McCloskey
8ea6d78be0 Bug 803376 - Add a special form of wrapper rooting (r=luke) 2012-10-03 22:44:30 -07:00
Bill McCloskey
89122b3c84 Bug 803376 - Allow wrappers to be reused (r=bholley) 2012-09-11 17:14:24 -07:00
Bill McCloskey
e3f39b6c2e Bug 803376 - Add JSObject::setCrossCompartmentSlot (r=terrence) 2012-09-14 16:58:50 -07:00
Boris Zbarsky
081200f74b Bug 807226 part 0.5. More undefs to stop Windows headers from messing with our GetClassName. r=peterv 2012-11-09 07:59:41 -08:00
Boris Zbarsky
f05491aec8 Bug 779048 part 0.5. Don't require a JSContext argument for nsJSUtils::GetStaticScriptGlobal. r=bholley 2012-11-09 07:43:57 -08:00
Eric Promislow
cf0e5821c6 Bug 809179 - Reinstate the js -w and -s command-line options. r=dvander
--HG--
extra : rebase_source : 7071d9acc638ea56bbc1532e3284d519db06a498
2012-11-08 20:53:07 -05:00
Bobby Holley
5f960dade7 Bug 807623 - Reimplement obj_toString and fun_toString traps on BaseProxyHandler. r=ejpbruel
Looks like these got lost in the Direct Proxy Handler refactor.
2012-11-08 14:05:49 -08:00
Fernando Jiménez
595063e7a9 Bug 809218 - Expose atob and btoa functions in xpcshell; r=mrbkap 2012-11-08 13:45:41 -08:00
Steve Fink
5d755edd99 Bug 803276 - Disable ArrayBufferView.prototype.move on release channels. r=dmandelin 2012-11-08 10:39:58 -08:00
Marty Rosenberg
5e84aca52e Ensure that we are using the same IonCompartment throughout the lifetime of an AFC(bug 792873, r=jandem) 2012-11-08 11:14:27 -05:00
Marty Rosenberg
eee5a68da1 Don't attempt to verify that the stack will be aligned, because it may not be. (bug 807156, r=djvj) 2012-11-08 11:14:24 -05:00
Eddy Bruel
0b47465612 Bug 793160 - Add NULL check for proto; r=ejpbruel 2012-11-08 16:51:11 +01:00
Wes Johnston
7e7639ef9e Bug 759041 - Bring in Android compatibility libraries. r=blassey 2012-11-08 07:45:29 -08:00
Bobby Holley
429f1cfe90 Bug 809547 - Tests. r=bz 2012-11-07 22:40:48 -08:00
Benjamin Peterson
eb9e9406cc Bug 809292 - Deal with all source data allocation in one function. r=njn 2012-11-08 09:24:46 -05:00
Hannes Verschore
4ecc61cba4 Bug 809472: Add truncate analysis for MMul, r=mjrosenb 2012-11-08 14:35:26 +01:00
Bill McCloskey
cf6e657fd2 Bug 808067 - Fix needsBarrier for GC (r=sstangl,jonco) 2012-11-07 10:30:30 -08:00
Benoit Jacob
4dbcec42c7 Bug 809715 - Use MFBT's IsBaseOf to simplify QS_IS_NODE - r=ehsan 2012-11-07 21:33:31 -05:00
Makoto Kato
dc86cbe96c Bug 797794 - need sync Preprocessor.py. r=bustage 2012-11-08 10:52:06 +09:00
Makoto Kato
1b9b070867 Bug 807895 - Remove BSD/OS code. r=khuey 2012-11-08 10:36:28 +09:00
Kannan Vijayan
e094b7bbbc Backing out 72078b2daa84 due to not fixing entire issue. 2012-11-07 20:13:39 -05:00
Bobby Holley
73334e2a83 Bug 805807 - Filter setters. r=mrbkap 2012-11-07 15:45:50 -08:00
Bobby Holley
4bb1e8b3f7 Bug 802557 - Mochitests. r=bz 2012-11-07 15:43:09 -08:00
Kannan Vijayan
f38d42262f Bug 803730 - Fix boxing of instanceOf inputs in ion. r=sstangl 2012-11-07 17:16:15 -05:00
Bobby Holley
0ae350d48b Bug 806751 - Pile more garbage into GetWrappedNativeOfJSObject. r=mrbkap
--HG--
extra : rebase_source : 9d290c7058dd4a1984aff94ef84376913947189e
2012-11-07 14:12:14 -08:00
Luke Wagner
103ce99cc1 Bug 809532 - rm unused CloneFunctionObject overload (r=billm)
--HG--
extra : rebase_source : 9c495cef6839782ec7bfa9d1cc214c282ddaa591
2012-11-07 13:28:52 -08:00
Luke Wagner
758f3333d4 Bug 807185 - IonMonkey: optimize the non-native test in visitCallGeneric (r=sstangl)
--HG--
extra : rebase_source : 6ed2cc423ea0794ad715b2d4d31c0a3047c3464c
2012-11-01 21:35:13 -07:00
Luke Wagner
50f9a075a0 Bug 807228 - clean up the JSFUN_* flags situation (r=jorendorff)
--HG--
extra : rebase_source : 1bb7ac4a354a9b78e5b5201b4204c4ade3067c49
2012-11-01 21:35:09 -07:00
Terrence Cole
1bb80cfab8 Bug 798638 - Exactly root TryNoteIter; r=luke
TryNoteIter is always stored on the stack and stores a JSScript* internally.
2012-10-05 16:29:57 -07:00
Terrence Cole
ab0d85ee35 Bug 807151 - Unexport |mozilla| from the |js| namespace; r=Waldo
Clang does not want to allow js::ion::Range and mozilla::Range simultaneously
when we have a |namespace js { using namespace mozilla; }| declaration.
2012-11-06 17:35:18 -08:00
Nathan Froyd
6cd8a16138 Backout a9cfcf4b62d9 (bug 803730), a5e214d4f8b0 (bug 803730), for intermittent oranges in newly added tests 2012-11-07 14:58:29 -05:00
Jim Mathies
36c0583c7c Bug 809158 - Cleanup enable-metro configure.in sections and set the proper WINVER for js in metro builds. r=bbondy 2012-11-07 13:27:00 -06:00
Jacek Szpot
513125c236 Bug 800106: Remove NS_ALWAYS_INLINE from configure.in; r=ehsan 2012-10-13 00:36:39 +02:00
Terrence Cole
db03eac92b Bug 501265 - SpiderMonkey's shell |load()| should interpret chars as UTF-8; rs=Waldo 2012-11-06 11:57:42 -08:00
Kannan Vijayan
f5b4cb0cee Bug 803730 - Fix ion to box LHS operand when performing InstanceOf on an object. (r=sstangl) 2012-11-07 13:04:01 -05:00
Kannan Vijayan
fc947af223 Bug 803730 - Add mochitest for bug. 2012-11-07 13:03:31 -05:00
Bobby Holley
5ede664aac Bug 809318 - Fix flakey tests. r=philor 2012-11-07 09:39:32 -08:00
Bobby Holley
42c232e7e3 Bug 808457 - Add Telemetry for Components.lookupMethod and Components.interfaces. r=mrbkap 2012-11-07 08:28:35 -08:00
Bobby Holley
0d4bc850b4 Bug 808611 - Move valueOf to nsIDOMLocation. r=mrbkap 2012-11-07 08:27:23 -08:00
Geoff Brown
8da8b19c60 Bug 808729 - Set _TESTING_MODULES_DIR for Android xpcshell tests; r=jmaher
--HG--
extra : rebase_source : 80896416e1262802421282573af6c2babc4cfcac
2012-11-13 16:37:53 -07:00
Gregor Wagner
326de4e3ae Backout f2c60518351d Bug 809661 2012-11-13 14:44:18 -08:00
Ben Turner
a62084789a Bug 809661 - Need a speedy way to construct a thread list for SMS messages. r=sicking 2012-11-13 13:01:26 -08:00
Till Schneidereit
2cbebc7fa3 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
88fa8c9631 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
9c7f3be4e7 Bug 809390: Improve range analysis on bitand, r=mjrosenb 2012-11-13 18:27:54 +01:00
Kyle Huey
206106294e 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