Commit Graph

31693 Commits

Author SHA1 Message Date
Kannan Vijayan
0a6aa551cf Bug 332176 - Change eval-ed scripts to have more descriptive filenames indicating the chain of evaluation, and give them absolute line numbers instead of the offset-from-lineno-of-eval-in-caller-script approach used currently. r=jimb 2014-02-04 16:23:20 -05:00
Nicholas D. Matsakis
61c8bb7bf8 Bug 950458 - Emit type barrier for derived typed objects r=jandem 2014-01-30 23:52:25 -05:00
Benjamin Bouvier
5993368483 Backed out 2 changesets for linux x86 bustage on a CLOSED TREE (bug 966957)
Backed out changeset dfb2e4c12bc0 (bug 966957)
Backed out changeset d983a44ff5b8 (bug 966957)

--HG--
extra : rebase_source : 99605acf06a8c5a32b12213eb64f14e8cc679cae
2014-02-04 17:07:20 +01:00
Bobby Holley
c6fb00a32a Bug 959013 - Convert the Date object to use ClassSpec. r=luke 2014-02-04 07:51:54 -08:00
Bobby Holley
460ab407b5 Bug 959013 - Add a standardized initialization mechanism based on the ClassSpec. r=luke 2014-02-04 07:51:54 -08:00
Bobby Holley
857560e4fc Bug 959013 - Add a mechanism to map from JSProtoKey to js::Class*. r=luke 2014-02-04 07:51:54 -08:00
Bobby Holley
9e65275dc6 Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke 2014-02-04 07:51:54 -08:00
Benjamin Bouvier
0e8978f8ec Backed out changeset 5b3dd105258e for Windows build failures
--HG--
extra : rebase_source : 83cadf05aaff31283f52bca8e0c9b90b2d8c6cc0
2014-02-04 16:33:21 +01:00
Benjamin Bouvier
b3fa312cba Bug 878488: Implement asm.js Math constants; r=luke 2014-02-04 16:11:54 +01:00
Andy Wingo
fcf348668b Bug 967434 - Remove JS_HAS_DESTRUCTURING ifdefs r=jorendorff
--HG--
extra : rebase_source : 961f0b07a7d3ae0f2598a23eaf12269186b05294
2014-02-04 15:51:28 +01:00
Andy Wingo
c1263285b0 Backed out changeset d45ebc647b51 (missing r= line)
--HG--
extra : rebase_source : 8152fc0672e27c423494cb302eae8edd089e086f
2014-02-04 15:49:13 +01:00
Benjamin Bouvier
693f0b6d3a Bug 966957: Concat Float32 too; r=h4writer 2014-02-04 15:50:17 +01:00
Benjamin Bouvier
6e1b1c9e73 Bug 966957: Specialize ToString for Float32; r=h4writer 2014-02-04 15:48:05 +01:00
Andy Wingo
9820bafab7 Bug 967434 - Remove JS_HAS_DESTRUCTURING ifdefs 2014-02-04 15:43:00 +01:00
Andy Wingo
50eddbfcf3 Bug 966912 - Part 1: Rename blockChain to staticScope r=luke 2014-02-04 14:24:42 +01:00
Benjamin Bouvier
9fc25ff51c Bug 966926: Force ToString not to have Float32 inputs; r=h4writer
--HG--
extra : rebase_source : beef551756493a697923db13607f41a3680c1eb6
2014-02-03 18:22:40 +01:00
Dan Minor
c260585fd2 Bug 959155 - Jit-test basic\bug698584.js fails on Windows test machines; r=terrence 2014-02-03 08:50:19 -05:00
Dan Minor
e18d367e9a Bug 959158 - Jit-test tests\asm.js\testZOOB.js fails on Windows 8 test machines; r=luke 2014-02-03 09:16:11 -05:00
Jan de Mooij
828dc2aab5 Bug 967039 - Fix a bogus assert in DebugLeaveBlock. r=wingo 2014-02-04 11:57:20 +01:00
Nicholas Nethercote
a982179883 Bug 964238 (part 2) - Remove AutoStringRooter, because it's no longer used. r=terrence.
--HG--
extra : rebase_source : 3d3253f2bc1a867679841d60e4b49c62b8f917c5
2014-01-30 14:59:18 -08:00
Nicholas Nethercote
e8da47d480 Bug 964238 (part 1) - Remove JSStableString and StableTwoByteChars. r=terrence.
--HG--
extra : rebase_source : 1859ce0b42661494fa13628551359a5a5d5663c0
2014-01-30 14:58:53 -08:00
Boris Zbarsky
264a2cc7b2 Bug 966665. Don't DCE DOM method calls and getters that can throw exceptions. r=jandem 2014-02-03 11:04:06 -05:00
Ryan VanderMeulen
b8618a38d5 Backed out changesets 45840c6628d7 and acadb164dbc5 (bug 941805) for causing bug 966782. 2014-02-03 08:34:51 -05:00
Benjamin Peterson
b34f982b2b Bug 966695 - Fix signed/unsigned comparison warning. r=Waldo 2014-02-01 21:16:42 -05:00
Till Schneidereit
646f5596f0 Bug 960513 - Ensure LazyScript has script set for non-lazy canonical functions. r=jandem
--HG--
extra : rebase_source : ae490f18cd2a78c2d7afecf9ee32f11c38ab3cda
2014-02-01 23:31:57 +01:00
Till Schneidereit
22ea5f0853 Bug 952870 - Treat -0 and 0 as the same key in Maps and Sets. r=jorendorff
--HG--
extra : rebase_source : c5fb6daf43530d67bfb60c24ac8ceecd2fa0b60d
2014-02-01 23:30:44 +01:00
Till Schneidereit
36d54591b5 Bug 958951 - Return IteratorResult object for completed generators instead of throwing. r=jorendorff
--HG--
extra : rebase_source : 8f9d5f592ac36713fe66a471c7213ac297d232cb
2014-02-01 23:20:14 +01:00
Andrew McCreight
807f22af60 Bug 965994 - Add extra braces around subobject initialization to fix build warning. r=Waldo 2014-02-01 16:20:26 -05:00
Douglas Crosher
013dffba64 Bug 965762 - ARM Simulator: Support an environment variable and shell argument to drop into the debugger after a given number of instructions. r=jandem 2014-02-01 12:25:15 +11:00
Douglas Crosher
ee75876d67 Bug 966570 - ARM Simulator: Avoid using the cmd pointer when it has not been set in the debugger. r=jandem 2014-02-01 12:21:27 +11:00
Douglas Crosher
2e3633b3f3 Bug 857071 - Ionmonkey ARM: Support a HWCAP environment variable override. r=mjrosenb 2014-02-01 19:02:32 +11:00
Terrence Cole
d319eb321c Bug 966040 - Allocate dynamic slots for createObject and createArray in the nursery in GGC; r=jonco 2014-01-31 11:43:44 -08:00
Terrence Cole
efa144a708 Bug 966040 - Simplify and minimize the allocation path for non-objects; r=jonco 2014-01-31 11:43:43 -08:00
Jon Coppeard
50e1f34d5a Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Jan de Mooij
80f041fdbf Bug 966264 - Don't allocate new "[object Foo]" strings for the most common classes. r=njn 2014-02-01 13:13:41 +01:00
Eric Faust
0c400f38e9 Bug 924720 - Followup: Remove js::IsProxyClass(clasp), and use clasp->isProxy() instead. (r=jwalden) 2014-02-01 00:30:44 -08:00
Eric Faust
9a5e3c40b9 Bug 947487 - Part 2: Generate and use js::Class structs for DOM proxies. (r=bz) 2014-02-01 00:29:52 -08:00
Kyle Huey
6d033cceb1 Bug 961286 - Use move semantics for JSAutoStructuredCloneBuffer and wrappers. r=jorendorff, r=bent 2014-01-31 21:50:07 -05:00
Brian Hackett
c339fa01fb Bug 941805 - Unbreak non-threadsafe JS builds. 2014-01-31 19:43:40 -07:00
Brian Hackett
fc86d50852 Bug 941805 - Make the pool of JS workers be per process rather than per runtime, r=billm. 2014-01-31 18:58:16 -07:00
Shu-yu Guo
4c62363f28 Bug 966181 - Rename ForkJoinSlice to ForkJoinContext. (r=pnkfelix) 2014-01-31 14:57:57 -08:00
Bobby Holley
d7d15c736f Bug 962449 - Make various getOrCreate methods static to efficiently fix hazards. r=Waldo 2014-01-31 14:51:42 -08:00
Bobby Holley
6462299da5 Bug 962449 - Don't call initIteratorClasses directly, and use ensureConstructor. r=luke
This isn't strictly necessary at this point. The basic issue is that there are
a few new classes (iterator stuff, intl stuff, and typed objects) that use this
kind of constructor bootstrap scheme, and each of them will need something like
this to move to ClassSpecs. But that doesn't actually need to happen until we
convert them. I wrote this patch before I realized this, and I believe it's
correct, so I figured I'd get it landed along with everything. But I'm also ok
to skip it for now.
2014-01-31 14:51:41 -08:00
Bobby Holley
36bbe3d479 Bug 962449 - Remove init functions from JSStdName, and pipe everything through ensureConstructor. r=luke 2014-01-31 14:51:41 -08:00
Bobby Holley
0e7ef58609 Bug 962449 - Stop manually invoking initialization routines in GlobalObject.h. r=luke 2014-01-31 14:51:41 -08:00
Bobby Holley
ce155223b5 Bug 962449 - Don't directly invoke init functions in GlobalObject::initStandardClasses. r=luke 2014-01-31 14:51:41 -08:00
Niko Matsakis
d2eaa5a6b6 Bug 959334 - Invoking js_InitTypedObjectModuleObject or js_InitSIMDClass in GlobalObject::initStandardClasses causes mochitest-plain to fail. r=Waldo 2014-01-31 14:51:41 -08:00
Jeff Walden
f81d3e44b8 Bug 924839 - Update our embedded ICU to 52.1, plus a very few local patches. r=lots of people, see subsequent lines in this commit message for the original subcomponents (merged together for landing), and the original bug for the original patch divisions
Bug 924839 - Remove a patch already part of ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10283 but also note the relevant code was removed completely upstream.  r=glandium
* * *
Bug 924839 - Remove another patch already part of ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10290 for that.  r=gaston
* * *
Bug 924839 - Remove another patch already in ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10045 for more.  r=Norbert
* * *
Bug 924839 - Remove another patch already applied upstream.  See http://bugs.icu-project.org/trac/changeset/32937 for more.  r=gaston
* * *
Bug 924839 - Update the ICU update script to update to 52.1, *without* applying any of our local patches.  r=glandium
* * *
Bug 924839 - Make the ICU update script only do updating within intl/icu/source and nowhere else.  r=glandium
* * *
Bug 924839 - Implement the changes that would be made by |cd intl/; ./update-icu.sh http://source.icu-project.org/repos/icu/icu/tags/release-52-1/;|, run with the prior changesets' changes made (thus not applying any of our local patches).  These changes don't actually work without subsequent adjustments, but this provides a codebase upon which those adjustments can be made, for the purpose of generating local patches to be kept in intl/icu-patches/.  rs=the-usual-suspects
* * *
Bug 924839 - Update the bug 899722 local patch to make runConfigureICU not override CC/CXX on BSD systems.  r=gaston
* * *
Bug 924839 - Update the bug 724533 patch that makes ICU builds with MozillaBuild on Windows.  r=glandium
* * *
Bug 924839 - Import an upstream patch fixing the genrb tool to properly handle the -R (--omitCollationRules) option.  See http://bugs.icu-project.org/trac/ticket/10043 for the original bug report and a link to the ultimate upstream landing.  r=Norbert
* * *
Bug 924839 - Import the upstream fix for http://bugs.icu-project.org/trac/ticket/10486 so that ICU with -DU_USING_ICU_NAMESPACE=0 will compile on Windows.  r=Norbert
* * *
Bug 924839 - Adjust the update script to update ICU, then to apply all local patches (rather than skipping the second step).  Thus if the update script is properly run, now, the final result should be no changes at all to the tree.  NOT REVIEWED YET
* * *
Bug 924839 - Update jstests that depend on CLDR locale data to match CLDR 24.  r=Norbert
2013-11-12 16:23:48 -08:00
Carsten "Tomcat" Book
2a6caad1f0 Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE 2014-01-31 12:11:23 +01:00
Jon Coppeard
20b4926e22 Bug 965904 - Fix some rooting hazards in the browser r=terrence 2014-01-31 09:56:40 +00:00
Jon Coppeard
858370c616 Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Jon Coppeard
8e82b3e2e9 Bug 950931 - Re-enable disbaled jit tests r=terrence 2014-01-31 09:55:12 +00:00
Hannes Verschore
0784110b66 Bug 964229 - IonMonkey: Split StringPolicy and support all primitives to MToString, r=jandem,sstangl 2014-01-31 10:24:02 +01:00
Chris Peterson
91f7b1bbc7 Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc 2014-01-29 20:40:34 -08:00
Nathan Froyd
9ef3919738 Bug 946546 - copy JS strings directly into the destination compartment; r=billm 2014-01-27 17:24:35 -05:00
Wes Kocher
e7b11adbbd Backed out changeset be0c71ad1f18 (bug 948227) under suspicion of turning mochitest-1 intermittently orange to hopefully fix a CLOSED TREE 2014-01-30 17:17:01 -08:00
Wes Kocher
00ec5c0a4b Backed out changeset 6e956de758ce (bug 924839) for xperf bustage on a CLOSED TREE 2014-01-30 16:57:49 -08:00
Jonathan Watt
95d975385e Bug 960505 - Make it easier for Mozilla code to include ICU headers. r=glandium 2014-01-15 23:45:45 +00:00
Jeff Walden
9aa6e885a9 Bug 924839 - Update our embedded ICU to 52.1, plus a very few local patches. r=lots of people, see subsequent lines in this commit message for the original subcomponents (merged together for landing), and the original bug for the original patch divisions
Bug 924839 - Remove a patch already part of ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10283 but also note the relevant code was removed completely upstream.  r=glandium
* * *
Bug 924839 - Remove another patch already part of ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10290 for that.  r=gaston
* * *
Bug 924839 - Remove another patch already in ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10045 for more.  r=Norbert
* * *
Bug 924839 - Remove another patch already applied upstream.  See http://bugs.icu-project.org/trac/changeset/32937 for more.  r=gaston
* * *
Bug 924839 - Update the ICU update script to update to 52.1, *without* applying any of our local patches.  r=glandium
* * *
Bug 924839 - Make the ICU update script only do updating within intl/icu/source and nowhere else.  r=glandium
* * *
Bug 924839 - Implement the changes that would be made by |cd intl/; ./update-icu.sh http://source.icu-project.org/repos/icu/icu/tags/release-52-1/;|, run with the prior changesets' changes made (thus not applying any of our local patches).  These changes don't actually work without subsequent adjustments, but this provides a codebase upon which those adjustments can be made, for the purpose of generating local patches to be kept in intl/icu-patches/.  rs=the-usual-suspects
* * *
Bug 924839 - Update the bug 899722 local patch to make runConfigureICU not override CC/CXX on BSD systems.  r=gaston
* * *
Bug 924839 - Update the bug 724533 patch that makes ICU builds with MozillaBuild on Windows.  r=glandium
* * *
Bug 924839 - Import an upstream patch fixing the genrb tool to properly handle the -R (--omitCollationRules) option.  See http://bugs.icu-project.org/trac/ticket/10043 for the original bug report and a link to the ultimate upstream landing.  r=Norbert
* * *
Bug 924839 - Import the upstream fix for http://bugs.icu-project.org/trac/ticket/10486 so that ICU with -DU_USING_ICU_NAMESPACE=0 will compile on Windows.  r=Norbert
* * *
Bug 924839 - Adjust the update script to update ICU, then to apply all local patches (rather than skipping the second step).  Thus if the update script is properly run, now, the final result should be no changes at all to the tree.  NOT REVIEWED YET
* * *
Bug 924839 - Update jstests that depend on CLDR locale data to match CLDR 24.  r=Norbert

