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

777873 Коммитов

Автор SHA1 Сообщение Дата
sotaro 2d813f179a Bug 1743075 - Update log of ProcessEventHookCallback() r=gfx-reviewers,aosmond
Add aEvent value to log.

Differential Revision: https://phabricator.services.mozilla.com/D132214
2021-11-29 00:12:20 +00:00
Doug Thayer 6e1905eb5e Bug 1743304 - Semi-reduntantly propagate raster space inheritance in gecko r=gw
So, it turns out I didn't fully test the patch from bug 1740262 after I made my
final changes to it. A change that I had in the patch which I thought was
unnecessary, because it didn't fix the problem by itself, turns out to in fact
be necessary. It turns out we still need to inherit the parent stacking
context's `mRasterizeLocally` value inside gecko, or else we could have scale
changes which get dropped on the WebRender side. I do think long term WebRender
should handle all of this itself, because I believe there are still potential
issues lurking here when we start to think of this across the process boundary,
but I don't think I'm the right person right now to untangle everything to
cleanly move everything necessary into WebRender, so I think the solution for
right now is to have Gecko somewhat but not entirely reduntantly handle raster
space inheritance itself, in addition to WebRender handling raster space
inheritance in order to partially cover the process boundary case. This is not
a pretty solution, but as far as I can tell it fixes the issues that bug
1730710 introduced without regressing the performance back to pre-1730710
levels.

Differential Revision: https://phabricator.services.mozilla.com/D132308
2021-11-28 21:47:04 +00:00
Glenn Watson ab52fe7f54 Bug 1742903 - Fix fuzziness annotation on mac r=gfx-reviewers,mstange
The fuzziness result is now consistent across mac/linux.

Differential Revision: https://phabricator.services.mozilla.com/D132309
2021-11-28 21:16:18 +00:00
Marian-Vasile Laza 70b32246fc Backed out changeset 696485034af5 (bug 1742916) for causing reftest test failures on woff2-totalsfntsize.html. CLOSED TREE 2021-11-28 21:52:09 +02:00
Deian Stefan f5a0534816 Bug 1742916 - Turn on Wasm sandbox support for RLBoxed woff2 r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D126436
2021-11-28 16:40:23 +00:00
Tooru Fujisawa d35e49b80a Bug 1617545 - Part 2: Make datalist item not removable in autocomplete drop down menu. r=MattN
Add nsIAutoCompleteResult.isRemovableAt method, to indicate whether the value
is removable, and do nothing for Shift+Delete on the item when the value is
not removable.

Depends on D131740

Differential Revision: https://phabricator.services.mozilla.com/D131741
2021-11-28 16:19:56 +00:00
Tooru Fujisawa 71e468c368 Bug 1617545 - Part 1: Simplify FormAutoCompleteResult constructor parameters. r=MattN
Zip `values`, `labels`, and `comments` into single `items` array, as a
preparation to add `removable` field.

Differential Revision: https://phabricator.services.mozilla.com/D131740
2021-11-28 16:19:55 +00:00
Renovate Bot 70881ec0dc no bug - Update dependency Sphinx to v4.3.1 r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D132303
2021-11-28 16:16:30 +00:00
sotaro d184dc0218 Bug 1742739 - Remove HasIntermediateBuffer r=gfx-reviewers,jnicol
HasIntermediateBuffer is always false. It could be removed.

Differential Revision: https://phabricator.services.mozilla.com/D131996
2021-11-28 11:40:16 +00:00
Haiyang Xu 4aae583bea Bug 1726809 - Simplify QuotaManager::GetOrCreate and intermediate state of opening QuotaManager; r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D131592
2021-11-28 00:09:56 +00:00
Deian Stefan 1ee9a841d8 Bug 1732201 - Sandbox woff2 in OTS using RLBox r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D126435
2021-11-27 23:30:49 +00:00
Cristian Tuns f0ef0360eb Backed out changeset d486edc7499b (bug 1732201) for causing web-platform-tests failures on header-totalsfntsize-001.xht CLOSED TREE 2021-11-27 07:32:22 -05:00
Andrew Osmond 72d1c14b24 Bug 1711061 - Part 13. Remove the now unused ImageContainer and related code for images. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126606
2021-11-27 11:47:40 +00:00
Andrew Osmond af4570762c Bug 1711061 - Part 12. Change the display list to use WebRenderImageProvider. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126605
2021-11-27 11:47:40 +00:00
Andrew Osmond e2f023d269 Bug 1711061 - Part 11. Implement VectorImage::GetImageProvider. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126604
2021-11-27 11:47:40 +00:00
Andrew Osmond 6c26762435 Bug 1711061 - Part 10. Implement BlobSurfaceProvider for non-rasterized blob recordings. r=tnikkel
This WebRenderImageProvider/ISurfaceProvider subclass provides the
implementation for blob recordings. This is mostly just taking the
functionality that was previously in SourceSurfaceBlobImage.

