Commit Graph

700812 Commits

Author SHA1 Message Date
Simon Giesecke
0cad3e5673 Bug 1627904 - Bugzilla component for dom/cache should be Storage: Cache API. r=jstutte
Differential Revision: https://phabricator.services.mozilla.com/D69970

--HG--
extra : moz-landing-system : lando
2020-04-09 12:07:45 +00:00
David Major
3f00878b3c Bug 1628492 - Remove the linux64-clang-9-cross toolchain r=glandium
The `linux64-clang-9-cross` toolchain was forked from `linux64-clang-9` in https://hg.mozilla.org/integration/autoland/rev/ca923afe3ed4 in order to pick up a patch for Windows compilation.

This is no longer necessary for two reasons:
1. Windows builds stopped depending on that patch in bug 1608460.
2. Even if we still needed that patch, the `linux64-clang-9` toolchain gained all of the Windows patches in bug 1618473.

Therefore the `clang-dist` task can go back to using unmodified `linux64-clang-9`.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 06:15:28 +00:00
Subhamoy Sengupta
8db691de33 Bug 1626573 - P2 - Browser Mochitests added to test if opening blob URL in a new tab by right clicking works r=baku
Two cases have been tested:

  1. Right-click opening a blob URL
  2. Right-click opening a blob URL, which points to a blob of type html, which fetches another blob URL

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

--HG--
extra : moz-landing-system : lando
2020-04-09 11:55:58 +00:00
Subhamoy Sengupta
191683acc9 Bug 1626573 - P1 - BrowsingContext transmits BlobURL before loading an URI if URI is a BlobURL r=baku
Differential Revision: https://phabricator.services.mozilla.com/D69717

--HG--
extra : moz-landing-system : lando
2020-04-09 11:50:32 +00:00
Bogdan Tara
81711eec26 Backed out changeset 8d307ddf5bcf (bug 1613884) for many browser_accessibility* tests timeouts CLOSED TREE
--HG--
rename : devtools/client/netmonitor/src/components/request-details/HeadersPanel.js => devtools/client/netmonitor/src/components/HeadersPanel.js
2020-04-09 15:09:06 +03:00
Kris Maglione
46bf54858f Bug 1626404: Part 4 - Remove now-redundant accessor args from BrowsingContext load methods. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69421

--HG--
extra : source : 4a3b391e08c420cc8289bd80d1b9229d4b41b24f
extra : intermediate-source : 453b858f4462272af20b61cdddc99b6c8e90bee9
2020-04-08 19:04:47 +00:00
Masayuki Nakano
2f8cf1135d Bug 1627573 - part 3: Get rid of CSSEditUtils::GetSpecifiedCSSEquivalentToHTMLInlineStyleSet() because of unused r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D70150

--HG--
extra : moz-landing-system : lando
2020-04-08 13:33:12 +00:00
Masayuki Nakano
024ef5568b Bug 1627573 - part 2: Split public methods of CSSEditUtils which work with both specified values and computed values r=m_kato
Some methods take `StyleType` to work them with specified values or computed
values.  This method hides `StyleType` into `CSSEditUtils` and splits the
public methods which took `StyleType` to 2 methods, one is for working with
specified values, the other is for working with computed values.

Additionally, this patch fixes some argument name and type.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 13:32:28 +00:00
Masayuki Nakano
b07119c5f5 Bug 1627573 - part 1: Remove unused CSSEditUtils::IsCSSEquivalentToHTMLInlineStyleSet() overload r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D70148

--HG--
extra : moz-landing-system : lando
2020-04-08 12:08:02 +00:00
Lina Cambridge
fcb1f70a45 Bug 1596322 - Add XPCOM bindings for Rust Sync engines. r=markh,tcsc,LougeniaBailey
This commit adds a new crate for bridging Rust Sync engines to Desktop,
and a `mozIBridgedSyncEngine` for accessing the bridge via JS.
Naturally, the bridge is called Golden Gate. 😊 For more information
on how to use it, please see `golden_gate/src/lib.rs`.

Other changes include:

* Ensuring the test Sync server uses UTF-8 for requests and responses.
* Renaming `mozISyncedBookmarksMirrorLogger` to `mozIServicesLogger`,
  and moving it into the shared Sync interfaces.

The `BridgedEngine` trait lives in its own crate, called
`golden_gate_traits`, to make it easier to eventually move into a-s.
`Interruptee` and `Interrupted` already exist in a-s, and are
duplicated in this crate for now.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 07:32:52 +00:00
Matt Woodrow
0be8d35abb Bug 1597159 - Make sure StreamFilterParent emits an OnStopRequest if we fail to forward it to the child. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D69317

