Commit Graph

68835 Commits

Author SHA1 Message Date
Margareta Eliza Balazs
07ff0e85e0 Backed out 4 changesets (bug 1495611) for spidermonkey bustages in js/src/jit-test/tests/binast/lazy/bug1323854-2.binjs CLOSED TREE
Backed out changeset 69d19e1214f7 (bug 1495611)
Backed out changeset a5e61a18508d (bug 1495611)
Backed out changeset 0baeacb1800b (bug 1495611)
Backed out changeset da5caa27480c (bug 1495611)
2019-01-18 14:21:00 +02:00
Margareta Eliza Balazs
0ba2ee586d Backed out changeset 92c56dcf69b8 (bug 1512949) for mochitest failures setup | Login to delete is defined: login0 - false == true - got false, expected true (operator ==) CLOSED TREE 2019-01-18 14:19:05 +02:00
Tooru Fujisawa
d4fcf84025 Bug 1495611 - Part 4: Do not run binast/lazy and binast/nonlazy on windows. r=Yoric
Depends on D16810

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

--HG--
extra : moz-landing-system : lando
2019-01-18 10:27:42 +00:00
Tooru Fujisawa
f4183591ee Bug 1495611 - Part 3: Add jit-tests in BinAST format. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D16810

--HG--
extra : moz-landing-system : lando
2019-01-18 10:30:39 +00:00
Tooru Fujisawa
6f05744ee5 Bug 1495611 - Part 2: Apply cgc-jittest-timeouts.txt to binast directory. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D16809

--HG--
extra : moz-landing-system : lando
2019-01-18 04:55:05 +00:00
Tooru Fujisawa
2343d8ceeb Bug 1495611 - Part 1: Add script to encode jit-tests into BinAST files. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D16808

--HG--
extra : moz-landing-system : lando
2019-01-18 10:30:06 +00:00
vinoth
5d09ad138e Bug 1512949 - Remove eval from tests and flip assertion flag r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D14054

--HG--
extra : moz-landing-system : lando
2019-01-15 13:11:19 +00:00
Margareta Eliza Balazs
ec14417cc3 Merge inbound to mozilla-central. a=merge 2019-01-18 11:40:07 +02:00
Paul Bone
7cace07078 Bug 1517409 - (part 4) Add a postCapacity measurement r=jonco
Alternative version of part 4 which does not add new telemetry.

--HG--
extra : rebase_source : fa733a8d1394e1eca4c9f43e0c8ee1c250e736a3
extra : histedit_source : fa838e0cdbaf9c287a9997a2d85f2aa773920987%2Ccbc0208c43057dc5f8424281d90a08d9265d9fbe
2019-01-17 16:29:10 +11:00
Jim Blandy
1c20a968ad Bug 1516514: Clear the hasCachedSavedFrame bit on frames on compartment mismatch. r=jorendorff
The code that manages the LiveSavedFrameCache would very much like to assert
that, if a frame has its hasCachedSavedFrame bit set, then it actually does have
an entry in the LiveSavedFrameCache. However, in the presence of compartment
mismatches, this becomes temporarily untrue, and OOMs can make 'temporarily'
longer than expected.

This patch more aggressively clears frames' hasCachedSavedFrame bits, so that
when we do purge the cache for a compartment mismatch, all frames get their bits
cleared before we start repopulating the cache.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:09:04 +00:00
Paul Bone
01b779d015 Bug 1517409 - (part 3) Rename Statustics::preBytes to preHeapSize r=jonco
--HG--
extra : rebase_source : 5d6c7afe2da4d10b34ed4198e3ac6d7c5149a7ff
2019-01-15 11:44:48 +11:00
Jan de Mooij
3f26f36af5 Bug 1518440 - Use CheckedInt in JSON Quote function. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D16534

--HG--
extra : moz-landing-system : lando
2019-01-17 18:24:49 +00:00
Robin Templeton
cd03c62743 bug 1508521 - Introduce new increment and decrement operations. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D12378

--HG--
extra : moz-landing-system : lando
2019-01-17 08:09:57 +00:00
Robin Templeton
3e22061d0b Bug 1520370 - Fix BigInt literal matching in Reflect.parse tests. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D16641

