Commit Graph

68692 Commits

Author SHA1 Message Date
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
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
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
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
Tarek Ziadé
c9ddafea1f Bug 1406872 - Remove perf monitoring code - r=jandem,Gijs
This patch removes the StopWatch code that was used in the first version of
about:performance, and not being used anymore.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 14:09:09 +00:00
Jan de Mooij
e97f479a8c Bug 1518753 part 8 - Add --more-compartments to some of the test configurations we use in automation. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16173

--HG--
extra : moz-landing-system : lando
2019-01-12 10:51:11 +00:00
Jan de Mooij
b59b6faf04 Bug 1518753 part 7 - Replace newGlobal() => newGlobal({newCompartment: true}) in jit-tests that fail with same-compartment realms. r=jorendorff
These tests mostly use either the debugger (requires separate compartemnts for
debugger/debuggee) or require a new compartment for things like nukeAllCCWs().

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

--HG--
extra : moz-landing-system : lando
2019-01-12 10:50:53 +00:00
Jan de Mooij
b1dd83671b Bug 1518753 part 6 - Various fixes for jstests to work with same-compartment realms. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D16171

--HG--
extra : moz-landing-system : lando
2019-01-12 10:50:12 +00:00
Jan de Mooij
4372b33619 Bug 1518753 part 5 - Stop using JSProtoKey for initial shapes. r=tcampbell
I added this optimization in bug 1299107 to share more shapes across
compartments. Unfortunately this doesn't play well with same-compartment
realms (ICs can misbehave) because it relies on compartments being isolated
from each other.

I think we should remove this optimization:

* Fixing the IC issue is impossible without deoptimizing everything.
* I added it mainly for chrome globals. The shared-JSM-global work has eliminated
  the need for this there.
* Same-compartment realms win memory back by eliminating CCWs etc.
* It's quite a lot of complicated code.

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

--HG--
extra : moz-landing-system : lando
2019-01-12 10:50:04 +00:00
Jan de Mooij
ab79db896f Bug 1518753 part 4 - Fix IsRegExpPrototype to return false for cross-realm regexp prototypes. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D16169

--HG--
extra : moz-landing-system : lando
2019-01-12 10:50:00 +00:00
Jan de Mooij
e7781606e8 Bug 1518753 part 3 - Fix TypedArrayObject::ensureHasBuffer to create the buffer in the array's realm. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D16168

--HG--
extra : moz-landing-system : lando
2019-01-12 10:49:58 +00:00
Jan de Mooij
e2b5c3a588 Bug 1518753 part 2 - Fix some jit-tests to work with same-compartment realms. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16167

--HG--
extra : moz-landing-system : lando
2019-01-12 10:48:23 +00:00
Jan de Mooij
d84c5227d5 Bug 1518753 part 1 - Add --more-compartments JS shell flag, make same-compartment the default for newGlobal. r=jorendorff
We want to use this shell flag in automation. Some globals really need their
own compartment so tests can use newGlobal({newCompartment: true}) to opt-out.

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

--HG--
extra : moz-landing-system : lando
2019-01-12 10:48:00 +00:00
Narcis Beleuzu
7d7aca6a93 Merge inbound to mozilla-central. a=merge 2019-01-12 11:40:44 +02:00
Mike Hommey
367db61b4a Bug 1519319 - Move bindgen.configure include to js/moz.configure. r=froydnj
Bindgen is only used when building js or toolkit, so we only need to
include the configure part in js/moz.configure, which is included in
both cases.

Depends on D16293

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

--HG--
extra : moz-landing-system : lando
2019-01-11 22:17:54 +00:00
Noemi Erli
7cd3732360 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-11 23:59:12 +02:00
Noemi Erli
d9c49c81c5 Merge inbound to mozilla-central. a=merge 2019-01-11 23:54:33 +02:00
Tooru Fujisawa
d59bf80ea2 Bug 1519322 - Wrap unhandled/handled promise properly in JS shell promise rejection tracker. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16303

--HG--
extra : moz-landing-system : lando
2019-01-11 21:11:50 +00:00
Iain Ireland
b6d084bad8 Bug 1480390: Replace TryNoteIter template op with a more general filter op r=tcampbell
Depends on D14784

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

--HG--
extra : moz-landing-system : lando
2019-01-11 18:43:24 +00:00
Iain Ireland
cd3a5f3723 Bug 1517135: Remove dead declaration from BytecodeEmitter.h r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D16324

--HG--
extra : moz-landing-system : lando
2019-01-11 16:36:40 +00:00