Commit graph

770212 commits

Author SHA1 Message Date
moz-wptsync-bot
3b51dc3df2 Bug 1728932 [wpt PR 30322] - Update wpt metadata, a=testonly
wpt-pr: 30322
wpt-type: metadata
2021-09-21 14:20:42 +00:00
Myles C. Maxfield
3acd7bbfd9 Bug 1728932 [wpt PR 30322] - [css-font-loading] Add a test for FontFaceSet.has(), a=testonly
Automatic update from web-platform-tests
[css-font-loading] Add a test for FontFaceSet.has() (#30322)

* [css-font-loading] Add a test for FontFaceSet.has()

* syntax

Co-authored-by: Tab Atkins Jr <jackalmage@gmail.com>
--

wpt-commits: 1b222dc282e3c4f0e4647b3b6aa2a0eab06b393c
wpt-pr: 30322
2021-09-21 14:20:42 +00:00
moz-wptsync-bot
735d45dae4 Bug 1728957 [wpt PR 30325] - Update wpt metadata, a=testonly
wpt-pr: 30325
wpt-type: metadata
2021-09-21 14:20:41 +00:00
Yuki Shiino
5615311e7d Bug 1728957 [wpt PR 30325] - binding: Fix an infinite loop issue at window.opener attribute set, a=testonly
Automatic update from web-platform-tests
binding: Fix an infinite loop issue at window.opener attribute set

Fixes an infinite loop at window.opener attribute set.  The loop
happened because window.opener attribute set used property
assignment instead of defining a property.  This patch defines
a property appropriately.

Bug: 1237774
Change-Id: Ibcb6450f5cc7757e49222fcb03d2d8e489c85def
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3139739
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/main@{#918039}

--

wpt-commits: 7be37a1d311c99915ddd1a5ea202f094dc2a124c
wpt-pr: 30325
2021-09-21 14:20:41 +00:00
Tom McKee
853de84673 Bug 1728894 [wpt PR 30314] - [ResourceTiming]: Update cached-resources tests, a=testonly
Automatic update from web-platform-tests
[ResourceTiming]: Update cached-resources tests

This change updates the resource_reuse.sub.html and
single-entry-per-resource.html Resource Timing WPTs. They covered the
same case; when no network request is issued for a resource, there
should be no associated PerformanceResourceTiming entry. The tests have
been consolidated into cached-image-gets-single-entry.html and the style
updated to conform to the guidelines in
wpt/resource-timing/CodingConventions.md.

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

--

wpt-commits: 24836df509f65b6c2fb896dae46d99ec1b74d4e8
wpt-pr: 30314
2021-09-21 14:20:40 +00:00
Gabriela Sampaio
1a6c03a1ce Bug 1725135 [wpt PR 29987] - [webmessaging] Fixing test, a=testonly
Automatic update from web-platform-tests
Correct postMessage() test

This test was passing but no assert was being run.

Fixes #29536.
--

wpt-commits: e1be3c74b86007b8a6118392040a9c02b51ad952
wpt-pr: 29987
2021-09-21 14:20:40 +00:00
Andreu Botella
dd0fa11c4e Bug 1728995 [wpt PR 30331] - Fix the remaining instances of mixed-case WebIDL, a=testonly
Automatic update from web-platform-tests
Fix the remaining instances of mixed-case `WebIDL`

The `WebIDL` directory was renamed to lowercase `webidl` in #30327.
This change fixes two remaining instances of mixed-case `WebIDL` in
`update-built-tests.sh` and `tools/ci/jobs.py`.
--

wpt-commits: 8300a95a270ed8c9c4685b906d927c568559deef
wpt-pr: 30331
2021-09-21 14:20:39 +00:00
Rune Lillesveen
f8282dc3b2 Bug 1728969 [wpt PR 30328] - Move SVG camelCase selector matching tests to wpt, a=testonly
Automatic update from web-platform-tests
Move SVG camelCase selector matching tests to wpt

Bug: 1246296
Change-Id: Idadfc68d91e19104793d23e814421a3b1b87495b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3139932
Reviewed-by: Emilio Cobos Álvarez <emilio@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#918033}

--

wpt-commits: e997012a624d30b4b944eefe5ea49f3ea6c0494f
wpt-pr: 30328
2021-09-21 14:20:39 +00:00
moz-wptsync-bot
72b4834a62 Bug 1728967 [wpt PR 30327] - Update wpt metadata, a=testonly
wpt-pr: 30327
wpt-type: metadata
2021-09-21 14:20:38 +00:00
Anne van Kesteren
5e254e8710 Bug 1728967 [wpt PR 30327] - Align Web IDL directory name with shortname, a=testonly
Automatic update from web-platform-tests
Align Web IDL directory name with shortname

--

wpt-commits: 9f3fa5056ae29bbd4cb668aa87b8559c9f4500f5
wpt-pr: 30327
2021-09-21 14:20:37 +00:00
moz-wptsync-bot
145ff92f8e Bug 1722042 [wpt PR 29765] - Update wpt metadata, a=testonly
wpt-pr: 29765
wpt-type: metadata
2021-09-21 14:20:36 +00:00
MierenManz
d7e183a7ce Bug 1722042 [wpt PR 29765] - EventSource: Convert some htm tests to JS, a=testonly
Automatic update from web-platform-tests
EventSource: use .any.js and .window.js more

--

wpt-commits: 00e8611b23fed04f014e882c12980cafc77e2c1b
wpt-pr: 29765
2021-09-21 14:20:36 +00:00
moz-wptsync-bot
a41d3a083c Bug 1727748 [wpt PR 30193] - Update wpt metadata, a=testonly
wpt-pr: 30193
wpt-type: metadata
2021-09-21 14:20:35 +00:00
Frédéric Wang
4cfa753bed Bug 1727748 [wpt PR 30193] - [mathml] Embellished operators and stretch properties, a=testonly
Automatic update from web-platform-tests
[mathml] Embellished operators and stretch properties

This is part patch of a series of CL to implement MathML stretchy
operators as well as embellished operators [1]. It handles the cases
"If there is a block stretch size constraint or an inline stretch size
constraint then the element being laid out is an embellished operator"
from [2] and [3].

A typical use case is the following, the inner <mover> element is an
embellished operator (a over brace with the " k times" as over script).
Its core operator should stretch horizontally to cover the inline size
of the <mrow> element "x + x + … + x". Without that CL, the horizontal
over brace would just cover the size of the " k times" over script.

    <math>
      <mover>
        <mrow>
          <mi>x</mi>
          <mo>+</mo>
          <mi>x</mi>
          <mo>+</mo>
          <mo>…</mo>
          <mo>+</mo>
          <mi>x</mi>
        </mrow>
        <mover>
          <mo>⏞</mo>
          <mrow>
            <mi>k</mi><mtext>&nbsp;times</mtext>
          </mrow>
        </mover>
      </mover>
    </math>

The outer <mover> passes inline stretch constraint to its over script
per [3]. Now using the rule from [3] implemented in this CL, the inner
<mover> will just use that inline stretch constraint to stretch the
over brace.

Note, that elements can receive a stretch constraint orthogonal to the
direction they normally stretch their children. In the example below,
the <munder> is an embellished operator (a left parenthesis with a "1"
under script). Although it normally stretches its children horizontally,
the parenthesis is stretched vertically using the stretch constraint
received from its parent <mrow>.

  <math>
    <mrow>
      <munder>
        <mo>(</mo>
        <mn>1</mn>
      </munder>
      <munderover>
        <mn>2</mn>
        <mn>3</mn>
        <mn>4</mn>
      </munderover>
    </mrow>
  </math>

New tests integrated into this CL cover all possible combinations:
- third_party/stretch-along-block-axis-001.html is extended to test
  case when the <mo> is replaced with an embellished operator with
  <mrow> or <munderover>. It tests when the mrow and underover
  algorithms forward any inherited block stretch size constraint to
  their children. It also tests when the mrow algorithm calculates
  and passes a block stretch size constraint to embellished operator
  children.
- presentation-markup/scripts/underover-stretchy-00[23].html are copies
  of underover-stretchy-001 with the <mo> embellished with <mrow> and
  <munderover> respectively. They respectively test when the mrow and
  underover algorithms forward any inherited inline stretch size
  constraint to their children. They also test when the munderover
  algorithm calculates and passes an inline stretch size constraint to
  embellished operator children.

[1] https://w3c.github.io/mathml-core/#embellished-operators
[2] https://w3c.github.io/mathml-core/#algorithm-for-stretching-operators-along-the-block-axis
[3] https://w3c.github.io/mathml-core/#algorithm-for-stretching-operators-along-the-inline-axis

Bug: 6606, 1124298, 1124301
Change-Id: I682e5343c1440e657b10933e1bfe7fdf63d9e112
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3121110
Commit-Queue: Frédéric Wang <fwang@igalia.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#918027}

--

wpt-commits: 71597bb9442e9433049076ef2474a3b6a87f81c9
wpt-pr: 30193
2021-09-21 14:20:34 +00:00
Roger Johannesson
5e0d5950f0 Bug 1728266 [wpt PR 30251] - [wave] Include all js tests in a wave run, a=testonly
Automatic update from web-platform-tests
[wave] Include all js tests in a wave run

For some unknown reason the wave loader skipped the first
test that was listed under js tests. This change makes the
wave runner run as many tests as the online web based wpt
runner.

--

wpt-commits: fbd337d3e51475927889f19cc2db72ed41200140
wpt-pr: 30251
2021-09-21 14:20:33 +00:00
Roger Johannesson
814ca3c4d1 Bug 1728117 [wpt PR 30228] - [wave] Python 3 fixes for tools/wave/, a=testonly
Automatic update from web-platform-tests
[wave] Python 3 fixes for tools/wave/

A bunch of minor changes to make the wave test runner work with
Python 3:

* Sort() no longer accepts a cmp function argument, use sorted()
  instead with a key function.

* headers.get('Content-Length') returns byte value now, explicitly cast
  to int. Also return -1 if the header does not exist (instead of None)
  so that it is accepted as int value and to get the same behavior in
  InputFile.read() as with Python 2.

* Pass header values as comma separated byte strings to
  HTTPConnection.request() instead of lists. HTTPConnection.putheader()
  does not like getting lists.

* hashlib.update() accepts a "bytes-like" object so encode the token
  string before passing it in.

* dict.iteritems() was renamed to dict.items().

* Explicitly open zipfiles as binary files. If not, file.read() will
  try to read them as utf-8 which fails.

--

wpt-commits: 8bd6281eea3983b9ced7363dc3625eb04bee271f
wpt-pr: 30228
2021-09-21 14:20:33 +00:00
Roger Johannesson
f729c997f8 Bug 1728271 [wpt PR 30253] - [wave] Support calling window.gc() between tests in the wave runner, a=testonly
Automatic update from web-platform-tests
[wave] Support calling window.gc() between tests in the wave runner

This patch make the wave runner call window.gc() if the Chromium
commandline flag --js-flags="--expose-gc" is supplied.

Garbage collecting between test groups provides much more stable
test results when running tests in a single window. Especially on
slow machines where garbage collection might not kick in as
frequently.

--

wpt-commits: 21868a414f0555086247b730f742d933b5530c32
wpt-pr: 30253
2021-09-21 14:20:32 +00:00
dependabot[bot]
8187a40126 Bug 1728906 [wpt PR 30316] - Bump pillow from 8.3.1 to 8.3.2 in /tools, a=testonly
Automatic update from web-platform-tests
Bump pillow from 8.3.1 to 8.3.2 in /tools

Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.1 to 8.3.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.3.1...8.3.2)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

wpt-commits: a796e7aacf13a9ad1ab52a29d447be73389fbbfa
wpt-pr: 30316
2021-09-21 14:20:31 +00:00
moz-wptsync-bot
125030ba9d Bug 1724787 [wpt PR 29951] - Update wpt metadata, a=testonly
wpt-pr: 29951
wpt-type: metadata
2021-09-21 14:20:30 +00:00
Domenic Denicola
f95b7f6717 Bug 1724787 [wpt PR 29951] - Fix and make automatic sandboxed plugins test, a=testonly
Automatic update from web-platform-tests
Fix and make automatic sandboxed plugins test

Follows https://github.com/whatwg/html/pull/6946.

--

wpt-commits: 789f310832f7746b34bdc6afa16ff1e1a7a8f4af
wpt-pr: 29951
2021-09-21 14:20:30 +00:00
Feng Yu
e1901a5df2 Bug 1725078 [wpt PR 29980] - ensure the same value return when get same blob entry from FormData, a=testonly
Automatic update from web-platform-tests
Add identity checks around Blob/File in FormData

Fixes #28924.
--

wpt-commits: 7154ae726722dfdb16157ccea6bc6c57b30e0f68
wpt-pr: 29980
2021-09-21 14:20:29 +00:00
moz-wptsync-bot
c46f29f652 Bug 1725141 [wpt PR 29988] - Update wpt metadata, a=testonly
wpt-pr: 29988
wpt-type: metadata
2021-09-21 14:20:28 +00:00
Gabriela Sampaio
deb5ed529c Bug 1725141 [wpt PR 29988] - SharedWorker: interface constructors exposed, a=testonly
Automatic update from web-platform-tests
SharedWorker: interface constructors exposed (#29988)

As per https://html.spec.whatwg.org/#shared-workers-and-the-sharedworker-interface, SharedWorker should not be exposed. The other constructors, however, should not be missing.

Fixes #29928.
--

wpt-commits: 4606293de6223e69ababd4aa0a1c4a0bbe888666
wpt-pr: 29988
2021-09-21 14:20:28 +00:00
Yuki Yamada
67f4d73148 Bug 1728947 [wpt PR 30323] - Revert "Integrated Progress based animations with CSS Animations", a=testonly
Automatic update from web-platform-tests
Revert "Integrated Progress based animations with CSS Animations"

This reverts commit 149290ad09de842c169957a8a773ba9b07e75b50.

Reason for revert: Speculative revert for consistent failure of
at-scroll-timeline-dynamic.tentative.html on Linux Tests (dbg)(1).
Blamelist of the first failure: https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20Tests%20(dbg)(1)/98587/blamelist

Original change's description:
> Integrated Progress based animations with CSS Animations
>
> Timeline duration can now be stored on an AnimationEffect.
> This was needed since for CSS animations, InertEffects with
> no owning animation are used until later in the pipeline.
> Normally the owning animation of an effect is used to gain
> access to the corresponding timeline which provides the timeline
> duration needed for timing normalization math, but in some
> cases the duration was needed before an effect had an owner
> assigned. As such it is now possible to create an InertEffect
> and pass in a timeline duration if needed.
>
> Added logic for when CSS animations swap from progress based
> timeline to a time based timeline. This new logic preserves
> the current progress of the animation even when current times
> do not match up.
>
> I also removed time range from some CSS tests since they are
> now supported by progress based animations.
>
> Bug: 1216655, 1140602
> Change-Id: I7dde1f117968c6465eb7c4c0f4b8b66d9371776f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3130703
> Reviewed-by: Kevin Ellis <kevers@chromium.org>
> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
> Commit-Queue: Jordan Taylor <jortaylo@microsoft.com>
> Cr-Commit-Position: refs/heads/main@{#917801}

Bug: 1216655, 1140602
Change-Id: I5d993ec0ee6de610347916f8b1fd09d0ea10e34f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3140514
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Yuki Yamada <yukiy@chromium.org>
Auto-Submit: Yuki Yamada <yukiy@chromium.org>
Commit-Queue: Yuki Yamada <yukiy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917986}

--

wpt-commits: 5716a8027bea38107c117d2f6a5ecf2b09ea88de
wpt-pr: 30323
2021-09-21 14:20:27 +00:00
Seokho Song
fa963cbe7d Bug 1727980 [wpt PR 30220] - Clamp the infinity parsed value from html_dimension, a=testonly
Automatic update from web-platform-tests
Clamp the infinity parsed value from html_dimension

The DCHECK(CSSCalcInfinityAndNaNEnabled() || std::isfinite(num)) in CSSNumericLiteralValue::Create could be failure when html_dimension parse the large number string.

Therefore, add a clamping for html_dimension to prevent infinity CSSNumericLiteralValue creation.

Bug: 1243557
Change-Id: I24a0736d1641a088a5e9f21f3ce4a043d805fa94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3121744
Reviewed-by: Mason Freed <masonf@chromium.org>
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Seokho Song <0xdevssh@gmail.com>
Cr-Commit-Position: refs/heads/main@{#917971}

--

wpt-commits: 8c780b2dbff62b7be32828f8792aadd389ab49a0
wpt-pr: 30220
2021-09-21 14:20:26 +00:00
moz-wptsync-bot
6035cfd245 Bug 1728917 [wpt PR 30319] - Update wpt metadata, a=testonly
wpt-pr: 30319
wpt-type: metadata
2021-09-21 14:20:26 +00:00
Dale Curtis
8b328fab0b Bug 1728917 [wpt PR 30319] - [WebCodecs] Prevent deeply nested frames., a=testonly
Automatic update from web-platform-tests
[WebCodecs] Prevent deeply nested frames.

It's not correct to directly access the wrapped frame since it may
itself be wrapping another frame. Prevent nesting, but also switch
call sites to not operate directly on |wrapped_frame_| for ease of
reasoning.

R=sandersd

Fixed: 1246173
Change-Id: I1475aa695a1801620eebdcb88a0d421652696261
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3140495
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: Dan Sanders <sandersd@chromium.org>
Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Dan Sanders <sandersd@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917938}

--

wpt-commits: a607f8c0330f6d6ce92fac257bc47a1fd7fd8706
wpt-pr: 30319
2021-09-21 14:20:25 +00:00
Morten Stenshorne
3134985e7f Bug 1728550 [wpt PR 30285] - Skip relayout on scrollbar changes if side-effects aren't allowed., a=testonly
Automatic update from web-platform-tests
Skip relayout on scrollbar changes if side-effects aren't allowed.

The root cause here is that legacy multicol containers don't handle
overflow correctly, but that's not easily fixable.

Instead, just disallow additional layout passes if scrollbars (somewhere
in the subtree) change when side-effects are disabled
(NGDisableSideEffectsScope::IsDisabled()). Calling ClearLayoutResults()
(which is what the scrollbar stabilization loop does) while in this
state is forbidden.

Bug: 1245440
Change-Id: I5b959cf1cfca9bb65b7768e6abfae47155d2038d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3135415
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917877}

--

wpt-commits: 51d8c24e16deaf156a7eab496cf06721e55c4ebf
wpt-pr: 30285
2021-09-21 14:20:24 +00:00
moz-wptsync-bot
d8f3c00abe Bug 1728388 [wpt PR 30261] - Update wpt metadata, a=testonly
wpt-pr: 30261
wpt-type: metadata
2021-09-21 14:20:24 +00:00
Austin Sullivan
547bc1cad0 Bug 1728388 [wpt PR 30261] - FS: Add check for removal of sandbox root dir, a=testonly
Automatic update from web-platform-tests
FS: Add check for removal of sandbox root dir

The FileSystemHandle::Remove() method was recently added to allow for
the removal of files and directories from the underlying file system.

This method now fails when attempting to delete the root of a sandbox
file system.

Bug: 1242231
Change-Id: Ibe3ed59b79678ce168d0803c6607abd8ac06594c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3123735
Commit-Queue: Austin Sullivan <asully@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917845}

--

wpt-commits: ea05faa7f5b21494fbf0b840267d8ccc3e3229d9
wpt-pr: 30261
2021-09-21 14:20:23 +00:00
moz-wptsync-bot
2f3a506fb4 Bug 1728174 [wpt PR 30234] - Update wpt metadata, a=testonly
wpt-pr: 30234
wpt-type: metadata
2021-09-21 14:20:23 +00:00
Tom McKee
160d9f1c10 Bug 1728174 [wpt PR 30234] - [ResourceTiming]: Move more tests to cross-origin-redirects.html, a=testonly
Automatic update from web-platform-tests
[ResourceTiming]: Move more tests to cross-origin-redirects.html

As part of the work tracked in crbug.com/1171767, we modernized some
Resource Timing WPTs concerned with cross-origin behaviour. See
crrev.com/865600 for context.

This changes modernizes and centralizes some more of the test cases that
exercise cross-origin redirects.

Bug: 1171767
Change-Id: If56793f09b8953c5bccd0e0357c24bc6b6392711
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3129164
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Tom McKee <tommckee@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917827}

