Commit Graph

2668 Commits

Author SHA1 Message Date
Chris Martin
973f7ba7af Bug 1052579 - Remove arenaId member that was introduced in D25705 r=sfink
In D25705, I added a new arenaId member to the js::BaseAllocPolicy. This
increased the size of everything that uses a JS AllocPolicy, which is a
lot.

This change follows suit from earlier work, which is to make everything
allocation-related have an "arena" version and a "default" version that
uses the arena version with the implied default arena.

StringBuffer is then changed to use this new functionity to define its
own alloc policy that uses the new StringBufferArena.

Differential Revision: https://phabricator.services.mozilla.com/D29685

--HG--
extra : moz-landing-system : lando
2019-05-02 16:31:53 +00:00
Paul Bone
6a6e6728fd Bug 1548161 - Add a JSGC parameter for zoneAllocDelayBytes r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D29476

--HG--
extra : moz-landing-system : lando
2019-05-01 12:30:46 +00:00
Coroiu Cristina
3b1ccb8045 Merge mozilla-central to inbound a=merge 2019-05-01 07:27:22 +03:00
Steve Fink
8484af2fa6 Bug 1547782 - Implement GCPolicy<T>::isValid for Gecko specializations r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D29302

--HG--
extra : moz-landing-system : lando
2019-04-30 21:48:32 +00:00
Steve Fink
2bda356e27 Bug 1538779 - Make Rooted<MyContainer> c(cx) the equivalent of Rooted<MyContainer> c(cx, MyContainer(cx)) if possible r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D26797

--HG--
extra : moz-landing-system : lando
2019-04-30 21:25:15 +00:00
Brindusan Cristian
318a177f68 Backed out changeset f2a3fb166dfb (bug 1538779) for nojit build bustages at backup-point-bug1315634.js. CLOSED TREE 2019-04-29 21:27:59 +03:00
Steve Fink
c8c09edba2 Bug 1538779 - Make Rooted<MyContainer> c(cx) the equivalent of Rooted<MyContainer> c(cx, MyContainer(cx)) if possible r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D26797

--HG--
extra : moz-landing-system : lando
2019-04-29 17:38:14 +00:00
Sylvestre Ledru
96da5036ad Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D28948

--HG--
extra : moz-landing-system : lando
2019-04-28 09:30:05 +00:00
Cosmin Sabou
889d5aa9e6 Backed out changeset d6f935d90da4 (bug 1538779) for causing build bustages on RootingAPI.h CLOSED TREE 2019-04-26 21:27:29 +03:00
Steve Fink
5a33bd5976 Bug 1538779 - Make Rooted<MyContainer> c(cx) the equivalent of Rooted<MyContainer> c(cx, MyContainer(cx)) if possible r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D26797

--HG--
extra : moz-landing-system : lando
2019-04-26 16:54:43 +00:00
Matthew Gaudet
c08cc4c949 Bug 1547104 - Add initial JS profiler subcategories r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D28901

--HG--
extra : moz-landing-system : lando
2019-04-26 13:47:40 +00:00
Jan de Mooij
dcb885cbb7 Bug 1529757 - Add JS::GetFunctionRealm and use it in GetPrototypeFromConstructor. r=jorendorff,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D27867

--HG--
extra : moz-landing-system : lando
2019-04-26 07:46:04 +00:00
Tooru Fujisawa
56585dc81e Bug 1543843 - Add constructors to JSPropertySpec and inner structs/unions. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D27277

--HG--
extra : moz-landing-system : lando
2019-04-26 01:01:15 +00:00
Chris Martin
73fef3e094 Bug 1052579 - Change all found JSString allocation sites to new arena r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D25710

--HG--
extra : moz-landing-system : lando
2019-04-24 13:57:07 +00:00
Kristen Wright
e663ae74b9 Bug 1532803 - Common interface for JSThreadPool tasks r=jonco
Added 'RunnableTask' struct to Utility.h to unify HelperThread task types in a way that can be exposed to XPCOM thread pools. Re-implemented tasks within native HelperThreads using their runnableTask method.

Differential Revision: https://phabricator.services.mozilla.com/D24921

--HG--
extra : moz-landing-system : lando
2019-04-16 16:43:43 +00:00
Sylvestre Ledru
a1dce6440a Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D28329

--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Ted Campbell
628cbe85d8 Bug 1545798 - Remove dead JIT TrackedOptimization kinds. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D28207

--HG--
extra : moz-landing-system : lando
2019-04-19 20:46:56 +00:00
Jon Coppeard
3538d42c33 Bug 1544885 - Don't immediately run another GC slice in idle time if there's no work to do on the main thread r=smaug r=pbone
Differential Revision: https://phabricator.services.mozilla.com/D27889
2019-04-17 14:04:32 +01:00
Yoshi Cheng-Hao Huang
1f64fc3823 Bug 1522061 - Part 2: implement isCCTraceKind with JS_FOR_EACH_TRACEKIND. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D27068
2019-04-15 10:22:38 +08:00
Yoshi Cheng-Hao Huang
714d7e04c5 Bug 1522061 - Part 1: rename to TraceKindCanBeGray. r=jonco
TypeParticipatesInCC is confusing, as this function is used to tell if a
TraceKind can be marked gray.

Differential Revision: https://phabricator.services.mozilla.com/D27067
2019-04-15 10:22:30 +08:00
Chris Martin
7f9d62dd87 Bug 1052579 - Add new JSAPI calls for allocating string buffers r=sfink
Currently, JSAPI malloc calls can only allocate in MallocArena. Now there
are calls for when the user intends to allocate a buffer that will be
"stolen" by one of the NewString calls.

