Граф коммитов

70264 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight a8dbd5d65f Bug 1541684, part 2 - Remove nsXPCWrappedJSClass::mIID. r=nika
This is already stored on mInfo.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 23:48:11 +00:00
Andrew McCreight c1d8f269ef Bug 1541684, part 1 - Remove XPCWrappedJSClass::mRuntime. r=bzbarsky
There is only a single XPC JS runtime now, so there's no need to keep a
special pointer around.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 23:48:09 +00:00
Jeff Walden b2ffd2f110 Bug 1542106 - Cache the last (line number, offset => column) mapping returned and use it to optimize a subsequent lookup that's further along in the same line. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26270

--HG--
extra : moz-landing-system : lando
2019-04-05 22:56: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
shindli 45ec6114d3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-06 00:51:18 +03:00
shindli d1f516dbfc Merge inbound to mozilla-central. a=merge 2019-04-06 00:48:45 +03:00
Ted Campbell 4335b1676e Bug 1542356 - Remove misc dead code from SpiderMonkey. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D26367

--HG--
extra : moz-landing-system : lando
2019-04-05 19:23:17 +00:00
Julian Seward 1740813ffe Bug 1532974 - wasm baseline compiler: increase some Vector inline-capacity sizes. r=lhansen.
Profiling with DHAT of wasm baseline compiling the Tanks demo shows some
opportunities for reducing the amount of heap allocation, by modestly
increasing the inline-capacity values for a few Vector types.

Compiling the Tanks demo on x86_64-linux, this patch reduces the number of
allocated blocks by around 12000, whilst increasing neither the total
allocated bytes nor the dynamic instruction count.
2019-04-05 17:25:28 +02:00
André Bargull cd43c70f3c Bug 1540569: Set TZ and LC_ALL for jstestbrowser suite following the jstest shell runner. r=ahal
The shell runner explicitly sets TZ=PST8PDT and LC_ALL=en_US.UTF-8 for the
jstest test suite. Use the same environment defaults when running this test
suite in the browser.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 12:45:00 +00:00
Jan de Mooij 498a78a1d1 Bug 1542190 - Remove Realm::marked_ flag. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D26293

--HG--
extra : moz-landing-system : lando
2019-04-05 14:01:53 +00:00
Boris Zbarsky 39bd790515 Bug 1541513 part 7. Stop using AutoJSContext in XPConnect. r=mccr8
The change to the second FindTearOff call in XPCWrappedNative::GetNewOrUsed is
fixing a longstanding bug that was introduced in bug 903891 when the sense of
the check was incorrectly reversed.  Luckily that code is unreached in
practice, because the two PreCreate hooks we have left never create the wrapper.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 18:12:18 +00:00
Boris Zbarsky cb3918b746 Bug 1541513 part 6. Stop using AutoJSContext in XPCWrappedNativeInfo. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D26006

--HG--
extra : moz-landing-system : lando
2019-04-04 13:14:40 +00:00
Boris Zbarsky 10328fb59d Bug 1541513 part 5. Stop using AutoJSContext in XPCWrappedNativeProto. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D26005

--HG--
extra : moz-landing-system : lando
2019-04-04 02:10:05 +00:00
Boris Zbarsky 5057288ed8 Bug 1541513 part 4. Stop using AutoJSContext in NativeData2JS. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D26003

--HG--
extra : moz-landing-system : lando
2019-04-04 02:08:47 +00:00
Boris Zbarsky 6f668b8c00 Bug 1541513 part 3. Stop using AutoJSContext in NativeInterface2JSObject. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D26002

--HG--
extra : moz-landing-system : lando
2019-04-04 02:07:53 +00:00
Boris Zbarsky 953426c78f Bug 1541513 part 2. Stop using AutoJSContext in some simple XPCConvert cases. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D26000

--HG--
extra : moz-landing-system : lando
2019-04-03 23:33:35 +00:00
Boris Zbarsky 6c53c36a79 Bug 1541513 part 1. Stop requiring a JSContext for JS_SetAllNonReservedSlotsToUndefined. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D25999

