Commit Graph

67937 Commits

Author SHA1 Message Date
Bogdan Tara
df744acb24 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 11:50:21 +02:00
Bogdan Tara
647b9eb109 Merge inbound to mozilla-central. a=merge 2018-11-16 11:47:51 +02:00
Mike Hommey
9cc79e2096 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

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

--HG--
extra : moz-landing-system : lando
2018-11-16 01:15:35 +00:00
Benjamin Bouvier
e50fdcd5ff Bug 1507564: Bind code labels when generating lazy table stubs; r=luke
A lazy stub could generate CodeLabels on x86, because of a constant NaN
generated for the entry's epilogue that ended up in a constant pool. We need to
actually bind these code labels in general.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 21:25:52 +00:00
Narcis Beleuzu
df50f67e20 Backed out 6 changesets (bug 1502457) for build bustages. CLOSED TREE
Backed out changeset febdb867785a (bug 1502457)
Backed out changeset 7ea52c602445 (bug 1502457)
Backed out changeset 73bb6a74cad0 (bug 1502457)
Backed out changeset b172bda6e983 (bug 1502457)
Backed out changeset 0e283ddc6c3b (bug 1502457)
Backed out changeset 638fa0251123 (bug 1502457)
2018-11-16 02:13:57 +02:00
Mike Hommey
b1fdc6b2a4 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

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

--HG--
extra : moz-landing-system : lando
2018-11-15 23:22:24 +00:00
Csoregi Natalia
c9b70719c8 Merge mozilla-central to autoland. CLOSED TREE 2018-11-16 00:19:45 +02:00
Margareta Eliza Balazs
d5555d2998 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-15 18:22:30 +02:00
Rob Wu
1e7066abb9 Bug 1506861 - Stop accessing Proxy.prototype in XrayWrapper r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D11771

--HG--
extra : moz-landing-system : lando
2018-11-15 01:35:59 +00:00
arthur.iakab
82802a8287 Merge mozilla-central to autoland 2018-11-15 11:55:43 +02:00
arthur.iakab
c0b26c4076 Merge inbound to mozilla-central a=merge 2018-11-15 11:54:15 +02:00
Benjamin Bouvier
8e7577856a Bug 1507418: Update table loads in Cranelift; r=lhansen
... to take into account that table entries are always two-word sized. Also
adds an assertion that tables are table of functions, since Cranelift doesn't
handle anyref tables yet.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 09:46:44 +00:00
Brian Hackett
6afedf5456 Bug 1505935 Part 1 - Rename IsInternalScript API, r=lsmyth.
--HG--
extra : rebase_source : 4e182c0ee98d654dd7755c7c5bce9391d6e04a0f
2018-11-10 15:26:52 -10:00
Robin Templeton
d7f25e79d8 bug 1479989 - Update test262 exclusions for BigInt. r=wingo
Disable BigInt variants of tests disabled due to bug 1079853, bug 1129202, or bug 1317416.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 13:26:20 +00:00
Andy Wingo
907dd759ae Bug 1505849 - Implement parser support for BigInt literals r=terpri,jandem
Differential Revision: https://phabricator.services.mozilla.com/D11353

--HG--
extra : moz-landing-system : lando
2018-11-15 15:01:09 +00:00
cybai
e75f5059bd Bug 1506454 - Add JS API to make [[PromiseIsHandled]] internal slot in Promise accessible in Spider Monkey r=arai
Add JS API to make [[PromiseIsHandled]] internal slot in Promise accessible in Spider Monkey.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 14:25:59 +00:00
Andrea Marchesini
c0950f9d8a Bug 1480544 - Allow Console API to log messages on stdout, r=bgrins
This patch introduces 2 new prefs:
- devtools.console.stdout.chrome: if true, console API writes on stdout when
                                  used by chrome code
- devtools.console.stdout.content: console API write on stdout when used by
                                   content code.
2018-11-15 21:47:58 +01:00
Markus Stange
dd44476442 Bug 1500467 - Mark stack labels for JS built-ins as RELEVANT_FOR_JS. r=njn
Depends on D9302

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