Differential Revision: https://phabricator.services.mozilla.com/D126602
2021-11-27 11:47:39 +00:00
Andrew Osmond ba2c6dea3f Bug 1711061 - Part 9. Add blob recording support to SurfaceCache. r=tnikkel
Now that we no longer have the extra layer of ImageContainers providing
a superficial level of caching/reuse of existing blob recordings, we
need some way to share recordings. This part adds support to
SurfaceCache to store BlobSurfaceProvider objects.

This includes the specialized code for invalidating SVG images. In
particular this is useful for animated SVG images. In general we want to
avoid changing the image key whenever possible so that we avoid
reallocating the underlying buffers in the compositor process for the
rasterized blob images.

We also need to track the ImageIntRegion used by the recording. If a
caller only wants a slice of the SVG image, then we need to track this
differentiation in our cache entries. At this time, we don't allow
substitutes for entries with a region exclusion.

Differential Revision: https://phabricator.services.mozilla.com/D126603
2021-11-27 11:47:39 +00:00
Andrew Osmond 3a3c39b1b5 Bug 1711061 - Part 8. Rename SourceSurfaceBlobImage.h/cpp to BlobSurfaceProvider.h/cpp. r=tnikkel
Rename the file in preparation for the switch over to
WebRenderImageProvider.

Differential Revision: https://phabricator.services.mozilla.com/D126601
2021-11-27 11:47:38 +00:00
Andrew Osmond f0d93233dc Bug 1711061 - Part 7. Remove support for ImageContainer-based SVG image blob recordings. r=tnikkel
This will be replaced by a WebRenderImageProvider-based implementation
in a later part in this series.

Differential Revision: https://phabricator.services.mozilla.com/D126600
2021-11-27 11:47:38 +00:00
Andrew Osmond f34091ea25 Bug 1711061 - Part 6. Implement RasterImage::GetImageProvider. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126599
2021-11-27 11:47:38 +00:00
Andrew Osmond 1b58f91a50 Bug 1711061 - Part 5. Expose an ImageProviderId for tracking surface ownership. r=tnikkel
This will be used by layers as a replacement for ImageContainer's
ContainerProducerID for tracking if the same imgIRequest/imgIContainer
own the cached WebRenderImageProvider.

Differential Revision: https://phabricator.services.mozilla.com/D126598
2021-11-27 11:47:37 +00:00
Andrew Osmond 68f4024956 Bug 1711061 - Part 4. Implement AnimationSurfaceProvider for animated rasterized images. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126790
2021-11-27 11:47:37 +00:00
Andrew Osmond 564271844a Bug 1711061 - Part 3. Add WebRenderImageProvider and implement for rasterized providers. r=tnikkel
This provides the framework to allow ISurfaceProvider objects to
implement WebRenderImageProvider. It is straightforward for rasterized
providers (DecodedSurfaceProvider, and SimpleSurfaceProvider). Later
parts in this series will provide the necessary changes for blob
recordings and for animatedi images.

Differential Revision: https://phabricator.services.mozilla.com/D126597
2021-11-27 11:47:36 +00:00
Andrew Osmond 6a2ad86d3d Bug 1711061 - Part 2. Add imgIContainer::GetImageProvider skeleton. r=tnikkel
In later parts in this series, GetImageProvider will replace
GetImageContainerAtSize. This will be a more specialized and lower
overhead means to get a wr::ImageKey for a particular surface.

Differential Revision: https://phabricator.services.mozilla.com/D126596
2021-11-27 11:47:36 +00:00
Andrew Osmond c4d508a363 Bug 1711061 - Part 1. Remove SourceSurfaceMappedData surface deduplication from memory reports. r=tnikkel
We no longer use SourceSurfaceMappedData because we only support
SourceSurfaceSharedData-backed imgFrame in the SurfaceCache now.