--

wpt-commits: 6699804bd6f7d5ed3f437c0d616c79f0dddf6f74
wpt-pr: 30234
2021-09-21 14:20:22 +00:00
Jordan Taylor
16f106ec04 Bug 1728231 [wpt PR 30247] - Integrated Progress based animations with CSS Animations, a=testonly
Automatic update from web-platform-tests
Integrated Progress based animations with CSS Animations

Timeline duration can now be stored on an AnimationEffect.
This was needed since for CSS animations, InertEffects with
no owning animation are used until later in the pipeline.
Normally the owning animation of an effect is used to gain
access to the corresponding timeline which provides the timeline
duration needed for timing normalization math, but in some
cases the duration was needed before an effect had an owner
assigned. As such it is now possible to create an InertEffect
and pass in a timeline duration if needed.

Added logic for when CSS animations swap from progress based
timeline to a time based timeline. This new logic preserves
the current progress of the animation even when current times
do not match up.

I also removed time range from some CSS tests since they are
now supported by progress based animations.

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

--

wpt-commits: 9e3b33267d5f983f77bf9600a77dac54a5a37787
wpt-pr: 30247
2021-09-21 14:20:22 +00:00
Ian Kilpatrick
32f495d538 Bug 1728839 [wpt PR 30306] - [layout] Remove limit from LayoutInline::SplitInlines., a=testonly
Automatic update from web-platform-tests
[layout] Remove limit from LayoutInline::SplitInlines.