--HG--
extra : moz-landing-system : lando
2019-01-17 08:08:00 +00:00
Mike Hommey
1aeaa7d4ef Bug 1520730 - Normalize the config log path before writing it in old-configure. r=froydnj
Add a dummy change to old-configure.in so that old-configure is
force-refreshed.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 13:54:41 +00:00
Jan de Mooij
ed23e847c7 Bug 1519880 part 2 - Split Baseline's FrameInfo class in CompilerFrameInfo and InterpreterFrameInfo. r=djvj
InterpreterFrameInfo is just a very simple interface on top of masm.
CompilerFrameInfo maintains the virtual stack based on the script it's
compiling.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 12:19:06 +00:00
Jan de Mooij
4d6a88776b Bug 1519880 part 1 - Stop exposing StackValue* to BaselineCodeGen. r=djvj
The interpreter won't use the virtual stack and StackValue, so we need to
refactor things a bit so we don't call frame.peek(x) outside the FrameInfo class.

StackValue will be just an implementation detail of CompilerFrameInfo in the
next patch.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 12:18:35 +00:00
Tooru Fujisawa
da5a4f2d3d Bug 1520353 - Detect lexical variable earlier in BinAST. r=Yoric
We're not handling lexical variable in BinAST parser for now, and
it results in unhelpful error at the first reference.
Detecting the lexical variable at declaration and throw more helpful error.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 11:47:36 +00:00
Tooru Fujisawa
09c57019ae Bug 1520392 - Part 5: Skip slow jit-test which depends on helper threads if helper threads are not available. r=jandem
Depends on D16814

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

--HG--
extra : moz-landing-system : lando
2019-01-17 11:46:24 +00:00
Tooru Fujisawa
c729faf00a Bug 1520392 - Part 4: Pass {newCompartment: true} to newGlobal in slow jit-test. r=jandem
Depends on D16813

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

--HG--
extra : moz-landing-system : lando
2019-01-17 11:44:28 +00:00
Tooru Fujisawa
b8be3eed2f Bug 1520392 - Part 3: Add missing error cookie to slow jit-test. r=jandem
Depends on D16812

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

--HG--
extra : moz-landing-system : lando
2019-01-17 11:43:19 +00:00
Tooru Fujisawa
2700d1c995 Bug 1520392 - Part 2: Fix cookie in slow jit-test. r=jandem
Depends on D16811

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

--HG--
extra : moz-landing-system : lando
2019-01-17 11:41:35 +00:00
Tooru Fujisawa
82fa216965 Bug 1520392 - Part 1: Remove expression closures from slow jit-tests. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D16811

--HG--
extra : moz-landing-system : lando
2019-01-17 11:41:12 +00:00
Jan de Mooij
34899a1658 Bug 1520536 - Handle same-compartment wrappers in TypedArrayObjectTemplate<T>::fromTypedArray. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D16796

--HG--
extra : moz-landing-system : lando
2019-01-17 09:13:25 +00:00
Jan de Mooij
ace318a02f Bug 1519792 part 2 - Move pc field from BaselineCodeGen to BaselineCompilerHandler. r=djvj
JSOPs like JSOP_INT8 that depend on the pc need to be specialized now for the
interpreter. I added MOZ_CRASH versions of these that we can implement later.

This split is a bit pessimistic: we should actually (partially) share codegen
for some of these ops like JSOP_RESUME. However it's easier to revisit this
later when we need to implement these ops for the interpreter.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 09:20:15 +00:00
Jan de Mooij
aaf948fa2d Bug 1519792 part 1 - Move some BaselineCompiler methods to the end of the file. r=djvj
The next patch will template-specialize some of the emit_JSOP_FOO methods, but
the C++ compiler wants that to happen before we call these methods in emitBody.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 09:19:50 +00:00
Jan de Mooij
e987ef13a0 Bug 1519779 - Add some helper methods for pushing script/pc or script name/object/scope for VM calls in BaselineCodeGen. r=djvj
Interpreter and compiler will implement these differently, but this allows
sharing codegen for a large number of JSOps.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 21:05:31 +00:00
arthur.iakab
48fa943d27 Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
Mike Hommey
889bc79f27 Bug 1520394 - Don't invoke js subconfigure as a separate process. r=nalexander
Since js configure is also python configure, we can actually create
a ConfigureSandbox directly, with the right environment and arguments.

