Tom Tung
9ddae1a89d
Bug 1586761 - P6 - Check CrossOriginIsolated for ReduceTimePrecisionAsUSecsWrapper; r=tjr,luke
...
Differential Revision: https://phabricator.services.mozilla.com/D64324
--HG--
extra : moz-landing-system : lando
2020-03-25 14:01:07 +00:00
Bogdan Tara
eddea671e7
Backed out 6 changesets (bug 1425450) for hazard failure complaining about nsWrapperCacheInlines CLOSED TREE
...
Backed out changeset c57ac2e125e8 (bug 1425450)
Backed out changeset 4238c59af7bb (bug 1425450)
Backed out changeset 2a00272e72ba (bug 1425450)
Backed out changeset 3e4a52d596bb (bug 1425450)
Backed out changeset 5da68de67491 (bug 1425450)
Backed out changeset efac091a3ba4 (bug 1425450)
2020-04-06 21:22:51 +03:00
Jon Coppeard
2c04e31b6c
Bug 1425450 - Only trace JS holders in collecting zones r=mccr8
...
Now that we have some per-zone vectors we can skip tracing those for zones that are not being collected.
Differential Revision: https://phabricator.services.mozilla.com/D68523
--HG--
extra : moz-landing-system : lando
2020-04-06 16:14:25 +00:00
Jeff Walden
0d71e9c342
Bug 1626105 - Rename |JS::CompileModuleDontInflate| to just plain |JS::CompileModule|. (There is no non-inflating version remove at the same time.) r=evilpie
...
Differential Revision: https://phabricator.services.mozilla.com/D68912
--HG--
extra : moz-landing-system : lando
2020-03-31 01:33:03 +00:00
Jeff Walden
a655b1ae65
Bug 1626105 - Convert |JS::Evaluate| to |JS::EvaluateDontInflate| semantics, and remove |JS::EvaluateDontInflate|. r=evilpie
...
Differential Revision: https://phabricator.services.mozilla.com/D68911
--HG--
extra : moz-landing-system : lando
2020-03-31 01:32:46 +00:00
Jeff Walden
5e8dc639fe
Bug 1626105 - Convert |JS::EvaluateUtf8Path| to |JS::EvaluateUtf8PathDontInflate| semantics, and remove |JS::EvaluateUtf8PathDontInflate|. r=evilpie
...
Differential Revision: https://phabricator.services.mozilla.com/D68910
--HG--
extra : moz-landing-system : lando
2020-03-31 01:31:11 +00:00
Jeff Walden
1416a9aaa0
Bug 1626105 - Convert |JS::CompileForNonSyntacticScope| to |JS::CompileForNonSyntacticScopeDontInflate| semantics, and remove |JS::CompileForNonSyntacticScopeDontInflate|. r=evilpie
...
Differential Revision: https://phabricator.services.mozilla.com/D68908
--HG--
extra : moz-landing-system : lando
2020-03-31 01:30:48 +00:00
Jeff Walden
e9cfd601ed
Bug 1626105 - Convert |JS::CompileUtf8File| to |JS::CompileUtf8FileDontInflate| semantics, and remove |JS::CompileUtf8FileDontInflate|. r=evilpie
...
Differential Revision: https://phabricator.services.mozilla.com/D68907
--HG--
extra : moz-landing-system : lando
2020-03-31 01:30:10 +00:00
Jeff Walden
09f6e55061
Bug 1626105 - Convert |JS::CompileUtf8Path| to |JS::CompileUtf8PathDontInflate| semantics, and remove |JS::CompileUtf8PathDontInflate|. r=evilpie
...
Differential Revision: https://phabricator.services.mozilla.com/D68906
--HG--
extra : moz-landing-system : lando
2020-03-31 01:30:08 +00:00
Jeff Walden
6a774342a0
Bug 1626105 - Convert |JS::Compile| for UTF-8 to |JS::CompileDontInflate| semantics, and remove |JS::CompileDontInflate|. r=evilpie
...
Differential Revision: https://phabricator.services.mozilla.com/D68905
--HG--
extra : moz-landing-system : lando
2020-03-31 01:30:05 +00:00
André Bargull
2712714d84
Bug 1625138 - Part 35: Replace mozilla::TrueType with std::true_type. r=froydnj,jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D68554
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:20 +00:00
André Bargull
f8eb4c162e
Bug 1625138 - Part 34: Replace mozilla::FalseType with std::false_type. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68553
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:20 +00:00
Jon Coppeard
2f9c8e4107
Bug 1624937 - Align JSClass to 8 byte to satisfy GC cell requirements r=jandem
...
This defines a constant for the number of reserved bits in a public header and does some tidying up.
Differential Revision: https://phabricator.services.mozilla.com/D68335
--HG--
extra : moz-landing-system : lando
2020-03-26 11:01:07 +00:00
Tom Schuster
366a89593e
Bug 1622562 - Remove flags from JSErrorReport. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D67143
--HG--
extra : moz-landing-system : lando
2020-03-23 07:08:48 +00:00
Iain Ireland
3a941d2bba
Bug 1361856: Use SM RegExpFlags inside irregexp r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D66845
--HG--
extra : moz-landing-system : lando
2020-03-21 14:21:04 +00:00
Iain Ireland
96d7636dcb
Bug 1361856: Add dotAll to RegExpFlags r=jwalden
...
This patch adds the boilerplate necessary to support a new regexp flag. Externally visible changes (parsing the flag, the dotAll property on the prototype) are guarded behind ENABLE_NEW_REGEXP. Note: RegExpFlagsGetter turns out to be externally visible because it can be called on a non-regexp object with the dotAll property defined.
The actual implementation of dotAll comes for free with the fresh import of irregexp (bug 1367105).
There are two tests (tests/non262/RegExp/prototype.js and tests/non262/RegExp/flags.js) that need to be updated when this is turned on to add s/dotAll to the list of expected properties on the RegExp prototype. I will attach those changes to my patch that flips ENABLE_NEW_REGEXP to be on by default.
Differential Revision: https://phabricator.services.mozilla.com/D66844
--HG--
extra : moz-landing-system : lando
2020-03-21 14:21:04 +00:00
Tom Schuster
294e9caaac
Bug 1622562 - Remove JSREPORT_IS_WARNING from js/src. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D67028
--HG--
extra : moz-landing-system : lando
2020-03-21 20:14:11 +00:00
André Bargull
c2dc594012
Bug 1623957 - Part 17: Remove stray includes for "mfbt/TypeTraits.h". r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D67665
--HG--
extra : moz-landing-system : lando
2020-03-21 15:08:53 +00:00
André Bargull
d4d0c69e4d
Bug 1623957 - Part 15: Replace mozilla::RemoveReference with std::remove_reference. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D67663
--HG--
extra : moz-landing-system : lando
2020-03-21 14:28:59 +00:00
André Bargull
43443a9706
Bug 1623957 - Part 14: Replace mozilla::IsPointer with std::is_pointer. r=jwalden
...
Also reenable the `static_assert` which was disabled for some reason in
bug 1308236. (Bug 1308236 doesn't contain any information why this assertion
had to be disabled.)
Differential Revision: https://phabricator.services.mozilla.com/D67662
--HG--
extra : moz-landing-system : lando
2020-03-21 14:27:24 +00:00
André Bargull
6204f0b10c
Bug 1623957 - Part 13: Replace mozilla::IsSigned with std::is_signed. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D67661
--HG--
extra : moz-landing-system : lando
2020-03-21 14:27:11 +00:00
André Bargull
24f145cd1e
Bug 1623957 - Part 12: Replace mozilla::MakeUnsigned with std::make_unsigned. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D67660
--HG--
extra : moz-landing-system : lando
2020-03-21 14:25:36 +00:00
André Bargull
94fe0cb565
Bug 1623957 - Part 10: Replace mozilla::Conditional with std::conditional. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D67658
--HG--
extra : moz-landing-system : lando
2020-03-21 14:25:21 +00:00
André Bargull
6a0bbf6484
Bug 1623957 - Part 8: Replace mozilla::IsUnsigned with std::is_unsigned. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D67656
--HG--
extra : moz-landing-system : lando
2020-03-21 14:22:23 +00:00
André Bargull
3f258924fb
Bug 1623957 - Part 7: Replace mozilla::EnableIf with std::enable_if. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D67655
--HG--
extra : moz-landing-system : lando
2020-03-21 14:41:09 +00:00
André Bargull
a582a6c75f
Bug 1623957 - Part 6: Replace mozilla::IsConvertible with std::is_convertible. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D67653
--HG--
extra : moz-landing-system : lando
2020-03-21 14:20:17 +00:00
André Bargull
d3e5d8544e
Bug 1623957 - Part 1: Replace mozilla::IsSame with std::is_same. r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D67648
--HG--
extra : moz-landing-system : lando
2020-03-21 15:08:24 +00:00
Mihai Alexandru Michis
663a7c992e
Backed out 2 changesets (bug 1361856) for causing sm failures in RegExp/flags.js
...
CLOSED TREE
Backed out changeset 597e083be9d4 (bug 1361856)
Backed out changeset 8a017673c25b (bug 1361856)
2020-03-20 21:01:51 +02:00
Mihai Alexandru Michis
13d1400778
Backed out 4 changesets (bug 1622562) for causing wpt failures.
...
CLOSED TREE
Backed out changeset 1ab69d63949b (bug 1622562)
Backed out changeset a5c299f23df7 (bug 1622562)
Backed out changeset 233b80b283fb (bug 1622562)
Backed out changeset e76f213e7f04 (bug 1622562)
--HG--
extra : rebase_source : 3765e25897f0d8f95a7304e11713bf5aed8f5b83
2020-03-20 20:56:58 +02:00
Iain Ireland
b84e38576f
Bug 1361856: Use SM RegExpFlags inside irregexp r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D66845
--HG--
extra : moz-landing-system : lando
2020-03-19 18:32:03 +00:00
Iain Ireland
04a4d8d0d1
Bug 1361856: Add dotAll to RegExpFlags r=jwalden
...
This patch adds the boilerplate necessary to support a new regexp flag. Externally visible changes (parsing the flag, the dotAll property on the prototype) are guarded behind ENABLE_NEW_REGEXP.
The actual implementation of dotAll comes for free with the fresh import of irregexp (bug 1367105).
There is one test (tests/non262/RegExp/prototype.js) that needs to be updated when this is turned on to add "dotAll" to the list of expected properties on the RegExp prototype. I will attach that change to my patch that flips ENABLE_NEW_REGEXP to be on by default.
Differential Revision: https://phabricator.services.mozilla.com/D66844
--HG--
extra : moz-landing-system : lando
2020-03-19 18:31:52 +00:00
Tom Schuster
2b3d700df0
Bug 1622562 - Remove JSREPORT_IS_WARNING from js/src. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D67028
--HG--
extra : moz-landing-system : lando
2020-03-20 16:47:37 +00:00
Lars T Hansen
93f9148960
Bug 1620986 - Introduce run-time switch for multi-value. r=bbouvier,wingo
...
This adds a JS shell command line argument to disable multi-value (if
it is enabled at compile time) and an about:config option to do the
same in the browser.
At this time, multi-values are not enabled in the browser, so the
about:config option is not visible.
Differential Revision: https://phabricator.services.mozilla.com/D67465
--HG--
extra : moz-landing-system : lando
2020-03-20 10:58:07 +00:00
Tom Schuster
07f98c5f66
Bug 1621813 - Remove JSREPORT_EXCEPTION. r=jandem
...
There are a few comments which talk about how this flag is used for
error propagation. As far as I can tell we don't actually do this.
I suspect we haven't been doing it since we have proper DOM bindings,
but I haven't actually investiaged it further.
Differential Revision: https://phabricator.services.mozilla.com/D66877
--HG--
extra : moz-landing-system : lando
2020-03-19 21:30:55 +00:00
Brian Birtles
e14c3f5ed1
Bug 1622184 - Add a public method to mark a settled Promise as handled; r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D67103
--HG--
extra : moz-landing-system : lando
2020-03-18 02:22:00 +00:00
Ted Campbell
bf5048548e
Bug 1620495 - Remove references to LazyScript in comments r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D66876
--HG--
extra : moz-landing-system : lando
2020-03-16 19:49:55 +00:00
yulia
9b3206872e
Bug 1622818 - Add option to write a byte to a file for each NotImplimented frontend feature; r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D66978
--HG--
extra : moz-landing-system : lando
2020-03-16 14:35:35 +00:00
Simon Giesecke
6f38376be4
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D65493
--HG--
extra : moz-landing-system : lando
2020-03-16 13:47:02 +00:00
André Bargull
0105311d41
Bug 1618258 - Part 1: Rename FinalizationGroup to FinalizationRegistry. r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D66930
--HG--
rename : js/src/builtin/FinalizationGroupObject.cpp => js/src/builtin/FinalizationRegistryObject.cpp
rename : js/src/builtin/FinalizationGroupObject.h => js/src/builtin/FinalizationRegistryObject.h
rename : js/src/gc/FinalizationGroup.cpp => js/src/gc/FinalizationRegistry.cpp
extra : moz-landing-system : lando
2020-03-16 10:41:08 +00:00
Bogdan Tara
c60fd3fdd2
Backed out 4 changesets (bug 1613985) for causing build bustages CLOSED TREE
...
Backed out changeset fba0caac746c (bug 1613985)
Backed out changeset 8605d7a19107 (bug 1613985)
Backed out changeset 41e858fbf235 (bug 1613985)
Backed out changeset 847433cf1e0a (bug 1613985)
2020-03-16 12:41:41 +02:00
Simon Giesecke
d77407a756
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in js. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D65493
--HG--
extra : moz-landing-system : lando
2020-03-16 09:38:17 +00:00
André Bargull
18f27b4376
Bug 1622326: Remove no longer needed 'id' redefine. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D66794
--HG--
extra : moz-landing-system : lando
2020-03-13 18:27:09 +00:00
Tom Schuster
20a800aae6
Bug 1621817 - Remove JSREPORT_STRICT. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D66606
--HG--
extra : moz-landing-system : lando
2020-03-13 16:12:16 +00:00
Tom Schuster
31f96fb048
Bug 1617657 - Store errorMessageName in JSErrorReport. r=jorendorff,mccr8
...
JSErrorFormatString::name should really be baked into the binary so we
don't need to do any memory management.
Differential Revision: https://phabricator.services.mozilla.com/D65828
--HG--
extra : moz-landing-system : lando
2020-03-11 22:07:08 +00:00
Tom Schuster
82fbd1a7b3
Bug 1275508 - Remove werror. r=jandem
...
This passes jit-test and jstest locally. I still see some references
in jsapi-tests/binast, but I haven't looked into running those yet.
The asm.js warning stuff is a bit confusing. It seems like there are multiple mistakes?
asmLink claims that it should issue a warning. But it sets "werror", so this would always
throw an exception if linking actually threw an exception.
Some tests using assertAsmDirectiveFail aren't even valid JS programs ..
Differential Revision: https://phabricator.services.mozilla.com/D66225
--HG--
extra : moz-landing-system : lando
2020-03-11 12:20:21 +00:00
Tom Schuster
3946b3eaea
Bug 1619177 - Remove remaining extra warnings code. r=tcampbell,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D65830
--HG--
extra : moz-landing-system : lando
2020-03-10 22:59:41 +00:00
Tom Schuster
723b505565
Bug 1619177 - Do not check for extra strict mode in ObjectOpResult. r=jorendorff
...
Differential Revision: https://phabricator.services.mozilla.com/D65601
--HG--
extra : moz-landing-system : lando
2020-03-10 22:49:14 +00:00
Jeff Walden
6d28e8ffba
Bug 1618038 - Implement support for wrapper-class comparisons in the innermost namespace containing each wrapper class, as ADL intended. Also simplify the operator implementations in certain minor ways. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D64242
--HG--
extra : moz-landing-system : lando
2020-03-10 02:01:28 +00:00
Narcis Beleuzu
a5a8b4f53e
Backed out changeset f6898bd931c5 (bug 1618038) for SM bustages on AbstractScope.h . CLOSED TREE
...
--HG--
extra : rebase_source : 8b421404660589d79947f869497c37206ecab858
2020-03-09 22:53:43 +02:00
Jeff Walden
4ab1c168ae
Bug 1618038 - Implement support for wrapper-class comparisons in the innermost namespace containing each wrapper class, as ADL intended. Also simplify the operator implementations in certain minor ways. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D64242
--HG--
extra : moz-landing-system : lando
2020-03-09 20:05:10 +00:00