After 200 elements the code "gave up" causing the layout tree to be
"strange".

This caused a To<LayoutInline> to fail in the OOF code. Relaxing this
To<> to a DynamicTo<> caused additional CHECKs / DCHECKs all over the
place (not just in NG but in Legacy as well).

This patch removes the limit at which we "give up". This may cause
additional render hangs.

However we currently have a project "block-in-inline" which will (for
most cases) stop inline-splitting for occuring (except in legacy
fallback).

Bug: 1245786
Change-Id: I5f1c4d6a4b81a8345974de40c0c50a27a839b7b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3140144
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917771}

--

wpt-commits: 37e4ca8ce64512cb1da8159c3a6a757bad604c43
wpt-pr: 30306
2021-09-21 14:20:21 +00:00
Ari Chivukula
1b40e8b3d1 Bug 1728863 [wpt PR 30311] - Fix delete_all_cookies documentation, a=testonly
Automatic update from web-platform-tests
Fix delete_all_cookies documentation

This function (like the others) returns a promise.
We should make that explicit in the docs.

Bug: 1233305
Change-Id: I90deeb13988267dc2b6069a22e44de82e8b09015
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3140046
Auto-Submit: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Steven Bingler <bingler@chromium.org>
Commit-Queue: Ari Chivukula <arichiv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917770}