Differential Revision: https://phabricator.services.mozilla.com/D25709

--HG--
extra : moz-landing-system : lando
2019-04-12 17:09:26 +00:00
Sylvestre Ledru
7f60810d86 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D27245

--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Jim Porter
cb257eff1c Bug 1479970 - Enable building Tracelogger by default; r=tcampbell
This patch enables compilation of the tracelogger by default on nightly builds
as well as providing an environment variable (JS_TRACE_LOGGING) to enable or
disable tracelogger instrumentation when compiling Javascript. This helps to
reduce the performance impact of the Tracelogger code when not in use. In the
future, this could be improved to recompile the JS with/without Tracelogger
instrumentation when toggling Tracelogger support.

Differential Revision: https://phabricator.services.mozilla.com/D26255

--HG--
extra : moz-landing-system : lando
2019-04-11 23:52:41 +00:00
Cosmin Sabou
90efd04259 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-12 06:45:27 +03:00
Chris Martin
2d1a0515d9 Bug 1052579 - Add explicit arena to several char-copying JS functions r=sfink
Several of these JS char-copying functions allocate memory, and currently
they implicitly do it in the MallocArena. They now take an explicit argument
about which arena they perform their allocation in.

Differential Revision: https://phabricator.services.mozilla.com/D25708

--HG--
extra : moz-landing-system : lando
2019-04-11 17:53:07 +00:00
Jeff Walden
a3171569ec Bug 1543458 - Perform non-inflating nonsyntactic UTF-8 compilation in jsapi-tests. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26955

--HG--
extra : rebase_source : f876f9371c3ba3f9335cd8ba14f90c97d885ab87
2019-04-10 09:19:30 -07:00
Jeff Walden
3a9a35b609 Bug 1543455 - Don't document JS::CompileUtf8FileDontInflate as invoking functionality with known bugs now that the last known bug's been fixed -- just suggest it's experimental. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26953

--HG--
extra : rebase_source : b7f3ef5598bd18955e95b0b3bd4c8cfdb82b1606
2019-04-09 18:29:43 -07:00
Jeff Walden
08efb53319 Bug 1543455 - Make JS::CompileUtf8{,ForNonSyntacticScope} omit Utf8 from their names and take SourceText<Utf8Unit>&. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26951

--HG--
extra : rebase_source : dc8b4fd9f60eb56e4e438b143aff45f2ac691c82
2019-04-09 17:03:32 -07:00
Jeff Walden
f9114beee7 Bug 1543455 - Rename JS::EvaluateUtf8 to JS::Evaluate and make it take |JS::SourceText<mozilla::Utf8Unit>&| for consistency with the UTF-16 form of the API. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26949

--HG--
extra : rebase_source : d84c7c1081442d0e45aba942dbdd16e626be3047
2019-04-09 13:56:18 -07:00
Boris Zbarsky
46f7cb3617 Bug 1542461. Flag realms of windows as dead once we unlink their nsGlobalWindowInner, so debugger's findAllGlobals won't hand them out to script. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D26563

--HG--
extra : moz-landing-system : lando
2019-04-09 10:21:37 +00:00
Jon Coppeard
ac0bf72aa4 Bug 1505622 - Skip last ditch GC and fail the allocation if we already did last ditch GC within the last minute r=sfink 2019-04-01 18:38:26 +01:00
Jeff Walden
c904278324 Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26616

--HG--
extra : moz-landing-system : lando
2019-04-09 17:58:52 +00:00
Brindusan Cristian
149c6ee879 Backed out changeset 53e379a5738f (bug 1542910) as requested by waldo on irc. CLOSED TREE
--HG--
extra : histedit_source : 8714b8dac07c146822952ede6a8d85b3bf4caf50
2019-04-09 20:43:52 +03:00
Jeff Walden
9f030a47c2 Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26616

--HG--
extra : moz-landing-system : lando
2019-04-09 17:24:31 +00:00
Noemi Erli
4a518ba201 Backed out changeset d470f958ea61 (bug 1542910) for bustages in testEmptyWindowIsOmitted.cpp 2019-04-09 19:24:46 +03:00
Jeff Walden
1a5a3f4e6e Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26616

--HG--
extra : moz-landing-system : lando
2019-04-09 03:50:03 +00:00
Jeff Walden
5d14f1a988 Bug 1542910 - Make JS::CompileFunction return a JSFunction* directly, instead of by outparam for no good reason. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26615

--HG--
extra : moz-landing-system : lando
2019-04-09 03:49:58 +00:00
Jan de Mooij
8fdefc5287 Bug 1541810 part 1 - Move the global lexical environment from GlobalObject to Realm. r=jonco
This way it's easier and faster to access from JIT code.

The old code in GlobalObject::offsetOfLexicalEnvironmentSlot was wrong because
it didn't account for the global having a private slot (XPConnect globals).

Differential Revision: https://phabricator.services.mozilla.com/D26083

--HG--
extra : moz-landing-system : lando
2019-04-08 12:07:23 +00:00
Dorel Luca
1be446680f Merge mozilla-inbound to mozilla-central. a=merge 2019-04-08 13:45:29 +03:00
Yoshi Cheng-Hao Huang
b6ffc7ae16 Bug 1534967 - Part 3: remove Auto(Id)Vector. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D26080
2019-04-08 10:47:25 +08:00
Yoshi Cheng-Hao Huang
222255214e Bug 1534967 - Part 1: use RootedIdVector. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D25042
2019-04-08 10:46:53 +08:00
Jeff Walden
b25d22b225 Bug 1542462 - Rename JS::CompileFunctionUtf8 to JS::CompileFunction, and make it take JS::SourceText<mozilla::Utf8Unit>. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26415

