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

768529 Коммитов

Автор SHA1 Сообщение Дата
moz-wptsync-bot 442643e302 Bug 1728481 [wpt PR 30278] - Update wpt metadata, a=testonly
wpt-pr: 30278
wpt-type: metadata
2021-09-03 13:28:47 +00:00
Alison Maher 8a6367bbd3 Bug 1728481 [wpt PR 30278] - [LayoutNG] HasBlockFragmentation() -> InvolvedInBlockFragmentation(), a=testonly
Automatic update from web-platform-tests
[LayoutNG] HasBlockFragmentation() -> InvolvedInBlockFragmentation()

Similar to CL:2843465, update the checks from HasBlockFragmentation() to
InvolvedInBlockFragmentation() before calling FinishFragmentation()
in the fieldset and multicol layout algorithms.

Bug: 829028
Change-Id: I5f5e4601ae0db524b03d9e2cccad115cdc9c791e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3134312
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917312}

--

wpt-commits: 6df4ea72da452abcbc0075b81957bbc962a462e2
wpt-pr: 30278
2021-09-03 13:28:46 +00:00
moz-wptsync-bot f79fbe79fb Bug 1728480 [wpt PR 30277] - Update wpt metadata, a=testonly
wpt-pr: 30277
wpt-type: metadata
2021-09-03 13:28:46 +00:00
Tom McKee ad9a041c54 Bug 1728480 [wpt PR 30277] - [ResourceTiming]: Update iframe-failed-commit.html WPT, a=testonly
Automatic update from web-platform-tests
[ResourceTiming]: Update iframe-failed-commit.html WPT

This change updates wpt/resource-timing/iframe-failed-commit.html to
conform to the new style guidelines in
wpt/resource-timing/CodingConventions.md.

GithubIssue: https://github.com/w3c/resource-timing/issues/254
Bug: 1171767
Change-Id: Ica54e4ea7fe9ae74bb1fa4274c803297577face8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3134283
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Tom McKee <tommckee@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917277}

--

wpt-commits: f3d3029b18e579c83ee09a5dccb7adbba9cd47d8
wpt-pr: 30277
2021-09-03 13:28:45 +00:00
Miras Myrzakerey 6d2ac9fb23 Bug 1722841 [wpt PR 29834] - Add support for relative URLs in Subresource Loading from WebBundles., a=testonly
Automatic update from web-platform-tests
Add support for relative URLs in Subresource Loading from WebBundles.

When using a 'resources' attribute in the <link> element with WebBundles
we only use absolute URLs to said resources. This change makes it so we
can use relative URLs instead and resolve them with the page's base URL.
<base> element can cause a dynamic change in the base URL, which we
should support. This will be done in a follow-up CL.

Bug: 1213335, 1244483
Change-Id: I6a2169ba697c102208f7488eef2debc8674cba7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3059820
Commit-Queue: Miras Myrzakerey <myrzakereyms@google.com>
Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
Reviewed-by: Hayato Ito <hayato@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917201}

--

