Commit Graph

63223 Commits

Author SHA1 Message Date
David Teller
0fcc54d32d Bug 1426478 - Adding license boilerplate to binjs source files;r=Yoric
MozReview-Commit-ID: AgnQYupddDY

--HG--
extra : rebase_source : 942e9b219287bd59a8d84b6ac4966c3c9a52fa42
2018-01-17 11:42:10 +01:00
Brian Hackett
c7030b4301 Bug 1414840 - Don't try to recover from OOM when creating cooperative threads in the shell, r=jandem.
--HG--
extra : rebase_source : 1277619a46e0e0d98969be216ca2ca686a18dbae
extra : histedit_source : 51bedec629d587590c4d62ea246222df5916996b
2017-12-04 07:53:04 -07:00
Paul Bone
fe2d18de92 Bug 1424760 (Part 3) - Add a TelemetryGC unit test r=gfritzsche
toolkit/components/telemetry/tests/unit/test_TelemetryGC.js:
toolkit/components/telemetry/tests/unit/xpcshell.ini:
    Add new unit test.

toolkit/components/telemetry/GCTelemetry.jsm:
    Add an extra method to make testing easier.

js/src/gc/Statistics.cpp:
    Add a reference to the unit test for anyone modifying this code.

--HG--
extra : rebase_source : 0f99c370d686fd1bf8f00a38715a5f27707ddaae
2018-01-16 10:46:00 +11:00
Paul Bone
9c8ead15df Bug 1424760 (Part 2) - Number each of the GC telemetry properties r=mgaudet
By numbering each of the properties we can easily check that we do not
exceed the limit in GCTelemetry.jsm.  Note that this is not relevent for the
nursery since it does not send telemetry.

--HG--
extra : rebase_source : 5ed904d1fdee0da19f8a0ebf612270b197722e0f
2017-12-16 03:04:02 +11:00
Gurzau Raul
115b9999dc Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-01-15 12:00:56 +02:00
Lars T Hansen
6e8efb4445 Bug 1404683 - Mark test as slow, r=me 2018-01-15 09:57:42 +01:00
Makoto Kato
8b76ad494e Bug 1429682 - Remove HAVE_I18N_LC_MESSAGES from old-configure.in. r=froydnj
After landing bug 1356263, no one uses HAVE_I18N_LC_MESSAGES.  So it is
unnecessary to check LC_MESSAGES.

MozReview-Commit-ID: IPgl3rQ2qrd

--HG--
extra : rebase_source : 542ada2cf9ac2775855bba29f39044b55fa93f20
2018-01-12 15:51:57 +09:00
Chris Peterson
37efe4d0e6 Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
MozReview-Commit-ID: DCPTnyBooIe