--HG--
extra : moz-landing-system : lando
2019-04-08 06:44:12 +00:00
Jeff Walden
5327fe7f3e Bug 1542120 - Add js/public/Warnings.h for warning-related JSAPI. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26273

--HG--
rename : js/src/jsapi.h => js/public/Warnings.h
extra : moz-landing-system : lando
2019-04-05 22:52:04 +00:00
Sylvestre Ledru
03c8e8c2dd Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098

--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Csoregi Natalia
ba58e936bd Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE 2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603 Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098

--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
24dbe577a5 Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE 2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098

--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Chris Martin
5c32fcd59d Bug 1052579 - Allow JS AllocPolicy to be assigned to an arena r=sfink
Several areas of JS code abstract their memory allocation logic behind an
AllocPolicy. Since these allocations may now need to be in different arenas,
each AllocPolicy will need to be assigned a Mozjemalloc arena that it will
use for all its allocations.

Differential Revision: https://phabricator.services.mozilla.com/D25705

--HG--
extra : moz-landing-system : lando
2019-04-03 19:53:06 +00:00
Robin Templeton
0093033657 bug 1456569 - Implement BigInt64 and BigUint64Array. r=wingo,jwalden,sfink
Differential Revision: https://phabricator.services.mozilla.com/D12581

--HG--
extra : moz-landing-system : lando
2019-04-02 17:11:13 +00:00
Jeff Gilbert
e6f79726e5 Bug 1540357 - Fix implicit int truncation dom/canvas's js/* includes. r=sfink
Depends on D25495

Differential Revision: https://phabricator.services.mozilla.com/D25496

--HG--
extra : moz-landing-system : lando
2019-04-02 17:00:43 +00:00
Gerald Squelart
e1bd1f5588 Bug 1429613 - Using upgraded Variant::match where appropriate - r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24891

--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:55 +00:00
Gerald Squelart
e2d15a1cfb Bug 1429613 - Variant matcher callbacks renamed from match to operator() - r=froydnj
Mechanical change from Matcher::match(...) to Matcher::operator()(...).
This will now permit the use of generic lambdas, and facilitate the
implementation of multi-lambda match.

Differential Revision: https://phabricator.services.mozilla.com/D24889

--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:47 +00:00
Jeff Walden
feb28d4555 Bug 1539690 - Make a JS::RegExpFlag public API for flag bits, and make a JS::RegExpFlags flag-set abstraction. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D25177

--HG--
rename : js/public/RegExp.h => js/public/RegExpFlags.h
extra : moz-landing-system : lando
2019-04-02 03:16:43 +00:00
Noemi Erli
5d1c793bad Backed out changeset 6ccad746f5d8 (bug 1456569) for Linting opt failure in TypedArray.js CLOSED TREE 2019-04-02 05:40:09 +03:00
Noemi Erli
1416a50250 Backed out changeset 6f8d311064d9 (bug 15396900) for bustages in bug1033946.js CLOSED TREE 2019-04-02 05:38:56 +03:00
Robin Templeton
d1fd3eb1c9 bug 1456569 - Implement BigInt64 and BigUint64Array. r=wingo,jwalden,sfink
Differential Revision: https://phabricator.services.mozilla.com/D12581

--HG--
extra : moz-landing-system : lando
2019-04-01 22:22:28 +00:00
Jeff Walden
c6c6107545 Bug 1539690 - Make a JS::RegExpFlag public API for flag bits, and make a JS::RegExpFlags flag-set abstraction. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D25177

--HG--
rename : js/public/RegExp.h => js/public/RegExpFlags.h
extra : moz-landing-system : lando
2019-04-02 02:07:50 +00:00
Jon Coppeard
7b5f8dce00 Bug 1539570 - Improve documentation of our various barrier classes r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D25367
2019-03-29 11:08:16 +00:00
Sylvestre Ledru
ef0bfc3822 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D24168

--HG--
extra : moz-landing-system : lando
2019-03-31 15:12:55 +00:00
Jon Coppeard
e16c189b22 Bug 1306008 - Replace ObjectPtr with JS::Heap<JSObject*> r=sfink
Heap<JSObject*> is now equivalent to ObjectPtr so we can remove the latter.

Differential Revision: https://phabricator.services.mozilla.com/D25084
2019-03-27 16:26:22 +00:00
Jon Coppeard
b425876903 Bug 1306008 - Give JS::Heap<T> pointer wrappers a pre-barrier r=sfink
This adds a pre write barrier to Heap<T> so that these can be uses as non-roots in the heap without breaking our snapshot at the beginning invariant if they are written to during an incremental GC. This makes it harder to misuse and allows us to take out manual barriers in at least one place.

Differential Revision: https://phabricator.services.mozilla.com/D25083
2019-03-27 16:26:09 +00:00
Andrew McCreight
44f182bf3b Bug 1539261, part 2 - Mark various JSStructuredCloneData methods MOZ_MUST_USE. r=sfink
Also, fix up various places that call these methods.

Depends on D24991

Differential Revision: https://phabricator.services.mozilla.com/D24992

--HG--
extra : moz-landing-system : lando
2019-03-27 20:41:17 +00:00
arthur.iakab
7ae8fb76e1 Backed out 2 changesets (bug 1539261) for multiple build bustages on /fuzz-tests/testStructuredCloneReader.cpp CLOSED TREE
Backed out changeset 526daf87fff9 (bug 1539261)
Backed out changeset 5b070b6ae224 (bug 1539261)
2019-03-27 21:59:29 +02:00
Andrew McCreight
c5ae898857 Bug 1539261, part 2 - Mark various JSStructuredCloneData methods MOZ_MUST_USE. r=sfink
Also, fix up various places that call these methods.