--

wpt-commits: a4fc13cb6502d00e60a0c1911d192b87538d1c20
wpt-pr: 30311
2021-09-21 14:20:21 +00:00
Yi Xu
fbcbda33a3 Bug 1728841 [wpt PR 30308] - Revert "Fix test picture generation and add test.", a=testonly
Automatic update from web-platform-tests
Revert "Fix test picture generation and add test."

This reverts commit 84222e05b7a97c034e40d2d118de4aac05a94c50.

Reason for revert: caused test to fail external/wpt/webrtc/RTCPeerConnection-helper-test.html, ex build: https://ci.chromium.org/p/chromium/builders/ci/Mac10.15%20Tests

Bug: 1245692
Original change's description:
> Fix test picture generation and add test.
>
> This CL changes the test picture from a growing box to a small moving
> box. It adds a test that the expected bandwidth target is achieved at
> the expected resolution.
>
> In a browser, 640x480 is not reached within 5 seconds. This is odd.
>
> Bug: None.
> Change-Id: I2d94f1c190c26cec6759ecc0f788feea8e52ed7c
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3135833
> Commit-Queue: Harald Alvestrand <hta@chromium.org>
> Reviewed-by: Florent Castelli <orphis@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#917211}

Bug: None.
Change-Id: I205c46cca2245f3f906d52cca87ad878b486ee82
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3137553
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917317}