--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Nika Layzell
a0d1f16079 Bug 1383876 - Part 1: Remove GroupedSHistory and Prerendering logic from C++ code, r=freesamael, r=smaug
MozReview-Commit-ID: 2aHA6NcQPGk
2018-01-12 17:52:52 -05:00
Csoregi Natalia
b64306c51a Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE 2018-01-13 00:04:06 +02:00
Csoregi Natalia
7476b71e00 Merge inbound to mozilla-central r=merge a=merge 2018-01-12 23:59:06 +02:00
Rofael Aleezada
ccff779855 Bug 1427710 part 1 - Make TokenKind an enum class. r=jandem 2018-01-12 15:16:12 +01:00
Jan de Mooij
03f5b1346f Bug 1113014 - Don't emit a branch in LoadDOMPrivate if we know the object kind (native or proxy) statically. r=bz
--HG--
extra : rebase_source : 6648791a98335471d84afbcff73d4801d80e602d
2018-01-12 12:47:19 +01:00
Narcis Beleuzu
4de0807d09 Merge inbound to mozilla-central r=merge a=merge 2018-01-12 13:25:57 +02:00
Mike Hommey
bb2afff5c1 Bug 1425381 - Always enable PIE on Android now that we support only >= 4.1. r=froydnj
--HG--
extra : rebase_source : c73d77ab1274b2dd54a3785a6d77c6e8dcb69f87
2018-01-11 10:42:15 +09:00
Luke Wagner
01374c78a8 Bug 1428453 - Baldr: use hardware traps for Trap::Unreachable (r=bbouvier)
MozReview-Commit-ID: DDSL0WoEj6Y
2018-01-10 12:35:38 -06:00
Noemi Erli
5c14ac4bb7 Backed out changeset 2dab1647f933 (bug 903519) for mass failures on a CLOSED TREE 2018-01-11 22:23:48 +02:00
Noemi Erli
cea0d65a57 Backed out 20 changesets (bug 903519) for detected memory leaks on a CLOSED TREE
Backed out changeset 3f72f8747e29 (bug 903519)
Backed out changeset bb2cc298a155 (bug 903519)
Backed out changeset cc56f32ddae8 (bug 903519)
Backed out changeset ec5b307a28aa (bug 903519)
Backed out changeset 38f4e0426bdd (bug 903519)
Backed out changeset 71831e232df2 (bug 903519)
Backed out changeset 6f3666e9540e (bug 903519)
Backed out changeset c62e5867d763 (bug 903519)
Backed out changeset 7854bfe5d683 (bug 903519)
Backed out changeset f5f72c93adf9 (bug 903519)
Backed out changeset 7d56db668369 (bug 903519)
Backed out changeset 7c96258a6459 (bug 903519)
Backed out changeset 11b3f0fda4ad (bug 903519)
Backed out changeset 2bc9d427f427 (bug 903519)
Backed out changeset fdb6431ea4ff (bug 903519)
Backed out changeset 6d7d15b25489 (bug 903519)
Backed out changeset 457008b194a8 (bug 903519)
Backed out changeset 80b9d97bf1fe (bug 903519)
Backed out changeset 1fc5ee0d0116 (bug 903519)
Backed out changeset 9316d8f7b92a (bug 903519)
2018-01-11 22:18:23 +02:00
Lars T Hansen
061d3eaf3b Bug 1429140 - Make signal handling work for --disable-ion builds. r=luke
Signal handling is improperly ifdeffed on JS_CODEGEN_NONE; the
appropriate conditions are whether the signal handling machinery knows
how to grab the machine state, and that is not JIT-dependent.  (The
Atomics machinery has the same constraint.)  So change the ifdefs
accordingly.

Also fix a bug in jsfun.cpp where it calls into the JIT even if the
JIT is not present; this causes crashes.

--HG--
extra : rebase_source : 17032b79751e598ace73003091e93817cb847b43
2018-01-11 17:32:00 +01:00
Steve Fink
412e0b24f1 Bug 903519 - Register more nursery string buffers to be freed, r=leak
--HG--
extra : rebase_source : 16a09e09681bb48943b6873768788d05b47b373f
2018-01-11 11:27:56 -08:00
Noemi Erli
188184d4dc Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-12 00:04:40 +02:00
Emilio Cobos Álvarez
526d5c1370 No bug: Remove some unused functions. r=me
MozReview-Commit-ID: 3sUI1K0dIeA
2018-01-12 13:08:44 +01:00
Brindusan Cristian
b102ef421c Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2018-01-12 13:32:23 +02:00
Andrew McCreight
4a0dd8ce9d Bug 1429945 - Make ghost window unlinker e10s compatible. r=smaug
Content processes can contain ghost windows, so the debug-only ghost
window unlinker needs to send a message to child processes to get them
to run it, too.

MozReview-Commit-ID: 9Ffc3SDNDJB

--HG--
extra : rebase_source : 875891e9332cf41c4157d246b71c2c361cab4aa6
2018-01-11 14:14:09 -08:00
Kris Maglione
a75561bd62 Bug 1412726: Clean up XPCOM singleton constructor refcount handling. r=froydnj
This is a follow-up to bug 1409249. There are a lot of places where our
factory singleton constructors either don't correctly handle their returned
references being released by the component manager, or do handle it, but in
ways that are not obvious.