Depends on D24991

Differential Revision: https://phabricator.services.mozilla.com/D24992

--HG--
extra : moz-landing-system : lando
2019-03-27 19:34:46 +00:00
Yoshi Cheng-Hao Huang
7f012345b7 Bug 1521732 - Part 5: RootedObjectVector. r=sfink,jonco
s/AutoObjectVector/RootedObjectVector/g

Depends on D23185

Differential Revision: https://phabricator.services.mozilla.com/D23186

--HG--
extra : moz-landing-system : lando
2019-03-26 14:00:51 +00:00
Yoshi Cheng-Hao Huang
edbc333422 Bug 1521732 - Part 3: Use RootedValueVector instead. r=sfink,jonco
s/AutoValueVector/RootedValueVector/g

Depends on D23183

Differential Revision: https://phabricator.services.mozilla.com/D23184

--HG--
extra : moz-landing-system : lando
2019-03-26 13:58:20 +00:00
Yoshi Cheng-Hao Huang
9125968c60 Bug 1521732 - Part 1: StackGCVector and RootedVector. r=sfink
Introduce a MOZ_STACK_CLASS StackGCVector, which is
specialization of inline capacity to 8 of GCVector.

Differential Revision: https://phabricator.services.mozilla.com/D23182

--HG--
extra : moz-landing-system : lando
2019-03-25 06:39:12 +00:00
Paul Bone
b0496498f4 Bug 1539031 - (part 2) Add a incremental non-zonal mode r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D24850

--HG--
extra : moz-landing-system : lando
2019-03-26 23:18:05 +00:00
Paul Bone
ce0c450e03 Bug 1539031 - (part 1) Rename JSGC_MODE_INCREMENTAL r=jonco
Since this mode covers both incremental and zonal GC, let's rename it to
reflect that.  JSGC_MODE_ZONE_INCREMENTAL.

Differential Revision: https://phabricator.services.mozilla.com/D24849

--HG--
extra : moz-landing-system : lando
2019-03-26 16:57:40 +00:00
Jason Orendorff
1c204efb75 Bug 1495072 - Part 2: Add pref for the await fix. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D24255

--HG--
extra : moz-landing-system : lando
2019-03-26 18:16:55 +00:00
Jeff Walden
c40e81a2e9 Bug 1537536 - Move JS::ForOfIterator to its own header. r=arai,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D24257

--HG--
rename : js/src/jsapi.h => js/public/ForOfIterator.h
extra : moz-landing-system : lando
2019-03-26 17:10:44 +00:00
Jeff Walden
dad7f9f2be Bug 1537978 - Move regular expression-related functionality out of jsapi.h into a new js/public/RegExp.h header, further slimming jsapi.h. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D24426

--HG--
rename : js/src/jsapi.h => js/public/RegExp.h
extra : moz-landing-system : lando
2019-03-22 23:56:08 +00:00
Paul Bone
47a363df69 Bug 1531626 - (part 6) Introduce a GC_MIN_NURSERY_BYTES parameter r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D21671

--HG--
extra : moz-landing-system : lando
2019-03-22 05:16:21 +00:00
Coroiu Cristina
48a10d6871 Backed out 6 changesets (bug 1528159, bug 1531626) for mozcrash.py on a CLOSED TREE
Backed out changeset d1e0b848dfca (bug 1528159)
Backed out changeset 31825d66ed83 (bug 1531626)
Backed out changeset f754814d9ade (bug 1531626)
Backed out changeset fb099fd16c0c (bug 1531626)
Backed out changeset 782656ddec8a (bug 1531626)
Backed out changeset d2a8cc3ca43e (bug 1531626)
2019-03-22 06:35:47 +02:00
Paul Bone
10e9057638 Bug 1531626 - (part 5) Introduce a GC_MIN_NURSERY_BYTES parameter r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D21671

--HG--
extra : moz-landing-system : lando
2019-03-21 00:49:11 +00:00
Jeff Walden
58b7603710 Bug 1535446 - Move realm options into a new js/public/RealmOptions.h header. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D23582

--HG--
rename : js/src/jsapi.h => js/public/RealmOptions.h
extra : moz-landing-system : lando
2019-03-20 20:28:43 +00:00
Gurzau Raul
b0e75ab0e1 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-18 23:44:31 +02:00
Steve Fink
1e1c6a0cbd Bug 1534440 - Document GCPolicy<T>::isValid r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D23046

--HG--
extra : moz-landing-system : lando
2019-03-18 11:22:37 +00:00
Sylvestre Ledru
4aa92e3091 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Jason Orendorff
8d46729792 Bug 1529758 - Add a pref for fields. r=tcampbell
This creates a shell command-line option, `--enable-experimental-fields`, and a
Gecko pref, `javascript.options.experimental.fields`.

Both are off by default everywhere, for now.

Differential Revision: https://phabricator.services.mozilla.com/D22045

--HG--
extra : moz-landing-system : lando
2019-03-12 19:14:57 +00:00
Ciure Andrei
0d9d47364c Backed out changeset 2b5f40fc403b (bug 1529758) for FullParseHandler build bustages CLOSED TREE 2019-03-12 19:28:03 +02:00
Jason Orendorff
51eb0a44fd Bug 1529758 - Add a pref for fields. r=tcampbell
This creates a shell command-line option, `--enable-experimental-fields`, and a
Gecko pref, `javascript.options.experimental.fields`.