--

wpt-commits: 1960b5daf5d84a0d9fd8b7064795267d79d70039
wpt-pr: 30308
2021-09-21 14:20:21 +00:00
Nicolas Chevobbe
7c7499e19e Bug 1731793 - [devtools] Fix node picker error when closing browser toolbox. r=ochameau.
onInspectorFrontDestroyed was throwing because when it
is called from the destroy callback of watchFronts, it
doesn't get a second argument, and the destructuring fails.
This patch defaults the second parameter to an empty object
in order to avoid this.

Differential Revision: https://phabricator.services.mozilla.com/D126235
2021-09-21 14:11:45 +00:00
Bernard Igiri
17aa75022a Bug 1703979 - Removing unused/unwanted Confirmation Hints r=mak
Removing unused and unwanted Confirmation Hints.

Differential Revision: https://phabricator.services.mozilla.com/D126016
2021-09-21 14:09:27 +00:00
Sandor Molnar
f7585e35b4 Backed out changeset 1b323f897482 (bug 1691954) for causing bug 1731747. CLOSED TREE 2021-09-21 17:09:45 +03:00
Nicolas Chevobbe
36cbeb4f4b Bug 1730159 - [devtools] Only match console messages of exact same window. r=bomsy.
With dedicated targets for each window, we can now only check that the message
originates from the target window, and not from its window tree
Some tests that were assuming the iframe had the same target as the top level document
are updated.

