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

771203 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe 185e3c90b0 Bug 1733046 - [devtools] Hide Geometry highlighter on various user interaction. r=jdescottes.
The code was written to hide the geometry highlighter when:
- the nodepicker was selected
- another node was selected in the markup view
- a node was hovered in the markup view

but this wasn't working as intended, as the line setting
the first of the event listeners was throwing, and we
don't have tests for this.

This patch fixes the faulty line and adds a test to check
that the geometry highlighter does hide on those actions.
We take this opportunity to use an AbortController to handle
the removal of the event listeners added when starting the
geometry highlighter.

Differential Revision: https://phabricator.services.mozilla.com/D126885
2021-09-29 14:38:56 +00:00
Andreas Farre d3158bf08e Bug 1733114 - Revert Bug 1713960 for regressing Base Content JS. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D126948
2021-09-29 14:32:52 +00:00
Deian Stefan 20476da693 Bug 1688452 - Part 4: Add Wasm sandbox support for RLBoxed libexpat r=tjr
Depends on D126369

Differential Revision: https://phabricator.services.mozilla.com/D106254
2021-09-29 14:31:45 +00:00
Deian Stefan ac3df5e3ad Bug 1688452 - Part 3: Eliminate redundant callback implementation in RLBoxed libexpat r=tjr
The default handler and character-data handler callbacks are identical
and some Windows compilers just reconciled them into a single function.
This, unfortunately, resulted in a RLBox runtime error: the same
callback was registered twice. This patch removes the duplicate handler
implementation and just sets the character-data handler callback as the
default handler.

Depends on D104658

Differential Revision: https://phabricator.services.mozilla.com/D126369
2021-09-29 14:31:45 +00:00
Deian Stefan 7d9f1d992f Bug 1688452 - Part 2: Retrofit nsExpatDriver to use RLBoxed libexpat r=tjr,peterv
Depends on D117102

Differential Revision: https://phabricator.services.mozilla.com/D104658
2021-09-29 14:31:44 +00:00
Deian Stefan 4bb477c01b Bug 1688452 - Part 1: Retrofit nsHtml5StreamParser to use RLBoxed libexpat r=tjr,peterv
Differential Revision: https://phabricator.services.mozilla.com/D117102
2021-09-29 14:31:44 +00:00
Tom Schuster 6f20efa2a0 Bug 1722576 - Fix clang-tidy build error
Differential Revision: https://phabricator.services.mozilla.com/D126921
2021-09-29 14:11:42 +00:00
criss 65e4d4e31e Backed out changeset 9b2e412995e6 (bug 1729871) for causing hybrid build bustages. CLOSED TREE 2021-09-29 17:21:36 +03:00
Chris H-C c66128028a Bug 1732983 - Update Telemetry mentored bug template to point to newer contributor docs locations r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D126834
2021-09-29 13:58:13 +00:00
Alexandre Lissy 9a7966a721 Bug 1732999 - Annotate intentional crash when testing buildid mismatch r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D126905
2021-09-29 13:47:00 +00:00
Frederik Braun a4dd947798 Bug 1716726 - reformat file r=ckerschb
Depends on D126899

Differential Revision: https://phabricator.services.mozilla.com/D126900
2021-09-29 13:29:43 +00:00
Frederik Braun c9588886af Bug 1716726 - avoid races and intermittent csp test failures, by loading frame only after listeners are set up r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D126899
2021-09-29 13:29:43 +00:00
Nicolas Silva 7291ad2515 Bug 1732109 - Move FrameId and FrameStamp out of render_backend.rs. r=gfx-reviewers,kvark
They are used all over the place, these kinds of types usually go in internal_types.rs

Differential Revision: https://phabricator.services.mozilla.com/D126788
2021-09-29 13:28:36 +00:00
Nicolas Silva dbb5b6af19 Bug 1732109 - Use a simpler cache entry struct for picture tiles. r=gfx-reviewers,gw
Differential Revision: https://phabricator.services.mozilla.com/D126688
2021-09-29 13:28:35 +00:00
Nicolas Silva 5009de5807 Bug 1732109 - Move picture tiles out of TextureCache. r=gfx-reviewers,gw
Differential Revision: https://phabricator.services.mozilla.com/D126687
2021-09-29 13:28:35 +00:00
Nicolas Silva 033509f893 Bug 1732109 - Request picture tiles explicitly and add PictureTextures::now. r=gfx-reviewers,gw
Last step before PictureTextures can be used independently.