Both are off by default everywhere, for now.

Differential Revision: https://phabricator.services.mozilla.com/D22045

--HG--
extra : moz-landing-system : lando
2019-03-12 16:42:41 +00:00
Tooru Fujisawa
c92d5c4af5 Bug 1534516 - Use correct AutoGCRooter::Tag in BinASTParserBase. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D23083

--HG--
extra : moz-landing-system : lando
2019-03-12 09:16:00 +00:00
Dorel Luca
0471f46dd2 Backed out changeset 29b1d70e8032 (bug 1534430) for build bustage. CLOSED TREE 2019-03-12 04:00:31 +02:00
Steve Fink
104c0bd83d Bug 1534430 - Pointer types should default to RootKind::Traceable unless a more specific RootKind has been set via MapTypeToTraceKind r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D23040

--HG--
extra : moz-landing-system : lando
2019-03-12 00:46:17 +00:00
Will Hawkins
484d8eda83 Bug 1526315: Non-integer typed array access can lead to repeated bailouts r=iain
Differential Revision: https://phabricator.services.mozilla.com/D21790

--HG--
extra : moz-landing-system : lando
2019-03-11 21:16:19 +00:00
Jan de Mooij
ae04e89ca6 Bug 1527822 - Allow inlining some cross-realm native calls in IonBuilder. r=anba
This adds the basic infrastructure and uses it for some Math natives and the
Array constructor.

Differential Revision: https://phabricator.services.mozilla.com/D20340

--HG--
extra : moz-landing-system : lando
2019-03-11 10:35:32 +00:00
arthur.iakab
85ad02d41a Merge inbound to mozilla-central a=merge 2019-03-07 23:58:42 +02:00
Nicolas B. Pierron
324a5a5901 Bug 1532599 - Force expected crashes on unexpected magic values. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D22120

--HG--
extra : moz-landing-system : lando
2019-03-06 20:23:43 +00:00
Sean Stangl
3bc83a5a93 Bug 1528869 - Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser. r=nbp
Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser.

Differential Revision: https://phabricator.services.mozilla.com/D20243

--HG--
extra : moz-landing-system : lando
2019-03-07 03:57:23 +00:00
Gurzau Raul
c0b13b1cae Backed out changeset b2fb7cd41c79 (bug 1528869) for failing at /waiterlist-order-of-operations-is-fifo.js on a CLOSED TREE. 2019-03-06 09:44:58 +02:00
Sean Stangl
c2742fbea5 Bug 1528869 - Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser. r=nbp
Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser.

Differential Revision: https://phabricator.services.mozilla.com/D20243

--HG--
extra : moz-landing-system : lando
2019-03-06 04:40:51 +00:00
Jeff Walden
3f385ffa33 Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D21827

--HG--
extra : rebase_source : 833bbfce12d90bcb92f7cd88ec65247e48c024c0
2019-03-04 15:19:16 -08:00
Razvan Maries
65e4948ca0 Backed out 4 changesets (bug 1532005, bug 1531638) for causing perma fails and Spidermonkey fail. CLOSED TREE
Backed out changeset 4913d941de92 (bug 1532005)
Backed out changeset 9635abe5bf24 (bug 1532005)
Backed out changeset 738cf4b1126a (bug 1532005)
Backed out changeset e5d9f2ee7ac7 (bug 1531638)
2019-03-05 01:07:28 +02:00
Jeff Walden
ecb4e10bda Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D21827

--HG--
extra : rebase_source : 36c43233ad6d804bd691c8c40d6a6984331c7162
2019-02-28 17:00:56 -08:00
Jan de Mooij
d6b56823da Bug 1521906 part 4 - Remove CheckedUnwrap and rename UnwrapOneChecked to UnwrapOneCheckedStatic. r=bzbarsky
The CacheIR code only sees transparent CCWs so it's fine to do a static unwrap.

DebuggerObject::unwrap is more complicated. We're in the debugger's compartment
there; I went with UnwrapOneCheckedStatic as it seems safest and simplest for
now.

Differential Revision: https://phabricator.services.mozilla.com/D21354

--HG--
extra : moz-landing-system : lando
2019-03-01 09:21:11 +00:00
Yoshi Cheng-Hao Huang
92ccfd4d30 Bug 1529006 - Use Rooted for NewObjectMetadataState. r=jonco
Remove the `if (!mozilla::IsPointer<T>::value || thing)` check in
GCVariantImplementation::trace, as GCPolicy will dispatch these to
GCPointerPolicy and InternalPointerPolicy (for pointers) and StructGCPolicy (for
non-pointers).

Also use Rooted for prevState_ in AutoSetNewObjectMetadata and remove
inherit from CustomAutoRooter.
2019-02-28 16:05:23 +01:00
Yoshi Cheng-Hao Huang
474140112e Bug 1319468 - P3: Use Rooted for RootedCount. r=jonco 2019-02-28 10:26:55 +01:00
Paul Bone
1913e73f45 Bug 1506761 - Add a fraction threshold for collecting the nursery r=sfink
We collect the nursery in idle time if there is less than 256KB of space
remaining.  However when the nursery is small this doesn't make sense, so
add a percentage-based threshold to be used when the nursery is small.

Differential Revision: https://phabricator.services.mozilla.com/D20247

