Граф коммитов

733209 Коммитов

Автор SHA1 Сообщение Дата
Emily McDonough 6635212e1a Bug 1663652 part 2 - Add combined printerInfo method to nsPrinterCUPS r=emilio
Since we no longer are using the PaperList or CreateDefaultSettings methods on
nsPrinterBase, and we can remove them from nsPrinterBase.

This should dramatically improve latency when the remote printer is not
available, or when the print server is slower. In the best-case scenario it may
increase the latency to displaying the print preview somewhat.

Differential Revision: https://phabricator.services.mozilla.com/D94482
2020-11-03 20:35:38 +00:00
Emily McDonough 1fbcb914c4 Bug 1663652 part 1 - Implement combined CreateDefaultSettings and GetPaperList interface for nsPrinterBase r=emilio,mstriemer
This also changes the frontend to use this interface.

This will be a bit less efficient in the general case, as it will serialize the
PaperList and DefaultSettings fetches. But most of the large delays seem to
occur when the print server is slow to respond, and ultimately using a single
live connection for both these requests when possible (particularly with CUPS)
should improve the total latency when the printer or print server is not
available, or is very slow.

Differential Revision: https://phabricator.services.mozilla.com/D93688
2020-11-03 20:35:38 +00:00
Bob Owen 9dea4325b4 Bug 1665413: Adjust fuzz for canvas-drawImage-alpha-2.html on Windows webrender with remote canvas disabled. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95766
2020-11-03 19:48:45 +00:00
sanketh 8ed468300c Bug 1673237 - Always allow SVGs on about: pages r=acat,tjr,emilio
- Updated layout/svg/tests/test_disabled.html to ensure that this doesn't allow
  rendering SVGs on about:blank and about:srcdoc.

Differential Revision: https://phabricator.services.mozilla.com/D95139
2020-11-03 17:34:20 +00:00
Shane Caraveo 6a5784270d Bug 1672314 handle invalid addon startup data properly during startup r=rpl
We scan for addon changes twice, once early in startup (usually with no scanning) and once after ui startup.  We hold on to the startup data, and during both scans we restore that data into the addon location instances.  The problem here is if we install a builtin in-between these scans.  The new data from the install would get overwitten by the old data.  In some cases this caused addons to disappear (e.g. old data has incorrect path).  Other issues covered here is that we would never remove addon data for builtins removed from the system, and we would additionally mark builtins as sideloads, which caused other side effects (particularly with search addons) where we would not load the addon, but fortunately the search service later re-installes them.

Differential Revision: https://phabricator.services.mozilla.com/D95422
2020-11-03 20:17:37 +00:00
Aaron Klotz a2f9ffcda8 Bug 1675090: Use rvalue ref in SandboxTarget::RegisterSandboxStartCallback; r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D95776
2020-11-03 19:36:42 +00:00
Markus Stange 116877f258 Bug 1615858 - Take historical touch positions into account when estimating touch velocity. r=kats
This also adds a test. The velocities computed in the test are the following:

SimpleVelocityTracker: 0.65 with full data, 0.467 with partial data
AndroidVelocityTracker: 1.225 with full data, 0.833 with partial data

Differential Revision: https://phabricator.services.mozilla.com/D95651
2020-11-03 16:46:29 +00:00
Markus Stange f2606240fd Bug 1615858 - Propagate historical touch data from Java to C++. r=kats,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D95650
2020-11-03 19:48:43 +00:00
Markus Stange fc8aedee99 Bug 1615858 - Add MultiTouchInput::SingleTouchData::mHistoricalData. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D95649
2020-11-03 16:46:19 +00:00
Razvan Maries 7ec6cea937 Backed out changeset 8814575fe7be (bug 1674938) for perma failures on browser_all_files_referenced.js. CLOSED TREE 2020-11-03 22:42:54 +02:00
Razvan Maries 3f1cea6dd5 Backed out changeset cf8e07fcfaa7 (bug 1674317) for xpcshell perma failures on test_AboutHomeStartupCacheWorker.js. CLOSED TREE 2020-11-03 22:42:03 +02:00
Ting-Yu Lin e841fbf716 Bug 1674863 Part 3 - Add GetIntrinsicSize() override for nsVideoFrame. r=emilio
Also, delete unused rendering context parameter for
GetVideoIntrinsicSize().

