Commit Graph

671330 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
ffa09cee72 Bug 1569183: Rename PWebrtcProxyChannel to PWebrtcTCPSocket. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D45098

--HG--
rename : media/mtransport/WebrtcProxyChannelWrapper.cpp => media/mtransport/WebrtcTCPSocketWrapper.cpp
rename : media/mtransport/WebrtcProxyChannelWrapper.h => media/mtransport/WebrtcTCPSocketWrapper.h
rename : media/mtransport/ipc/PWebrtcProxyChannel.ipdl => media/mtransport/ipc/PWebrtcTCPSocket.ipdl
rename : media/mtransport/ipc/WebrtcProxyChannel.cpp => media/mtransport/ipc/WebrtcTCPSocket.cpp
rename : media/mtransport/ipc/WebrtcProxyChannel.h => media/mtransport/ipc/WebrtcTCPSocket.h
rename : media/mtransport/ipc/WebrtcProxyChannelCallback.h => media/mtransport/ipc/WebrtcTCPSocketCallback.h
rename : media/mtransport/ipc/WebrtcProxyChannelChild.cpp => media/mtransport/ipc/WebrtcTCPSocketChild.cpp
rename : media/mtransport/ipc/WebrtcProxyChannelChild.h => media/mtransport/ipc/WebrtcTCPSocketChild.h
rename : media/mtransport/ipc/WebrtcProxyLog.cpp => media/mtransport/ipc/WebrtcTCPSocketLog.cpp
rename : media/mtransport/ipc/WebrtcProxyLog.h => media/mtransport/ipc/WebrtcTCPSocketLog.h
rename : media/mtransport/ipc/WebrtcProxyChannelParent.cpp => media/mtransport/ipc/WebrtcTCPSocketParent.cpp
rename : media/mtransport/ipc/WebrtcProxyChannelParent.h => media/mtransport/ipc/WebrtcTCPSocketParent.h
extra : moz-landing-system : lando
2019-09-17 18:15:41 +00:00
Byron Campen [:bwc]
5aea6ddbff Bug 1569183: Teach WebrtcProxyChannel to handle non-proxied TCP connections, and SOCKS proxying because that was easy to do also. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D45097

--HG--
extra : moz-landing-system : lando
2019-09-17 18:15:23 +00:00
Byron Campen [:bwc]
663351b2eb Bug 1569183: Add some much-needed logging to this function. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D45096

--HG--
extra : moz-landing-system : lando
2019-09-17 18:15:06 +00:00
Matt Woodrow
b8226cf581 Bug 1546022 - Activate mouse over state for new BrowserParents. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44413

--HG--
extra : moz-landing-system : lando
2019-09-18 02:06:32 +00:00
Tom Ritter
bac8462a4a Bug 1556655 - Add addons.cdn.mozilla.net to the list of separatedMozillaDomains r=ulfr,kmag
When mozAddonManager isn't available, AMO installs extensions through a different code
path that involves downloading the XPI from addons.cdn.mozilla.net and routing through
amContentHandler.jsm

That code breaks when addons.cdn.mozilla.net is in a separate process. So we put it into
the privileged mozilla web content process. Admittedly this isn't used in 99.99% of cases.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 23:13:38 +00:00
Nathan Froyd
94691b7a75 Bug 1582114 - add the Zlib license to permitted licenses for Rust crates; r=mhoye
New releases of the `adler32-rs` crate have this license, and we already
incorporate zlib into Firefox, so crates using this license should be allowed.

..and since `adler32-rs` now has an obviously acceptable license, we can
remove it from the list of build-time exceptions.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 14:02:18 +00:00
Emilio Cobos Álvarez
6d6c54d595 Bug 1578661 - Add a crappy histogram parser for the devtools database, for probe-scraper. r=chutten
(And test it.)

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

--HG--
extra : moz-landing-system : lando
2019-09-18 13:27:40 +00:00
Ciure Andrei
f16f5c928d Backed out changeset 7cf84cb03658 (bug 1581921) for causing a lint issue in bootstrap.py CLOSED TREE 2019-09-18 16:55:49 +03:00
Dzmitry Malyshau
e9b3f1eaec Bug 1581921 - Support Solus Linux by mach bootstrap r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46190

