Commit Graph

34351 Commits

Author SHA1 Message Date
Jason Orendorff
ffbb270a60 Bug 1032208, part 2 - Fix assertion when converting symbol to number to initialize or set a typed array element. r=jandem.
--HG--
extra : rebase_source : c8f64bbdaadb080a1d4a5a6d42875dbc0efb406d
2014-06-30 14:54:26 -05:00
Jason Orendorff
03d5874b99 Bug 1032208, part 1 - Fix JSON.stringify treatment of symbols. r=jandem.
--HG--
extra : rebase_source : 9336bc1f4ccacc15369ae6297d8cf1bbc0a66cba
2014-06-30 14:22:44 -05:00
Jan de Mooij
f3876da607 Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Ehsan Akhgari
ac70b50c62 Bug 1032520 - Handle the JS configure script as well 2014-07-04 15:47:53 -04:00
Bobby Holley
469f7d03f7 Bug 1029933 - Make Error use a ClassSpec. r=Waldo 2014-07-04 12:41:29 -07:00
Bobby Holley
8e7140c48e Bug 1029933 - Tweak GenericCreateConstructor to make it usable with Error. r=Waldo 2014-07-04 12:41:28 -07:00
Bobby Holley
9c479a7d6e Bug 1029933 - Introduce and use ParentKeyForStandardClass. r=Waldo 2014-07-04 12:41:28 -07:00
Bobby Holley
8095d9d618 Bug 1029933 - Introduce the concept of "dependent" standard classes and handle them in the ClassSpec infrastructure. r=Waldo 2014-07-04 12:41:28 -07:00
Bobby Holley
16f12b1347 Bug 1029933 - Tag JSStdName entries by JSProtoKey rather than a js::Class pointer. r=Waldo
The former is strictly more information, which matters in the case of Error
objects where multiple JSProtoKeys share a js::Class.
2014-07-04 12:41:28 -07:00
Bobby Holley
533944dd34 Bug 1029933 - Give BackstagePass an Enumerate hook to match its NewResolve hook. r=Waldo
This is required in order to avoid exposing resolve hook effects when
Object.freeze() is invoked on the global. The freeze() call first enumerates
the object, after which point any lazy properties need to be resolve so that
we can safely mark the object as non-extensible.
2014-07-04 12:41:27 -07:00
Hannes Verschore
5747480b7c Bug 1030083 - IonMonkey: Eliminate 'index in array' checks for packed arrays, r=jandem 2014-07-04 19:43:24 +02:00
Hannes Verschore
f1615956e3 Bug 1019983 - Don't optimize compare based on baseline caches when more types are seen than present in the cache, r=jandem 2014-07-04 19:43:24 +02:00
Hannes Verschore
fe69d9376a Bug 1013172: Tracelogger: Mark the time a thread is paused, r=jandem 2014-07-04 19:43:23 +02:00
Hannes Verschore
71568ef79c Bug 1032661 - Improve range information on hoisted boundschecks, r=bbouvier,nbp 2014-07-04 19:43:23 +02:00
Ehsan Akhgari
cb4af027c0 Bug 1034094 - Remove support for the gcc-style clang driver on Windows; r=glandium
This basically reverts the now unneeded parts of bug 752034.
clang-cl driver should be used on Windows instead.
2014-07-04 10:43:37 -04:00
Sushant Dinesh
458202047c Bug 1028910: Improve types at branches with MIsObject. r=h4writer. 2014-07-04 15:40:33 +02:00
Hannes Verschore
68be2342e6 Bug 1033959: Fix typo that regressed octane-regexp osx performance, r=nbp 2014-07-04 14:29:51 +02:00
Rémi WENG
81eaba36b3 Bug 1028698 - IonMonkey: Implement Abs recover instruction. r=nbp 2014-07-04 05:17:20 -07:00
Rishab Arora
b532e580f8 Bug 1031632 - Make Map.prototype.set, WeakMap.prototype.set and Set.prototype.add chainable. r=till
--HG--
extra : rebase_source : 1365a1dc29464bf16e337317901f9c34b7bde256
2014-07-03 22:55:26 +05:30
Boris Zbarsky
53c7044efa Bug 1018583 part 2. Remove the returnStringOnly gunk from sandboxes. r=bholley 2014-07-04 01:22:50 -04:00
Carsten "Tomcat" Book
11daed475e Backed out changeset df2b43d4581e (bug 1018583) 2014-07-04 08:23:42 +02:00
Carsten "Tomcat" Book
433d7e0ef9 Backed out changeset 207ccc9f5c2c (bug 966452) 2014-07-04 08:23:40 +02:00
Carsten "Tomcat" Book
88cf063694 Backed out changeset 03b7d111cc86 (bug 857648) 2014-07-04 08:23:17 +02:00
Boris Zbarsky
8c318bc506 Bug 857648 part 6. Remove the now-unused JS::DescribeStack API. r=jimb 2014-07-04 01:25:30 -04:00
Boris Zbarsky
76be35dab9 Bug 966452 part 1. Refactor the js_ReportUncaughtException to produce a (message, JSErrorReport*) pair before reporting. r=waldo 2014-07-04 01:24:54 -04:00
Boris Zbarsky
caa7af4e42 Bug 1018583 part 2. Remove the returnStringOnly gunk from sandboxes. r=bholley 2014-07-04 01:22:50 -04:00
Hannes Verschore
8b637f5795 Bug 1033959 - Don't use wmemchr when string matching on Windows, r=luke 2014-07-04 00:35:23 +02:00
Jim Blandy
6efbed9839 Bug 1031143: Include omitted patch reject fixes. CLOSED TREE r=borked 2014-07-03 12:26:18 -07:00
Jim Blandy
781a6ac99f Bug 1031143: Make CaptureCurrentStack accept an optional limit on the number of frames captured. r=shu 2014-07-03 12:11:24 -07:00
Luke Wagner
dac420dee3 Bug 1030446 - Build a list of code ranges and use this instead of CallSite for describing functions (r=dougc)
--HG--
extra : rebase_source : 6cb5cff2c3192f7d40315afe8007f7bd68549fec
2014-06-25 17:34:23 -05:00
Luke Wagner
50512fd436 Bug 1030446 - Store and use exit-fp instead of exit-sp for asm.js stack unwinding (r=dougc)
--HG--
extra : rebase_source : 1c72f7049869064c465dc711f0cab8332ef7dc12
2014-06-25 15:15:46 -05:00
Luke Wagner
0c87ea96e0 Bug 1030446 - Change asm.js tests to use setJitCompilerOption instead of looping a bunch (r=bbouvier)
--HG--
extra : rebase_source : 8fb050c73594545d93f59a031629c9d219de60ad
2014-06-25 14:28:36 -05:00
Luke Wagner
b14a424f79 Bug 1030446 - Move AsmJSFrameIterator to its own file (r=dougc)
--HG--
extra : rebase_source : b747f42062c1324ebc453151f402903624f33bc5
2014-06-25 14:26:03 -05:00
Bobby Holley
d021cd9c52 Bug 1032457 - Implement the |allowCallbacks| parameter to exportFunction. r=gabor 2014-07-03 11:00:54 -07:00
Bobby Holley
290c97f755 Bug 1032457 - Separate out cloning and non-cloning function forwarders. r=gabor
We're going to add functionality to the cloning version, and the non-cloning
version is going away.
2014-07-03 11:00:54 -07:00
Bobby Holley
baf86dda2c Bug 1032457 - Rename ExportOptions to ExportFunctionOptions. r=gabor 2014-07-03 11:00:53 -07:00
Ryan VanderMeulen
2ab343d76c Backed out changesets 4a19dcbc7e7a and 4907115e02e3 (bug 1029248) for non-unified bustage.
CLOSED TREE
2014-07-03 13:19:29 -04:00
Bill McCloskey
877dce36ab Bug 1029248 - Allow CPOWs to QI to non-scriptable interfaces (r=mrbkap) 2014-07-03 09:48:21 -07:00
Bill McCloskey
c6d95353ef Bug 1029248 - Add helpers to simplify CPOW unwrapping (r=mrbkap) 2014-07-03 09:48:21 -07:00
Bobby Holley
5289676e1d Bug 1032317 - Get rid of JSD early return in RemoteXULForbidsXBLScope. r=gabor 2014-07-03 09:40:52 -07:00
Bobby Holley
268db82b97 Bug 1032317 - Make CompartmentPrivate and XPCWrappedNativeScope accessors infallible. r=gabor 2014-07-03 09:40:52 -07:00
Bobby Holley
66eabb813a Bug 1032317 - Remove XPCWrappedNativeScope::GetNewOrUsed. r=gabor 2014-07-03 09:40:52 -07:00
Bobby Holley
9cbffd8d71 Bug 1032317 - Remove nsIXPConnect::InitClasses. r=gabor 2014-07-03 09:40:52 -07:00
Jan Beich
8ee686c9b1 Bug 1032930 - Unbreak --disable-ion build after bug 1013172. r=h4writer 2014-07-02 09:34:00 -04:00
Ms2ger
6b8ac0158d Bug 1033697 - Remove the temporary variable 'v' from XPCConvert::NativeInterface2JSObject; r=bholley
There is no good reason to keep the additional local variable, especially
because it is only used inside this branch.
2014-07-03 14:58:06 +02:00
Ms2ger
98241a649f Bug 1033697 - Remove dead code from XPCConvert::NativeInterface2JSObject; r=bholley
Earlier in the function, there is an always-returning branch if |flat| is
non-null, so this code is only reached with a null |flat|, and the removed
code is dead.
2014-07-03 14:58:05 +02:00
Guillaume Turri
1d3a7f6cd4 no bug - Minor clean-up. r=jonco,nbp
* removed a code duplication
* improved consistence (between Cell::chunk & eg Cell::arenaHeader)
* removed obsolete comment
2014-07-03 04:34:22 -07:00
Jan de Mooij
b5ea9e5fa4 Bug 1032726 part 6 - Some followup changes. r=bz 2014-07-03 13:05:03 +02:00
Jon Coppeard
f8e8c12186 Bug 1029648 - Enable dynamic heap growth in shell and enforce parameter invariant r=terrence 2014-07-03 10:29:37 +01:00
Jon Coppeard
b9d3345bab Bug 1029648 - Update zone triggers end of background sweeping rather than for every chunk freed r=terrence 2014-07-02 08:11:26 +01:00