Commit Graph

69796 Commits

Author SHA1 Message Date
arthur.iakab
93997623bd Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-03-08 00:14:12 +02:00
arthur.iakab
85ad02d41a Merge inbound to mozilla-central a=merge 2019-03-07 23:58:42 +02:00
Ciure Andrei
712dd2bb8c Backed out 16 changesets (bug 1525245) for perma failing test_document_cookie.html CLOSED TREE
Backed out changeset 3fd27215698f (bug 1525245)
Backed out changeset d9a9e8e77873 (bug 1525245)
Backed out changeset 0e6f7be92e3f (bug 1525245)
Backed out changeset 6790802e2fa5 (bug 1525245)
Backed out changeset a5a9e01116ed (bug 1525245)
Backed out changeset 66e19a0c38dd (bug 1525245)
Backed out changeset fb90d51ba853 (bug 1525245)
Backed out changeset 4772db3625b3 (bug 1525245)
Backed out changeset 9affaf0cb998 (bug 1525245)
Backed out changeset a91b7ebe8bdd (bug 1525245)
Backed out changeset c2a13a7480e1 (bug 1525245)
Backed out changeset abe4482fa137 (bug 1525245)
Backed out changeset b3920c0bcf84 (bug 1525245)
Backed out changeset 0821b81f2724 (bug 1525245)
Backed out changeset 70bed2ad7899 (bug 1525245)
Backed out changeset 5f72ba232cc8 (bug 1525245)
2019-03-07 17:54:18 +02:00
Robin Templeton
f7f334f105 Bug 1532289 - Fix missing pre-write barrier for BigInt values in Ion r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D21941

--HG--
extra : moz-landing-system : lando
2019-03-07 09:32:08 +00:00
Doug Thayer
cc84fd752b Bug 1533056 - Move test_startup_caches out of marionette unit tests r=whimboo
Renamed the test to reflect that it is really just a test of the script preloader
as well. I just moved it to get it close to the ScriptPreloader and near existing
tests.

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

--HG--
rename : testing/marionette/harness/marionette_harness/tests/unit/test_startup_caches.py => js/xpconnect/tests/marionette/test_preloader_telemetry.py
extra : moz-landing-system : lando
2019-03-07 06:30:38 +00:00
Ashley Hauck
6e6fbf08a6 Bug 1532921 - Implement .initializers local variable. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D22290

--HG--
extra : moz-landing-system : lando
2019-03-07 16:10:03 +00:00
Ted Campbell
94421cd86a Bug 1533420 - Remove JSScript::ExplicitUseStrict flag. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D22524

--HG--
extra : moz-landing-system : lando
2019-03-07 16:08:17 +00:00
André Bargull
5a32c1b092 Bug 1533168 - Part 2: Enable previously skipped tests. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D22403

--HG--
extra : moz-landing-system : lando
2019-03-07 14:36:50 +00:00
André Bargull
0132c7a411 Bug 1533168 - Part 1: Update test262 - Mar 06 2018 edition. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D22402

--HG--
extra : moz-landing-system : lando
2019-03-07 14:40:20 +00:00
André Bargull
8ed3709904 Bug 1531202 - Part 2: Reimport test262. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D21678

--HG--
extra : moz-landing-system : lando
2019-03-07 14:42:25 +00:00
André Bargull
2c8853ce51 Bug 1531202 - Part 1: Don't prepend reftest entries in test262 'raw' tests. r=jwalden
- Add separate function to import fixture files instead of treating them like
  test files. This simplifies the code structure a bit and avoids unnecessary
  output spew, because the test262 test record parser no longer complains about
  missing yaml frontmatter.
- Write reftest terms into a new test262/jstests.list file for raw tests.
- Allow including nested jstests.list files in _parse_external_manifest.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 14:42:25 +00:00
Ted Campbell
ccec2820d5 Bug 1533196 - Remove JSScript::FunHasAnyAliasedFormal flag r=jandem
This flag is only used by IonAnalysis and rarely so it should be
computed there instead of in all script/function code paths.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 09:34:05 +00: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
Andrea Marchesini
6856f88972 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21538

--HG--
extra : moz-landing-system : lando
2019-03-07 10:21:15 +00:00
Ashley Hauck
ac789b8f73 Bug 1528039 - Make Reflect.Parse work for fields. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D21537