--HG--
extra : moz-landing-system : lando
2019-09-18 13:38:30 +00:00
shravanrn@gmail.com
1e4332353e Bug 1582009 - Bump RLBox library to the latest version r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D41660

--HG--
extra : moz-landing-system : lando
2019-09-18 13:33:11 +00:00
Nathan Froyd
ad2dc55c0b Bug 1581941 - ignore the return values of some STL functions; r=sg
These functions are marked `nodiscard` in C++17.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 06:34:37 +00:00
Jon Coppeard
7630259d43 Bug 1580883 - Use TimeDuration for CycleCollectorStats members r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D45697

--HG--
extra : moz-landing-system : lando
2019-09-18 12:48:46 +00:00
Jon Coppeard
f326bb945c Bug 1580883 - Use TimeDuration for remaining global in nsJSEnvironment.cpp r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D45696

--HG--
extra : moz-landing-system : lando
2019-09-18 12:48:32 +00:00
Jon Coppeard
99e7fae124 Bug 1580883 - Use TimeDuration for constants in nsJSEnvironment.cpp r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D45695

--HG--
extra : moz-landing-system : lando
2019-09-18 12:48:23 +00:00
Jon Coppeard
559e2c332d Bug 1580883 - Use TimeStamp/TimeDuration APIs instead of PRTime/PR_Now() in nsJSEnvironment.cpp r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D45693

--HG--
extra : moz-landing-system : lando
2019-09-18 12:48:09 +00:00
Bas Schouten
53993c8cdf Bug 1581427: Define UniqueProfilerBacktrace and profiler_get_backtrace() to be no-ops on a build without profiling. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D46090

--HG--
extra : moz-landing-system : lando
2019-09-18 12:38:52 +00:00
Emilio Cobos Álvarez
3fd0cf9628 Bug 1578661 - Add a note about CSS use counters to the documentation. r=chutten
Not sure how much detail does it need (it just works) but suggestions welcome.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 12:04:59 +00:00
Emilio Cobos Álvarez
74d4d8d59c Bug 1578661 - Add static_assert messages for use counter assertions. r=boris
This was a review comment which was easier to address as a separate patch.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 12:04:52 +00:00
Emilio Cobos Álvarez
eab4b291d9 Bug 1578661 - Deduplicate a bit the code to add use counters for a CSS property. r=chutten
Just some minor cleanup while I think on how to best integrate this with
probe-scraper.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 12:04:50 +00:00
Emilio Cobos Álvarez
30e754a811 Bug 1578661 - Report counted unknown properties as well. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D44717

--HG--
extra : moz-landing-system : lando
2019-09-18 12:04:48 +00:00
Emilio Cobos Álvarez
0687a570d7 Bug 1578661 - Add telemetry histograms for unknown counted CSS properties. r=chutten
This adds histograms for the stuff added in bug 1575062, which is needed for the
webcompat metrics project.