Depends on D16668

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

--HG--
extra : moz-landing-system : lando
2019-01-16 23:42:12 +00:00
Mike Hommey
a8676d74e4 Bug 1520377 - Inline subconfigure.prepare and simplify. r=nalexander
Depends on D16644

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

--HG--
extra : moz-landing-system : lando
2019-01-16 23:29:19 +00:00
Mike Hommey
4e2dcc2671 Bug 1520377 - Replace/Inline subconfigure.{prefix_lines,execute_and_prefix}. r=nalexander
Use an I/O wrapper on the configure output handler to add the "js/src>"
prefix.

Depends on D16643

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

--HG--
extra : moz-landing-system : lando
2019-01-16 21:44:54 +00:00
Mike Hommey
1384b22d3a Bug 1520377 - Inline subconfigure.run in js/sub.configure. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16643

--HG--
extra : moz-landing-system : lando
2019-01-16 23:18:29 +00:00
Mike Hommey
9a8ac178e9 Bug 1520340 - Don't execute subconfigure as a separate process. r=froydnj
Instead, include the module and inline its main function.

Depends on D16622

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

--HG--
extra : moz-landing-system : lando
2019-01-16 15:21:27 +00:00
Mike Hommey
b5e5928355 Bug 1520340 - Move subconfigure invocation from old-configure to python configure. r=froydnj
This happens to remove the last use of perl from configure.

Depends on D16621

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

--HG--
extra : moz-landing-system : lando
2019-01-16 23:12:20 +00:00
Steve Fink
73f45b9504 Bug 1507322 - test deeply recursive weakmaps
Differential Revision: https://phabricator.services.mozilla.com/D16738

--HG--
extra : moz-landing-system : lando
2019-01-16 21:16:48 +00:00
Iain Ireland
d21cee0f2d Bug 1519700: Add testcase to jit-tests r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D16512

--HG--
extra : moz-landing-system : lando
2019-01-16 19:02:05 +00:00
Steve Fink
88a5681d61 Bug 1519263 - Skip tsan tests that consume too much memory r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D16513

--HG--
extra : moz-landing-system : lando
2019-01-16 10:55:33 +00:00
Brian Hackett
491c3a9d73 Bug 1520343 - Pass through events when choosing random addresses for memory allocation, r=ehoogeveen.
--HG--
extra : rebase_source : f6a4610184c54a6cd1d1d6de4fb5057d58799976
2019-01-15 13:18:32 -10:00
Razvan Maries
3a732b5669 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-16 19:09:08 +02:00
Razvan Maries
4c67bec411 Merge mozilla-inbound to mozilla-central a=merge 2019-01-16 19:00:15 +02:00
Oana Pop Rus
bd4d528ac8 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-16 11:40:36 +02:00
Ciure Andrei
3e41a8bb1a Backed out changeset 1e7a80d93de5 (bug 1507322) for causing build bustages deep-weakmap.js CLOSED TREE 2019-01-16 17:41:31 +02:00
Nicolas B. Pierron
56a92557d7 Bug 1518565 - Flush the instruction cache when patching OSIPoints. r=sstangl 2019-01-16 16:27:06 +01:00
Steve Fink
31d7c7bb62 Bug 1507322 - Test deeply recursive weakmaps. r=jonco
--HG--
extra : rebase_source : 2ae763ae454a5138ae0cc0e11f42f6f2baa92731
2019-01-15 14:21:33 -08:00
Jan de Mooij
fb6b8ae778 Bug 1520129 - Remove redundant isSelfHostedBuiltin checks in GetFunctionThis / JSOP_FUNCTIONTHIS. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D16536

--HG--
extra : moz-landing-system : lando
2019-01-16 09:14:38 +00:00
Sylvestre Ledru
47a5dd1fb8 Bug 1519636 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-01-16 08:50:07 +00:00
Jan de Mooij
7471918d94 Bug 1520189 - Remove the ToWindowProxyIfWindow call in LexicalEnvironmentObject::thisValue; handle this in js::SetWindowProxy instead. r=luke
This simplifies LexicalEnvironmentObject::thisValue so it's easier to inline in JIT code.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 20:33:13 +00:00
Jan de Mooij
bd0805832f Bug 1520093 - Make evalcx work with same-compartment realms. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16530