--HG--
extra : moz-landing-system : lando
2019-02-27 03:36:54 +00:00
TheQwertiest
266e6fbbd7 Bug 1526245 - Replaced std::iterator inheritance with iterator traits definitions in JSErrorNotes (as required by C++17). r=Waldo 2019-02-11 15:39:04 +03:00
Andreea Pavel
5e0cd4cef7 Merge mozilla-central to mozilla-inbound. on a CLOSED TREE 2019-03-07 12:00:37 +02:00
Lars T Hansen
deeddf1721 Bug 1488205 - Repurpose the --wasm-gc switch for GC. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D21692

--HG--
extra : rebase_source : 83d2b48fd76a03a8cf175e5f820b4b33f087e4d2
extra : histedit_source : e90289fdb70c787a90a338a2d64e902f4051b34c
2019-03-01 09:55:31 +01:00
Tom Schuster
4d90baf832 Bug 1529939 - Remove JSVAL_TYPE_MISSING. r=bzbarsky,jandem
Differential Revision: https://phabricator.services.mozilla.com/D20936

--HG--
extra : moz-landing-system : lando
2019-02-26 08:48:01 +00:00
Brian Hackett
d9b3f4ab03 Bug 1447244 Part 3 - Track source ID in JSErrorReport and ErrorObject, r=jimb.
--HG--
extra : rebase_source : 474f8ebd0c15a00a5358edb3b189570d1bb68a69
2019-01-16 11:59:34 -10:00
Brian Hackett
e2c9ceed8d Bug 1447244 Part 2 - Track source ID in saved frames, r=jimb.
--HG--
extra : rebase_source : 6d585a37588dae528e0d37d53d0629f9b509e82d
2019-01-16 11:59:03 -10:00
Chris Martin
d87dc0790f Bug 1527767 - Make all JS allocator functions accept an arena as an argument r=sfink
Currently, some of the JS allocators accept an 'arena' argument, but some
don't. This change makes it so they all do. This is nice for consistency, but
it also feeds into Bug 1052579, which will need to use arenas for JSString
backing buffers.

Differential Revision: https://phabricator.services.mozilla.com/D19717

--HG--
extra : moz-landing-system : lando
2019-02-22 18:12:05 +00:00
Tom Schuster
930bcc1969 Bug 1528931 - Introduce JS::ValueType and Value::type. r=jandem
I only converted a few low hanging fruits to the new API. Having to check for PrivateGCThing, which often can't even appear is a bit annoying, but I don't think we really need a different type.

I think next I can look into some of the extractNonDoubleType uses.

Differential Revision: https://phabricator.services.mozilla.com/D20474

--HG--
extra : moz-landing-system : lando
2019-02-21 20:36:44 +00:00
Brindusan Cristian
4411b38ba6 Backed out changeset 7fc962a9fa04 (bug 1528931) for build bustages at Value.h. CLOSED TREE 2019-02-21 18:40:13 +02:00
Tom Schuster
da37ed2a7a Bug 1528931 - Introduce JS::ValueType and Value::type. r=jandem
I only converted a few low hanging fruits to the new API. Having to check for PrivateGCThing, which often can't even appear is a bit annoying, but I don't think we really need a different type.

I think next I can look into some of the extractNonDoubleType uses.

Differential Revision: https://phabricator.services.mozilla.com/D20474

--HG--
extra : moz-landing-system : lando
2019-02-21 16:09:43 +00:00
Dorel Luca
903004bb6f Backed out changeset 240f53dcb5e6 (bug 1528869) for Spidermonkey failure 2019-02-19 20:36:06 +02:00
Sean Stangl
5d0615ddcc Bug 1528869 - Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser. r=nbp
Enable IonMonkey in the ARM64 shell, but keep it disabled in the browser.

Differential Revision: https://phabricator.services.mozilla.com/D20243

--HG--
extra : moz-landing-system : lando
2019-02-19 13:31:33 +00:00
Csoregi Natalia
952908fda0 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-02-17 00:14:07 +02:00
Sylvestre Ledru
e0c61dafa5 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Summary: # ignore-this-changeset

Reviewers: Ehsan

Reviewed By: Ehsan

Subscribers: emilio, jandem, bbouvier, jya

Bug #: 1519636

Differential Revision: https://phabricator.services.mozilla.com/D20062
2019-02-16 20:20:37 +01:00
Markus Stange
d8f5613d1e Bug 1500692 - Add LAYOUT subcategories. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D11341

--HG--
extra : moz-landing-system : lando
2019-02-16 17:38:35 +00:00
Markus Stange
ad3f9a53de Bug 1500692 - Add GRAPHICS subcategories. r=njn,mattwoodrow
r?njn only because this is the first example that adds any actual subcategories.

Differential Revision: https://phabricator.services.mozilla.com/D11340

--HG--
extra : moz-landing-system : lando
2019-02-16 17:38:23 +00:00
Markus Stange
99df373110 Bug 1500692 - Add an AUTO_PROFILER_LABEL_CATEGORY_PAIR macro. r=njn
This is similar to AUTO_PROFILER_LABEL, but with only one argument: a category pair.
This reduces duplication for label frames that want just the subcategory name as
their label: Instead of AUTO_PROFILER_LABEL("Layer building", GRAPHICS_LayerBuilding),
you can now just write AUTO_PROFILER_LABEL_CATEGORY_PAIR(GRAPHICS_LayerBuilding) and
the string will automatically be taken from the subcategory.

Differential Revision: https://phabricator.services.mozilla.com/D11339

--HG--
extra : moz-landing-system : lando
2019-02-16 17:37:58 +00:00
Markus Stange
0b151b8c2b Bug 1500692 - Centralize profiling category definition and add infrastructure for subcategories. r=njn
The actual subcategories will be added in later patches, so that there are no
unused categories.