Differential Revision: https://phabricator.services.mozilla.com/D125935
2021-09-21 13:59:40 +00:00
Nicolas Chevobbe
7e73203c27 Bug 1731073 - [devtools] Fix tests assertions when EveryFrameTarget is enabled. r=jdescottes.
A few tests were making assertions on targets
based on Fission being enabled or not. Since we're
creating targets for every iframe (with EFT) independently
of Fission, those tests were breaking.

Differential Revision: https://phabricator.services.mozilla.com/D125833
2021-09-21 13:59:39 +00:00
Sandor Molnar
c5c74051d2 Backed out changeset 57c67486fd1f (bug 1731764) for causint dt failures in browser_toolbox_options_disable_buttons. CLOSED TREE 2021-09-21 17:01:57 +03:00
stransky
15b8030e79 Bug 1730203 [Linux] Call WindowDragMotionHandler() from nsWindow::OnDragDataReceivedEvent, r=emilio
When we get data from D&D operation by nsWindow::OnDragDataReceivedEvent, speed up data transfer to child process by
WindowDragMotionHandler() call.

Differential Revision: https://phabricator.services.mozilla.com/D126211
2021-09-21 13:42:25 +00:00
stransky
d71b1c5791 Bug 1731197 [Linux] Make D&D operations more reliable and transfer only available D&D data types, r=emilio
Right now we query all MIME data types during D&D operation and rely on Gtk to filter out
missing ones. It leads to possible D&D failures as we can't process D&D events
from Gtk during it.

