Dorel Luca
30b5be6d16
Merge mozilla-inbound to mozilla-central r=merge a=merge
2018-01-23 19:46:03 +02:00
Benjamin Bouvier
f0075796d0
Bug 1431669: Follow up to fix build bustage on a CLOSED TREE; r=me
...
NoTypePolicy actually can't be used in a MixPolicy; revert this change.
MozReview-Commit-ID: 2BgZ3yNh8CP
--HG--
extra : rebase_source : 32615ccdc3181d60ff345e308ef63fa17362d043
2018-01-23 12:24:15 +01:00
Christian Holler
5e6434ac23
Bug 1431090 - Add FuzzingInterface support to JS engine. r=jandem
...
This patch adds basic support for the fuzzing interface in the JS engine on top
of the last patch. This includes all the necessary code except for actual
targets (just an example target skeleton) and also makes sure that the fuzzing
code is packaged for the standalone release.
MozReview-Commit-ID: D6Tyebz3jZS
--HG--
extra : rebase_source : f07a5d2bf8e09fb6c93501e58fbb958004e2fa05
2018-01-17 17:05:04 +01:00
Coroiu Cristina
faa2f8c7da
Backed out 2 changesets (bug 1431090) for Bf bustage at src/tools/fuzzing/interface/harness/FuzzerTestHarness.h
...
Backed out changeset 2e98bda3f397 (bug 1431090)
Backed out changeset eb6acc9e44ad (bug 1431090)
--HG--
rename : tools/fuzzing/registry/FuzzerRegistry.cpp => tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.cpp
rename : tools/fuzzing/registry/FuzzerRegistry.h => tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.h
rename : tools/fuzzing/interface/harness/FuzzerRunner.cpp => tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.cpp
rename : tools/fuzzing/interface/harness/FuzzerRunner.h => tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.h
rename : tools/fuzzing/interface/harness/FuzzerTestHarness.h => tools/fuzzing/libfuzzer/harness/LibFuzzerTestHarness.h
rename : tools/fuzzing/interface/harness/moz.build => tools/fuzzing/libfuzzer/harness/moz.build
2018-01-23 13:49:26 +02:00
Christian Holler
08e812cc03
Bug 1431090 - Add FuzzingInterface support to JS engine. r=froydnj
...
This patch adds basic support for the fuzzing interface in the JS engine on top
of the last patch. This includes all the necessary code except for actual
targets (just an example target skeleton) and also makes sure that the fuzzing
code is packaged for the standalone release.
MozReview-Commit-ID: D6Tyebz3jZS
--HG--
extra : rebase_source : 58e4d85e657347b061de0ed912365f2a955a86e3
2018-01-17 17:05:04 +01:00
Christian Holler
9b23854e8b
Bug 1432298 - Make sm-fuzzing build ready for libfuzzer. r=sfink
...
This patch disables the stdcxx-compat check for the sm-fuzzing build which
requires patching autospider as well. Furthermore, it switches the build
to linux64-clang-6-pre because the older clang 3.9 does not support trace-pc
instrumentation. Finally, it excludes fuzzing parts from the vanilla allocation
check.
MozReview-Commit-ID: FdhCIFdUore
--HG--
extra : rebase_source : c41bda01cb42f2ef0cd5a1675d88bdb55d9dc8c9
2018-01-22 21:23:47 +01:00
Kris Maglione
5c6644bdb6
Bug 1393270: Follow-up: Fix debug test bustage. r=bustage CLOSED TREE
...
MozReview-Commit-ID: 1R4BDt1lDNz
--HG--
extra : rebase_source : c59bdb6ecdf2e62e78fd9434b5ff4e864b671b0d
extra : amend_source : 44717b391ac819132080131dc783002ca6fda18b
2018-01-22 18:59:09 -08:00
Kris Maglione
572e9a786f
Bug 1393270: Follow-up: Fix style linter error again. r=bustage CLOSED TREE
...
MozReview-Commit-ID: 4Z4EG940Zgw
--HG--
extra : rebase_source : d5a89fc624c0ae789dd4c2c9014ff2b53cfdedc2
extra : amend_source : da65bd28ce3e15a9747ca8d5d85fb677356209ed
2018-01-22 18:10:28 -08:00
Kris Maglione
06742a84eb
Bug 1393270: Follow-up: Fix build bustage from rebase. r=bustage
...
MozReview-Commit-ID: Ix7itPBAdno
--HG--
extra : rebase_source : 6ab89c30bc23b0abe5a3057c47ed747c193012b7
2018-01-22 17:34:37 -08:00
Kris Maglione
a09cf2763b
Bug 1393270: Follow-up: Fix style linter error. r=bustage
...
MozReview-Commit-ID: IS5FQiNd80j
--HG--
extra : rebase_source : aebab5366ff2605b67f4d38ab764dd829b370fcc
2018-01-22 16:53:27 -08:00
Gurzau Raul
8d25fdea99
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-01-23 02:25:48 +02:00
Kris Maglione
5c6ba88c9c
Bug 1393270: Make nonSyntacticScope a compile option rather than a separate API. r=tcampbell
...
MozReview-Commit-ID: 34sGztv4CKq
--HG--
extra : rebase_source : 270519a3c33c8e540d4674e14c52948fd4e322d9
extra : amend_source : 24650aa8aa23bcd071c9213477ca7d4ec3a0473c
2017-09-21 17:34:21 -07:00
Emilio Cobos Álvarez
9e0eab64a0
Bug 1429723: Remove static analysis special-case that is no longer relevant. r=sfink
...
MozReview-Commit-ID: bqCHE0eOx
2018-01-22 18:14:26 +01:00
Emilio Cobos Álvarez
296aed21d6
Bug 1432134: Update bindgen. r=SimonSapin
...
On a CLOSED TREE.
MozReview-Commit-ID: GXHw7KcCLN9
2018-01-22 15:22:46 +01:00
Rofael Aleezada
aae5d31110
Bug 1427710 part 2 - Removed TOK_ prefixes. r=jandem
...
MozReview-Commit-ID: ECnThhYpPT
--HG--
extra : rebase_source : cc37bec256fa0ef6dd5a9da99611fce720bd4946
2018-01-20 17:08:11 -06:00
Jan de Mooij
d79a6c78c0
Bug 1431726 part 5 - Make IsStandardPrototype static. r=anba
2018-01-20 15:20:25 +01:00
Jan de Mooij
f207865841
Bug 1431726 part 4 - Replace GetBuiltinPrototypePure with GlobalObject::maybeGetPrototype. r=anba
2018-01-20 15:19:56 +01:00
Jan de Mooij
7becc21a04
Bug 1431726 part 3 - Replace GetBuiltinPrototype with GlobalObject::getOrCreatePrototype. r=anba
2018-01-20 15:19:25 +01:00
Jan de Mooij
4b3735b8b7
Bug 1431726 part 2 - Replace GetBuiltinConstructor with GlobalObject::getOrCreateConstructor. r=anba
2018-01-20 15:18:59 +01:00
Jan de Mooij
9868b64da3
Bug 1431726 part 1 - Remove MaybeResolveConstructor, use GlobalObject::ensureConstructor instead. r=anba
2018-01-20 15:18:10 +01:00
Noemi Erli
ed5a1a575c
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-01-19 12:15:59 +02:00
Noemi Erli
1e1fdc2b3d
Merge inbound to mozilla-central. a=merge
2018-01-19 12:10:24 +02:00
André Bargull
6981cb210a
Bug 1431223 - Use an empty-statement for assert/dbg in non-debug builds. r=jandem
2018-01-18 03:24:01 -08:00
Ciure Andrei
cbcd8bb3a1
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-01-19 00:12:03 +02:00
Ciure Andrei
dc1715ad21
Merge inbound to mozilla-central. a=merge
2018-01-18 23:53:03 +02:00
Jan de Mooij
1455a9946c
Bug 1430602 - Add Spectre index masking for bounds-checked loads in Ion. r=luke,nbp
2018-01-18 22:00:01 +01:00
Tom Schuster
1f2f07d75c
Bug 1421398 - Enable test262 tests. r=anba
2018-01-17 19:00:21 +01:00
Tom Schuster
6d6ed783bc
Bug 1421398 - Implement Array.prototype.flatten and Array.prototype.flatMap in Nightly. r=anba,bz
2018-01-17 19:00:21 +01:00
Benjamin Bouvier
7a1d736008
Bug 1431416: Use truncation in wasm->jit return path; r=luke
...
MozReview-Commit-ID: 1w675DwUqie
--HG--
extra : rebase_source : 88064d009c31f1eb060c96d24368e407db323a90
extra : histedit_source : d8d3fa9807b0c2debd374d59e4254783fe0e7d8f
2018-01-18 18:44:20 +01:00
Benjamin Bouvier
66ab09870e
Bug 1431416: Remove dead methods in the MacroAssembler; r=luke
...
MozReview-Commit-ID: G4lgOJpxbsL
--HG--
extra : rebase_source : 086ead5d70cb67b495f8f75c98f69dba36be2507
extra : histedit_source : 6c8e3650250705eeaa8f1ff25eace45a401c1cb3
2018-01-17 20:46:08 +01:00
Jeff Walden
032e2afff7
Bug 1428863 - Move TokenStreamChars::atomizeChars into TokenStreamCharsBase -- no need for it in the more-derived class as long as it can be specialized for multiple character types. r=arai
2018-01-11 07:52:22 -08:00
Jan Beich
7418dd93e7
Bug 1421159 - Unbreak JS shell build on BSDs after bug bug 1410528. r=sfink
...
--HG--
extra : rebase_source : 19af507472ffb63e5582089cf803fcb053942ab8
2018-01-09 03:20:37 +00:00
Ted Campbell
7ab0b8fca5
Bug 1428489 - Support JSOP_IMPLICITTHIS in Ion using VMCall. r=jandem
...
MozReview-Commit-ID: CJsNr6U1whs
--HG--
extra : rebase_source : 4cba9984b3a7bc6c2b1df07ad8c9c1f7cb9cdeb4
2018-01-06 12:09:47 -05:00
Jeff Walden
396032dd7a
Bug 1428863 - Minimize access to various base-class |using| declarations in TokenStreamSpecific. r=arai
...
--HG--
extra : rebase_source : ee611484a3d1073f04aee0feac92d10a446d29c4
2017-12-27 10:21:36 -05:00
Jeff Walden
df8301b0a2
Bug 1428863 - Add and use TokenStreamChars::copyTokenbufTo. r=arai
...
--HG--
extra : rebase_source : 5c157a51b425022b59c5e8fad699f61cc1035226
2017-12-27 10:21:31 -05:00
Jeff Walden
3ec1fd965a
Bug 1428863 - De-indent TokenStreamSpecific::getDirective a level. r=arai
...
--HG--
extra : rebase_source : fb1443e99cb8e6140a76295c64689ba873245c06
2017-12-27 10:21:28 -05:00
Jeff Walden
0e3d64c9ab
Bug 1428863 - Add TokenStreamChars::asSpecific to consolidate a downcast into a helper function. r=arai
...
--HG--
extra : rebase_source : 2832fd8b9d3eb6fd92bbbd8c15515b4bc3529b46
2017-12-27 10:21:23 -05:00
Jeff Walden
3f3cc1094b
Bug 1428863 - Make TokenStreamChars have a delegated constructor. r=arai
...
--HG--
extra : rebase_source : 2be4234428dcd913c0d7f36f21bc201a3434a5b7
2017-12-27 10:21:19 -05:00
Jeff Walden
a8f51f503c
Bug 1428863 - Adjust Parser::newRegExp to be roughly CharT-agnostic (up to a static_assert restricting it to char16_t, as a flag of a place requiring changes for UTF-8 handling). r=arai
...
--HG--
extra : rebase_source : c3fd8a19b9697a56d30e13fa61cd41a43c2291e4
2017-12-27 10:21:14 -05:00
Jeff Walden
bfe1aeae23
Bug 1428863 - Add non-qualified Position typenames to various parser structs. r=arai
...
--HG--
extra : rebase_source : 943e151f8df48273cdaf4b89630ccbf50d9428cb
2017-12-23 13:47:18 -05:00
Jeff Walden
5553aa4882
Bug 1428863 - Change a few TokenStream::* uses in AsmJS.cpp to TokenStreamShared::*, because TokenStream no longer has the meaning it's traditionally had. r=arai
...
--HG--
extra : rebase_source : 4e4e3bf7de8a9ca2521ccbdeeaa45e3426dca1c0
2017-12-23 13:47:14 -05:00
Jeff Walden
2a23e35f41
Bug 1428863 - Remove unused chars/length arguments from the ParserBase and PerHandlerParser constructors. r=arai
...
--HG--
extra : rebase_source : 2bc3c77c238600b7f094e82930226b8d4306212f
2017-12-21 16:07:38 -05:00
Jeff Walden
5492bbcbd7
Bug 1428863 - Pass a PerHandlerParser<ParseHandler> to FoldConstants rather than a GeneralParser<ParseHandler, CharT>, eliminating the need to duplicate constant-folding for one/two-byte parsing. r=arai
...
--HG--
extra : rebase_source : 4fcd4dc42649eb7a7e3c53f856875a4dd629cc63
2017-12-21 15:43:55 -05:00
Jeff Walden
6960f8e444
Bug 1424732 - When creating a wasm buffer, fully initialize the buffer object before exposing it to the rest of the JS engine (in particularly, to memory-accounting code). r=lth
...
--HG--
extra : rebase_source : dbe1e2c7071ce5c4bf6e700e1ee721266cbadd02
2017-12-15 15:57:52 -06:00
Jan de Mooij
ef3d5927b3
Bug 1430053 followup - Use this-> in Cell::as() to work around a weird intermittent compiler error. r=me
...
--HG--
extra : rebase_source : 737f96585427487eaf710f28ac4ad0b650a81001
2018-01-18 14:02:03 +01:00
Jan de Mooij
af8dfc75c7
Bug 1430561 - Make sure the empty elements header is followed by an unused Value. r=luke
...
--HG--
extra : rebase_source : 770971d827f524d33bb98a251d10c88046f4fb10
2018-01-18 13:20:26 +01:00
Jan de Mooij
19055f2b0f
Bug 1430053 - Add prefs for index masking Spectre mitigations. r=luke,mccr8
...
--HG--
extra : rebase_source : 7cf15f321e1ca93bcfb90f4faf7ba36dc0df2219
2018-01-18 13:19:41 +01:00
Tom Ritter
c65c886e14
Bug 1418052 Correctly process hardening flags for ASAN, --disable-hardening, and --disable-optimize r=decoder,glandium
...
Will also address Bug 1377553 and part of Bug 1419607
MozReview-Commit-ID: AUCqBxEGpAl
--HG--
extra : rebase_source : 5547e2c8fbf4e2e87182b8720d8352c131e4ec65
2017-11-20 22:20:56 -06:00
Boris Zbarsky
454ca29bb8
Bug 1425611 part 2. Allow sandboxes to import the ChromeUtils API. r=kmag
...
MozReview-Commit-ID: JUxjcmq8gAx
2018-01-17 19:55:41 -05:00
Tiberius Oros
92e228aa49
Merge inbound to mozilla-central. a=merge
2018-01-17 23:48:10 +02:00