--HG--
extra : moz-landing-system : lando
2019-03-07 03:22:11 +00:00
Coroiu Cristina
d234f2549a Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-03-07 06:39:14 +02:00
Coroiu Cristina
24aacfe9a4 Merge inbound to mozilla-central a=merge 2019-03-07 06:34:11 +02: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
Ted Campbell
258f9ffb1f Bug 1533003 - Split JSScript::initFromFunctionBox r=jandem
Split into one part for JSScript internal initialization of flags and a
second part for linking the JSFunction and JSScript only after the
script is fully initialized.

Depends on D22322

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:12:30 +00:00
Ted Campbell
f80d62d852 Bug 1533003 - Add SharedScriptData::InitFromEmitter r=jandem
Depends on D22321

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:09:27 +00:00
Ted Campbell
c5c0086ee2 Bug 1533003 - Add PrivateScriptData::InitFromEmitter r=jandem
Depends on D22320

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:06:35 +00:00
Ted Campbell
228743c20b Bug 1533003 - Split out inner-function scope linking in script compile r=jandem
When compiling a script with lazy inner functions, we now know the
scopes that those inner functions belong too and need to save this
information on the inner function itself (as enclosingScope). This patch
makes that process more explicit in JSScript initialization so we can
better reason about error / OOM paths.

Depends on D22319

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:04:10 +00:00
Ted Campbell
d380864cd7 Bug 1533003 - JSScript::fullyInitFromEmitter group flag init r=jandem
Depends on D22318

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:03:12 +00:00
Ted Campbell
085f166748 Bug 1533003 - JSScript::fullyInitFromEmitter group POD fields r=jandem
Depends on D22317

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

--HG--
extra : moz-landing-system : lando
2019-03-06 18:01:34 +00:00
Ted Campbell
8a693c6d8d Bug 1533003 - Cleanup JSScript::fullyInitFromEmitter error handling r=jandem
Use an ExitScope similar to to XDRScript for more consistency.

Depends on D22316

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:59:06 +00:00
Ted Campbell
10940b7d27 Bug 1533003 - Compute JSScript::NeedsFunctionEnvironmentObjects directly from BCE r=jandem
Depends on D22315

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:55:38 +00:00
Ted Campbell
327f2137b8 Bug 1533003 - Compute JSScript::FunHasAnyAliasedFormal directly from BCE r=jandem
Compute this flag directly from BytecodeEmitter data structures instead
of needing to access the partially initialized script while setting its
own flags.

Depends on D22313

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:42:18 +00:00
Ted Campbell
e0eaf32604 Bug 1533003 - Remove JSScript::initFromModuleContext r=jandem
This removes the redundant set of TreatAsRunOnce which is instead set by
CompileOptions before we start compiling. The IsModule flag is now set
directly similar to IsForEval.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:34:39 +00:00
Brian Hackett
5ce011d7de Bug 1532366 - Don't record changes to ScriptSource atomic counter, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22309

--HG--
extra : moz-landing-system : lando
2019-03-06 19:59:34 +00:00
André Bargull
bc7119be42 Bug 1532265 - Part 2: Handle closed generators in async function resume. r=arai
Debugger or OOM errors can close the generator after JSOP_ASYNCAWAIT enqueued
a promise job for AsyncFunctionResume. Change AsyncFunctionResume to handle
this case and also try to reject the result promise with the pending OOM error
if possible.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 16:24:35 +00:00
André Bargull
fea797f99e Bug 1532265 - Part 1: Skip over InterpretGeneratorResume in IsTopMostAsyncFunctionCall. r=arai
- Remove nullptr checks for `calleeTemplate` because it can't be null for
  function frames.
- Always skip over `InterpretGeneratorResume` to ensure baseline sees the same
  number of debugger enter-frame events as interpreter.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 16:29:24 +00:00
Sean Stangl
aad36dec25 Bug 1532996 - Disable test262 atomic tests if ARM64_SIMULATOR. r=jwalden
Atomic tests are invalid in the ARM64 Simulator, because it lacks proper atomics emulation.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 00:57:54 +00:00
Jason Orendorff
e726943dcf Bug 1531830 - Part 2: Update test262 to run matchAll tests unconditionally. r=jwalden
The previous patch makes both String.prototype.matchAll and Symbol.matchAll
unconditional features.