Differential Revision: https://phabricator.services.mozilla.com/D126686
2021-09-29 13:28:35 +00:00
Nicolas Silva 00fc46d3af Bug 1732109 - Remove generic picture texture access via TextureCache::get_opt/get_opt_mut. r=gfx-reviewers,gw
Differential Revision: https://phabricator.services.mozilla.com/D126685
2021-09-29 13:28:34 +00:00
Nicolas Silva 974f5003de Bug 1732109 - Move more picture-specific code out of texture_cache.rs. r=gfx-reviewers,gw
Differential Revision: https://phabricator.services.mozilla.com/D126684
2021-09-29 13:28:34 +00:00
Nicolas Silva 55277c9886 Bug 1732109 - Move PictureTextures into its own file. r=gfx-reviewers,gw
Differential Revision: https://phabricator.services.mozilla.com/D126683
2021-09-29 13:28:33 +00:00
Nicolas Silva 0c7a78bc23 Bug 1732109 - Remove the slab atlas allocator. r=gfx-reviewers,gw
The shelf allocator is better in all scenarios, we don't need to keep that code around.

Differential Revision: https://phabricator.services.mozilla.com/D126682
2021-09-29 13:28:33 +00:00
Olli Pettay 0ca720d7a3 Bug 1725680, requested index should be used only by the nsSHistory (and related code in CanonicalBrowsingContext), r=peterv
Using requestedIndex on the child side is hard, because there are race conditions when a session history load is triggered
and at the same time a non-session history load commits a new active entry.

Differential Revision: https://phabricator.services.mozilla.com/D126619
2021-09-29 13:22:34 +00:00
Mitchell Hentges 6901d2f440 Bug 1723031: In CI, assert Mach pypi package deps using system Python r=ahal
There's an existing algorithm to check if a virtualenv's installed
packages are up-to-date with its requirements. This patch
extracts that logic so that, in cases where we can't automatically
download needed pip packages, we can at least assert that the ones
installed to the system Python are sufficient to meet our requirements.

The current only case in which this system-checking logic is applied
is when starting the Mach virtualenv and the `MOZ_AUTOMATION` or
`MACH_USE_SYSTEM_PYTHON` environment variable is set.

Differential Revision: https://phabricator.services.mozilla.com/D122890
2021-09-29 13:06:00 +00:00
Tom Schuster 5d023856bb Bug 1722576 - Rename PostMessageOptions to StructuredSerializeOptions. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D126717
2021-09-29 12:48:17 +00:00
Tom Schuster 5cc3ab5f12 Bug 1722576 - Implement self.structuredClone(). r=smaug,sfink,baku
Differential Revision: https://phabricator.services.mozilla.com/D122339
2021-09-29 12:48:17 +00:00
Andi-Bogdan Postelnicu d4e7a13de1 Bug 1729871 - Add all components from 'js' to the hybrid build system. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D125047
2021-09-29 12:36:43 +00:00
Emilio Cobos Álvarez d10188f9b4 Bug 1731678 - Add some generic dark system colors for Windows/Android/standins. r=dholbert
Eventually we should support all of them, but for now they are only used
by native code (unless you enable the color-scheme pref) and these will
be enough.

Differential Revision: https://phabricator.services.mozilla.com/D126737
2021-09-29 10:20:56 +00:00
Emilio Cobos Álvarez b2c03de0cc Bug 1730351 - Fix reflow root handling in presence of inherited changes in FrameNeedsReflow. r=layout-reviewers,jfkthame
The issue here is that we don't clear the cached intrinsic size of the
flex item, but this reproduces without flex at all.

The main issue is that we choose whether to clear the intrinsic sizes
from a reflow root (the outer svg in this case) based on whether the
reflow changes size or position:

  https://searchfox.org/mozilla-central/rev/3fa5cc437a4937c621ea068ba5dc246f75831633/layout/base/RestyleManager.cpp#1224-1229