This patch handles a few places where we can sometimes wind up with dangling
singleton pointers, adds some explanatory comments and sanity check
assertions, and replaces some uses of manual refcounting with StaticRefPtr and
ClearOnShutdown.

There are still some places where we may wind up with odd behavior if the
first QI for a getService call fails. In those cases, we wind up destroying
the first instance of a service that we create, and re-creating a new one
later.

MozReview-Commit-ID: ANYndvd7aZx

--HG--
extra : rebase_source : acfb0611a028fef6b9387eb5d1d9e285782fbc7c
2017-10-29 16:02:40 -07:00
André Bargull
dda3b6e492 Bug 1429778 - Part 4: Enable more tests which are now passing. r=sfink
--HG--
extra : rebase_source : 794441b7e636220388d7a0f042ebb336702d22ab
2018-01-11 13:12:22 -08:00
André Bargull
dc426447e2 Bug 1429778 - Part 3: Update test262 exclusion list. r=sfink
--HG--
extra : rebase_source : 6692df12d73ddd666eeaf23df60975de2030ea91
2018-01-11 07:01:26 -08:00
André Bargull
480df2553a Bug 1429778 - Part 2: Update test262 - January 2018 edition. rs=sfink
--HG--
extra : rebase_source : d388b38d934573746c0030acfce11e18416762c1
2018-01-11 06:46:18 -08:00
André Bargull
faea5ecad4 Bug 1429778 - Part 1: Update test262 unsupported features list. r=sfink
--HG--
extra : rebase_source : 2c84b5ac29af70c013e19babd9025ef0b0f2bfd6
2018-01-11 06:43:07 -08:00
Miran.Karic
48fefd0ae9 Bug 1423857 - MIPS: Add big endian support. r=lth
This fixes JIT for MIPS big endian. These are MIPS only changes.

--HG--
extra : rebase_source : 36298300b0000ccc14fc8b0d74fd1dcf6115cd63
2018-01-11 04:35:00 +02:00
Miran.Karic
71ee2e6a19 Bug 1423857 - MIPS: Add big endian support. r=jandem
This fixes JIT for MIPS big endian. These are changes in platform
independent code.

--HG--
extra : rebase_source : 5e671f87c9268a964bbf912306ca529ae7de29d1
2018-01-10 08:16:00 +02:00
Boris Zbarsky
4b3ce3fd3c Bug 1430164. Stop doing weird sandbox-callable-wrapping for DOM constructors. r=bholley
This fixes DOM constructor identity in web extension content scripts to work as expected.

MozReview-Commit-ID: Ab4sFWiMU6c
2018-01-12 14:28:28 -05:00
André Bargull
5128e86571 Bug 1413505: Apply TimeClip in Intl.DateTimeFormat format methods. r=gandalf 2017-12-07 04:59:05 -08:00
Benjamin Bouvier
f8bfb1cf37 Bug 1429028: Add a stack recursion check in the wasm::TextToBinary function; r=luke
MozReview-Commit-ID: HPXo0ARuKD6

--HG--
extra : rebase_source : 66be4206150f75be6aa941b6625ce18fa3efdd84
2018-01-09 14:25:03 +01:00
Benjamin Bouvier
1b2285cdac Bug 1429028: Remove unused JSContext arg to CheckRecursionLimitDontReport; r=jandem
MozReview-Commit-ID: DXPsnTVjvok

--HG--
extra : rebase_source : 5877a68b5d71d095714be9d5910e87e8b116e007
2018-01-09 14:29:08 +01:00
Cameron McCormack
563e7a0e4a Bug 1427419 - Part 1: Add an InspectorUtils chrome-only IDL namespace. r=bz,tromey
Also add a way to access it from SpecialPowers for tests and from
importGlobalProperties for system JS scopes.