This patch was made by first making the changes to test262-update.py, then
re-running it against the test262 revision already indicated by
js/src/tests/test262/GIT-INFO: `python test262-update.py --revision
59b89a1c834faadc359aecc882587b513877b59b`.

Depends on D22370

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

--HG--
extra : moz-landing-system : lando
2019-03-07 00:01:49 +00:00
Jason Orendorff
eecd28a654 Bug 1531830 - Part 1: Ship String.prototype.matchAll and Symbol.matchAll. r=jwalden
No pref; the feature is not risky or complicated enough to warrant it. It's
easy enough to back this out if need be.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 00:50:39 +00:00
Steve Fink
7c4355ade7 Bug 1524435 - Stop using JSRope::new_<NoGC> when allocating test ropes r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D22033

--HG--
extra : moz-landing-system : lando
2019-03-07 00:27:57 +00:00
Dorel Luca
ac34e1d973 Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Jan Henning
50c69a3713 Bug 1529863 - Remove remnants of unused browser.firstrun and browser.snippets prefs. r=geckoview-reviewers,whimboo,esawin
"browser.firstrun.*" seems to have been unused since the end of XUL-based
Fennec, whereas the code referencing the "browser.snippets.*" prefs was removed
in bug 1482836.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 14:59:46 +00:00
Jan de Mooij
446dc0db91 Bug 1533070 - Get rid of static initializers in GC.cpp by marking some functions/statics constexpr. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D22335

--HG--
extra : moz-landing-system : lando
2019-03-06 17:38:11 +00:00
Andrea Marchesini
4fabb4a2a8 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21538

--HG--
extra : moz-landing-system : lando
2019-03-06 17:04:06 +00:00
Jan de Mooij
9efa0b1b31 Bug 1530937 part 9 - Convert callVMs for Ion IC fallback functions. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D22284

--HG--
extra : moz-landing-system : lando
2019-03-06 17:03:15 +00:00
Jan de Mooij
7d039c5756 Bug 1530937 part 8 - Convert some Ion callVMs that already exist in VMFunctionList-inl.h. r=nbp
Depends on D22278

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

--HG--
extra : moz-landing-system : lando
2019-03-06 15:56:21 +00:00
Jan de Mooij
b2669a46f1 Bug 1530937 part 7 - Move callVM and oolCallVM methods from CodeGeneratorShared to CodeGenerator. r=nbp
They're only used in CodeGenerator.cpp so we can now move some of the helper
classes and templates from the header file to the cpp file.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 15:56:21 +00:00
Csoregi Natalia
5916c8397a Merge inbound to mozilla-central. a=merge 2019-03-06 18:11:32 +02:00
Jan Beich
d2616d9647 Bug 1532851 - Unbreak BSDs build on powerpc64 after bug 1462566. r=bbouvier
Define R32_sig, R01_sig based on:
https://github.com/openbsd/src/blob/master/sys/arch/powerpc/include/signal.h
https://github.com/netbsd/src/blob/trunk/sys/arch/powerpc/include/mcontext.h
https://github.com/freebsd/freebsd/blob/master/sys/powerpc/include/ucontext.h
2019-03-06 02:35:04 +00:00
Csoregi Natalia
56c430aac5 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : rebase_source : 10555d94c948e45e86188feff6153ac981879fcc
2019-03-06 12:39:05 +02:00
Benjamin Bouvier
56ceba9d51 Bug 1532714: Add a wasmUsesCranelift() function to check usage of Cranelift; r=lth
Bulk memory operations can be enabled at the same time Cranelift is, in which
case partial initialization of elements/segments/etc. implementation is
statically implemented, but dynamically controlled by wasmBulkMemoryOps().

Cranelift doesn't implement bulk memory operations yet, so wasmBulkMemoryOps()
returns false, while the static behavior is there. Thus, we have to temporarily
disable partial initialization tests when running with Cranelift. This will go
away when Cranelift supports bulk memory operations.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 09:56:08 +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
Brian Hackett
67fc2c3079 Bug 1530958 - Fix an issue with native groups for unboxed objects. r=jandem
--HG--
extra : amend_source : 3d3dc1b7604345304db269b8289aa6a610aa7d80
2019-03-06 08:29:26 +01:00
shindli
d03156f6a3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-05 23:46:24 +02:00