David Parks
af5370612f
Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv
...
This implements the new HTML spec for these fields, which now serve hard-coded values, depending on whether or not PDFs are supported. The values were deemed important to maintain web compatibility. The spec can be found in section 8.9.1.6:
https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support
The web-compat test for this can be found at:
https://wpt.live/html/webappapis/system-state-and-capabilities/the-navigator-object/plugins-and-mimetypes.html
This patch follows the spec for the PDF plugins if "pdfjs.disabled" is false. It also produces empty plugin arrays if "pdfjs.disabled" is true, as per the spec. Both cases are tested by the wpt.live page.
Differential Revision: https://phabricator.services.mozilla.com/D133291
2022-02-17 01:33:00 +00:00
Markus Stange
9708c4a152
Bug 1724088 - Don't notify ScrollbarActivity in scroll frames without scrollbars. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D121784
2022-02-17 01:31:02 +00:00
Ray Kraesig
c48048bb54
Bug 1621177 - post error to Event Log only after telemetry attempt r=tkikuchi
...
Post a launcher error to the Event Log only after an attempt to send it
via telemetry has concluded, whether in success or in failure.
This implies that the thread which posts the log is:
- in the failure case, whichever thread learns about the failure;
- in the success case, the ping thread, because only it learns about
success.
Differential Revision: https://phabricator.services.mozilla.com/D138706
2022-02-17 00:34:20 +00:00
Sam Foster
00392b7cce
Bug 1753763 - Combine the platform-specific CSS for the controlcenter panel into a single panel.css r=dao
...
* Rename the shared panel.inc.css to panel.css - making it replace the platform-specific sheet we load at chrome://browser/skin/controlcenter/panel.css
* Linux and Windows stylesheets had duplicated overrides, those are inlined into panel.css at the appropriate spot
* MacOS overrides are placed in context using a @media query.
* Remove the old windows/linux/osx CSS files.
Differential Revision: https://phabricator.services.mozilla.com/D137924
2022-02-16 23:58:17 +00:00
Emily McDonough
e66f17daf3
Bug 1755808 - constify some of nsCSSFrameConstructor::AddFrameConstructionItemsInternal r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D138960
2022-02-16 23:15:27 +00:00
Coelacanthus
7076b8ea9d
Bug 1744765 - Add font features config from user's fontconfig r=jfkthame,layout-reviewers
...
As Pango do, we get font feature settings for specfied from user's
fontconfig. This will not affect users that don't use this feature,
because they will not add fontfeatures setting in their fontconfig.
There is an example config I use to test:
<match target="pattern">
<test name="family" compare="eq" ignore-blanks="true">
<string>Iosevka</string>
</test>
<edit name="fontfeatures" mode="append">
<string>ss10 on</string> <!-- using SS10 variant shape -->
<string>cv49 1</string> <!-- straight y -->
<string>cv83 2</string> <!-- underline, not too high, not too low -->
</edit>
</match>
Signed-off-by: Coelacanthus <coelacanthus@outlook.com>
Differential Revision: https://phabricator.services.mozilla.com/D138757
2022-02-16 23:00:52 +00:00
Dão Gottwald
d4d3d54c73
Bug 1755665 - Use --focus-outline instead of --deafult-focusring for .text-link across platforms. r=Itiel
...
Differential Revision: https://phabricator.services.mozilla.com/D138886
2022-02-16 22:55:14 +00:00
Butkovits Atila
03a020af3e
Backed out 2 changesets (bug 1734886) for causing Hazard bustages at TransformStream.cpp. CLOSED TREE
...
Backed out changeset 874b3fe4de86 (bug 1734886)
Backed out changeset 9d43d0e3ba23 (bug 1734886)
2022-02-17 01:18:31 +02:00
Matthew Gaudet
cff5bbe644
Bug 1506681 - Add test for array buffer size limitations in BYOB Readable byte streams r=saschanaz
...
Differential Revision: https://phabricator.services.mozilla.com/D138952
2022-02-16 22:33:51 +00:00
Matthew Gaudet
74f1c05adb
Bug 1734656 - Remove incorrect comment r=saschanaz DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D138955
2022-02-16 22:26:48 +00:00
Andrew Osmond
a18bf8a50c
Bug 1754978 - Part 2. Switch WebGPU to use async image pipelines for display. r=kvark
...
This patch removes more main thread dependencies from the content side
of WebGPU. Instead of issuing a resource update for an external image,
we now use an async image pipeline in conjunction with
CompositableInProcessManager from part 1. This allows us to update the
HTMLCanvasElement bound to the WebGPU device without having to go
through the main thread, or even the content process after the swap
chain update / readback has been requested.
Differential Revision: https://phabricator.services.mozilla.com/D138887
2022-02-16 22:23:20 +00:00
Andrew Osmond
23a67affe1
Bug 1754978 - Part 1. Refactor CompositableHandle infrastructure to allow in-process driven handles. r=sotaro
...
For WebGPU, we produce the textures in the compositor process and the
content process doesn't need to be that involved except for hooking up
the texture to the display list. Currently this is done via an external
image ID.
Given that WebGPU needs to work with OffscreenCanvas, it would be best
if its display pipeline was consistent whether it was gotten from an
HTMLCanvasElement, OffscreenCanvas on the main thread, or on a worker
thread. As such, using an AsyncImagePipeline would be best.
However there is no real need to bounce the handles across process
boundaries. Hence this patch which adds CompositableInProcessManager.
This static class is responsible for collecting WebRenderImageHost
objects backed by TextureHost objects which do not leave the compositor
process. This will allow WebGPUParent to schedule compositions directly
in future patches.
Differential Revision: https://phabricator.services.mozilla.com/D138588
2022-02-16 22:23:19 +00:00
Andrew McCreight
2501091ca7
Bug 1755539
- Check more defensively in URLPreloader::ReadCache(). r=smaug
...
ReadCache inserts a CacheKey into various data structures before
immediately removing them. I have no idea how, but maybe this is
causing the linked list assertions we're seeing. This patch bails
out more quickly when we hit an error to avoid that.
Also add a check that if the entry is in a linked list, that
it is in our current linked list. As above, I have no idea how
this could go wrong, but we might as well check.
I also added checks for the value of mType we read out of the
file. I don't think this could cause the linked list assertion
either, but surely it can't hurt.
Differential Revision: https://phabricator.services.mozilla.com/D138842
2022-02-16 21:56:01 +00:00
Butkovits Atila
a5c87638dd
Backed out changeset 18c11a93ef16 (bug 1752906) for causing failures at midi-reporting.https.html. CLOSED TREE
2022-02-17 00:09:42 +02:00
Csoregi Natalia
b6d4ea0d7e
Merge mozilla-central to autoland. CLOSED TREE
2022-02-16 23:50:23 +02:00
Scott
378c333ccb
Bug 1755017 - Adding read time to Pocket newtab cards. r=gvn
...
Differential Revision: https://phabricator.services.mozilla.com/D138941
2022-02-16 21:40:39 +00:00
Csoregi Natalia
9bed262383
Merge autoland to mozilla-central. a=merge
2022-02-16 23:39:12 +02:00
Emilio Cobos Álvarez
74d0665b85
Bug 1755737 - Make layout.css.dpi a static pref. r=jfkthame,layout-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D138921
2022-02-16 21:13:58 +00:00
Claudia
5ba8f75906
Bug 1754371 - [devtools] Get Edit and resend action from the Headers panel to work r=bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D138557
2022-02-16 20:53:11 +00:00
Matthew Gaudet
66faca22de
Bug 1754913 - Intentionally ignore errors in FetchStreamReader::OnOutputStreamReader r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D138703
2022-02-16 20:52:12 +00:00
Gabriele Svelto
5315d8ad19
Bug 1752906 - Enable WebMIDI r=bholley
...
This also adjusts our mochitests so that they know we're exposing the WebMIDI
objects publicly.
Differential Revision: https://phabricator.services.mozilla.com/D137486
2022-02-16 20:47:24 +00:00
Butkovits Atila
5a7e7f7e94
Backed out changeset bd49571119a5 (bug 1751448) for causing build bustages. CLOSED TREE
2022-02-16 22:50:37 +02:00
Kagami Sascha Rosylight
a14deb0e24
Bug 1734886 - Part 2: Initialize [[controller]] slot of TransformStream r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D138826
2022-02-16 20:40:03 +00:00
Kagami Sascha Rosylight
e717ac6d07
Bug 1734886 - Part 1: Throw when readably/writableType fields exist r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D138825
2022-02-16 20:40:03 +00:00
Matthew Gaudet
69994d5488
Bug 1754992 - Explicitly set cross-context hasinstance pref for ReadableStreams global test r=saschanaz,evilpie
...
Differential Revision: https://phabricator.services.mozilla.com/D138701
2022-02-16 20:26:21 +00:00
Timothy Nikkel
cd084cd10a
Bug 1755290. Don't descend into the chrome tabbar when looking for an async scrollable element to create a display port on. r=botond,emilio
...
A basic Firefox window has no element that WantAsyncScroll in the parent process, even if there are enough tabs to overflow the tabbar and make it scroll. This is because the underlying element is overflow hidden.
The tabbar is an arrowscrollbox
https://searchfox.org/mozilla-central/rev/e66593593f3b356901011ea0fcdf9979728e9ae8/browser/base/content/navigator-toolbox.inc.xhtml#56
Which is implemented here
https://searchfox.org/mozilla-central/rev/e66593593f3b356901011ea0fcdf9979728e9ae8/toolkit/content/widgets/arrowscrollbox.js#33
using a <scrollbox> element. These are meant to be programtically scrolled but not user scrolled, hence they are declared overflow hidden here
https://searchfox.org/mozilla-central/rev/e66593593f3b356901011ea0fcdf9979728e9ae8/toolkit/content/xul.css#540
and they have been that way since the early 2000s, so doesn' seem likely to change. overflow: hidden element do not WantAsyncScroll
https://searchfox.org/mozilla-central/rev/e66593593f3b356901011ea0fcdf9979728e9ae8/layout/generic/nsGfxScrollFrame.cpp#1691
If the tabbar structure/name changes I left a comment there pointing out this code.
In a session with a lot of tabs this code can be 15% of the total parent process time to open a new tab. With this patch it's pretty much zero.
Differential Revision: https://phabricator.services.mozilla.com/D138650
2022-02-16 20:20:49 +00:00
Chris H-C
58ac2244c6
Bug 1754654 - Renew Glean metrics for active_ticks and uri_count r=janerik
...
No data review necessary for the renewal since the collection is approved for
permanence.
Depends on D138911
Differential Revision: https://phabricator.services.mozilla.com/D138913
2022-02-16 19:57:11 +00:00
Chris H-C
88f985476b
Bug 1754655 - Remove mirrored active_ticks probe r=janerik
...
Depends on D138910
Differential Revision: https://phabricator.services.mozilla.com/D138911
2022-02-16 19:57:11 +00:00
Chris H-C
d023b35cbd
Bug 1754654 - Remove mirrored uri_count probe r=janerik
...
Differential Revision: https://phabricator.services.mozilla.com/D138910
2022-02-16 19:57:10 +00:00
Chris H-C
a7c37dca26
Bug 1724156 - Replace Background Update ping tt(c) test with xpcshell r=nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D138841
2022-02-16 19:34:44 +00:00
Chris H-C
08d9d265ac
Bug 1751448 Expand one metric type's GIFFT to Rust r=janerik,bas
...
Differential Revision: https://phabricator.services.mozilla.com/D136664
2022-02-16 19:30:14 +00:00
Ed Lee
530503798f
Bug 1752935 - Reuse welcome bundle from Spotlight for multistage template r=pdahiya,andreio
...
Detect about:welcome template usage and move modal shadow styling to content. Remove 93-backwards-compatible logoImageURL and update schema. Only basic functionality for initial testing.
Differential Revision: https://phabricator.services.mozilla.com/D138866
2022-02-16 19:05:22 +00:00
Nicolas Silva
7c8e9a875e
Bug 1755503 - Support recording wgpu traces for multiple instances. r=kvark"
...
Record the trace of each instance into "$WGPU_TRACE/$IDX/" where $IDX is a monotonically increasing integer per instance.
Differential Revision: https://phabricator.services.mozilla.com/D138814
2022-02-16 19:04:20 +00:00
Csoregi Natalia
ab58612f97
Backed out changeset 797bfebd963c (bug 1754426) for multiple failures on browser interactions. CLOSED TREE
2022-02-16 21:57:26 +02:00
Butkovits Atila
20e27a3364
Backed out 2 changesets (bug 1755737) for causing failures at browser_test_feature_preferencereads.js. CLOSED TREE
...
Backed out changeset c2609661965d (bug 1755737)
Backed out changeset 34596510350a (bug 1755737)
2022-02-16 21:53:03 +02:00
Butkovits Atila
45b52988f2
Backed out changeset 480ba71887c8 (bug 1755226) for causing build bustages. CLOSED TREE
2022-02-16 21:09:15 +02:00
Butkovits Atila
fc3f1cef99
Bug 1755737 - Lint fix.
2022-02-16 21:08:22 +02:00
Mozilla Releng Treescript
3572f65d93
no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
...
hu -> f2ddbe0eeeef462861f509b7874b18ab3c35a0f3
hye -> 58b5de2c61c2c664fbd322d68d26c29ecd7ecc2d
it -> ef1dec7ba71313c104804620b858f49edad60406
pt-BR -> 26d128c87881a7ab52c787cf483771d22ce3dd60
rm -> 91906bb9c17686385dd1f647e1169e7136b77524
sat -> 5cc7400ca288940787cbcf705da7e3d6d728ace7
2022-02-16 19:03:32 +00:00
Eitan Isaacson
cf6dfac2f6
Bug 1755383 - P3: Migrate HTML selection tests from mochitests to browser tests. r=morgan
...
Differential Revision: https://phabricator.services.mozilla.com/D138730
2022-02-16 18:42:54 +00:00
Eitan Isaacson
791057d698
Bug 1755383 - P2: Added receivers for SelectedItems/Count in doc child. r=morgan
...
This is really just for testing purposes, so we can do non-caching e10s
testing.
Differential Revision: https://phabricator.services.mozilla.com/D138729
2022-02-16 18:42:53 +00:00
Eitan Isaacson
b2f056737e
Bug 1755383 - P1: Move SelectAccessible methods to Accessible. r=morgan
...
Differential Revision: https://phabricator.services.mozilla.com/D138728
2022-02-16 18:42:53 +00:00
Butkovits Atila
dff61f12f4
Backed out changeset 4c5ad6cc4df3 (bug 1755718) for causing reftest failures. CLOSED TREE
2022-02-16 20:06:14 +02:00
Sean Feng
a0b0570da8
Bug 1755722 - Use viewport distance as the root margins for lazyload in EARLY_BETA_OR_EARLIER r=emilio
...
This is for experimenting the best value for the root margins.
Differential Revision: https://phabricator.services.mozilla.com/D138907
2022-02-16 18:04:25 +00:00
ahochheiden
7452a37502
Bug 1751853 - Update string paths to Pathlib objects in Mozrelease module r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D136863
2022-02-16 18:00:38 +00:00
ahochheiden
b78352e424
Bug 1751853 - Replaced the logic in 'rmdirRecursive' with a more standard solution r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D136995
2022-02-16 18:00:38 +00:00
Sean Feng
c87da83fd7
Bug 1755226 - Only notify 'http-on-image-cache-response' when there are registered observers r=tnikkel
...
This is an optimization to avoid doing redundant things when there are no
registered observers.
Differential Revision: https://phabricator.services.mozilla.com/D138853
2022-02-16 17:57:39 +00:00
Nicholas Rishel
3a6e295171
Bug 1742674 - Add telemetry for default PDF viewer. r=nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D136814
2022-02-16 17:44:01 +00:00
Nicholas Rishel
33674ccd1e
Bug 1742674 - Pre: Pull default agent's UTF-8 and UTF-16 conversions into generic functions. r=nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D137498
2022-02-16 17:44:00 +00:00
Nicholas Rishel
7c51f78894
Bug 1742674 - Pre: Remove unused headers, scope raw pointer later wrapped in smart pointer, and use nullptr instead of NULL. r=nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D137059
2022-02-16 17:43:59 +00:00
Bob Owen
c333e48a0c
Bug 1755734: Limit win32k lockdown for content process to Win10 build 16299 or later. r=gcp
...
Differential Revision: https://phabricator.services.mozilla.com/D138918
2022-02-16 17:42:04 +00:00