--HG--
extra : rebase_source : e993b6e4a507f92d1b1a24949185d00d1f6201f2
2013-11-12 16:23:48 -08:00
Jeff Walden
954ca245d4 Bug 948227 - Make the Object.prototype.__proto__ setter strongly warn against its use, for perf reasons (and suggest Object.create instead). r=efaust
--HG--
extra : rebase_source : ef0159fc67ddaab4c46ccfc5a918a37a26d19f87
2014-01-23 14:35:08 -08:00
Jeff Walden
e442aface3 Bug 948583 - Make __proto__ in object literals use JSObject::setProto, rather than depending on Object.prototype.__proto__. r=jorendorff, r=bholley, r=efaust
--HG--
extra : rebase_source : acd757234ac2838b8c1c9bec971b210499361019
2013-12-18 20:14:17 -05:00
Terrence Cole
f7300567de Bug 963840 - Move MallocProvider out and add a comment about allocation in SpiderMonkey; r=jorendorff 2014-01-24 13:22:31 -08:00
Eric Faust
750b2c708c Bug 924720 - Followup: Add better comments to window convert stub change.(r=bholley over IRC)
DONTBUILD because comment-only.
2014-01-30 12:36:37 -08:00
Andrew McCreight
2d4fb597e8 Bug 963192, part 4 - Smart pointerize nsXPConnect::mDefaultSecurityManager. r=bholley 2014-01-30 11:20:42 -08:00
Andrew McCreight
bbdab5550f Bug 963192, part 3 - Smart pointerize XPCContext::mException. r=bholley 2014-01-30 11:20:42 -08:00
Andrew McCreight
b470f2686e Bug 963192, part 2 - Smart pointerize IID2ThisTranslatorMap. r=bholley 2014-01-30 11:20:42 -08:00
Andrew McCreight
acb5312bd5 Bug 963192, part 1 - Smart pointerize XPCWrappedJSClass::mInfo. r=bholley 2014-01-30 11:20:41 -08:00
Dan Minor
c6cab49e19 Bug 959164 - Jit-test basic\bug710947.js fails on Windows 8 test machines; r=terrence 2014-01-30 08:53:59 -05:00
Bobby Holley
a1089f66d2 Bug 872273 - Remove manual rooting from js_ReportUncaughtException. r=Waldo
This stuff is exactly rooted now, so this is all unnecessary.
2014-01-30 09:30:29 -08:00
Bobby Holley
f9a7eb47c4 Bug 872273 - Don't ToString the exn if we already got a report out of it. r=Waldo
Note that we have to update a test that was previously expecting to hit the
bail-out case at the bottom of js_ReportUncaughtException.
2014-01-30 09:30:29 -08:00
Bobby Holley
cc55b9e53c Bug 872273 - Generate a JSErrorReport when we need one. r=Waldo
This lets js_ReportUncaughtException get the report directly from the underlying
Error object, rather than trying to duck-type it (which fails for security
wrappers).
2014-01-30 09:30:29 -08:00
Bobby Holley
5c45296ed8 Bug 872273 - Remove non-cx variant of ErrorFromException, and make it take a HandleObject. r=Waldo
We're going to need to start doing more work in js_ErrorFromException, which
will require a |cx| and may GC.
2014-01-30 09:30:29 -08:00
Felix S. Klock II
e10d06a1f0 Bug 961821: tests for jit-support for writes into TypedObject arrays (r=pnkfelix).
These iteration counts were selected to be close to the minimum number
necessary to expose bugs while working on this patch (see comments in
Bug 961821 for more details here).  Note that they are all 500
iterations (not 5000); please be wary of reducing the iteration count
further without first ensuring that the jit has time to compile this
code.
2014-01-30 17:47:14 +01:00
Felix S. Klock II
ea259263b6 Bug 961821: jit-support for writes into TypedObject arrays.
As part of above, alpha-renamed IonBuilder::setElemTryTyped to
IonBuilder::setElemTryTypedArray to keep clear the current distinction
between TypedObject and TypedArray.