--HG--
extra : moz-landing-system : lando
2019-01-15 20:03:43 +00:00
Daniel Varga
c4bdfad8bd Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-16 06:56:15 +02:00
Daniel Varga
55006aaaec Merge mozilla-inbound to mozilla-central. a=merge 2019-01-16 06:49:11 +02:00
Jason Orendorff
a94714d9aa Bug 1515816 - Fix missing OOM check in ReadableStreamCreateReadResult. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D16361

--HG--
extra : moz-landing-system : lando
2019-01-16 00:34:24 +00:00
Tom Schuster
1dc969f10b Bug 1519142 - Handle cyclic [[Protototype]] chains in two places. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16387

--HG--
extra : moz-landing-system : lando
2019-01-15 17:24:47 +00:00
Paul Bone
6966ea635d Bug 1517409 - (part 2) Rename HeapUsage to HeapSize r=jonco
--HG--
extra : rebase_source : 6ff3ef839321829499574cc85c266e8c6f506911
2019-01-11 16:16:14 +11:00
Jason Orendorff
25527b37f0 Bug 1514051 - Part 2: Drop the underlying source along with other GC edges in ReadableStreamControllerClearAlgorithms. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D14512

--HG--
extra : moz-landing-system : lando
2019-01-15 20:16:30 +00:00
Jason Orendorff
db9feb6766 Bug 1514051 - Part 1: Drop GC edges when a stream is no longer readable. r=arai
I think it's a little bizarre for this to be part of the standard, but if it
weren't there, I wouldn't know it was safe to do this.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 20:16:05 +00:00
Jan de Mooij
f8df49e89e Bug 1520183 - Add a script flag for JSScript::trackRecordReplayProgress(). r=bhackett
This makes it possible to inline this check in JIT code.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 15:35:46 +00:00
Tom Tromey
805e16ad13 Bug 1520003 - make ExecutableAllocator.py work with Python 2; r=nbp
ExecutableAllocator.py's PoolIterator is a Python 3 iterator in that
it defines the __next__ method.  Defining |next| as well lets this
code work in Python 2.

MozReview-Commit-ID: JlkSsZHZkpw

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

--HG--
extra : moz-landing-system : lando
2019-01-15 09:59:22 +00:00
Bogdan Tara
7b951cf2bc Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-15 18:12:37 +02:00
Bogdan Tara
e94442500f Merge inbound to mozilla-central. a=merge 2019-01-15 18:09:48 +02:00
Jan de Mooij
e57be27532 Bug 1519857 - Enter the script's realm in DecompileAtPCForStackDump. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D16531

--HG--
extra : moz-landing-system : lando
2019-01-15 10:03:42 +00:00
Iain Ireland
0010b1f6f1 Bug 1480390: Use TryNoteIter in HasLiveStackValueAtDepth r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D16566

--HG--
extra : moz-landing-system : lando
2019-01-15 15:34:06 +00:00
Jan de Mooij
cdf2189051 Bug 1519809 - Replace IsActiveEval/IsCachedEval flags on JSScript with a single IsForEval flag. r=luke
Differential Revision: https://phabricator.services.mozilla.com/D16449

--HG--
extra : moz-landing-system : lando
2019-01-14 15:56:15 +00:00
Brindusan Cristian
dfde5a833c Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-15 06:40:07 +02:00
Brindusan Cristian
d34193a4f4 Merge inbound to mozilla-central. a=merge 2019-01-15 06:38:06 +02:00
Narcis Beleuzu
f0c5e5929a Backed out changeset e44a152c9f9f (bug 1519263) for spidermonkey bustages. 2019-01-15 05:48:04 +02:00
Narcis Beleuzu
8b80c64ea5 Backed out 2 changesets (bug 1514051) for hazard-linux64-haz bustages at Stream.cpp . CLOSED TREE
Backed out changeset 4b9bf0633280 (bug 1514051)
Backed out changeset bd071dbcecad (bug 1514051)
2019-01-15 01:19:36 +02:00
Narcis Beleuzu
e781289927 Backed out changeset 627f1def8aeb (bug 1480390) for spidermonkey bustages on /bug1480390.js . CLOSED TREE
--HG--
extra : histedit_source : bc8c728973377dd6abe6209767ad6b95c9c69ba5
2019-01-15 00:14:27 +02:00
Steve Fink
ba80fe4582 Bug 1507322 - mark implicit edges via mark stack instead of eagerly, r=jonco
--HG--
extra : topic : weakmap.stack
extra : rebase_source : 9c48dcb63a197b01fcca393f0510e4ef29a3ff45
extra : amend_source : 9b6189116b138863ab65a025eb39eb232dbd5bc6
2019-01-11 15:43:56 -08:00
Brindusan Cristian
ba661244da Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-14 23:53:38 +02:00
Brindusan Cristian
2e2984f826 Merge inbound to mozilla-central. a=merge 2019-01-14 23:51:26 +02:00
Iain Ireland
f8135ec3c3 Bug 1519700: Fix incorrect logic in TryNoteIter::settle r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D16494