This also tweaks the naming to be consistent across all CSS properties. Normally
the method is just equivalent to the camel_case thing except for:

 * The css float property, whose method is CssFloat.
 * Internal properties (but we don't count those anyway).

This is so that we get consistent usage data if we ever implement some of those
properties.

I had to increase the PHF table size to make build times sane again (for some
reason adding the "d" property in there blows up the phf map generation time).

But according to Nika the binary size impact of that change is minimal /
irrelevant:

  https://mozilla.logbot.info/content/20190904#c16590376

So I think it should be fine.
chance

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

--HG--
extra : moz-landing-system : lando
2019-09-18 12:04:46 +00:00
Emilio Cobos Álvarez
6021f6b576 Bug 1578661 - Merge the stylesheet use counters, report them, and add tests. r=boris
C'est fini. Now to do the same with the unimplemented ones remains, but it
should be straight-forward.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 12:04:44 +00:00
Emilio Cobos Álvarez
959c99b520 Bug 1578661 - Fix use counter test. r=boris
By reporting the properties in MappedAttrParser that we used to (the test relies
on counting those), and by adjusting the histogram name to the new thing.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 12:04:37 +00:00
Emilio Cobos Álvarez
e1882a044c Bug 1578661 - Add telemetry histograms for all CSS properties. r=chutten,boris
And add them to the UseCounter enum. Also add some sanity-check assertions that
the reporting code relies on.

This works much like the deprecated operation list.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 12:04:35 +00:00
Emilio Cobos Álvarez
d880111e86 Bug 1578661 - Remove old CSS use counters. r=boris
We only have two counters enabled, just for testing, and they just count from
the SVG mapped attribute code. That's not great, and they mostly complicate the
next few patches.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 12:04:33 +00:00
Mihai Alexandru Michis
7bed28e9e2 Merge mozilla-central to autoland. 2019-09-18 14:47:25 +03:00
Tim Nguyen
e92db864f2 Bug 1581973 - Restore unintentionally deleted blank line.
Differential Revision: https://phabricator.services.mozilla.com/D46269

--HG--
extra : moz-landing-system : lando
2019-09-18 11:22:47 +00:00
Tim Nguyen
6630b99357 Bug 1582060 - Merge .urlbarView display: block rules. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46264

--HG--
extra : moz-landing-system : lando
2019-09-18 11:04:55 +00:00
Michael Ratcliffe
079415e5ec Bug 1556201 - Inactive CSS: Clicking on the info icon should not close the tooltip r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D45678

--HG--
extra : moz-landing-system : lando
2019-09-18 11:05:48 +00:00
Andreea Pavel
31ca3fda59 Backed out 9 changesets (bug 1578661) for lints failure at ServoCSSPropList.py a=backout
Backed out changeset d16463e5698c (bug 1578661)
Backed out changeset c6d64ac858ba (bug 1578661)
Backed out changeset db306f1467f7 (bug 1578661)
Backed out changeset 273535aab82d (bug 1578661)
Backed out changeset f643262a8c25 (bug 1578661)
Backed out changeset b0db409ada96 (bug 1578661)
Backed out changeset dc96d13728e0 (bug 1578661)
Backed out changeset 11e1e8f0a1b7 (bug 1578661)
Backed out changeset 6dd7a0d914d9 (bug 1578661)
2019-09-18 13:53:34 +03:00
Belén Albeza
e0a909f7ea Bug 1575529: Display color values for manifest members r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D45829

--HG--
extra : moz-landing-system : lando
2019-09-18 10:03:44 +00:00
L10n Bumper Bot
4218cb868d no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
ca-valencia -> default
2019-09-18 10:00:32 +00:00
Mihai Alexandru Michis
59cfefde58 Merge inbound to mozilla-central. a=merge 2019-09-18 12:58:15 +03:00
Masayuki Nakano
ed4c1cd65a Bug 1540029 - part 7: Replace HTMLEditRules::GetAlignment() with new stack only class r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D45789

--HG--
extra : moz-landing-system : lando
2019-09-18 06:26:56 +00:00
Masayuki Nakano
6ff81fdbe4 Bug 1540029 - part 6: Replace HTMLEditRules::GetListItemState() with new stack only class r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D45788

--HG--
extra : moz-landing-system : lando
2019-09-18 04:42:55 +00:00
Andreea Pavel
73383c5230 Backed out changeset af9417bd8105 (bug 1581448) for wrench bustages on a CLOSED TREE 2019-09-18 09:54:23 +03:00
Andreea Pavel
3a05650c79 Backed out changeset dc7ef690b396 (bug 1581548) for failing /test_window_open_discarded_bc.html on a CLOSED TREE 2019-09-18 09:50:31 +03:00
Glenn Watson
83dc27b34b Bug 1581650 - Provide picture cache dirty rects in WR render outputs r=nical
This provides the internal device-space dirty rects calculated
during picture cache updates to the external render() method.

This allows clients to provide these to OS partial present APIs,
to reduce power usage and improve performance.

In this initial implementation, if a scroll or scale of the main
picture cache has occurred, the dirty rect will be the entire
screen. This should ensure correctness. In future, we can handle
this case by supplying the picture cache transforms to the OS
compositor integration.

However, the dirty rects will be valid for any non-scroll cases,
such as animations or video playback. This should result in some
significant power savings and performance improvements for these
use cases.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 06:27:54 +00:00
Glenn Watson
ff53edd4e5 Bug 1581448 - Add support for specifying extra per-primitive flags in WR display lists r=kvark,nical
This patch replaces the is_backface_visible bool in the common
per-primitive data in the display list with a PrimitiveFlags
enumeration. This will allow Gecko to specify extra information
about certain primitive, such as tagging scroll bars.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 06:27:34 +00:00
Kris Maglione
ec70f45d44 Bug 1577723: Store BrowsingContext ID in dom::Location rather than DocShell weak reference. r=farre
Storing a DocShell rather than a BrowsingContext causes a number of problems
when dealing with cross-process navigations. The most immediate in this case
is that some cross-origin-allowed operations only work after a local-to-remote
navigation only until the original DocShell is destroyed, which causes
intermittent test failures.

It also means, though, that after a local-to-remote navigation, where the
DocShell has not been destroyed, attempts to read same-origin properties still
end up at the old DocShell, and as a result, lie about the current state of
the BrowsingContext.

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

MANUAL PUSH: Cannot update re-opened Phabricator revisions.

--HG--
extra : source : 6ba3bcede28a51512b8f17606b917024813e98b9
extra : histedit_source : 8dcc4aaabfc3db541a1269dfcd6414c4009d1c47%2C424b940eac29b4e916ea390223103ca41922375d
2019-09-16 18:17:17 -07:00
Daniel Varga
2dc4f22a07 Backed out 2 changesets (bug 1577723) for wpt failure at /html/browsers/history/the-location-interface/no-browsing-context.window.html
Backed out changeset 8bf308d3b614 (bug 1577723)
Backed out changeset 6ba3bcede28a (bug 1577723)
2019-09-18 01:50:35 +03:00
Kris Maglione
d70488e985 Bug 1577723: Follow-up: Fix another crash test relied on GC timing. r=bustage
MANUAL PUSH: Bustage fix.
2019-09-17 13:27:48 -07:00
Kris Maglione
5c43907520 Bug 1577723: Store BrowsingContext ID in dom::Location rather than DocShell weak reference. r=farre
Storing a DocShell rather than a BrowsingContext causes a number of problems
when dealing with cross-process navigations. The most immediate in this case
is that some cross-origin-allowed operations only work after a local-to-remote
navigation only until the original DocShell is destroyed, which causes
intermittent test failures.

It also means, though, that after a local-to-remote navigation, where the
DocShell has not been destroyed, attempts to read same-origin properties still
end up at the old DocShell, and as a result, lie about the current state of
the BrowsingContext.

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

MANUAL PUSH: Cannot update re-opened Phabricator revisions.

--HG--
extra : rebase_source : 417335868d70932981ae0b8908f60a22bdffb62c
extra : amend_source : 135861c9d33ec4b4d84c2ec36aa407ec91df9130
2019-09-16 18:17:17 -07:00
Edgar Chen
5bd394332c Bug 1579858 - Should release RefPtr before CollectData is clear; r=smaug
mAboutToBeNotifiedRejectedPromises will be clear in AfterProcessMicrotasks()
and mPendingUnhandledRejections will be clear after NotifyUnhandledRejections
runnable is handled.

However, worker could terminate in any time, we still need to clear those
structures manually before CollectData is clear.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 01:12:07 +00:00
J.C. Jones
51aefb37d2 Bug 1573245 - Change AuthenticatorTransport to be string, not enum r=bzbarsky,keeler
Upstream: https://github.com/w3c/webauthn/issues/1268

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

--HG--
extra : moz-landing-system : lando
2019-09-17 07:50:44 +00:00
Marian Raiciof
b82fefd873 Bug 1580722 - Create cold tests for all mobile websites r=perftest-reviewers,stephendonner
This task has been added to create all the missing cold tests for mobile websites.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 18:47:46 +00:00
lloan
9fe26db50d Bug 1579784 - Basic test for the Search panel, displaying the right search results. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D45815

--HG--
extra : moz-landing-system : lando
2019-09-18 10:17:07 +00:00
Alex Chronopoulos
efb44bee9c Bug 1581806 - Trigger devicechange event for audio and video input devices only. r=dminor
After Bug 1581193 devicechange notifications were triggered with any device change, not just video and audio devices. This patch limits down the notifications to only video and audio input devices change.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 14:31:39 +00:00
Jan-Erik Rediger
52029af288 Bug 1581179 - Remove Fennec-specific canary client id fix r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D46027

--HG--
extra : moz-landing-system : lando
2019-09-18 09:02:41 +00:00
Mihai Alexandru Michis
a6faaf2933 Merge mozilla-central to autoland. CLOSED TREE 2019-09-18 13:05:29 +03:00