wpt-commits: 539f10ded71c181492ebbea454d22162f5e85635
wpt-pr: 29834
2021-09-03 13:28:45 +00:00
Blink WPT Bot bfa48c11c4 Bug 1727154 [wpt PR 30128] - Add manual WPT for file handling., a=testonly
Automatic update from web-platform-tests
Add manual WPT for file handling. (#30128)

Note that to test this in Chrome with run_blink_wptserve.py, Chrome
must be started with:
  --ignore-certificate-errors --enable-features=FileHandlingAPI

Bug: 1240389
Change-Id: I9462a48fa8c69beb596c23ecec878c262fad3027
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3114865
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/main@{#915261}

Co-authored-by: Evan Stade <estade@chromium.org>
--

wpt-commits: 42a57900ee61b9b10d81952c8c6ff3d3d096eccf
wpt-pr: 30128
2021-09-03 13:28:44 +00:00
moz-wptsync-bot 3f481c559d Bug 1728088 [wpt PR 30226] - Update wpt metadata, a=testonly
wpt-pr: 30226
wpt-type: metadata
2021-09-03 13:28:44 +00:00
Blink WPT Bot 339a8756b3 Bug 1728088 [wpt PR 30226] - Increase bandwidth of fake video signal used for testing., a=testonly
Automatic update from web-platform-tests
Increase bandwidth of fake video signal used for testing. (#30226)

This will increase the size of an encoded 640x480 video from
approximately 8 Kbits/second to approximately 64 Kbits/second, which
means that limiting the bandwidth will actually have an effect.

This is done in preparation for further tests that limit the bandwidth
and expect an observable result.

Bug: None
Change-Id: Ib3c63c4ae8c41fe7c608f1c06c8c61c2beecbe11
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3128063
Reviewed-by: Florent Castelli <orphis@chromium.org>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#916377}

Co-authored-by: Harald Alvestrand <hta@chromium.org>
--

wpt-commits: ed9b278329b48455b62195b32be8aa0f40812de5
wpt-pr: 30226
2021-09-03 13:28:43 +00:00
Morten Stenshorne 5f9ff92e11 Bug 1728570 [wpt PR 30286] - Replace forced-break-in-nested-columns.html with a correct WPT test., a=testonly
Automatic update from web-platform-tests
Replace forced-break-in-nested-columns.html with a correct WPT test.

The old test was assuming a legacy engine implementation limitation,
where we're unable to push the first fragment of a multicol container to
the next outer fragmentainer if there was no room for its contents in
the current outer fragmentainer.

In the test, see the first DIV child of the inner .mc. The legacy engine
would just push the line inside that DIV to the next outer
fragmentainer, even if there's no valid breakpoint there. The correct
behavior is to push the first fragment of the inner multicol container
itself to the next outer fragmentainer (there's a perfect breakpoint
after the first DIV child of the outer .mc. LayoutNG block fragmentation
gets this right.

Bug: 829028
Change-Id: I55950c5aad3418b49dabe12debd43317cf578c96
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3135656
Reviewed-by: Alison Maher <almaher@microsoft.com>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917263}

--

wpt-commits: 48655d84e0d96d6bfe1ce0446a291f3379f1e5ff
wpt-pr: 30286
2021-09-03 13:28:42 +00:00
Sam Goto 96c22acc81 Bug 1728248 [wpt PR 30248] - [webid] Expose WebID as an extension of the Credential Manager API., a=testonly
Automatic update from web-platform-tests
[webid] Expose WebID as an extension of the Credential Manager API.

Overloads FederatedCredential adding new attributes as well as static
methods to support the mediated of the Account Chooser for
FederatedCredentials.

Explainer: https://github.com/WICG/WebID
I2P https://groups.google.com/a/chromium.org/g/blink-dev/c/2B4TJ7j2U4M
Spec Draft: https://wicg.github.io/WebID

Change-Id: I2176ea4e687b9ac3fe7387e5658cf5c4adcfc6b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3123775
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Commit-Queue: Sam Goto <goto@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917241}

--

wpt-commits: 04ffcc174898cbb842ebd4a9d8751ac40ae432a9
wpt-pr: 30248
2021-09-03 13:28:42 +00:00
Mirko Brodesser 89e3536dd0 Bug 1728955: part 1) Remove ancient compile time flags for Windows' Clipboard logging. r=masayuki
The flags contain names of old contributers, which makes them inconvient
to use. Now it's also possible to simply enable logging for release
builds.

Differential Revision: https://phabricator.services.mozilla.com/D124445
2021-09-03 13:25:00 +00:00
Mitchell Hentges 80ed655270 Bug 1728671: Use gettempdir() instead of tempdir r=firefox-build-system-reviewers,glandium
The `tempfile.tempdir` cache value isn't always populated, but
`tempfile.gettempdir()` always is. They both provide the same result.

Differential Revision: https://phabricator.services.mozilla.com/D124261
2021-09-03 13:13:21 +00:00
Andrei Oprea c87975af29 Bug 1723758 - Ensure all Nimbus features explicitly call method to send exposure r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D123422
2021-09-03 13:04:51 +00:00
Andrew Osmond 472ab1dfc3 Bug 1728903 - Remove plumbing for CanvasLayer and ImageLayer. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D124406
2021-09-03 12:52:05 +00:00
Andreas Farre fdd13237fc Bug 1728727 - Remove unused code in TabListener. r=kashav
Differential Revision: https://phabricator.services.mozilla.com/D124316
2021-09-03 12:20:05 +00:00
Alex Finder 3bc6e00826 Bug 1727919 - Remove webext YTP configuration except widevine r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D124341
2021-09-03 12:05:41 +00:00
Emilio Cobos Álvarez c112357ea9 Bug 1728633 - Hook up basic @layer rule parsing. r=boris
Disabled, and of course doing nothing for now still, but this is another
piece that is useful to get reviewed separately.

Don't allow layers to be interleaved with @import / @namespace rules as
per https://github.com/w3c/csswg-drafts/issues/6522.

Differential Revision: https://phabricator.services.mozilla.com/D124229
2021-09-03 09:28:08 +00:00
Emilio Cobos Álvarez 4b3dc20891 Bug 1728617 - Tweak at-rule parsing APIs to support cascade layers. r=boris
This needs https://github.com/servo/rust-cssparser/pull/287 and a
cssparser update.

Differential Revision: https://phabricator.services.mozilla.com/D124216
2021-09-03 09:26:10 +00:00
Emilio Cobos Álvarez fdb57614e0 Bug 1728348 - Restore an #[allow] that will otherwise cause warnings.
MANUAL PUSH: Trivial no-behavior-change CLOSED TREE
2021-09-03 11:20:25 +02:00
Emilio Cobos Álvarez 0f945d081b Bug 1728348 - Add some scaffolding for @layer rules. r=boris
Not hooked anywhere yet, so this doesn't change behavior, but adds the
basic data model etc.

Adding parsing support requires some changes to cssparser to allow the
same at rule to be block and statement-like at the same time, so better
done separately.

Differential Revision: https://phabricator.services.mozilla.com/D124079
2021-09-03 09:12:43 +00:00
criss c6ef85e3b3 Backed out changeset 876e53ec90c4 (bug 1728851) as requested by Emilio. CLOSED TREE 2021-09-03 12:13:11 +03:00
Robert Mader 1f1d8b7679 Bug 1728470 - Reenable Wayland socket, r=emilio
Bug 1631193 / D71448 reenabled the X11 socket on Wayland and disabled
the Wayland socket as the Wayland backend is not the default yet.
While giving access to the X11 socket by default was right,
dropping the Wayland socket makes testing it unnecessarily
complicated and provides negligible security benefits - Wayland,
in contrast to X11, is designed to be save. This is also reflected
in Flatpak: while for X11 there is the `fallback-x11` option,
the same is not exposed for Wayland.

Thus lets enable the Wayland socket again, in order so make testing
easier, helping making the Wayland backend the default sooner, which
then is an actual security benefit.

Differential Revision: https://phabricator.services.mozilla.com/D124139
2021-09-03 09:00:55 +00:00
Emilio Cobos Álvarez f28b5935c0 Bug 1728851 - Add attributes to the rule hash. r=boris
See the discussion here: https://twitter.com/Rich_Harris/status/1433153204678799365

This should make attribute selectors roughly as fast as class selectors.

I think it's worth trying and see if perf bots complain on
micro-benchmarks and stylebench and such.

I made attributes more specific than local names, but less specific than
classes, which I think makes sense. When doing something like
foo[data-bar], filtering by data-bar seems likely to yield less elements
than filtering by foo.

While at it, remove the bloom filter pref since we shipped it in
bug 1704551 for 87 and we haven't heard complaints.

Differential Revision: https://phabricator.services.mozilla.com/D124383
2021-09-03 08:58:20 +00:00
Emilio Cobos Álvarez 70f53c85d4 Bug 856337 - Implement image-rendering: smooth and image-rendering: pixelated. r=jrmuizel,dholbert,longsonr
Also, more directly go from StyleImageRendering to wr::ImageRendering.

 * image-rendering: smooth the non-deprecated version of
   OptimizeQuality, which maps to SamplingFilter::LINEAR /
   wr::ImageRendering::Auto (which uses gl::LINEAR).

 * image-rendering: pixelated maps to wr::ImageRendering::Pixelated /
   SamplingFilter::POINT which is the same crisp-edges does.

Note that this uncovers that we were mapping image-rendering:
crisp-edges to wr::ImageRendering::Pixelated.

I'm going to preserve behavior on this patch but we should consider
switching that to map to wr::ImageRendering::CrispEdges on a
follow-up (filed bug 1728831 for this).

Differential Revision: https://phabricator.services.mozilla.com/D124378
2021-09-03 08:56:43 +00:00
Emilio Cobos Álvarez 58c214fd32 Bug 856337 - Move image-rendering out of mako. r=dholbert
It's easier to touch in the future that way, even though the derive list is
massive.

Differential Revision: https://phabricator.services.mozilla.com/D124377
2021-09-03 08:56:42 +00:00
André Bargull eff29778d1 Bug 1728798: Print original error stack in the shell instead of the pending exception stack. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D124355
2021-09-03 08:17:31 +00:00
Timothy Nikkel 7e8bd67afb Bug 1728699. Use IsRootContentDocumentCrossProcess in one place in ScrollFrameHelper::BuildDisplayList. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D124282
2021-09-03 02:23:03 +00:00
Timothy Nikkel 72553046c2 Bug 1728693. Use IsRootContentDocumentCrossProcess in nsSubDocumentFrame::BuildDisplayList. r=mattwoodrow
Not sure we even need this anymore but just doing this so I can finish the fission audit.

Added way back in bug 588407.

This shouldn't actually be any behaviour change: anything that is IsRootContentDocumentInProcess but not IsRootContentDocumentCrossProcess should be a oop if with fission (unless I'm missing a case), so we will never hit this code path, we'll hit the remote iframe path above.