--HG--
extra : moz-landing-system : lando
2020-04-09 07:03:51 +00:00
Matt Woodrow
e600940a82 Bug 1597159 - Defer creating DocumentLoadListener's stream filter until after we process switch. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D64698

--HG--
extra : moz-landing-system : lando
2020-04-09 07:03:49 +00:00
Matt Woodrow
393a68bda5 Bug 1597159 - Promisify CreateStreamFilter. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D64697

--HG--
extra : moz-landing-system : lando
2020-04-09 07:02:34 +00:00
Bryan Kok
cb118bd6ce Bug 1618417 - Merge Initiator column into Cause r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D66172

--HG--
extra : moz-landing-system : lando
2020-04-09 07:21:42 +00:00
Andrea Marchesini
b65f8ca3b9 Bug 1610373 - Introduce nsICookieManager::getCookieSince() - test, r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D70056

--HG--
extra : moz-landing-system : lando
2020-04-08 15:59:19 +00:00
Andrea Marchesini
4937793ee0 Bug 1610373 - Introduce nsICookieManager::getCookieSince(), r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D70055

--HG--
extra : moz-landing-system : lando
2020-04-08 15:59:29 +00:00
Dragana Damjanovic
b64dfbe64c Bug 1628461 - Turn on HTTP/3 on Nightly. r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D70246

--HG--
extra : moz-landing-system : lando
2020-04-09 01:14:00 +00:00
Nicolas Chevobbe
0116e00cea Bug 1627167- Re-enable Resources API to fetch console messages. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D69968

--HG--
extra : moz-landing-system : lando
2020-04-08 13:52:33 +00:00
Nicolas Chevobbe
015461a23f Bug 1626286 - Fix order of cached messages in the reducer. r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D69967

--HG--
extra : moz-landing-system : lando
2020-04-08 17:36:21 +00:00
Nicolas Chevobbe
738cfb9dd1 Bug 1626286 - Assign the same timestamp to all WebConsole stubs. r=Honza.
Since we're going to re-order the packets in the webconsole messages
reducer based on the messages timestamps, the node tests are going
to fail, as stubs timeStamps are generated and we don't have much
control on them.
Assigning the same timestamp means we'll defer to order based on the
message id, which should follow the order of insertion. The only exception
is network messages, where the id needs to be the actor, which is a string.
For the tests that are using network messages and assert some order, we
simply reassign the timestamps so we can guarantee the order.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 13:50:23 +00:00
Cosmin Sabou
5bbd5314ab Backed out 2 changesets (bug 1616245) for causing a raise in browser chrome failures. CLOSED TREE
Backed out changeset 86458febcf2d (bug 1616245)
Backed out changeset 69e9b40608e3 (bug 1616245)

--HG--
extra : amend_source : b034c15ef3ade9dee6bd1b2c4b7df0804c4cf81e
2020-04-09 09:40:53 +03:00
Gabriele Svelto
500082602d Bug 1627367 - Remove the content process crash annotation blacklist r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D70101

--HG--
extra : moz-landing-system : lando
2020-04-08 22:59:15 +00:00
Andi-Bogdan Postelnicu
ffe0a6a754 Bug 1625884 - move clang-tidy and clang-format to clang-10. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D70065

--HG--
extra : moz-landing-system : lando
2020-04-09 05:28:34 +00:00
Andi-Bogdan Postelnicu
06de4a861d Bug 1625884 - add target linux64-cctools-clang-10-port. r=nalexander
For building `macosx64-clang-tidy` with `linux64-clang-10` we need to build `cctools`
with `clang-10`.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 05:27:58 +00:00
Andi-Bogdan Postelnicu
06e7a3c818 Bug 1625884 - add clang-10 to linux64 clang-tools. r=nalexander,dmajor
Patches that are applied on top on `clang-10` repo are based on the original
patches from our trunk and have been rebased on top of `clang-10`.
Please see as an example: `find_symbolizer_linux.patch` copied to `find_symbolizer_linux_clang_10.patch`.

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

--HG--
rename : build/build-clang/clang-linux64.json => build/build-clang/clang-10-linux64.json
rename : build/build-clang/find_symbolizer_linux.patch => build/build-clang/find_symbolizer_linux_clang_10.patch
rename : build/build-clang/llvmorg-11-init-4265-g2dcbdba8540.patch => build/build-clang/llvmorg-11-init-4265-g2dcbdba8540_clang_10.patch
rename : build/build-clang/rG7e18aeba5062.patch => build/build-clang/rG7e18aeba5062_clang_10.patch
rename : build/build-clang/rename_gcov_flush.patch => build/build-clang/rename_gcov_flush_clang_10.patch
rename : build/build-clang/tsan-hang-be41a98ac222.patch => build/build-clang/tsan-hang-be41a98ac222_clang_10.patch
rename : build/build-clang/unpoison-thread-stacks.patch => build/build-clang/unpoison-thread-stacks_clang_10.patch
extra : moz-landing-system : lando
2020-04-09 05:27:50 +00:00
Kearwood Gilbert
20a905ded8 Bug 1628109 - Ensure that only one non-privileged (non-chrome) XRSession can be presenting at once r=daoshengmu
Differential Revision: https://phabricator.services.mozilla.com/D70270