--HG--
extra : moz-landing-system : lando
2019-04-05 07:36:32 +00:00
Ted Campbell fe9060461e Bug 1541495 - Use UniquePtr for jit::RematerializedFrame. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D25951

--HG--
extra : moz-landing-system : lando
2019-04-05 10:44:40 +00:00
Coroiu Cristina 749dbdc496 Merge mozilla-central to inbound a=merge 2019-04-05 06:23:29 +03: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
Boris Zbarsky 8b2ada715e Bug 1541600 part 2. Stop using AutoJSContext for the slow script dialog. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D26224

--HG--
extra : moz-landing-system : lando
2019-04-04 20:00:36 +00:00
Jason Orendorff bb1ea391d4 Bug 1541616 - Part 2: Add entries to jstests.list for test262 failures related to fields. r=khyperia
Depends on D26032

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

--HG--
extra : moz-landing-system : lando
2019-04-04 00:33:13 +00:00
Jason Orendorff ad7965a04d Bug 1541616 - Part 1: Fix unimplemented.js. r=khyperia
Differential Revision: https://phabricator.services.mozilla.com/D26032

--HG--
extra : moz-landing-system : lando
2019-04-04 00:31:50 +00:00
André Bargull 6abb73e9ae Bug 1531091: Append Unicode extensions without values and remove "true" value from keywords. r=jwalden
- Implement the spec changes from <https://github.com/tc39/ecma402/pull/302>.
- Additionally for the test262 test to pass, we also need to implement parts of
  the Unicode extension canonicalisation from bug 1522070. Namely removing the
  value "true" from keywords.
- The two helper functions were copied from the Intl.Locale patch.
- `CanonicalizeUnicodeExtension` was slightly modified to allow duplicate
  keywords, which is required by spec.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 14:07:14 +00:00
Nicolas B. Pierron 207369bbb9 Bug 1534492 - Prevent RegAlloc from allocating an argument register for a temp used in passAbiArg base operand. r=sstangl
Differential Revision: https://phabricator.services.mozilla.com/D25944

--HG--
extra : moz-landing-system : lando
2019-04-04 13:33:34 +00:00
Andrew McCreight ec3b52a535 Bug 1541677, part 2 - Remove the unused XPIDL version of GetInterfaceInfo. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D26066

--HG--
extra : moz-landing-system : lando
2019-04-04 05:05:04 +00:00
Andrew McCreight 2f250e281e Bug 1541677, part 1 - Remove unused cx arg to the nsXPCWrappedJSClass ctor. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D26065

--HG--
extra : moz-landing-system : lando
2019-04-04 05:04:41 +00:00
Oana Pop Rus 7f3884edcd Backed out changeset 1778699fa005 (bug 1534492) for spidermonkey bustages on a CLOSED TREE. 2019-04-04 15:29:46 +03:00
Nicolas B. Pierron db7df4aaa2 Bug 1541463 - Enable MacroAssembler spew when --enable-jitspew is provided. r=sstangl
Differential Revision: https://phabricator.services.mozilla.com/D25945

--HG--
extra : moz-landing-system : lando
2019-04-03 16:47:49 +00:00
Nicolas B. Pierron 0f61088a42 Bug 1534492 - Prevent RegAlloc from allocating an argument register for a temp used in passAbiArg base operand. r=sstangl
Differential Revision: https://phabricator.services.mozilla.com/D25944

--HG--
extra : moz-landing-system : lando
2019-04-03 16:46:48 +00:00
André Bargull 2d3c5781a1 Bug 1539132 - Part 6: Save and restore async-generator state in debugger. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D25574

--HG--
extra : moz-landing-system : lando
2019-04-03 20:03:15 +00:00
André Bargull ec3b2bf1e8 Bug 1539132 - Part 5: Add assertions and comments for async-generator states. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D25573

--HG--
extra : moz-landing-system : lando
2019-04-03 20:02:50 +00:00
André Bargull 2ad09c3c4c Bug 1539132 - Part 4: Remove unused return-value parameter from promise-reaction job functions. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D25572