Differential Revision: https://phabricator.services.mozilla.com/D124277
2021-09-03 02:22:11 +00:00
Noemi Erli e5f5e8d032 Backed out changeset f12c6a6cd1a5 (bug 1728903) for causing build bustage in TestTextures.cpp CLOSED TREE 2021-09-03 05:16:59 +03:00
Glenn Watson 38bfd81595 Bug 1728774 - Fix display item cache with retained DL builder. r=miko,gfx-reviewers
Fix a bug where the display item cache was not being reused from
frame to frame with retained display list builders.

At the same time, make the capacity recycling on the display list
serialization arrays a bit more realistic.

Differential Revision: https://phabricator.services.mozilla.com/D124412
2021-09-03 02:09:57 +00:00
Andrew Osmond 4219d92daf Bug 1728903 - Remove plumbing for CanvasLayer and ImageLayer. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D124406
2021-09-03 01:48:17 +00:00
Timothy Nikkel d396c41aeb Bug 1728716. Remove IsRootContentDocument from dead code from old containerful scrolling in nsLayoutUtils::PaintFrame. r=botond
This code was originally added in https://hg.mozilla.org/mozilla-central/rev/5a7de0eb94fe1e24f4fc292020d6ac57672cbe58

The ignoreViewportScrolling indicates it was for containerful scrolling.