This patch does:

- Query MIME types available for D&D transfer by nsDragService::GetDragFlavors().
- Quit early at nsDragService::GetTargetDragData() when requested MIME can't be transferred by D&D.
- Use gdk_drag_context_get_suggested_action() instead of gdk_drag_context_get_actions().
- Check mTargetWindow before we use it.

Differential Revision: https://phabricator.services.mozilla.com/D126200
2021-09-21 13:41:36 +00:00
Harry Twyford
cee0305a2a Bug 1726437 - Add new monochromatic themes. r=dao,mixedpuppy
This is pretty much impossible to review as-is, so it may be more useful to review the script that made them. The repo is at https://github.com/htwyford/create-theme-script. parse-themes-script.js is the main script. It reads input.json. input.json is pulled from https://github.com/FirefoxUX/themes/blob/main/tokens/color/base.json, with some light edits to fix inconsistencies. The file in the FirefoxUX repo is an export of the colors in the Figma file: https://www.figma.com/file/xaRff6432QsirRftX8NZgb/MR2-Themes?node-id=86%3A17747.

The themes aren't perfect yet. For example, the text color in the Urlbar chiclet is sometimes wrong. They also don't consider the UX spec on badge colors, since UX is still actively updating that part of the spec. Since these themes are behind a pref, I think we should land it and fix the issues in followups. It will make it more clear what is changing when they're not being added en masse like this. Getting them in the tree ASAP also lets UX and QA get a head start on testing them.