--HG--
extra : moz-landing-system : lando
2020-04-09 01:22:52 +00:00
Brindusan Cristian
21cc9ecac2 Backed out 3 changesets (bug 1597159) for build bustages on netwerk/ipc/target-objects. CLOSED TREE
Backed out changeset 2dd2598b3edb (bug 1597159)
Backed out changeset 0ad16f200740 (bug 1597159)
Backed out changeset 927e82a323c6 (bug 1597159)
2020-04-09 07:12:47 +03:00
Chris Peterson
a6d592bbe2 Bug 1620152 - Part 4: Replace MOZ_DIAGNOSTIC_ALWAYS_TRUE() with MOZ_ALWAYS_TRUE(). r=janv
MOZ_ALWAYS_TRUE() evaluates its expression in both debug and release builds. This bug will change MOZ_ALWAYS_TRUE() to use MOZ_DIAGNOSTIC_ASSERT() instead of MOZ_ASSERT(), so MOZ_DIAGNOSTIC_ALWAYS_TRUE() will be redundant.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 02:08:10 +00:00
Chris Peterson
ceb9bb69c5 Bug 1620152 - Part 3: Implement MOZ_ALWAYS_TRUE()/etc using MOZ_DIAGNOSTIC_ASSERT() instead of MOZ_ASSERT(). r=froydnj
MOZ_ALWAYS_TRUE() evaluates its expression in both debug and release builds. This bug will change MOZ_ALWAYS_TRUE() to use MOZ_DIAGNOSTIC_ASSERT() instead of MOZ_ASSERT() so it will also assert in Nightly and DevEdition release builds.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 02:07:00 +00:00
Chris Peterson
32ba92c9c8 Bug 1620152 - Part 2: MOZ_ASSERT() GetSharedPrefValue() result instead of MOZ_ALWAYS_TRUE(). r=njn
MOZ_ALWAYS_TRUE() evaluates its expression in both debug and release builds. This bug will change MOZ_ALWAYS_TRUE() to use MOZ_DIAGNOSTIC_ASSERT() instead of MOZ_ASSERT(). MOZ_ALWAYS_TRUE(NS_SUCCEEDED(rv)) would then fail in Nightly release builds (reintroducing InitStaticPrefsFromShared crash bug 1573731) if not for this changeset.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 02:06:44 +00:00
Chris Peterson
c16eff17f9 Bug 1620152 - Part 1: MOZ_ASSERT(stackMap) in debug builds instead of MOZ_ALWAYS_TRUE(stackMap) in release builds. r=lth
MOZ_ALWAYS_TRUE() evaluates its expression in both debug and release builds. MOZ_ALWAYS_TRUE(stackMap) would previously be evaluated as a no-op `stackMap;` in release builds, but this bug will change MOZ_ALWAYS_TRUE() to use MOZ_DIAGNOSTIC_ASSERT() instead of MOZ_ASSERT(). MOZ_ALWAYS_TRUE(stackMap) will then fail in Nightly release builds because stackMap may be null if there are no refs to track.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 02:06:32 +00:00
Matt Woodrow
f96ad8ca51 Bug 1597159 - Make sure StreamFilterParent emits an OnStopRequest if we fail to forward it to the child. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D69317

--HG--
extra : moz-landing-system : lando
2020-04-09 02:55:26 +00:00
Matt Woodrow
42aeff7415 Bug 1597159 - Defer creating DocumentLoadListener's stream filter until after we process switch. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D64698

--HG--
extra : moz-landing-system : lando
2020-04-09 02:55:17 +00:00
Matt Woodrow
476f9a4293 Bug 1597159 - Promisify CreateStreamFilter. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D64697

--HG--
extra : moz-landing-system : lando
2020-04-09 02:54:23 +00:00
Mike Hommey
5944220eee Bug 1628205 - Convert nsinstall.py to python 3. r=rstewart
Also enable all config/tests with python3. unit-nsinstall.py was the
last one that didn't pass with python 3.