--HG--
extra : moz-landing-system : lando
2018-11-14 18:55:38 +00:00
Markus Stange
4945a7b3d2 Bug 1500467 - Add RELEVANT_FOR_JS flag and update profile format with an extra relevantForJS column in the stack table. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D9300

--HG--
extra : moz-landing-system : lando
2018-11-14 18:52:29 +00:00
Razvan Maries
6c55ab0f9e Merge mozilla-inbound to mozilla-central a=merge 2018-11-15 00:16:46 +02:00
Jan de Mooij
3021780177 Bug 1507120 - Use JSScript's flag word instead of BaselineScript::NEEDS_ARGS_OBJ in BaselineCompiler::emit_JSOP_ARGUMENTS. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11869

--HG--
extra : moz-landing-system : lando
2018-11-14 15:41:46 +00:00
Ted Campbell
50da4b722e Bug 1506972 - Remove unused JSOP_THROWING opcode. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D11814

--HG--
extra : moz-landing-system : lando
2018-11-14 10:01:46 +00:00
Jan de Mooij
02a64ae72a Bug 1439466 - Add a comment explaining realms, compartments, zones, contexts, runtimes. r=jorendorff DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D11856

--HG--
extra : moz-landing-system : lando
2018-11-14 13:40:47 +00:00
Coroiu Cristina
d850d799a0 Merge inbound to mozilla-central a=merge 2018-11-14 11:51:31 +02:00
Tooru Fujisawa
8aa3a7e37d Bug 1502280 - followup: Fix non-unified build. r=bustage 2018-11-14 14:36:12 +09:00
Tooru Fujisawa
ca579fbdf2 Bug 1502280 - Remove the case BinTokenReaderBase.errorReporter_ is null. r=Yoric 2018-11-14 13:00:34 +09:00
Lars T Hansen
2221c31b87 Bug 1507106 - add atomic.notify as an alias for atomic.wake. r=jseward
--HG--
extra : rebase_source : 3215d885922a0972c2fe3175727dfbb6173da934
extra : amend_source : af88a971d59b2681d4b358760f93106664745905
2018-11-14 13:22:39 +01:00
Boris Zbarsky
d9766a1241 Bug 1506736. Don't try to Xray statics on JS builtin constructors that we don't normally support Xrays for. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D11764

--HG--
extra : moz-landing-system : lando
2018-11-13 21:19:01 +00:00
Robin Templeton
666f89e2b4 bug 1501104 - Implement asIntN and asUintN methods for BigInt values. r=wingo,jandem
Differential Revision: https://phabricator.services.mozilla.com/D9449

--HG--
extra : moz-landing-system : lando
2018-11-13 18:33:50 +00:00
Iain Ireland
588ce68741 Bug 1505385: Fix exception handling in IsDuckTypedErrorObject r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11590

--HG--
extra : moz-landing-system : lando
2018-11-13 19:06:17 +00:00
Noemi Erli
5cfe84b9ea Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-13 18:33:26 +02:00
Noemi Erli
6e9e399066 Merge inbound to mozilla-central. a=merge 2018-11-13 18:27:16 +02:00
Jan de Mooij
ca4ca8e804 Bug 1506774 - Discard TypeScripts whenever we discard JIT code. r=jonco
Bug 1506479 started unifying discarding of TypeScript and JIT code. This patch
removes the JIT_SCRIPT_RELEASE_TYPES_PERIOD heuristic so we now use the same
preserve-code heuristics for both.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:39:00 +00:00
Henrik Skupin
6f80f44f24 Bug 1495667 - Re-enable js/xpconnect/tests/marionette/test_loader_global_sharing.py on Windows. r=jgraham
Previously disabled via bug 1433905 to allow a refactoring of Marionette, this test can be re-enabled now given that bug 1433873 also got landed.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:23:58 +00:00
Andy Wingo
1471c70fb7 Bug 1506542 - Add run-time flag to enable bigint support r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D11613