Differential Revision: https://phabricator.services.mozilla.com/D125755
2021-09-21 13:32:58 +00:00
Harry Twyford
31b58b8bf6 Bug 1730262 - Add first monochromatic theme. r=desktop-theme-reviewers,dao,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D125283
2021-09-21 13:32:57 +00:00
stransky
9ba7352e64 Bug 1731737 [Linux] Call nsDragService::RunScheduledTask() event handler faster and disable its re-entrance r=emilio
We sometimes miss reply to D&D motion event due to delayed DnsDragService::RunScheduledTask() call.
We can't call D&D handler directly from drag-motion event as it causes nested recursions and re-entrance
in glib loop so use higher priority for the delayed handler call at least.

Disable re-entrance of nsDragService::RunScheduledTask() which may happen when
we get D&D data from drag_drop event.

Provide more loggig to D&D code.

Differential Revision: https://phabricator.services.mozilla.com/D126182
2021-09-21 13:30:44 +00:00
Nicolas Chevobbe
fc7b429b12 Bug 1731764 - [devtools] Rename DevTools fission pref panel into DevToools experimental pref panel. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D126222
2021-09-21 12:57:43 +00:00
Mark Banner
7ad142bf38 Bug 1445813 - Allow globalThis as a second parameter to defineLazyScriptGetter and friends. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D126071
2021-09-21 12:42:37 +00:00
Sandor Molnar
b0b9b300de Backed out changeset 539feb1c3bda (bug 1445813) for causing ES lint failure. CLOSED TREE 2021-09-21 15:19:18 +03:00