Switch the test to using @unittest.skipIf and disable the subprocess
test because we purposely broke running nsinstall.py independently with
python 2.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:51 +00:00
Mike Hommey
ac5b6e6cd0 Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart
Since the test goes through all moz.build files disregarding DIRS and
the conditions that may disable directories, in some cases, moz.builds
can fail to be evaluated properly because of missing variables in
config.status. This time (because it's not the first), it's
LLVM_DLLTOOL.

After fixing that, it turns out many of the files/directories pointed to
by Files() directives were removed or moved.

While here, make the test script python3-ready.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:29 +00:00
Mike Hommey
0fb4a38faf Bug 1621436 - Run process_install_manifest with python3. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70156

--HG--
extra : moz-landing-system : lando
2020-04-09 00:21:12 +00:00
Andrew Nicols
b54179e426 Bug 1556903 - Return null when source not found. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D33755

--HG--
extra : moz-landing-system : lando
2020-04-09 03:12:44 +00:00
Chris Peterson
2834731dd4 Bug 1627490 - Replace MOZ_MUST_USE with [[nodiscard]] in tools/profiler. r=mstange
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.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 18:38:52 +00:00
Severin Rudie
7000e50931 Bug 1569253 - remove old password manager UI. r=MattN,fluent-reviewers,flod
As a side effect, this removes the need for bug 1537634.

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

--HG--
rename : toolkit/components/passwordmgr/test/browser/browser_passwordmgr_switchtab.js => toolkit/components/passwordmgr/test/browser/browser_basicAuth_switchTab.js
extra : moz-landing-system : lando
2020-04-09 00:17:34 +00:00
Narcis Beleuzu
83508f8631 Backed out changeset 798aaee84ad1 (bug 557710) for xpcshell failures on test_system_upgrades.js. CLOSED TREE 2020-04-09 05:30:45 +03:00
Brindusan Cristian
33bb9b7761 Backed out changeset 974d4e6ce07c (bug 1627890) for wpt failures at comma-in-policy.https.html. CLOSED TREE 2020-04-09 03:51:23 +03:00
Brindusan Cristian
bb29753b0d Backed out changeset 2b02e71f1780 (bug 1596322) for multiple xpcshell failures. CLOSED TREE 2020-04-09 03:39:56 +03:00
Kris Maglione
cba965d479 Bug 1626404: Part 4 - Remove now-redundant accessor args from BrowsingContext load methods. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69421

--HG--
extra : source : 4a3b391e08c420cc8289bd80d1b9229d4b41b24f
extra : histedit_source : bf3dae0b7ad368d29c9ea060b9afa4c2de383b1b
2020-04-08 19:04:47 +00:00
Kris Maglione
2a1b613f3f Bug 1626404: Part 3 - Do sandbox flag checks at both ends of cross-process loads. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69420

--HG--
extra : source : 1a5a559ec6d509167cb58b40086add58c4d63e10
extra : intermediate-source : f54ce6a36c75cb6384306fda5402c51f27bb4c5e
2020-04-04 02:42:39 +00:00
Kris Maglione
ca908cb413 Bug 1626404: Part 2b - Serialize source BC with LoadState. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69419

--HG--
extra : source : 2ffdab0072e7dbc56d232537aafbd2c1aa80ef14
extra : intermediate-source : ec63b18da4b9c1eb280f77a800e0e987aa3f20fa
2020-04-04 02:42:42 +00:00
Kris Maglione
9742588080 Bug 1626404: Part 2a - Store source BrowsingContext rather than DocShell in LoadState. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69418

--HG--
extra : source : 6fb384961b99821bacfd2702d36bff27231c96a7
extra : intermediate-source : b0d4b213b819d2346b1026122335553b77d63cae
2020-04-04 02:42:44 +00:00
Kris Maglione
ffbbc5ba60 Bug 1626404: Part 3 - Do sandbox flag checks at both ends of cross-process loads. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69420

--HG--
extra : source : 1a5a559ec6d509167cb58b40086add58c4d63e10
extra : histedit_source : f7ef5aa0524cbfa413cb85101e2591cbd7c26c46
2020-04-04 02:42:39 +00:00
Kris Maglione
2ee2fd5673 Bug 1626404: Part 2b - Serialize source BC with LoadState. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69419

--HG--
extra : source : 2ffdab0072e7dbc56d232537aafbd2c1aa80ef14
extra : histedit_source : dc55d2eb9489d7d06d7845827bdf73f671a9df0f
2020-04-04 02:42:42 +00:00
Kris Maglione
edf0e3ba56 Bug 1626404: Part 2a - Store source BrowsingContext rather than DocShell in LoadState. r=nika CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D69418

--HG--
extra : source : 6fb384961b99821bacfd2702d36bff27231c96a7
extra : histedit_source : a380148c947dd2d5d53787ec6027ab387093a7c1
2020-04-04 02:42:44 +00:00