--HG--
extra : moz-landing-system : lando
2018-11-13 09:11:06 +00:00
Cosmin Sabou
007b66c1f5 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-13 06:23:01 +02:00
Philip Chimento
97ccc8c012 Bug 1506380 - Rename opcode.py to avoid conflict with builtin Python module. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D11568

--HG--
rename : js/src/vm/opcode.py => js/src/vm/jsopcode.py
extra : moz-landing-system : lando
2018-11-12 03:55:30 +00:00
Jan de Mooij
75708bb610 Bug 1504587 - Fix OOM bug in IonBuilder::inlineRegExpSearcher. r=nbp
We cleared the exception but then propagated the "we have a pending exception" AbortReason.
This makes inlineRegExpSearcher behave like inlineRegExpMatcher and inlineRegExpTester.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 14:52:13 +00:00
Jan de Mooij
37f442272e Bug 1505181 - Use canonical function in TypeNewScript::rollbackPartiallyInitializedObjects. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D11224

--HG--
extra : amend_source : 1b0f328e605ffb06cb89234c3b7cc7b33395e8ce
2018-11-07 21:12:45 +01:00
Jan de Mooij
d43ae0723b Bug 1506554 part 4 - Remove an unnecessary ensureHasTypes call in DebugEnvironmentProxyHandler::handleUnaliasedAccess. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D11627

--HG--
extra : amend_source : 6b67a55e99ea0e29aec3606dd27aeea5750a9eeb
2018-11-12 13:03:53 +01:00
Jan de Mooij
e39dc09177 Bug 1506554 part 1 - Sweep JitZone/JitRealm *after* discarding JIT code. r=jonco
This is not a problem yet because of how GC/TypeScript/BaselineScript interact,
but this caused crashes on Try with the patch for bug 1499644.

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

--HG--
extra : amend_source : c4a68326a0a8e66ec63f8a2089711558a3f8d3a9
2018-11-12 12:16:42 +01:00
Cosmin Sabou
255d347eb4 Merge mozilla-central to mozilla-inbound. a=merge 2018-11-13 06:33:46 +02:00
Paul Bone
c4d44d7488 Bug 1505666 - Fix order of operations in the testGCUniqueId test r=jonco
--HG--
extra : source : 5b4d57c0405477681b3fc7179fe80ceaae4e8122
2018-11-08 16:46:54 +11:00
Jan de Mooij
e2fbf4079d Bug 1506479 - Discard TypeScripts in Zone::discardJitCode instead of during type sweeping. r=bhackett
I also had to make some small changes to relazification for XDR tests for that to pass.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 02:30:15 +00:00
shindli
1e51b7ee7c Merge inbound to mozilla-central. a=merge 2018-11-10 23:36:30 +02:00
Jason Orendorff
c7526e1fa0 Bug 1506152 - Revisions to the comment at the top of Stream.h. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11484

--HG--
extra : moz-landing-system : lando
2018-11-09 22:22:42 +00:00
Jason Orendorff
4e094f66ce Bug 1505152 - Sprinkle curly braces in Stream.cpp. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D11100

--HG--
extra : moz-landing-system : lando
2018-11-09 22:16:44 +00:00
Jason Orendorff
3d0645e205 Bug 1499574 - Part 3: Remove pn_arity. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D8937

--HG--
extra : moz-landing-system : lando
2018-11-09 22:16:21 +00:00
Jason Orendorff
31f4a64309 Bug 1504492 - Ensure arguments to readableStreamWriteIntoReadRequestCallback are same-compartment. r=tcampbell,baku
Differential Revision: https://phabricator.services.mozilla.com/D11403

--HG--
extra : moz-landing-system : lando
2018-11-09 22:18:41 +00:00
Jason Orendorff
1402e1d75e Bug 1505604 - Remove enum class ReaderMode from Stream.cpp. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D11256

--HG--
extra : moz-landing-system : lando
2018-11-09 22:09:59 +00:00