Differential Revision: https://phabricator.services.mozilla.com/D95579
2020-11-03 19:54:51 +00:00
Ting-Yu Lin 8cd9090bc6 Bug 1674863 Part 2 - Use strong types to define fallback intrinsic width, height, and size. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D95578
2020-11-03 19:54:44 +00:00
Ting-Yu Lin 2f869ac046 Bug 1674863 Part 1 - Improve type safety for APIs computing video's intrinsic size and ratio. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D95577
2020-11-03 19:54:41 +00:00
Kartikaya Gupta 5d9cc0d0cf Bug 1673505 - Don't create inactive scrollframe hitinfos for hidden scrollframes. r=tnikkel
If there is a scrollframe that is inactive but also visibility:hidden, then
we shouldn't create a hit test info for it, because APZ will consider it as
being visible. In the non-fission case this doesn't matter much but in the
fission case the input event could end up getting sent to the wrong process if
the hidden inactive scrollframe is sitting on top of an OOP iframe.

Differential Revision: https://phabricator.services.mozilla.com/D95767
2020-11-03 19:43:07 +00:00
Matt Woodrow 726340ba67 Bug 1674878 - Expose more detailed WR backend information to TextureFactoryIdentifier. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95588
2020-11-03 18:24:43 +00:00
Brendan Dahl 4ef7f2296a Bug 1674938 - Update pdf.js to version 2.7.232 r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D95640
2020-11-03 19:39:34 +00:00
Razvan Maries c032d89358 Backed out 3 changesets (bug 1674856) for Windows10 swr reftests perma failures. CLOSED TREE
Backed out changeset 8e52162cdf48 (bug 1674856)
Backed out changeset eb84f9c620ac (bug 1674856)
Backed out changeset 477a1070a971 (bug 1674856)
2020-11-03 21:43:26 +02:00
Ricky Stewart e1e9ea0e63 Bug 1645423 - Sentry ignores errors caused by local changes r=mhentges
Here, "errors caused by local changes" means "errors whose stack traces contain a reference to a file that is in the set of files changed locally". This implementation is a trade-off:

1. This check will not catch issues caused transitively by changes to local files. For example, consider a function that has been updated and its return type changed in a backwards-incompatible way, whereas callers were not updated appropriately. This would likely manifest as a type error in the calling function after the callee has returned.

2. This check WILL catch issues that come from locally changed files where the cause of the error doesn't originate from those local changes. For example, consider a function that's been locally updated but is never called in the failing codepath; if an exception is thrown, it's not due to this local change, and we shouldn't filter it out.

There are conceivable improvements that we could apply to fix deficiency (1); for example, we could track imports recursively starting from the oldest frame in the stack trace and match on that set of imported files. Note this would not handle dynamic imports properly, and that this could exacerbate issue (2).

Issue (2) could conceivably be addressed by attempting to filter the actual local diffs down to changes that actually may be causing the error. This is difficult to do generally especially in light of Python's dynamism, but there mayb be conservative improvements that we could make in this space.

Overall, neither of the above caveats are deemed to be sufficiently concerning that this patch should be blocked as-is, and the current situation with our Sentry logs is unusable due to all the noise. This patch will probably have a substantial impact on that noise without incidentally filtering out too much signal.

Differential Revision: https://phabricator.services.mozilla.com/D95607
2020-11-03 19:22:51 +00:00
Jonathan Kew f49f629f5d Bug 1674027 - Check both width and height when computing shrink-to-fit scaling factor for pdf.js documents. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D95538
2020-11-03 19:29:47 +00:00
Neil Deakin 942c385d2a Bug 1671526, use DispatchInputEvent for drag events on windows, r=kats
Differential Revision: https://phabricator.services.mozilla.com/D95552
2020-11-02 22:01:21 +00:00
Mike Conley 9e7cb7ad40 Bug 1674317 - Load about:home scripts via the subscript loader when hitting the about:home startup cache. r=k88hudson
Using the subscript loader is currently our best way of getting the loaded scripts recorded for entry
in the ScriptPreloader which is used to cache startup-related JavaScript within the startup window.

Originally, we were using <script> tags to load those scripts, but unfortunately, that loading mechanism
does not qualify for being noted by the ScriptPreloader.