Differential Revision: https://phabricator.services.mozilla.com/D11334

--HG--
extra : moz-landing-system : lando
2019-02-16 17:37:43 +00:00
Cosmin Sabou
8cb8ef3973 Merge mozilla-central to autoland. 2019-02-15 20:50:34 +02:00
Cosmin Sabou
a4b19fcd61 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 20:39:45 +02:00
Andy Wingo
c3dec3f7b5 Bug 1526309 - Add BigInt support to JSOP_INC and JSOP_DEC r=jandem,terpri
Differential Revision: https://phabricator.services.mozilla.com/D19373

--HG--
extra : moz-landing-system : lando
2019-02-15 09:48:33 +00:00
Sylvestre Ledru
41d1d79094 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D19663

--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Yoshi Cheng-Hao Huang
4adf318170 Bug 1527881 - fix compilation error in Rooted<GCVector<T>>::emplaceBack. r=sfink 2019-02-15 10:38:34 +01:00
Benjamin Bouvier
15a9d62bdb Bug 1524337: Rename ENABLE_BINARYDATA to ENABLE_TYPED_OBJECTS and use moz.configure; r=luke
Differential Revision: https://phabricator.services.mozilla.com/D19786

--HG--
extra : rebase_source : af564cff5be797b6c993fc80d9527b5196680ff8
extra : histedit_source : 8f8f4afa70341fd0628f46f41b5a01260d01c9b3
2019-02-14 12:44:25 +01:00
Andy Wingo
7d559ef8c3 Bug 1527860 - Remove ENABLE_BIGINT #ifdef r=jandem,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19766

--HG--
extra : moz-landing-system : lando
2019-02-14 15:03:44 +00:00
shindli
54aa04bfd1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-13 23:36:24 +02:00
Jim Blandy
6cc5bf24a5 Bug 1145201: Implement JS::AutoDebuggerJobQueueInterruption. r=arai,smaug
Define a new RAII class, AutoDebuggerJobQueueInterruption, to save and restore
the current ECMAScript job queue, to protect the debuggee's job queue from
activity that occurs in debugger callbacks. Add a new method to the JS::JobQueue
abstract base class, saveJobQueue, to support AutoDebuggerJobQueueInterruption.
Comments on AutoDebuggerJobQueueInterruption provide details.

Implement saveJobQueue for SpiderMonkey's internal job queue and for Gecko's job
queue in CycleCollectedJSContext.

Differential Revision: https://phabricator.services.mozilla.com/D17546

--HG--
extra : moz-landing-system : lando
2019-02-12 08:14:34 +00:00
Jim Blandy
0ae9145c60 Bug 1145201: Replace EnqueuePromiseJobCallback and GetIncumbentGlobalCallback with new JobQueue abstract base class. r=arai,smaug
While the behavior of ECMAScript Promises and their associated job queue is
covered by the ECMAScript standard, the HTML specification amends that with
additional behavior the web platform requires. To support this, SpiderMonkey
provides hooks the embedding can set to replace SpiderMonkey's queue with its
own implementation.

At present, these hooks are C-style function-pointer-and-void-pointer pairs,
which are awkward to handle and mistake-prone, as passing a function the wrong
void* is not a type error. Later patches in this series must add new hooks,
making a bad situation worse.

A C++ abstract base class is a well-typed alternative. This introduces a new
`JS::JobQueue` abstract class, and adapts SpiderMonkey's internal job queue and
Gecko's customization to use it. `GetIncumbentGlobalCallback` and
`EnqueuePromiseJobCallback` become virtual methods.

Within SpiderMonkey, the patch gathers the various fields of JSContext that
implement the internal queue into their own type, js::InternalJobQueue. Various
jsfriendapi functions become veneers for calls to methods specific to the
derived class. The InternalJobQueue type itself remains private to SpiderMonkey,
as it uses types like TraceableFifo, derived from Fifo, that are not part of
SpiderMonkey's public API.

Within Gecko, CycleCollectedJSContext acquires JS::JobQueue as a private base
class, and a few static methods are cleaned up nicely.

There are a few other hooks defined in js/public/Promise.h that might make sense
to turn into virtual methods on JobQueue. For example,
DispatchToEventLoopCallback, used for resolving promises of results from
off-main-thread tasks, is probably necessarily connected to the JobQueue
implementation in use, so it might not be sensible to set one without the other.
But it was left unchanged to reduce this patch's size.

Differential Revision: https://phabricator.services.mozilla.com/D17544

--HG--
extra : moz-landing-system : lando
2019-02-12 08:16:16 +00:00
Jan de Mooij
6b8698ce2d Bug 1526588 - Fix some issues with js::GetFirstGlobalInCompartment and XPCWrappedNativeScope::UpdateWeakPointersInAllScopesAfterGC. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D19493

--HG--
extra : moz-landing-system : lando
2019-02-13 06:41:44 +00:00
Sean Stangl
c82dda2439 Bug 1523015 - Summary: Enable Ion on ARM64, but disable in-browser by pref. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D19448