MozReview-Commit-ID: IewEs0Gf2M9
2018-01-11 12:37:59 +08:00
Steve Fink
5b431f6138 Bug 1426873 - Implement no-arg Shape::dump() to allow calling T->dump() in a templatized function, r=jonco
--HG--
extra : rebase_source : e8668cd0870009d499306872f7f1f36ab5552905
extra : amend_source : a0b4b564e6c3c7e526affdeb47dcc2743e37d9ce
2017-11-17 13:56:20 -08:00
Steve Fink
35c43d8732 No bug. Print diagnostic info when unexpected CFG structure seen in isUnrootedType(). r=me
--HG--
extra : rebase_source : 855d8cd6265ff29113ec139c9f2ba325b656c391
2017-10-17 15:24:37 -07:00
Steve Fink
2b55dba109 Bug 1428507 - Avoid non-inlinable GCCellPtr constructing during tracing, r=jonco
--HG--
extra : rebase_source : ba495b925540ba986677fc579a7182fe6a2cf7cf
2018-01-05 16:50:39 -08:00
Dorel Luca
4eaec4d64b Backed out changeset f56ef640d6c0 (bug 1428453) for failing web platform tests on /_mozilla/wasm/select.wast.js r=backout on a CLOSED TREE 2018-01-11 02:17:12 +02:00
Dorel Luca
2de79f83da Backed out 2 changesets (bug 1426783, bug 1425612) for spidermonekey bustages on non262/extensions/sharedtypedarray.js r=backout on a CLOSED TREE
Backed out changeset a8e2b4cf8e26 (bug 1425612)
Backed out changeset f10263c3babe (bug 1426783)
2018-01-11 01:45:10 +02:00
Jason Orendorff
63a5e2d4e7 Bug 1425612 - Better error messages for invalid structured clone data. r=sfink, a=abillings.
--HG--
extra : rebase_source : 66e28aa6cc6172eb9bbb06c1b8fc934ef80e721d
extra : source : 462f41ca6771fa573e6550509e78dddc8bd8d102
2017-12-16 07:16:26 -06:00
Jason Orendorff
b62884603e Bug 1426783 - Fix error handling in deserialization of invalid typed arrays. r=sfink, a=abillings.
--HG--
extra : rebase_source : 7d2abd2745e22cce8bba4db7bf13afba013fc67a
2018-01-05 15:17:35 -06:00
Luke Wagner
2923e2b28b Bug 1428453 - Baldr: use hardware traps for Trap::Unreachable (r=bbouvier)
MozReview-Commit-ID: DDSL0WoEj6Y

--HG--
extra : rebase_source : 8376098833e8f49d43e629517f8fbe0ece06a825
2018-01-10 12:35:38 -06:00
Jon Coppeard
aab2ca8e2b Bug 1429031 - Fix an assertion failure while optimising a module namespace access r=jandem 2018-01-10 18:24:34 +00:00
Steve Fink
682636463a Bug 903519 - Allocate strings in the nursery, r=flagflip
--HG--
extra : rebase_source : b56175eae41f4027a6128dc87927c40a063f0cf6
extra : amend_source : 991ffa0af2bec35ad66442135984ac44a9b00cde
2017-07-28 16:46:43 -07:00
Jan de Mooij
8ad784a629 Bug 903519 - Disable nursery strings in a Zone if too many get tenured, r=sfink
--HG--
extra : rebase_source : 5f8a19cf5ea3b893be0306c188e957460db69117
2017-10-02 16:42:38 -07:00
Steve Fink
f2388d0c73 Bug 903519 - Split out string nursery pointers from object nursery, r=jonco
--HG--
extra : rebase_source : 6556829e86494d715eed8da1faabd06f48d5e49b
2017-08-14 22:08:49 -07:00
Steve Fink
cf8e0f399f Bug 903519 - Strings in the nursery: JIT, r=jandem
--HG--
extra : rebase_source : 5a63d6424a2d4a593e2d45beb8dd287278d3a6b0
2018-01-04 15:49:14 -08:00
Steve Fink
294ff2a8f0 Bug 903519 - Default nursery strings to off, add ability to enable, r=jonco
--HG--
extra : rebase_source : 17eb8dcee3ec3b1245e88fb672c8d9ef0180205c
2017-11-03 14:00:14 -07:00