--HG--
extra : moz-landing-system : lando
2019-01-14 19:41:05 +00:00
Jon Coppeard
05f6ff93cf Bug 1519794 - Reset incremental GC on allocation triggers that happen late in an incremental collection r=sfink 2019-01-14 18:59:27 +00:00
Iain Ireland
393c407649 Bug 1480390: Use TryNoteIter in HasLiveStackValueAtDepth r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D14785

--HG--
extra : moz-landing-system : lando
2019-01-11 20:04:34 +00:00
Jason Orendorff
7045bebfc5 Bug 1514051 - Part 2: Drop the underlying source along with other GC edges in ReadableStreamControllerClearAlgorithms. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D14512

--HG--
extra : moz-landing-system : lando
2019-01-14 20:42:08 +00:00
Jason Orendorff
0997b7e44f Bug 1514051 - Part 1: Drop GC edges when a stream is no longer readable. r=arai
I think it's a little bizarre for this to be part of the standard, but if it
weren't there, I wouldn't know it was safe to do this.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:41:33 +00:00
Tom Tromey
5b8e2d4525 Bug 1483913 - prettify gdb unwinder comments; r=nbp
Bug 1464869 resulted in blank lines being inserted between comments
and the classes they describe in the gdb unwinder code.  This patch
changes most of these comments into doc strings instead.

MozReview-Commit-ID: 6XQwheUNRxI

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

--HG--
extra : moz-landing-system : lando
2019-01-14 17:09:23 +00:00
Jason Orendorff
f2d26251b3 Bug 1515039 - Running jstests is extremely slow. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D16210

--HG--
extra : moz-landing-system : lando
2019-01-12 10:40:21 +00:00
Jason Orendorff
372ffbed89 Bug 1504464 - Part 11: Remaining random changes. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D14509

--HG--
extra : moz-landing-system : lando
2019-01-14 20:36:08 +00:00
Jason Orendorff
f073d94a31 Bug 1504464 - Part 10: Rename a local variable to follow the unwrapped convention. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D14508

--HG--
extra : moz-landing-system : lando
2019-01-14 20:35:37 +00:00
Jason Orendorff
2423adc195 Bug 1504464 - Part 9: Rename function that implements ReadableStreamControllerCanCloseOrEnqueue. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D14507

--HG--
extra : moz-landing-system : lando
2019-01-14 20:35:17 +00:00
Jason Orendorff
b1a621b618 Bug 1504464 - Part 8: Rename the handler called when a tee'd stream becomes errored. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D14506

--HG--
extra : moz-landing-system : lando
2019-01-14 20:35:12 +00:00
Jason Orendorff
7f84bdfbb1 Bug 1504464 - Part 7: Stop using GetPropertyPure in Streams.cpp. r=jwalden
No change in behavior that I'm aware of.  It should be correct either way,
since the object is guaranteed to be an object created just so by code
elsewhere in the Streams implementation. But the intended purpose of
GetPropertyPure is in a fast path, backstopped by an actual GetProperty, not
for cases like this.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:35:08 +00:00
Jason Orendorff
ce18d0c824 Bug 1504464 - Part 6: Rearrange control flow in ReadableStream_getReader slightly to resemble the standard steps. r=jwalden
No change in behavior.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:33:30 +00:00
Jason Orendorff
52a5376097 Bug 1504464 - Part 5: Fix destructuring behavior in ReadableStream.prototype.getReader. r=jwalden
The section headers in the spec that look like JS destructuring are in fact
normative. The methods have to behave just like JS destructuring; see
<https://streams.spec.whatwg.org/#conventions> for details.