--HG--
extra : moz-landing-system : lando
2019-02-12 22:50:27 +00:00
Jon Coppeard
510569c075 Bug 1526375 - Replace DispatchTaceKindTyped for cell pointers with another version of MapGCThingTyped and use this where possible r=sfink 2019-02-09 08:29:51 +00:00
Jon Coppeard
1aa258e905 Bug 1526375 - Replace DispatchTyped with MapGCThingTyped and use generic lambdas rather than separate functor classes r=sfink 2019-02-09 08:26:27 +00:00
Cosmin Sabou
9c31ff864d Merge mozilla-central to mozilla-inbound. 2019-02-08 18:19:43 +02:00
Jon Coppeard
6e15e4b1f3 Bug 1525663 - Use return type deduction to remove complex decltype expressions r=sfink 2019-02-08 10:34:02 +00:00
Jan de Mooij
13c7bd6d2c Bug 1525674 part 1 - Change the enumerate proxy trap to return the jsid vector instead of an iterator. r=bzbarsky,evilpie
In vm/Iteration.cpp this inlines some functions because there's a single
caller now. Follow-up patches will do additional cleanup/optimization.

Differential Revision: https://phabricator.services.mozilla.com/D18926

--HG--
extra : moz-landing-system : lando
2019-02-08 08:17:00 +00:00
Steve Fink
6611614bd6 Bug 1500247 - Make GCHash{Map,Set} inherit annotations from template params, r=jonco
--HG--
extra : rebase_source : e4e04240c71665965b7fabe563e2327cc6c4ddc3
2018-12-14 09:48:09 -08:00
Steve Fink
1150832058 Bug 1500247 - Add a mechanism to embed known hazards into test files and verify that they are caught, r=jonco
Use it to verify that MOZ_INHERIT_ATTRIBUTE_FROM_TEMPLATE_PARAM works.

--HG--
extra : rebase_source : cb0d6d901d723274053988cdf70fedd92504e40e
2018-12-28 21:13:32 -08:00
Sylvestre Ledru
14486004b6 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D18488

--HG--
extra : moz-landing-system : lando
2019-02-04 19:10:18 +00:00
Boris Zbarsky
1fa4aa00d2 Bug 1521907 part 1. Add a version of CheckedUnwrap that can do a dynamic security check. r=jandem,sfink
We're going to need this because we will have multiple Realms in the same
compartment which want different CheckedUnwrap behavior in some cases.  So we
need to be able to check which Realm we're in.

Differential Revision: https://phabricator.services.mozilla.com/D17881

--HG--
extra : moz-landing-system : lando
2019-02-02 03:22:29 +00:00
Gurzau Raul
44e4d42e8a Backed out 7 changesets (bug 1521907) for failing at unit/test_bug1151385.js on a CLOSED TREE.
Backed out changeset ef04359ccf0d (bug 1521907)
Backed out changeset ac1c61bf61e9 (bug 1521907)
Backed out changeset df09b7be63c5 (bug 1521907)
Backed out changeset 585fa0024d46 (bug 1521907)
Backed out changeset e593c29aaff4 (bug 1521907)
Backed out changeset ac2e180a35b6 (bug 1521907)
Backed out changeset 270b1db9ea81 (bug 1521907)
2019-02-02 00:58:16 +02:00
Boris Zbarsky
511978c370 Bug 1521907 part 1. Add a version of CheckedUnwrap that can do a dynamic security check. r=jandem,sfink
We're going to need this because we will have multiple Realms in the same
compartment which want different CheckedUnwrap behavior in some cases.  So we
need to be able to check which Realm we're in.

Differential Revision: https://phabricator.services.mozilla.com/D17881

--HG--
extra : moz-landing-system : lando
2019-02-01 22:00:10 +00:00
André Bargull
6b7d6152d7 Bug 1522465 - Part 3: Remove remaining users of JSCLASS_IS_ANONYMOUS. r=jorendorff 2019-01-24 05:46:03 -08:00
Tom Schuster
35523d50cc Bug 1156077 - Remove the non-standard Proxy getPropertyDescriptor trap. r=bzbarsky,jorendorff
I am bit surprised myself, but just removing the getPropertyDescriptor trap seems to mostly work.
The only real special case here is the XPC Sandbox, which I changed to keep using its getPropertyDescriptorImpl.

testSetPropertyIgnoringNamedGetter.cpp didn't even really need its getPropertyDescriptor implementation.

Differential Revision: https://phabricator.services.mozilla.com/D17386

--HG--
extra : moz-landing-system : lando
2019-01-25 16:41:34 +00:00
Jeff Walden
59aaefa333 Bug 1522350 - Move JS::ContextOptions{,Ref} to a new js/public/ContextOptions.h header to further slim jsapi.h. r=arai
--HG--
rename : js/src/jsapi.h => js/public/ContextOptions.h
2019-01-23 16:56:56 -08:00
Jeff Walden
c52204b560 Bug 1520878 - Process '-e foo' arguments to the JS shell as UTF-8, not Latin-1, in order to remove JS::EvaluateLatin1, the last public Latin-1-consuming compilation API in SpiderMonkey. r=jandem 2019-01-14 23:01:14 -05:00
Oana Pop Rus
82553cc5f6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-24 19:10:46 +02:00
Jon Coppeard
de2d55ee8b Bug 1521524 - Replace some uses of the 'API' GC reason with more informative ones r=sfink 2019-01-24 12:34:55 +00:00
Jon Coppeard
38c7ae49bd Bug 1521524 - Remove some unused GC reasons r=sfink 2019-01-24 12:34:55 +00:00
Andy Wingo
eff6f7d841 Bug 1507520 - Make BigInt parsing dependent on run-time feature flag r=jandem,terpri
Differential Revision: https://phabricator.services.mozilla.com/D17349

--HG--
extra : moz-landing-system : lando
2019-01-24 09:06:41 +00:00
Dorel Luca
5bbf8df2a2 Backed out changeset 647e4cfc0eb4 (bug 1507520) for Spidermonkey failures 2019-01-23 19:40:54 +02:00