This is ~fine, except the nsChangeHint_ReflowChangesSizeOfPosition hint
can be "inherited" (and thus be cleared if already subsumed by a
parent):

  https://searchfox.org/mozilla-central/rev/3fa5cc437a4937c621ea068ba5dc246f75831633/layout/base/nsChangeHint.h#465-469

This is ~fine, as we'll already start the reflow further up the tree (so
we don't need to start go past the reflow root), but we still need to
clear the ancestor intrinsics. We still get to StyleChangeReflow with
the ClearAncestorIntrinsics hint. We could pass that information down,
but the information is really already in via the IntrinsicChange.

I think it's just not correct to stop clearing intrinsic sizes if the
target is a reflow root and we get a TreeChange/StyleChange, regardless
of whether it changes size/position. It should also be a few less
instructions, though not that it matters.

Depends on D126812

Differential Revision: https://phabricator.services.mozilla.com/D126813
2021-09-29 10:16:10 +00:00
Emilio Cobos Álvarez 380f23bfab Bug 1730351 - Don't use NS_IsHintSubset unnecessarily in some places. r=layout-reviewers,jfkthame
This should cause no behavior change, but is a bit cleaner when one of the
arguments to IsHintSubset is just one bit.

Differential Revision: https://phabricator.services.mozilla.com/D126812
2021-09-29 10:16:10 +00:00
Mike Hommey 35b45d8594 Bug 1733061 - Fix another fallout from bug 1696251. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D126896
2021-09-29 09:50:34 +00:00
Dsmith b91abefc3c Bug 1732383 Removing unused assignment in DoCommonPrint function from fx-scan-build list. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D126559
2021-09-29 09:46:14 +00:00
Niklas Goegge d9e823a6f5 Bug 1725173: Add sec-fetch tests for extension content scripts. r=ckerschb,robwu
Differential Revision: https://phabricator.services.mozilla.com/D122361
2021-09-29 09:42:49 +00:00
Olli Pettay 524e95c9e4 Bug 1732250, use the original URI from the old channel when updating session history entry, r=peterv,necko-reviewers,valentin
https://searchfox.org/mozilla-central/rev/1df999af9999ccb436512cfece57a68d94d36e08/netwerk/protocol/http/nsHttpChannel.cpp#2876
makes original uri handling in the channel rather magical. The value of it on the new channel is bogus during
AsyncOnChannelRedirect call, and nsIChannel.idl doesn't hint about that behavior.

browser_getNavigationHistory.js can work as a testcase once it is enabled for Fission.

Differential Revision: https://phabricator.services.mozilla.com/D126735
2021-09-29 09:35:59 +00:00
Christoph Kerschbaumer 4e6ec65a70 Bug 1732287: Update tests within devtools/client/netmonitor to work with https-first enabled r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D126763
2021-09-29 09:29:08 +00:00
moz-wptsync-bot d697f8ca77 Bug 1732272 - [wpt-sync] Update web-platform-tests to f0aff7d1bdbe6bff4c059ecf88faae0a387044a3, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: f0aff7d1bdbe6bff4c059ecf88faae0a387044a3
wpt-type: landing
2021-09-29 09:24:22 +00:00
moz-wptsync-bot b57c5d7e6e Bug 1732918 - Revert PR 29848 - Close a worker test environment in the completion callback, a=testonly
This causes sharedworker tests to be unstable (frequent intermittent
timeouts) in gecko.
2021-09-29 09:24:21 +00:00
Anders Hartvoll Ruud e5c79f8bd1 Bug 1730513 [wpt PR 30694] - [@scroll-timeline] Effectively pause animations in flaky WPT, a=testonly
Automatic update from web-platform-tests
[@scroll-timeline] Effectively pause animations in flaky WPT

The last test in at-scroll-timeline-dynamic.tentative.html expects
*zero* time to have passed between the first and second calls to
'await assert_width(...)', when in reality several frames worth of
time has passed. This causes flakiness on bots.

We don't actually care about exactly where we're at on the document
timeline in this test file, only whether or not we are currently on
that timeline. Hence this CL uses the steps() function to effectively
"stop" document-timeline-attached animations for a full minute.

Fixed: 1248912
Change-Id: I53b0c4319daf306c0e664454b1b48208c384c657
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3158007
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#921117}

--