This means the getReader method
<https://streams.spec.whatwg.org/#rs-get-reader> must do a full property Get
for options.mode, even if that means querying %ObjectPrototype%, absurd as it
sounds.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:33:01 +00:00
Jason Orendorff
14e641c6a6 Bug 1504464 - Part 4: Comment-only changes. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D14499

--HG--
extra : moz-landing-system : lando
2019-01-14 20:32:31 +00:00
Jason Orendorff
1c0b4e6323 Bug 1504464 - Part 3: Update CreateExternalReadableByteStreamController to the current standard. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D14498

--HG--
extra : moz-landing-system : lando
2019-01-14 20:31:55 +00:00
Jason Orendorff
176572ef97 Bug 1504464 - Part 2: Mark reader.[[closedPromise]] as handled in reader.releaseLock(). r=jwalden
In this case, it's likely the user doesn't see this as an error at all.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:31:29 +00:00
Jason Orendorff
0e778e8714 Bug 1504464 - Part 1: Mark reader.[[closedPromise]] as handled when creating a reader for an already-errored stream. r=jwalden
I don't know why it's OK to drop this particular error; my guess is that the
error was already reported previously, when the stream became errored, and
there's no point reporting it again.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:30:56 +00:00
Jason Orendorff
7ca57d1231 Bug 1317416 - GetPrototypeFromConstructor needs to retrieve the fallback prototype from the constructor's realm. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D14907

--HG--
extra : moz-landing-system : lando
2019-01-14 20:19:09 +00:00
Jason Orendorff
e2b1e6991c Bug 1518648 - Tighten up a couple of assertions. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D15991

--HG--
extra : moz-landing-system : lando
2019-01-14 20:04:28 +00:00
Tooru Fujisawa
503d23d3fd Bug 1519612 - Handle exception while reporting unhandled rejections. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16386

--HG--
extra : moz-landing-system : lando
2019-01-14 23:56:13 +00:00
Mike Hommey
95bcdbeaaa Bug 1519603 - Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander
Because we only ever run one subconfigure, the machinery to execute
several is not useful anymore. Inlining it allows to simplify the code
too, because it doesn't need to be generic anymore. This also removes
the last remaining bits of acwinpaths.m4.

Also remove now unused support for --list in build/subconfigure.py.

Depends on D16380

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:37:06 +00:00
Mike Hommey
236f9da6bb Bug 1519603 - Don't run subconfigure from js/src. r=nalexander
There aren't any anymore.

Depends on D16379

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:35:03 +00:00
Steve Fink
7d6707ef30 Bug 1519263 - Run tests with 2 concurrent processes instead of 8, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D16513

--HG--
extra : moz-landing-system : lando
2019-01-14 23:46:24 +00:00
Mike Hommey
106cde5e98 Bug 1519744 - Remove MOZ_GLUE_WRAP_LDFLAGS. r=dmajor
It's been unused since NUWA was removed in bug 1284674.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 16:58:34 +00:00
Csoregi Natalia
4a86022f41 Merge mozilla-central to autoland. CLOSED TREE 2019-01-14 19:19:46 +02:00
Jon Coppeard
f784804b9a Bug 1519405 - Add enums for flags passed to Zone::discardJitCode() r=jandem 2019-01-14 13:31:44 +00:00
Jon Coppeard
78f8d4a2e2 Bug 1519397 - Fix non-unified build bustage r=me 2019-01-14 11:32:54 +00:00
Jon Coppeard
cc1da19831 Bug 1519397 - Factor GC locking RAII classes out of vm/Runtime.h r=pbone 2019-01-14 11:02:35 +00:00
David Major
9ed87684ba Bug 1484835 - Extend the Windows JIT unwind handler to ARM64 r=luke
Because the .xdata format on ARM64 can only encode sizes up to 1M (much too small for our JIT code regions), we register a function table callback to provide RUNTIME_FUNCTIONs at runtime. Windows doesn't seem to care about the size fields on RUNTIME_FUNCTIONs that are created in this way, so the same RUNTIME_FUNCTION can work for any address in the region. We'll set up a generic one in RegisterExecutableMemory and the callback can just return a pointer to it.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 14:06:24 +00:00