This is a workaround until the Stencil project by the SpiderMonkey team Phase 2 is complete (see bug 1663956),
which should allow us to more easily note scripts to cache at runtime.

Differential Revision: https://phabricator.services.mozilla.com/D95407
2020-11-03 19:24:42 +00:00
Andrei Oprea 40f96ff370 Bug 1666509 - ExperimentAPI should report update events when experiments are loaded from disk r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D91936
2020-11-03 19:19:53 +00:00
Andrey Bienkowski 01715e584b Bug 1674980 Fix comment: async function use `await promise` instead of `yield promise` r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D95677
2020-11-03 19:17:27 +00:00
Rob Lemley 43c5c39cb5 Bug 1674398 - Follow-up: Correct base path and pattern for comm mozharness.zip. r=ahal
The original change was tested as working on try/try-c-c, but was done during
the window when bug 1673992 had been backed out on mozilla-central. As a result,
the mozharness.zip that was tested had the "mozharness/" top level directory and
everything worked.

Differential Revision: https://phabricator.services.mozilla.com/D95741
2020-11-03 18:15:36 +00:00
Martin Stransky 86ec37745d Bug 1658887 Expose Linux/Wayland related preferences at about:support, r=Gijs
- Expose wayland dmabuf related options, which are:
  widget.dmabuf-textures.enabled
  widget.dmabuf-webgl.enabled

- Expose widget.use-xdg-desktop-portal which enables remote system dialogs like Print/Open/Save.

- Expose general Wayland preferences:
  widget.wayland-smooth-rendering - extra buffering of Wayland SW rendering
  widget.wayland.use-opaque-region - use transparency hints for Wayland compositor
  widget.wayland_vsync.enabled - use independent vsync source

None of them provide sensitive informations.

Differential Revision: https://phabricator.services.mozilla.com/D86939
2020-11-03 18:38:23 +00:00
Razvan Maries de6734558a Backed out changeset 3502941c9c34 (bug 1674027) for perma failures on nsPageContentFrame. CLOSED TREE 2020-11-03 20:49:12 +02:00
Kartikaya Gupta 2fd4f2fc5c Bug 1418001 - Generate analysis for file inclusions. r=asuth,andi
This introduces a new mangled symbol of the form FILE_<hash>. It's defined
on line 1 of each visited source file, and it's referenced in places that
the preprocessor tells us there was an #include. Both angle-bracket includes
and quote includes are supported here.

Differential Revision: https://phabricator.services.mozilla.com/D95529
2020-11-03 15:57:32 +00:00
Kartikaya Gupta a979c5ff70 Bug 1418001 - Refactor to allow visitIdentifier callers to pass a full SourceRange. r=asuth,andi
In the next patch I'll want to be able to provide the entire source rather than
having visitIdentifier just use the token at `Loc`. The existing call sites
create a SourceRange from the SourceLocation and indicate (by not setting the
LocRangeEndValid flag) that the visitIdentifier function should retain it's
old behaviour of using the token to figure out the range.

Depends on D95527

Differential Revision: https://phabricator.services.mozilla.com/D95528
2020-11-02 20:38:37 +00:00
Kartikaya Gupta b28eaef8b0 Bug 1418001 - Refactor to make file type detection more explicit. r=asuth,andi
This extracts a relativizePath function that normalizes a file path to be
relative to the source/objdir, and returns the type of the file.

Differential Revision: https://phabricator.services.mozilla.com/D95527
2020-11-02 20:38:36 +00:00
Tom Schuster 98810e5387 Bug 1670811 - Tests for browsingData.remove with cookieStoreId r=extension-reviewers,mixedpuppy,rpl
Depends on D93277

Differential Revision: https://phabricator.services.mozilla.com/D93332
2020-11-03 18:28:58 +00:00
Tom Schuster c80939398a Bug 1670811 - browsingData.remove cookieStoreId support for next-gen localStorage and indexedDB r=rpl
Depends on D93276

Differential Revision: https://phabricator.services.mozilla.com/D93277
2020-11-03 18:28:55 +00:00
Tom Schuster 3e9a407b7f Bug 1670811 - Unify indexedDB and localStorage code r=rpl
Depends on D93275