wpt-commits: f0aff7d1bdbe6bff4c059ecf88faae0a387044a3
wpt-pr: 30694
2021-09-29 09:24:20 +00:00
youennf b470d6c3ba Bug 1729471 [wpt PR 30379] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=230000, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=230000 (#30379)

--

wpt-commits: 6c623dca54002d24673d9e3d7688f26faf651c83
wpt-pr: 30379
2021-09-29 09:24:20 +00:00
Reilly Grant d9fd58df8d Bug 1730025 [wpt PR 30488] - Convert NDEFRecord constructor tests to a Javascript file, a=testonly
Automatic update from web-platform-tests
Convert NDEFRecord constructor tests to a Javascript file

This is nice because clang-format can reformat it.

Bug: 1243382
Change-Id: I3cab07de17808a18c2084df85fa99726abd98a8a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3152391
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Matt Reynolds <mattreynolds@chromium.org>
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Cr-Commit-Position: refs/heads/main@{#921023}

--

wpt-commits: f91aa336c86e79d339177a13937f9409055253a5
wpt-pr: 30488
2021-09-29 09:24:20 +00:00
moz-wptsync-bot 0e466a40ac Bug 1730572 [wpt PR 30696] - Update wpt metadata, a=testonly
wpt-pr: 30696
wpt-type: metadata
2021-09-29 09:24:19 +00:00
Ionel Popescu 4ca1d2882b Bug 1730572 [wpt PR 30696] - [EyeDropper API] Add optional AbortSignal parameter to EyeDropper.open, a=testonly
Automatic update from web-platform-tests
[EyeDropper API] Add optional AbortSignal parameter to EyeDropper.open

Per TAG review[1], this CL adds an optional AbortSignal parameter to
EyeDropper.open to allow authors to dismiss the eyedropper with no
selection in case another high-priority event occurs.

[1]: https://github.com/w3ctag/design-reviews/issues/587#issuecomment-911951900

Bug: 1248286
Change-Id: I15580609ece85f947f019a724b23b5e4898e42f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3152761
Commit-Queue: Ionel Popescu <iopopesc@microsoft.com>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#920997}

--

wpt-commits: a1d99ba695a939e001be1d57c9d758bd5e5ce431
wpt-pr: 30696
2021-09-29 09:24:19 +00:00
Emilio Cobos Álvarez bc16d86911 Bug 1731245 [wpt PR 30706] - Don't use a non-local address for relative-to-base.html, a=testonly
Automatic update from web-platform-tests
Don't use a non-local address for relative-to-base.html

We don't allow it on automation and thus the test crashes, see:

https://bugzilla.mozilla.org/show_bug.cgi?id=1730229
--

wpt-commits: 33ccde9c65042284284253ad6c078e2b271e0f53
wpt-pr: 30706
2021-09-29 09:24:18 +00:00
moz-wptsync-bot 087b875402 Bug 1730616 [wpt PR 30703] - Update wpt metadata, a=testonly
wpt-pr: 30703
wpt-type: metadata
2021-09-29 09:24:18 +00:00
Ian Kilpatrick cc517a45cb Bug 1730616 [wpt PR 30703] - [wpt] Add tests for two grid issues., a=testonly
Automatic update from web-platform-tests
[wpt] Add tests for two grid issues.

Bug: 1111799, 1127715
Change-Id: I9de52b03ff6fe087bde18072c9f29dc437d43b50
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3158852
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Auto-Submit: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Daniel Libby <dlibby@microsoft.com>
Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#920986}

--

wpt-commits: ea28b33acbe780c1ebc4ef1503dffdf3672d58c8
wpt-pr: 30703
2021-09-29 09:24:17 +00:00
Jordan Taylor 861905cdd3 Bug 1730278 [wpt PR 30562] - Removed time range from CSS scroll timeline tests, a=testonly
Automatic update from web-platform-tests
Removed time range from CSS scroll timeline tests

Also updated test expectations.

Bug: 1216655, 1140602
Change-Id: If8f0979d57651874446dcd3a9ea3777fc7a53684
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3155300
Commit-Queue: Jordan Taylor <jortaylo@microsoft.com>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#920970}

--

wpt-commits: ba74d4f2e35766ffb1e5ed97db130cccc627a42c
wpt-pr: 30562
2021-09-29 09:24:17 +00:00
moz-wptsync-bot 49c702ea17 Bug 1729101 [wpt PR 30342] - Update wpt metadata, a=testonly
wpt-pr: 30342
wpt-type: metadata
2021-09-29 09:24:16 +00:00
Alison Maher ff3ae853a9 Bug 1729101 [wpt PR 30342] - [LayoutNG] Fieldset overflow clip in multicol, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fieldset overflow clip in multicol

This CL fixes a broken test case where a fieldset in a multicol had
overflow clip set and a max-height. The problem stemmed around the
fact that we should not take fragmentation into account when measuring.

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

--

wpt-commits: ffea51c04534eee9267b0b10792c8295a934c269
wpt-pr: 30342
2021-09-29 09:24:16 +00:00
moz-wptsync-bot b3e20e7ced Bug 1730061 [wpt PR 30496] - Update wpt metadata, a=testonly
wpt-pr: 30496
wpt-type: metadata
2021-09-29 09:24:15 +00:00
Xiaocheng Hu 77cabf388a Bug 1730061 [wpt PR 30496] - [@layer] Use layer order to resolve @property and @scroll-timeline name conflicts, a=testonly
Automatic update from web-platform-tests
[@layer] Use layer order to resolve @property and @scroll-timeline name conflicts

This patch adds a new class AtRuleCascadeMap, a miniature CascadeMap,
to cascade @property and @scroll-time rules across origins and cascade
layers.

We can't use it to cascade other name-defining at-rules because:
- @font-face rules with the same 'font-family' may co-exist
- @counter-style and @keyframes rules are managed per tree scope, and
  allow the "append-only" update in Blink

Bug: 1095765
Change-Id: Iec5dad0b932b1aed6e9c18bca9da1443e2d1fd88
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3152514
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#920947}

--

wpt-commits: f4f307697d4b11c068dd4ea097e8006970ac7d9d
wpt-pr: 30496
2021-09-29 09:24:15 +00:00
Hiroshige Hayashizaki 410c47c86a Bug 1730581 [wpt PR 30699] - [WPT] Check base URLs in worker-interception-redirect.https.html, a=testonly
Automatic update from web-platform-tests
[WPT] Check base URLs in worker-interception-redirect.https.html

This CL

- Changes the response URL of a worker top-level script to
  `.../subdir/...` when intercepted by a service worker,
  to make worker's base URL directory different depending on
  whether the response URL or the current request URL is used.
- Makes worker-interception-redirect-webworker.js/py
  to `fetch()`/`importScripts()` relative to its
  settings object's base URL, not
  `/service-workers/service-worker/resources/`, and checks
  the URLs intercepted by serviceworkers.

This checks the settings object's base URL of the workers,
and thus exposes that Chromium uses current request URLs
instead of response URLs as base URL, which will be fixed by
https://chromium-review.googlesource.com/c/chromium/src/+/3145772.

Bug: 861564
Change-Id: I32dbb4aae55aebd12c75b26bd4a503ce366b57a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3146235
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Asami Doi <asamidoi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#920944}

--

wpt-commits: 6d20526e144d62699d48aaf59cb3a67070835909
wpt-pr: 30699
2021-09-29 09:24:14 +00:00
Jordan Taylor 572b87b55f Bug 1730277 [wpt PR 30561] - Removed time range from worklet animation tests and updated expectations, a=testonly
Automatic update from web-platform-tests
Removed time range from worklet animation tests and updated expectations

Animation worklets do not yet support progress based timelines and still
rely on timeRange. However, for the sake of moving forward and because
animation worklets are still experimental it was deemed ok to break them
and update the test expectations until a time when they can be changed
to support progress based animations.

Bug: 1234315, 1216655, 1140602
Change-Id: I04e3ecb7c49cd2a93fe15f5c52f0acd2f18bc151
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3155427
Commit-Queue: Jordan Taylor <jortaylo@microsoft.com>
Reviewed-by: Olga Gerchikov <gerchiko@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#920942}

--

wpt-commits: 951c87f36c6dbffa038139a57f3d59f0b6740900
wpt-pr: 30561
2021-09-29 09:24:13 +00:00