Drive-by fix: Reference to Bug 894105 in comment had off-by-one typo.
Bug 961821: jit-support for writes into TypedObject arrays (r=nmatsakis).

As part of above, alpha-renamed IonBuilder::setElemTryTyped to
IonBuilder::setElemTryTypedArray to keep clear the current distinction
between TypedObject and TypedArray.

Drive-by fix: Reference to Bug 894105 in comment had off-by-one typo.
2014-01-28 04:33:00 +01:00
Douglas Crosher
7f74586c39 Bug 965247 - ARM simulator: Support an environment variable and shell argument to enabling icache checks. r=jandem 2014-01-30 01:30:56 +11:00
Bobby Holley
2b75bbbe71 Bug 959012 - Clean up and separate the semantics of js_{Get,Find}Class{Prototype,Object}. r=jorendorff 2014-01-30 07:45:16 -08:00
Bobby Holley
8e98ac7448 Bug 959012 - Create separate js_GetClassPrototype and js_FindClassPrototype to mimic js_{Get,Find}ClassObject. r=jorendorff
The current behavior is crazy, and most definitely not Xray-safe.
2014-01-30 07:45:16 -08:00
Bobby Holley
352469c218 Bug 959012 - Move js_GetClassObject creation logic into GlobalObject. r=jorendorff 2014-01-30 07:45:16 -08:00
Bobby Holley
062a629dac Bug 959012 - Remove unused cx parameter from JS_IdentifyClassPrototype. r=jorendorff 2014-01-30 07:45:16 -08:00
Bobby Holley
fe3e58c701 Bug 959012 - When resolving iterator classes, use JSProto_Iterator instead of JSProto_GeneratorFunction. r=luke
The former triggers all of the appropriate initialization, whereas the latter
is 'imaginary' in jsprototypes.h, which means that the is no initialization
function associated with it.
2014-01-30 07:45:15 -08:00
Hannes Verschore
50d627fe25 Bug 958158 - IonMonkey: Optimize do {} while(false), r=djvj 2014-01-30 14:59:24 +01:00
Andrea Marchesini
7184ae68ee Bug 964293 - Implement Cu.cloneInto() method, r=bholley 2014-01-30 04:45:48 -08:00
Andy Wingo
0a1dff8e91 Bug 965243 - Remove dead constructor of ScopeIter r=jorendorff
--HG--
extra : amend_source : e11741d6b1e4baeaa08df1e041df303055d68634
2014-01-30 11:07:57 +01:00
Boris Zbarsky
e8d170691e Bug 965144. Make the Window-specific bits of XrayWrapper work with WebIDL windows. r=bholley 2014-01-29 22:34:25 -08:00
Boris Zbarsky
e5abd9db16 Bug 963895. Add threadsafe versions of AutoJSContext/AutoSafeJSContext. r=bholley 2014-01-29 22:33:03 -08:00
Jeff Walden
ee9851c473 Bustage fix, bug 947014 followup. r=bustage in a CLOSED TREE 2014-01-29 17:57:36 -08:00
Eric Faust
378de04593 Bug 947014 - Allow callers of Wrapper::New to specify a prototype. (r=bholley) 2014-01-29 17:20:16 -08:00
Eric Faust
2ae17ed581 Bug 924720 - Part 8: Remove BaseProxyHandler::isOuterWindow(). (r=bholley) 2014-01-29 17:20:16 -08:00
Eric Faust
c41d46714f Bug 924720 - Part 7: Move and rename OuterWindowProxyObject::class_. (r=bholley) 2014-01-29 17:20:16 -08:00
Eric Faust
a91f79ccaf Bug 924720 - Part 6: Allow callers of Wrapper::New to specify a Proxy JSClass. (r=bholley) 2014-01-29 17:20:16 -08:00
Eric Faust
d24a35e290 Bug 924720 - Part 5: Allow callers of NewProxyObject() to specify a Proxy JSClass. (r=jwalden) 2014-01-29 17:20:16 -08:00
Eric Faust
6220679371 Bug 924720 - Part 4: Create new macros for easy Proxy JSClass creation. (r=jwalden) 2014-01-29 17:20:16 -08:00
Eric Faust
3bacb68ed4 Bug 924720 - Part 3: Allow future Proxy JSClasses to safely have extra reserved slots. (r=billm) 2014-01-29 17:20:16 -08:00
Eric Faust
fdd24700fe Bug 924720 - Part 2: Make OuterWindowProxy use the proxy HasInstance and Convert stubs. (r=bholley) 2014-01-29 17:20:15 -08:00
Eric Faust
f142659bfe Bug 924720 - Part 1: Implement IsProxy() using new JSClass flag. (r=jwalden) 2014-01-29 17:20:15 -08:00
Eric Faust
131ceafd59 Bug 924720 - Part 0: Free up spare JSClass flags. (r=jwalden) 2014-01-29 17:20:15 -08:00
Jeff Walden
6cfc1364d7 Bug 963641 - Make TI work correctly with respect to JSOP_MUTATEPROTO. r=jandem
--HG--
extra : rebase_source : bdd48aeae22ea418569910d470c329a8fc1fa2bf
2014-01-28 10:38:44 -08:00
Jeff Walden
d70f17aca1 Bug 963641 - Add a test for __proto__ in destructuring patterns as a shorthand. r=jorendorff
--HG--
extra : rebase_source : 9d9e5ede1195b7e879a8ca539c9af432c5f2b5d9
2014-01-28 10:38:29 -08:00
Jeff Walden
f327d79b9b Bug 963641 - Remove PNK_MUTATEPROTO, and just make JSOP_MUTATEPROTO be generated for the PNK_INITPROP+__proto__ combination. r=jorendorff
--HG--
extra : rebase_source : 8317d2a90d55a57fb654f72a57ca40575613072c
2014-01-24 19:54:53 -08:00
Jeff Walden
b0c9ce62b4 Bug 963641 - Tests for __proto__ in object literals with jsreflect and asm.js module export objects. r=jorendorff
--HG--
extra : rebase_source : cc570fcbc018618079843df2d07f87bbf30f18a7
2014-01-27 21:39:58 -08:00
Jeff Walden
bcd0dcde6a Bug 963641 - Miscellaneous cleanups not implicated in actual bugs. r=jorendorff
--HG--
extra : rebase_source : a7969e756bc5456b6524fab8f602f61a7ed83a13
2014-01-27 16:33:03 -08:00
Terrence Cole
7bf2e1c451 Bug 962256 - Remove extraneous roots from some hot paths in Baseline; r=jonco 2014-01-27 16:51:57 -08:00
Terrence Cole
2e7acf2929 Bug 963738 - Fix some false positives in the Array analysis; r=jonco 2014-01-28 12:05:35 -08:00
Bobby Holley
a204c95cc9 Bug 965082 - Tests. r=mrbkap,r=gabor 2014-01-29 13:07:13 -08:00
Bobby Holley
731ce0363f Bug 965082 - Only run the {get,set}PrototypeOf override for non-SecurityWrappers. r=mrbkap,r=gabor 2014-01-29 13:07:13 -08:00
Bobby Holley
2a555922c2 Bug 965082 - Unify duplicate bits of state of proxies. r=mrbkap,r=gabor
Conceptually, these all boil down to "is this a security wrapper?"
2014-01-29 13:07:13 -08:00
Benjamin Bouvier
6fbbdcc7b9 Bug 952306: Allow global const literals as variable initializers; r=luke 2014-01-29 14:27:01 +01:00
Benjamin Bouvier
cc29413fe5 Bug 952306: Refactor Variable into Variable, ConstantImport and ConstantLiteral in Odin; r=luke 2014-01-29 14:27:00 +01:00
Sankha Narayan Guria
4a58e226e9 Bug 848512 - JSOP_DIV: int32 stub handles lhs == 0 case. r=jandem 2014-01-29 15:28:13 +05:30
Douglas Crosher
2178295f6d Bug 959597 - Odinmonkey (ARM): fix a commit conflict with bug 964005. r=jandem 2014-01-29 11:39:56 +11:00
Jan de Mooij
f289f537ef Bug 959597 part 3 - Add ARM simulator for JIT code. r=nbp 2014-01-29 13:34:14 +01:00
Benjamin Bouvier
cac8501966 Bug 942550: Take care of all particular cases in ecmaPow instead of js_math_pow; r=jandem 2014-01-29 12:12:03 +01:00
Ed Morley
92aa154f50 Merge mozilla-central and inbound 2014-01-29 10:39:41 +00:00
Ed Morley
54d76ad687 Merge latest green b2g-inbound changeset and mozilla-central 2014-01-29 10:33:43 +00:00
Jon Coppeard
d77eb96fa7 Bug 959787 - Handlify some JS friend APIs r=sfink 2014-01-29 10:01:33 +00:00
Jon Coppeard
e5c29b7f9d Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug 2014-01-29 10:00:40 +00:00
Jon Coppeard
f83ce11fd2 Bug 961877 - Calculate size of inline elements of typed array using slot count not array size r=terrence 2014-01-29 09:58:16 +00:00
Wes Kocher
cf19b21c97 Backed out 2 changesets (bug 952873) for build bustage on a CLOSED TREE
Backed out changeset 92dfed2592ae (bug 952873)
Backed out changeset 1ae58fcd61a9 (bug 952873)
2014-01-28 17:34:42 -08:00
Boris Zbarsky
8baa2ee19b Bug 952873 part 2. Expose JSAPI for doing for-of iteration. r=jorendorff 2014-01-28 16:16:03 -08:00
Boris Zbarsky
8e2e630681 Bug 952873 part 1. Rename the cx member of ForOfIterator to cx_ instead. r=jorendorff 2014-01-28 16:14:47 -08:00
Douglas Crosher
318f92a65e Bug 964797 - Odin ARM: Correct the VCVT instructions encoding of the fraction bits. r=mjrosenb 2014-01-29 02:35:38 +11:00
Nikhil Marathe
6a771ba40f Bug 957926 - Add JS::CreateTypeError. r=jorendorff
--HG--
extra : rebase_source : d621273cbff342f10864c2843a53eb55421fe582
2014-01-28 09:19:48 -08:00
Henry Chang
c0e64a6d2c Bug 811635 - Part 2: Implementation of WebIDLs/IDLs for WifiP2pManager and WifiP2pStatusChangeEvent. r=vchang 2014-01-27 15:48:10 +08:00
Jon Coppeard
e509557b22 Bug 956324 - Remove all breakpoints from a debugger when the last debuggee is removed r=billm 2014-01-11 13:52:35 +00:00
Boris Zbarsky
e41fdd7947 Followup bustage fix for bug 952873 to fix CLOSED TREE 2014-01-28 17:54:31 -08:00
Boris Zbarsky
529b765791 Bug 952873 part 2. Expose JSAPI for doing for-of iteration. r=jorendorff 2014-01-28 16:16:03 -08:00
Boris Zbarsky
d96a02391e Bug 952873 part 1. Rename the cx member of ForOfIterator to cx_ instead. r=jorendorff 2014-01-28 16:14:47 -08:00
Douglas Crosher
e9caae16f8 Bug 964005 - Odinmonkey (ARM): Include d15 in the callee saved registers. r=mjrosenb 2014-01-26 19:42:53 +11:00
Jan de Mooij
d78ff7f593 Bug 959597 part 2 - Use JS_CODEGEN_* instead of JS_CPU_* for JIT backend code. r=nbp 2014-01-28 15:33:56 +01:00
Jan de Mooij
f2e8aa5690 Bug 959597 part 1 - ARM simulator build changes. r=glandium 2014-01-28 15:33:53 +01:00
Haitao Feng
c1d127772e Bug 947711 - Introduce MIRType_Float32x4, MIRType_Int32x4 and MIRType_Doublex2. r=nbp 2014-01-28 09:12:20 -05:00
Emanuel Hoogeveen
a1352a9298 Bug 841646 - Part 4: Allow parallel compilation while the SPS Profiler is active. r=jandem 2014-01-28 08:56:51 -05:00
Emanuel Hoogeveen
599ba813a7 Bug 841646 - Part 3: Move SPSProfiler::slowAssertionsEnabled checks to JitCompileOptions and remove SPSInstrumentation::slowAssertions. r=jandem 2014-01-28 08:56:27 -05:00
Emanuel Hoogeveen
0344873330 Bug 841646 - Part 2: Add locks around |strings| table access to avoid races. r=jandem 2014-01-28 08:56:05 -05:00
Emanuel Hoogeveen
a66085a6f3 Bug 841646 - Part 1: Refactor allocProfileString to not require a JSContext and remove JSContext * parameters from functions that no longer require them as a result. r=jandem 2014-01-28 08:55:40 -05:00
Jon Coppeard
c9edbd1aee Bug 964214 - Don't recompact store buffer if there are no new entries r=terrence 2014-01-28 10:37:14 +00:00
Jon Coppeard
85d06f4fde Bug 964214 - Don't wait for background sweep to finish for minor GC r=terrence 2014-01-28 10:36:56 +00:00
Jon Coppeard
a45a3a0093 Bug 961741 - Allow shape's parent to be null in postbarrier callback r=terrence 2014-01-28 10:35:53 +00:00
Jon Coppeard
785b878733 Bug 959787 - Fix OOM crash added by previous patch r=terrence 2014-01-28 10:35:07 +00:00
Chris Peterson
0300d9a153 Bug 964016 - Part 5: Remove unused JS_BEGIN_EXTERN_C and JS_END_EXTERN_C macros. r=luke 2014-01-24 20:08:28 -08:00
Chris Peterson
6fcb2b7947 Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke 2014-01-24 20:14:56 -08:00
Chris Peterson
86f9e9dcbf Bug 964016 - Part 3: Replace JS_NEVER_INLINE with MOZ_NEVER_INLINE. r=luke 2014-01-24 20:21:24 -08:00
Chris Peterson
c8d24a2942 Bug 964016 - Part 2: Replace JS_UNLIKELY with MOZ_UNLIKELY. r=luke 2014-01-24 19:57:58 -08:00
Chris Peterson
be3dc958b8 Bug 964016 - Part 1: Replace JS_LIKELY with MOZ_LIKELY. r=luke 2014-01-25 22:04:37 -08:00
Nicholas Nethercote
5b2053ce6a Bug 963528 - Don't allocate zero-sized script data. r=luke.
--HG--
extra : rebase_source : 16beebadc53671e68b73d920ad96c366f48206d3
2014-01-27 18:31:34 -08:00
Shu-yu Guo
b9f3f1e038 Bug 959163 - Fix debug asserts in PropertyTree::lookupChild. (r=jorendorff) 2014-01-27 11:33:05 -08:00
Andrew McCreight
a62f062437 Bug 963665 - Make nsIXPConnect noscript. r=bholley 2014-01-27 07:16:38 -08:00
Peiyong Lin
cc3a4c0c6b Bug 961041 - Replace infallible allocation in DOMStorage::BroadcastChangeNotification with fallible allocation. r=smaug 2014-01-27 08:25:19 -05:00
Andrew McCreight
930625ba83 Bug 963312 - Get JS engine telemetry values from Components.utils, not nsIXPConnect. r=bholley,taras 2014-01-26 07:57:00 -08:00
Zack Weinberg
77460d628b Bug 933885 part 1: make xpcshell dump() and print() handle non-ASCII characters correctly. r=bz 2014-01-25 23:27:11 -05:00