Differential Revision: https://phabricator.services.mozilla.com/D93276
2020-11-03 18:28:47 +00:00
Tom Schuster 288d639be4 Bug 1670811 - Basic browsingData.remove cookieStoreId support for clearing cookies r=extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D93275
2020-11-03 18:28:40 +00:00
Jeff Muizelaar 456e4e8292 Bug 1672842. Avoid using the postscript name to create the CTFontDescriptor. r=jfkthame
Instead create at CTFont and get the descriptor from it.

Differential Revision: https://phabricator.services.mozilla.com/D95750
2020-11-03 17:20:19 +00:00
Matt Woodrow 012ffe6d1a Bug 1674856 - Copy CanvasClient texture flags to created textures in all paths. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D95572
2020-11-03 18:17:14 +00:00
Matt Woodrow 66c1e2b63c Bug 1674856 - Fix fuzz annotations for Windows10 swr reftests. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95571
2020-11-03 18:16:36 +00:00
Matt Woodrow 3e0d1fbb98 Bug 1674856 - Enable webrender-sw config for Windows10 debug reftests. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D95570
2020-11-03 12:25:39 +00:00
Andrew Halberstadt 1648140b33 Bug 1673874 - [mozlint] Add some verbose logging after calling a linter's setup function, r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D95082
2020-10-28 22:02:07 +00:00
Michael Kaply 3f82a648de Bug 1674185 - Remove managed-bookmarks from uiCustomization.state now that it is dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95183
2020-11-03 17:43:51 +00:00
Sebastian Hengst 99bbc43413 Bug 1669420 - adjust expectation for fontface-override-descriptor-getter-setter.sub.html on Windows 7 opt. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D95760
2020-11-03 17:44:30 +00:00
Mike Conley f41bfe5913 Bug 1673716 - Resolve the about:home startup cache request if the privileged about content process crashes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95574
2020-11-03 17:40:24 +00:00
Jonathan Kew c8bcc2df9f Bug 1674027 - Check both width and height when computing shrink-to-fit scaling factor for pdf.js documents. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D95538
2020-11-03 15:01:20 +00:00
Dorel Luca 292d8cc0ae Backed out changeset 291e761d6988 (bug 1573300) for Mochitest failures in dom/events/test/test_all_synthetic_events.html. CLOSED TREE 2020-11-03 19:38:01 +02:00
Dorel Luca 8ab9b89b0f Backed out changeset 3cc7771c487c (bug 1674135) for Browser-chrome failures in preferences/tests/siteData/browser_siteData.js. CLOSED TREE 2020-11-03 19:37:30 +02:00
Jonathan Kew 89f3cb420a Bug 1672842 - patch 1 - Update handling of macOS system font to avoid Core Text failures when instantiating the system font. r=jrmuizel
With this patch, the system font seems to work OK again on 10.15 when building Firefox with SDK10.15,
provided webrender is *disabled*. We no longer trigger the Core Text error messages from InitSystemFontNames(),
and the proper system font is used.

(With webrender, we get garbage because it fails to instantiate the system font and renders "random" Times
glyphs instead.)

Differential Revision: https://phabricator.services.mozilla.com/D95453
2020-11-03 17:03:16 +00:00
Andrey Bienkowski 6bb5b574bc Bug 1674635 Improve documentation for `mach test` r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D95455
2020-11-03 17:09:46 +00:00
Lee Salzman 17c5e8a4aa Bug 1652266 - implement Gaussian blur fast-path for SWGL. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95654
2020-11-03 17:03:32 +00:00
Chun-Min Chang eeae815abc Bug 1670827 - P5: Telemetry tracking decoder errors r=jbauman
Add a telemetry probe tracking the errors in dav1d or aom decoder. We
only care the errors from `aom_codec_decode` and `dav1d_get_picture` so
other error code won't be counted.

Differential Revision: https://phabricator.services.mozilla.com/D94489
2020-11-03 01:57:10 +00:00
Chun-Min Chang 9808dd4115 Bug 1670827 - P4: Telemetry tracking bit-depth r=jbauman
Add a telemetry probe tracking the bit-per-pixel of the AVIF images

Differential Revision: https://phabricator.services.mozilla.com/D93867
2020-11-03 01:55:55 +00:00