Differential Revision: https://phabricator.services.mozilla.com/D126595
2021-11-27 11:47:36 +00:00
Peter Van der Beken 049f910998 Bug 1741132 - Correctly evict entries with session history in parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131894
2021-11-27 11:14:09 +00:00
Peter Van der Beken 9e05629b84 Bug 1741132 - Add a property for whether an entry is in the BFCache (holds a content viewer or a frame loader). r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131893
2021-11-27 11:14:09 +00:00
Peter Van der Beken c8b5d79509 Bug 1740517 - Don't restore form data when going back to a page with a no-store header with session history in the parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131892
2021-11-27 11:14:08 +00:00
Peter Van der Beken 41778ca7b2 Bug 1740516 - Fire pageshow for an iframe before the pageshow for its parent window when coming out of BFCache with session history in parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D131891
2021-11-27 11:14:08 +00:00
Deian Stefan 0a5e1f2075 Bug 1732201 - Sandbox woff2 in OTS using RLBox r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D126435
2021-11-27 04:41:21 +00:00
sotaro 46903a643e Bug 1743057 - Notify windows visibility change to WindowOcclusionTracker when window is activated r=gfx-reviewers,jrmuizel
When Firefox was activated by Alt+Tabbing, there was a case that event hook of WindowOcclusionCalculator could not detect an event of window activated. Then it is necessary to trigger window occlusion calculation from nsWindows.

Differential Revision: https://phabricator.services.mozilla.com/D132206
2021-11-27 02:24:22 +00:00
Masayuki Nakano 1eb9045821 Bug 1742748 - Make `HTMLEditor::JoinNodesWithTransaction()` return `JoinNodesResult` r=m_kato
This patch implements `JoinNodesResult` class which callers of
`JoinNodesWithTransaction()` can access removed node, existing (joined) node and
joined point with logical named accessors, and makes
`JoinNodesWithTransaction()` return it.

Then, the callers don't need to change at fixing bug 1735608.

Differential Revision: https://phabricator.services.mozilla.com/D132120
2021-11-27 00:05:54 +00:00
Botond Ballo bdf79a76ec Bug 1742919 - Protect the access to mState in AsyncPanZoomController::IsAutoscroll() with the APZC lock. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D132283
2021-11-26 23:29:12 +00:00
Botond Ballo 9e7f27ffdd Bug 1743006 - Tweak fuzz value for subframe-scrollbar-zoomed-out-async-scroll.html. r=tnikkel
Needed to account for differences between native and non-native
scrollbar themes.

Differential Revision: https://phabricator.services.mozilla.com/D132282
2021-11-26 23:27:19 +00:00
Micah Tigley 0732a24662 Bug 1739145 - Create the DownloadSpamProtection module when needed. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D132178
2021-11-26 22:58:01 +00:00
Ben Hearsum 2516d45fce Bug 1742998: Improve documentation of MSIX packaging and development. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D132161
2021-11-26 21:25:30 +00:00
Ben Hearsum c6839dc1b7 Bug 1742998: Add support for signing MSIX packages on Linux & macOS. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D132160
2021-11-26 21:25:30 +00:00
Glenn Watson 019a9ef9a0 Bug 1742907 - Update fuzziness for animate-preserve3d-child.html r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D132268
2021-11-26 21:04:56 +00:00
moz-wptsync-bot c23ec4cd05 Bug 1741605 - [wpt-sync] Update web-platform-tests to 7221711f508a2da0e953030d6f420110e03c5032, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 7221711f508a2da0e953030d6f420110e03c5032
wpt-type: landing
2021-11-26 20:52:41 +00:00
Frédéric Wang faba9e211f Bug 1727495 [wpt PR 30169] - Test that BlinkMacSystemFont behaves as a <family-name>, a=testonly
Automatic update from web-platform-tests
Test that BlinkMacSystemFont behaves as a <family-name>

Chrome for macOS currently converts it internally to "system-ui" and
so incorrectly serializes it [1] [2].

Also add value "NonGenericFontFamilyName" which should work in all
browsers and tweak a bit the code.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=554590
[2] https://docs.google.com/document/d/1nYJzL-MWQrTmf9Z-KscTWuM_5n6-IVdJeEllJ3Appro

--

