Dave Townsend
2bdbc2936b
Bug 1621116
: Make the version and build ID of the previous instance of Firefox to use the current profile available. r=froydnj,glandium
...
We cache this information in compatibility.ini so we can just expose it on
nsIXULRuntime.
Differential Revision: https://phabricator.services.mozilla.com/D66112
--HG--
extra : moz-landing-system : lando
2020-04-07 08:23:32 +00:00
Eric Rahm
8b6c75d28a
Bug 1627389 - Add missing using statements to xpcom/ds. r=xpcom-reviewers,KrisWright
...
Differential Revision: https://phabricator.services.mozilla.com/D69655
--HG--
extra : moz-landing-system : lando
2020-04-06 22:35:20 +00:00
Cosmin Sabou
84ff986617
Merge mozilla-central to autoland. CLOSED TREE
2020-04-07 00:59:27 +03:00
Ciure Andrei
7de40f8ed0
Merge autoland to mozilla-central. a=merge
2020-04-07 00:46:53 +03:00
Mozilla Releng Treescript
a17ce3b6b4
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2020-04-06 14:28:50 +00:00
Simon Giesecke
360c4632f4
Bug 1627198 - Make nsTHashtable a STL-style range. r=froydnj
...
This makes nsTHashtable usable with range-based for and STL-style algorithms.
Differential Revision: https://phabricator.services.mozilla.com/D69522
--HG--
extra : moz-landing-system : lando
2020-04-06 09:18:02 +00:00
Sylvestre Ledru
0aa6f03cf3
Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D67574
--HG--
extra : moz-landing-system : lando
2020-04-05 13:34:58 +00:00
Eric Rahm
ad908c0dfa
Bug 1626439 - Part 1: Add an rvalue AppendElement to nsTObserverArray. r=xpcom-reviewers,nika
...
Needed so that you can append a `UniquePtr` to an `nsTObserverArray`.
Differential Revision: https://phabricator.services.mozilla.com/D69109
--HG--
extra : moz-landing-system : lando
2020-04-03 21:05:01 +00:00
Andrew McCreight
26736ce413
Bug 1627213 - Don't call HoldJSObjects in a superclass ctor. r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D69586
--HG--
extra : moz-landing-system : lando
2020-04-03 16:57:10 +00:00
Bas Schouten
3c7916f406
Bug 1627741: Expect an idle token only if we're actually using cross-process idle scheduling. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D69846
--HG--
extra : moz-landing-system : lando
2020-04-06 17:25:06 +00:00
Kearwood Gilbert
9136ce65cf
Bug 1614496 - Implement WebXR Core Module DOM Interfaces r=jgilbert,daoshengmu,webidl,smaug,baku,imanol
...
Implement DOM interfaces for the WebXR Core Module. Additional work to implement the WebXR Core Module are marked with TODO (Bug #) comments within the patch and must be landed before enabling the dom.vr.webxr.enabled flag.
Differential Revision: https://phabricator.services.mozilla.com/D62369
--HG--
extra : moz-landing-system : lando
2020-04-06 19:33:32 +00:00
Narcis Beleuzu
f6ebb84618
Backed out 2 changesets (bug 1626884, bug 1627198) for bustages on ElfLoader.h CLOSED TREE
...
Backed out changeset b545e60f385c (bug 1627198)
Backed out changeset 16ee5dd004d3 (bug 1626884)
--HG--
extra : histedit_source : 21258c723c796773307977dabbd50de5aba6bd34
2020-04-03 21:56:38 +03:00
Simon Giesecke
017553af0a
Bug 1627198 - Make nsTHashtable a STL-style range. r=froydnj
...
This makes nsTHashtable usable with range-based for and STL-style algorithms.
Differential Revision: https://phabricator.services.mozilla.com/D69522
--HG--
extra : moz-landing-system : lando
2020-04-03 14:27:17 +00:00
Erik Nordin
ccc51b2ce0
Bug 1622322 - Improve print performance when sheets are adopted multiple times r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D68116
--HG--
extra : moz-landing-system : lando
2020-04-01 20:06:47 +00:00
Simon Giesecke
94fa08db9c
Bug 1626267 - Added transformation algorithms with error handling. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68994
--HG--
extra : moz-landing-system : lando
2020-04-01 15:53:58 +00:00
Simon Giesecke
60a0dbdc2e
Bug 1626206 - Fix definition of nsTArrayBackInserter operator++. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68980
--HG--
extra : moz-landing-system : lando
2020-03-31 13:55:35 +00:00
Tom Tung
5a6c32a460
Bug 1536796 - P5 - Changes on xpcom gtest to verify the fix; r=dom-workers-and-storage-reviewers,janv,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60871
--HG--
extra : moz-landing-system : lando
2020-04-01 11:34:31 +00:00
Tom Tung
4e96941288
Bug 1536796 - P2 - Handle disable string paring in nsLocalFileWin; r=sg,dom-workers-and-storage-reviewers,froydnj,janv
...
In the Windows API, the maximum length for a path is MAX_PATH in general.
However, the Windows API has many functions that also have Unicode versions to
permit an extended-length path for a maximum total path length of 32,767
characters. To specify an extended-length path, use the "\\?\" prefix.
A path component which ends with a dot is not allowed for Windows API. However,
using the "\\?\" prefix can also resolved this issue.
This patch aims to fix the issues which are mentioned above by prepending the
prefix to the path of nsLocalFile if mDisableStringParsing is set to true.
Differential Revision: https://phabricator.services.mozilla.com/D67014
--HG--
extra : moz-landing-system : lando
2020-04-01 07:51:05 +00:00
Tom Tung
4debe01abb
Bug 1536796 - P1 - Introduce a flag (useDOSDevicePathSyntax) to nsILocalFileWin and a method (QM_NewLocalFile) to QuotaCommon; r=janv,dom-workers-and-storage-reviewers,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D67873
--HG--
extra : moz-landing-system : lando
2020-04-01 07:26:27 +00:00
Simon Giesecke
1807bda32b
Bug 1626200
- Replace mozilla::IsPod by std::is_trivially_copy_constructible in nsTArray::AssignRangeAlgorithm. r=froydnj
...
Depends on D68972
Differential Revision: https://phabricator.services.mozilla.com/D68976
--HG--
extra : moz-landing-system : lando
2020-03-31 13:15:23 +00:00
Lina Cambridge
80920e5871
Bug 1625286 - Expose dispatch flags to moz_task
. r=KrisWright
...
This commit adds a `dispatch_with_options` method to Rust task
runnables, which takes a builder-style `DispatchOptions`
argument controlling how the runnable should be dispatched.
Currently, the only supported option is `may_block`, which
corresponds to `nsIEventTarget::DISPATCH_EVENT_MAY_BLOCK`.
Differential Revision: https://phabricator.services.mozilla.com/D68688
--HG--
extra : moz-landing-system : lando
2020-03-30 19:24:08 +00:00
André Bargull
14ca007916
Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj
...
Also adds missing includes in some files, these were previously only transivitely
included through mozilla/TypeTraits.h.
Differential Revision: https://phabricator.services.mozilla.com/D68561
--HG--
extra : moz-landing-system : lando
2020-03-28 16:00:09 +00:00
André Bargull
f70fd1c1bd
Bug 1625138 - Part 37: Replace mozilla::IsSame with std::is_same in xpcom/. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68556
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:21 +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
André Bargull
9de017ffb8
Bug 1625138 - Part 33: Replace mozilla::IntegralConstant with std::integral_constant. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68552
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:19 +00:00
André Bargull
32cb16fc45
Bug 1625138 - Part 32: Replace mozilla::RemoveConst with std::remove_const. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68551
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:19 +00:00
André Bargull
8d7aa62e32
Bug 1625138 - Part 29: Replace mozilla::IsVoid with std::is_void. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68548
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:19 +00:00
André Bargull
cf0b1e89e9
Bug 1625138 - Part 30: Replace mozilla::RemoveCV with std::remove_cv. r=froydnj,jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D68547
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:18 +00:00
André Bargull
42d4ebbda9
Bug 1625138 - Part 27: Replace mozilla::DeclVal with std::declval. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68545
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:18 +00:00
André Bargull
cae4e1fdbc
Bug 1606962: Replace mozilla::EnableIf with std::enable_if. r=froydnj,jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D68401
--HG--
extra : moz-landing-system : lando
2020-03-28 13:35:31 +00:00
André Bargull
1be056677a
Bug 1625138 - Part 26: Replace mozilla::Conditional with std::conditional. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68381
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:18 +00:00
André Bargull
3ee851a1a5
Bug 1625138 - Part 25: Replace mozilla::RemoveReference with std::remove_reference. r=froydnj,jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D68380
--HG--
extra : moz-landing-system : lando
2020-03-28 14:16:19 +00:00
André Bargull
08a8c3fc78
Bug 1625138 - Part 24: Replace mozilla::IsConvertible with std::is_convertible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68379
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:17 +00:00
André Bargull
d53798e749
Bug 1625138 - Part 23: Replace mozilla::RemovePointer with std::remove_pointer. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68378
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:17 +00:00
André Bargull
a08be4177e
Bug 1625138 - Part 17: Replace mozilla::Decay with std::decay. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68372
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:15 +00:00
André Bargull
13e9ad3137
Bug 1625138 - Part 14: Replace mozilla::IsSigned with std::is_signed. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68369
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:15 +00:00
André Bargull
9ad58ea608
Bug 1625138 - Part 13: Replace mozilla::IsUnsigned with std::is_unsigned. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68368
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:14 +00:00
André Bargull
b0c9db06e3
Bug 1625138 - Part 12: Replace mozilla::IsPointer with std::is_pointer. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68366
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:14 +00:00
André Bargull
907be0b57b
Bug 1625138 - Part 11: Replace mozilla::IsConst with std::is_const. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68365
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:14 +00:00
André Bargull
be0f9ade3d
Bug 1625138 - Part 7: Replace mozilla::IsScalar with std::is_scalar. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68361
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:13 +00:00
André Bargull
086c1b8be3
Bug 1625138 - Part 6: Replace mozilla::IsClass with std::is_class. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68360
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:12 +00:00
André Bargull
1e4d8b891e
Bug 1625138 - Part 4: Replace mozilla::MakeUnsigned with std::make_unsigned. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68358
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:12 +00:00
Marcos Cáceres
c837a27119
Bug 1625384 - Remove window.onappinstalled event, as it was never used or shipped r=baku
...
removing this from spec
Differential Revision: https://phabricator.services.mozilla.com/D68506
--HG--
extra : moz-landing-system : lando
2020-03-27 08:28:09 +00:00
Chris Peterson
b1f54173e8
Bug 1624776 - Replace MOZ_MUST_USE with [[nodiscard]] in xpcom. r=xpcom-reviewers,KrisWright
...
Also move MOZ_MUST_USE before function declarations' specifiers and return type. While clang and gcc's __attribute__((warn_unused_result)) can appear before, between, or after function specifiers and return types, the [[nodiscard]] attribute must precede the function specifiers.
Also remove MOZ_MUST_USE from nsIMemoryReporter's function pointer typedefs. [[nodiscard]] is an attribute of a function's declaration, not the function's type, and thus can't be applied to function pointers or lambdas.
Differential Revision: https://phabricator.services.mozilla.com/D68138
--HG--
extra : moz-landing-system : lando
2020-03-27 17:21:48 +00:00
Stefan Hindli
aec1af5d13
Backed out changeset 8480828de5a6 (bug 1621116
) for mda1 OSX permafailure CLOSED TREE
2020-03-26 18:19:11 +02:00
Kirk Steuber
acc51b1485
Bug 1568994 - Add Update URL template to application.ini, XREAppData, and Services.appinfo r=glandium
...
This is being added to facilitate moving generation of the update URL to Rust (Bug 1567286). Once that has been completed, we should be able to remove the update URL from its current location in firefox.js so that it is not being duplicated in application.ini.
Differential Revision: https://phabricator.services.mozilla.com/D43300
--HG--
extra : moz-landing-system : lando
2020-03-26 00:57:13 +00:00
Dave Townsend
4eb0022624
Bug 1621116
: Make the version and build ID of the previous instance of Firefox to use the current profile available. r=froydnj
...
We cache this information in compatibility.ini so we can just expose it on
nsIXULRuntime.
Differential Revision: https://phabricator.services.mozilla.com/D66112
--HG--
extra : moz-landing-system : lando
2020-03-26 14:15:52 +00:00
Jon Coppeard
c98e59fc82
Bug 1624810 - Assert that only JS holders with the approprate flag set can contain pointers to GC things in more than one zone r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D68197
--HG--
extra : moz-landing-system : lando
2020-03-26 10:49:20 +00:00
Jon Coppeard
c1e3671c97
Bug 1624810 - Set the multi-zone JS holder flag on appropriate cycle collected classes r=mccr8
...
Set the flag on the affected classes, which are:
- CallbackTimeoutHandler
- nsJSArgArray
- CallbackObject
- Console
- MessageEvent
- IDBIndexCursor
- ExtendableMessageEvent
- JSPurpleBuffer
Differential Revision: https://phabricator.services.mozilla.com/D68196
--HG--
extra : moz-landing-system : lando
2020-03-26 10:49:06 +00:00