Nowadays the only use of ignoreViewportScrolling is when this function is called via PresShell::RenderDocument, which means we aren't sending the results to the compositor in a structured form, and so scroll ids etc don't matter. We can remove this dead code.

It should we fine to go into the following "else if"s in all cases without having to be the else of the if we are removing here.

Differential Revision: https://phabricator.services.mozilla.com/D124306
2021-09-03 01:44:39 +00:00
Timothy Nikkel 516d22bb37 Bug 1728714. Use IsRootContentDocumentCrossProcess in nsLayoutUtils::CalculateBasicFrameMetrics. r=botond
This is odd code (that I probably wrote): it's appears to be designed to handle in process, zoomable, root content documents where the ancestor chrome document(s) can have non-1 resolution.

I think the important thing here is that the root scroll frame of the RootContentDocumentCrossProcess gets a resolution of 1, otherwise we use the cumulativeResolution of the current presshell.

Differential Revision: https://phabricator.services.mozilla.com/D124305
2021-09-03 01:40:09 +00:00
Timothy Nikkel 96738f989f Bug 1728690. nsDOMNavigationTiming Notify*ForRootContentDocument should use IsRootContentDocumentCrossProcess. r=sefeng
AFAICT these functions are interested in documents at the root of a tab, not ones that happen to be at the root of a process.