wpt-commits: 7221711f508a2da0e953030d6f420110e03c5032
wpt-pr: 30169
2021-11-26 20:19:16 +00:00
bashi 3481a55b24 Bug 1740387 [wpt PR 31573] - [webtransport] Set ENABLE_CONNECT_PROTOCOL settings flag, a=testonly
Automatic update from web-platform-tests
[webtransport] Set ENABLE_CONNECT_PROTOCOL settings flag (#31573)

This is required to use an Extended CONNECT method. WebTransport
uses an Extended CONNECT method.
--

wpt-commits: 0892b708c64f216dbb328a853be6042192a368f5
wpt-pr: 31573
2021-11-26 20:19:16 +00:00
mattwoodrow 9620a4bf3f Bug 1741532 [wpt PR 31655] - Extend empty and fragment only URL tests to also check cursor property, a=testonly
Automatic update from web-platform-tests
Extend empty and fragment only URL tests to also check cursor property (#31655)

--

wpt-commits: 5e1c89ff487f67344f731ac9f6dc8ba4aedf6857
wpt-pr: 31655
2021-11-26 20:19:15 +00:00
joonghunpark 1cade0cbad Bug 1741354 [wpt PR 31643] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=183994, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=183994 (#31643)

--

wpt-commits: 029856d16db5ced1f02a946ae29600c5a696ee78
wpt-pr: 31643
2021-11-26 20:19:15 +00:00
Diego Pino Garcia 11f1d77bc0 Bug 1741551 [wpt PR 26192] - Webkit export of https://bugs.webkit.org/show_bug.cgi?id=217414, a=testonly
Automatic update from web-platform-tests
Use 2-digit precision for comparison in user-timing/measure-l3.any.js

--

wpt-commits: 9959152fa72f8a5319df9e024cea4b8fa750e648
wpt-pr: 26192
2021-11-26 20:19:14 +00:00
moz-wptsync-bot 9aaaf1d00f Bug 1741461 [wpt PR 31649] - Update wpt metadata, a=testonly
wpt-pr: 31649
wpt-type: metadata
2021-11-26 20:19:14 +00:00
Ian Kilpatrick 9322d1bbe3 Bug 1741461 [wpt PR 31649] - [tables] Apply nowrap attribute on <td> universally., a=testonly
Automatic update from web-platform-tests
[tables] Apply nowrap attribute on <td> universally.

Previously we only applied it when a <td> element had no fixed-width.
This was incorrect.

Bug: 821915
Change-Id: I4c85ef84ba6d5e15381baff273b32c523076ffbd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3285835
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#942465}

--

wpt-commits: 77989f26f2c0e3546d3edb2a8e8a766fc25aa814
wpt-pr: 31649
2021-11-26 20:19:13 +00:00
Xianzhu Wang 6fe35149a7 Bug 1741412 [wpt PR 31647] - Fix fixed-position cull rect under non-containing stacking context, a=testonly
Automatic update from web-platform-tests
Fix fixed-position cull rect under non-containing stacking context

Now handle fixed-position cull rects specially by mapping from the view
property tree state and ignoring additional clips under view clip.

Also force fixed-position cull rect update when view clip changes.

Bug: 1267676
Change-Id: If09e457e65acf9c397eb5bd06c2eedb7ce16d184
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3282877
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#942444}

--

wpt-commits: 772fbca4cf503b3227e8f577b0ab73e0da852f1e
wpt-pr: 31647
2021-11-26 20:19:13 +00:00
Marcos Cáceres 9d885bdb2c Bug 1741335 [wpt PR 31641] - update META for gamepad + adds new reviewers, a=testonly
Automatic update from web-platform-tests
update META for gamepad + adds new reviewers (#31641)

--

wpt-commits: c48d1460fbf65a7e3d22487c8739741331759c7b
wpt-pr: 31641
2021-11-26 20:19:12 +00:00
dependabot[bot] 99300c6697 Bug 1734041 [wpt PR 31103] - Bump pytest-cov from 2.12.1 to 3.0.0 in /tools, a=testonly
Automatic update from web-platform-tests
Bump pytest-cov from 2.12.1 to 3.0.0 in /tools

Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.12.1 to 3.0.0.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.12.1...v3.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: 6b748776cc0fed59fc0eecd072ca21d6f687c62e
wpt-pr: 31103
2021-11-26 20:19:12 +00:00
Fritz Heiden 3ab7df3afe Bug 1729274 [wpt PR 30357] - Update WAVE test runner, a=testonly
Automatic update from web-platform-tests
Update WAVE test runner (#30357)

--

wpt-commits: e5c7faa6e8062dbf57eae6f58e99483cd2a4ec4d
wpt-pr: 30357
2021-11-26 20:19:11 +00:00