--HG--
extra : moz-landing-system : lando
2019-04-03 20:02:30 +00:00
André Bargull 230ece35c7 Bug 1539132 - Part 3: Update spec references for async-functions. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D25570

--HG--
extra : moz-landing-system : lando
2019-04-03 20:02:08 +00:00
André Bargull fd3426d879 Bug 1539132 - Part 2: Create Function constructor instead of silently failing when not present. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D25569

--HG--
extra : moz-landing-system : lando
2019-04-03 20:01:43 +00:00
André Bargull 72f84d1cde Bug 1539132 - Part 1: Don't root common-names which are implicitly rooted. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D25568

--HG--
extra : moz-landing-system : lando
2019-04-03 20:01:27 +00:00
André Bargull 5943227469 Bug 1533481 - Part 7: Update expected results after ICU update. r=jwalden!
Reviewers: jwalden

Reviewed By: jwalden

Subscribers: jandem

Bug #: 1533481

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

--HG--
extra : rebase_source : d70d7c8c7b56db8d8c5c0952090e476bca4b5e85
2019-04-04 12:45:57 +03:00
André Bargull b8d222ed8a Bug 1533481 - Part 6: Update switch to handle new UNumberFormatFields entries. r=jwalden!
Reviewers: jwalden

Reviewed By: jwalden

Subscribers: jandem

Bug #: 1533481

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

--HG--
extra : rebase_source : 45c9d4a0498b03be2457cbd1c9e951c89097952b
2019-04-04 12:45:47 +03:00
André Bargull 16d9e7dfcd Bug 1533481 - Part 5: Update in-tree ICU to release 64.1. r=jwalden!
--HG--
extra : rebase_source : 9dfdf09968fb65ba1288b5d79d8dd238c270e34f
2019-03-28 07:29:13 -07:00
André Bargull 9402679b29 Bug 1533481 - Part 2: Update SpiderMonkey to Unicode 12. r=jwalden!
Reviewers: jwalden

Reviewed By: jwalden

Subscribers: jandem

Bug #: 1533481

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

--HG--
extra : rebase_source : c9b1969f58e583d6dd0288b0a49e2f8f4b4b7966
2019-04-04 11:52:28 +03:00
André Bargull f008d21b46 Bug 1533481 - Part 1: Use ICU to retrieve the system default locale. r=jwalden!
Summary:

We're setting LC_ALL to "en_US.UTF-8" in js/src/tests/lib/tests.py, but somehow
this doesn't always work, for example on the Try-servers the default locale is
set to "und", but this effect wasn't reproducible locally. Switch to ICU's
default locale function which contains multiple fallbacks to ensure LC_ALL is
honoured as expected.

Reviewers: jwalden

Reviewed By: jwalden

Subscribers: jandem

Bug #: 1533481

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

--HG--
extra : rebase_source : a85c87c142f56753d95d519da109773d30f7db95
2019-04-04 11:51:51 +03:00
Ciure Andrei 69b3ed01c4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-04 07:39:40 +03:00
Ciure Andrei 4116e08315 Merge inbound to mozilla-central. a=merge 2019-04-04 07:34:14 +03:00
Jason Orendorff f7cdd7aeab Bug 1530687 - Check for recursion when delegating `instanceof` to a bound function target. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D25409

--HG--
extra : moz-landing-system : lando
2019-04-04 02:34:52 +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
Mike Hommey 8d0464d639 Bug 1541329 - Remove useless localeconv check. r=froydnj
There is already a AC_HAVE_FUNC(localeconv) in js/src/old-configure.in
on non-Windows, and on Windows, HAVE_LOCALECONV is always set.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 13:16:21 +00:00
Adam Holm bef3ba4a24 Bug 1493189 - Collapse ICCacheIR_UpdatedStub into ICUpdatedStub. r=mgaudet
Collapsed ICUpdatedStup into ICCacheIR_Updated.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:27:07 +00:00
Andreea Pavel 459bd54493 Backed out changeset 00c771aae35e (bug 1530687) for breaking spidermonkey at instanceof-bound-function-recursion.js on a CLOSED TREE 2019-04-03 23:21:07 +03:00