Differential Revision: https://phabricator.services.mozilla.com/D124274
2021-09-03 01:39:18 +00:00
Alexandru Michis 0ffe70c46e Backed out changeset b55cdb5c3841 (bug 1728167) for causing xpcshell failures in bootstrapSvc.js
CLOSED TREE
2021-09-03 02:56:46 +03:00
Alexandru Michis 5b0ce631d6 Backed out changeset c1aa00bd2722 (bug 1660870) for causing wpt timeouts. 2021-09-03 02:55:44 +03:00
Noemi Erli f3a236c514 Backed out 2 changesets (bug 856337) for causing xpcshell failures in test_css-properties-db.js CLOSED TREE
Backed out changeset 7070c7cea8ec (bug 856337)
Backed out changeset edc12b36439f (bug 856337)
2021-09-03 01:36:17 +03:00
Andrew Osmond e9c57362fa Bug 1728890 - Remove unused ImageContainer related image code. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D124396
2021-09-02 21:46:14 +00:00
Noemi Erli a2a6dc8bf7 Bug 1728458 - Fix lint failure r=fix CLOSED TREE 2021-09-03 00:49:46 +03:00
Niklas Baumgardner 9caba81d8c Bug 1728458 - Migrate browser-box.inc.xhtml to Fluent. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D124384
2021-09-02 21:34:14 +00:00
Dragana Damjanovic 0a98b4c4a4 Bug 1728735 - Neqo version 0.4.32 r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D124320
2021-09-02 21:28:15 +00:00
Luca Greco 052fc46425 Bug 1727405 - Add a diagnostic assert to check that ClientManager::GetOrCreateForCurrentThread is not returning a stale ClientManager instance that is already shutdown. r=asuth
While investigating an unexpected test failure triggered by a mochitest that was testing the identity WebExtensions API
(D121683 from Bug 1723852) I did notice that the actual underlying issue was triggered by a leak
(in particular the Extension API class in the initial draft of that D121683 patch was missing a RefPtr
in the NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro used for that class) but the issue was presenting
itself as an empty scriptURL in the ClientSource for the test case that was executed after the one that
triggered tha leak, and far enough from where it was actually triggered.

To make it easier to spot the issue nearer to the actual underlying issue, I think that it would be
reasonable to add a diagnostic assertion to ClientManager::GetOrCreateForCurrentThread that would
be triggered earlier if a leak was keeping the ClientManager instance alive in the idle DOM Worker
Thread.

Differential Revision: https://phabricator.services.mozilla.com/D123530
2021-09-02 21:24:58 +00:00
Aki Sasaki 1095044489 Bug 1660870 - ignore non-wpt test paths in wpt. r=releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D124129
2021-09-02 20:55:01 +00:00
Emilio Cobos Álvarez 1602724fa9 Bug 856337 - Implement image-rendering: smooth and image-rendering: pixelated. r=jrmuizel,dholbert,longsonr
Also, more directly go from StyleImageRendering to wr::ImageRendering.

 * image-rendering: smooth the non-deprecated version of
   OptimizeQuality, which maps to SamplingFilter::LINEAR /
   wr::ImageRendering::Auto (which uses gl::LINEAR).

 * image-rendering: pixelated maps to wr::ImageRendering::Pixelated /
   SamplingFilter::POINT which is the same crisp-edges does.

Note that this uncovers that we were mapping image-rendering:
crisp-edges to wr::ImageRendering::Pixelated.

I'm going to preserve behavior on this patch but we should consider
switching that to map to wr::ImageRendering::CrispEdges on a
follow-up (filed bug 1728831 for this).

Differential Revision: https://phabricator.services.mozilla.com/D124378
2021-09-02 20:28:39 +00:00
Emilio Cobos Álvarez a10cd487f5 Bug 856337 - Move image-rendering out of mako. r=dholbert
It's easier to touch in the future that way, even though the derive list is
massive.

Differential Revision: https://phabricator.services.mozilla.com/D124377
2021-09-02 20:28:39 +00:00
Alexandru Michis b7d5d6511c Backed out changeset 69bd8bc9c511 (bug 1660870) for causing wpt failures in block-page-break-inside-avoid-1-print.html
CLOSED TREE
2021-09-02 23:31:46 +03:00
Rob Wu 2974448d5d Bug 1728669 - Simplify GeckoView:WebExtension:Connect/Message handlers r=agi
Differential Revision: https://phabricator.services.mozilla.com/D124260
2021-09-02 19:55:13 +00:00
Steve Fink 5354425618 Bug 1726671 - [hazard] Fix parsing and processing of template parameters r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D123634
2021-09-02 19:06:58 +00:00
Steve Fink 464ba9c559 Bug 1727374 - Root Init dictionaries to fix rooting hazards. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D123633
2021-09-02 19:06:58 +00:00
Aki Sasaki 1abcb47ac3 Bug 1660870 - ignore non-wpt test paths in wpt. r=releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D124129
2021-09-02 18:54:30 +00:00