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

74942 Коммитов

Автор SHA1 Сообщение Дата
Tooru Fujisawa 104464de4d Bug 1833759 - Catch xpcshell test crash before setting up the crash reporter. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D179635
2023-07-04 18:36:23 +00:00
Tom Schuster 918d6e00af Bug 1772772 - Implement ReadableStream.from. r=saschanaz,spidermonkey-reviewers,webidl,mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D148358
2023-07-04 16:48:23 +00:00
Julien Cristau 00a310d1dd Bug 1841589 - update robustcheckout hg extension. r=releng-reviewers,hneiva
We'll now retry the clone/pull on http 5xx errors.

Differential Revision: https://phabricator.services.mozilla.com/D182699
2023-07-04 15:49:22 +00:00
Butkovits Atila a1194a7700 Backed out 3 changesets (bug 1778910) for causing failures at fontVariantCaps.
Backed out changeset 75478b5852a3 (bug 1778910)
Backed out changeset d59f1e7c17c5 (bug 1778910)
Backed out changeset d87582a5c11f (bug 1778910)
2023-07-04 19:13:05 +03:00
Robert Longson cea4c95981 Bug 1840746 - SVG patternTransform translate uses wrong units r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D182618
2023-07-04 14:44:35 +00:00
Bas Schouten 9ad0a13104 Bug 1841546: Update Speedometer 3 repo to tip. r=perftest-reviewers,kshampur
Differential Revision: https://phabricator.services.mozilla.com/D182680
2023-07-04 14:40:52 +00:00
Ziran Sun 626f853724 Bug 1839704 - Wait for the rendering done before calling hidepopover(). r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D182471
2023-07-04 14:40:17 +00:00
Jonathan Kew 848e8a6db7 Bug 1778910 - Add offscreen-canvas versions of WPT reftests for fontVariantCaps. r=gfx-reviewers,lsalzman
Test the same features as the canvas-element reftests, for both a main-thread
OffscreenCanvas and in a worker.

Depends on D182567

Differential Revision: https://phabricator.services.mozilla.com/D182577
2023-07-04 12:16:57 +00:00
Jonathan Kew 90a4380b28 Bug 1778910 - Hook up rendering support for canvas2d fontVariantCaps, and add WPT reftests. r=gfx-reviewers,lsalzman
The behavior in some of these cases is open to debate, as the spec is quite unclear;
see https://github.com/whatwg/html/issues/8103. What I've implemented here gives the
same rendering result as Chrome for these tests, so hopefully we can get this clarified
in the spec as well.

Differential Revision: https://phabricator.services.mozilla.com/D182567
2023-07-04 12:16:57 +00:00
Jonathan Kew ff18a2e8b3 Bug 1778910 - Implement setting/getting the fontVariantCaps attribute on Canvas2D context (note: no rendering support yet). r=gfx-reviewers,webidl,lsalzman,saschanaz
Surprisingly, this is sufficient to pass the existing WPT tests for fontVariantCaps.
(They only test setting and reading the attribute, but don't verify that it actually
has any effect on rendering!)

Rendering tests will be added in the next patch, along with hooking up the behavior.

Differential Revision: https://phabricator.services.mozilla.com/D182566
2023-07-04 12:16:57 +00:00
Butkovits Atila d55c57ba1f Backed out changeset c1e40169afd9 (bug 1838450) for causing failures at nsGenericHTMLElement.cpp. 2023-07-04 15:47:36 +03:00
Gregory Pappas c3c4d4be10 Bug 1840980 - Rename media.resume-bkgnd-video-on-tabhover, media.suspend-bkgnd-video.delay-ms, and media.suspend-bkgnd-video.enabled prefs r=alwu
These are the only prefs that shorten background to bkgnd, this makes them very hard to find.

Differential Revision: https://phabricator.services.mozilla.com/D182430
2023-07-04 11:26:35 +00:00
Ziran Sun e789f9a54a Bug 1838450 - Refine attribute handling. r=emilio
https://github.com/whatwg/dom/pull/1176
https://dom.spec.whatwg.org/#concept-element-attributes-change-ext
"attribute change steps"  at https://html.spec.whatwg.org/multipage/popover.html#attr-popover

Differential Revision: https://phabricator.services.mozilla.com/D181880
2023-07-04 08:47:31 +00:00
Vincent Hilla d940a81b38 Bug 1834141 - Implement oncancel idl attribute. r=dom-core,webidl,saschanaz,edgar
Differential Revision: https://phabricator.services.mozilla.com/D182198
2023-07-04 06:55:27 +00:00
Henrik Skupin 836941420b Bug 1841513 - [wdspec] Extend timeout for /mozilla/tests/webdriver/bidi/websocket_upgrade.py. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D182669
2023-07-03 16:06:22 +00:00
Alex Ionescu 7bccbd8fc5 Bug 1732180 - Avoid using mozprofile when target application is non-firefox r=perftest-reviewers,kshampur
Differential Revision: https://phabricator.services.mozilla.com/D182202
2023-07-03 14:20:12 +00:00
Henrik Skupin 92431fe327 Bug 1329833 - [wdspec] Extend timeout for classic/perform_actions/invalid.py.
Differential Revision: https://phabricator.services.mozilla.com/D182636
2023-07-03 10:12:18 +00:00
Julian Descottes d14b62e23e Bug 1824230 - [wdspec] Add WebDriver BiDi tests for actions on elements in ShadowRoot r=webdriver-reviewers,whimboo
Depends on D182474

Differential Revision: https://phabricator.services.mozilla.com/D182498
2023-07-03 08:56:32 +00:00
Julian Descottes ecb0e3716e Bug 1806897 - [wdspec] Add WebDriver classic tests for actions on elements in ShadowRoot r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D182474
2023-07-03 08:56:32 +00:00
Masayuki Nakano 177a6da54d Bug 1839874 - Make `insertparagraph-in-listitem-in-svg-followed-by-collapsible-spaces.html` allowed to timeout in asan builds r=m_kato
Asan builds are also slow. So, let's allow timeout in them.

Differential Revision: https://phabricator.services.mozilla.com/D182301
2023-07-03 08:05:05 +00:00
Noemi Erli ba5e5ab5dc Backed out 2 changesets (bug 1806897, bug 1824230) for causing webredenr failures CLOSED TREE
Backed out changeset 8a3e28c800cf (bug 1824230)
Backed out changeset 83439fa6f77c (bug 1806897)
2023-07-02 08:09:16 +03:00
Julian Descottes 382910f848 Bug 1824230 - [wdspec] Add WebDriver BiDi tests for actions on elements in ShadowRoot r=webdriver-reviewers,whimboo
Depends on D182474

Differential Revision: https://phabricator.services.mozilla.com/D182498
2023-07-01 08:46:42 +00:00
Julian Descottes 836ad1a274 Bug 1806897 - [wdspec] Add WebDriver classic tests for actions on elements in ShadowRoot r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D182474
2023-07-01 08:46:42 +00:00
Daniel Holbert 0689770fe6 Bug 1819467 part 2: Remove some additional failure annotations that seem to be unnecessary. r=layout-reviewers,jfkthame
While removing the .ini annotations for the other tests in this bug, I noticed
these ones (the only remaining annotations in the same directory) that seemed
to also be unnecessary. The tests pass on Try with these annotations removed,
so let's try removing them; and if needed, we can add back a more-specific
annotation if we discover intermittent fuzziness down the line.

Differential Revision: https://phabricator.services.mozilla.com/D182297
2023-07-01 07:55:33 +00:00
Daniel Holbert 3f8aa3db7d Bug 1819467 part 1: Move bounds of red shape inwards by 1px in several SVG WPTs that have transformed green shape covering a red shape. r=layout-reviewers,jfkthame
In these tests, the bounds of the red shape were technically already 1px
inwards from the bounds of the green shape (at the vertices at least), but that
still seems to create an opportunity for a little bit of red fringe along
antialiased diagonal lines.  An additional pixel of "buffer" is sufficient to
avoid this fuzzy mismatch, since it ensures that the edge of the red shape is
at least a pixel inwards from the edge of the green shape along the whole
diagonal.

With that change, there are some remaining visually-imperceptible
(maxDifference of 1 in the green channel) fuzzy pixels. These ones are
unrelated to the red shape, and I'm adding annotations for them since they're
imperceptible and unrelated to what the test is trying to test.

We've got https://bugzilla.mozilla.org/show_bug.cgi?id=1840747 to track the
former issue (the red fringe), and we have
https://bugzilla.mozilla.org/show_bug.cgi?id=1840511 to track the latter issue
(off-by-1 in the green color channel).

Depends on D182295

Differential Revision: https://phabricator.services.mozilla.com/D182296
2023-07-01 07:55:32 +00:00
Daniel Holbert 1a644ee814 Bug 1824242 part 2: Annotate some SVG WPTs as having some barely-fuzzy (maxDifference=1) pixels. r=layout-reviewers,jfkthame
The barely-fuzzy pixels are visually imperceptible; they're just off-by-one in
a single color channel, along an antialiased edge of a transformed shape.

We have https://bugzilla.mozilla.org/show_bug.cgi?id=1840511 filed to track the
underlying behavior here.  Since it's imperceptible and isn't what these tests
are trying to test for, let's adjust the fuzzy tolerance to avoid a spurious
failure.

Depends on D182294

Differential Revision: https://phabricator.services.mozilla.com/D182295
2023-07-01 07:55:32 +00:00
Randell Jesup 8248b1d054 Bug 1831173: Add web-platform test for WebTransport close() without awaiting ready r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D178067
2023-07-01 01:38:47 +00:00
Cosmin Sabou 026efba598 Bug 1840282 - Adjust expectation for webtransport-h3.https.sub.any.serviceworker.html on Android for release or beta. r=aryx,jesup DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D182475
2023-06-30 21:11:30 +00:00
Henrik Skupin 552abc2e6c Bug 1329833 - [wdspec] Add tests for parsing of actions messages. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D182560
2023-06-30 21:00:22 +00:00
Daniel Holbert cfb377775e Bug 1840952: Fix WPTs flex-align-baseline-table-* so their style rules don't apply to their table of test results. r=TYLin
This is a trivial cosmetic fix to some WPTs, whose table-related CSS rules were
inadvertently targeting the dynamically-appended results table, which meant
that parts of the the test results were unreadable.

This patch is just putting all of the style rules for table parts behind a
`.target ` descendant selector.  This lets those rules continue to match the
test content, without also matching the results table.

This fixes https://github.com/web-platform-tests/wpt/issues/40796

Differential Revision: https://phabricator.services.mozilla.com/D182406
2023-06-29 22:52:42 +00:00
Chun-Min Chang 8041adcddf Bug 1831451 - Enable VideoDecoder in idlharness wpt pages r=webidl,saschanaz
Depends on D181917

Differential Revision: https://phabricator.services.mozilla.com/D181327
2023-06-29 22:33:14 +00:00
Chun-Min Chang b62f030962 Bug 1831451 - Enable VideoDecoder on Linux only r=padenot
The codec support will be done in Bug 1840508 later

Depends on D182291

Differential Revision: https://phabricator.services.mozilla.com/D181917
2023-06-29 22:33:14 +00:00
Chun-Min Chang 046115e9f7 Bug 1831451 - Schedule to report error in Close() r=padenot
This patch completes the implementation for close method.

By Close VideoDecoder algorithm [1], the error callback is invoked in a
task queued after Close, instead of being invoked directly in the Close.

With the change, the Decode-empty/corrupt-frame wpts need to be revised
since the error-callback is fired after flush, not before it.

By the spec [2], when decoding results an error, Close-VideoDecoder with
an EncodingError will be scheduled as the next task. In Close [3], the
Reset [4] will be performed first, and it will reject the pending flush
promises with the the given EncodingError (Close-VideoDecoder will run
before promise is resolved). Then, continue steps in Close [3], an error
callback with the EncodingError will be scheduled as the next task. That
is, according to the spec, the error callback is perform after the
flush's rejector (With EncodingError), so the wpts need to be revised.

[1] https://w3c.github.io/webcodecs/#close-videodecoder
[2] https://w3c.github.io/webcodecs/#dom-videodecoder-decode
[3] https://w3c.github.io/webcodecs/#close-videodecoder
[4] https://w3c.github.io/webcodecs/#reset-videodecoder

Depends on D180506

Differential Revision: https://phabricator.services.mozilla.com/D179515
2023-06-29 22:33:14 +00:00
Chun-Min Chang a26612e380 Bug 1831451 - Reject flush with EncodingError if decode fails r=padenot
> If decoding results in an error, queue a task to run the Close
>  VideoDecoder algorithm with EncodingError and return

By the spec, in step 4-2 when running a control message for decode, if
the decode fails, the flush queued after that decode should be rejected
with a EncodingError, via Close algorithm, instead of AbortError.

Depends on D179583

Differential Revision: https://phabricator.services.mozilla.com/D180506
2023-06-29 22:33:14 +00:00
Chun-Min Chang 1189815519 Bug 1831451 - Enable VideoDecoder WPTs r=padenot
Depends on D179613

Differential Revision: https://phabricator.services.mozilla.com/D177212
2023-06-29 22:33:13 +00:00
Chun-Min Chang ae9bddd0a0 Bug 1831451 - Implement VideoDecoder::Configure r=padenot
This patch implements configure method [1] for WebCodecs' VideoDecoder
interface. The configure job is via DecoderAgent's Configure().

[1] https://w3c.github.io/webcodecs/#dom-videodecoder-configure

Depends on D181819

Differential Revision: https://phabricator.services.mozilla.com/D161356
2023-06-29 22:33:12 +00:00
Chun-Min Chang 20534befc8 Bug 1831451 - Implement VideoDecoder::IsConfigSupported r=padenot
This patch implements the isConfigSupported method for WebCodecs'
VideoDecoder.

[1] https://w3c.github.io/webcodecs/#dom-videodecoder-isconfigsupported

Depends on D155894

Differential Revision: https://phabricator.services.mozilla.com/D158816
2023-06-29 22:33:11 +00:00
Ting-Yu Lin 251f8960d2 Bug 1840796 - Consider last baseline in the startmost line when computing flex container first baseline. r=dholbert
Likewise, we should also consider first baseline in the endmost line when
computing flex container last baseline.

Fixed the XXX comment by using logical coordinates. This is necessary to pass
flex-align-baseline-flex-004.html because it tests a vertical-rl flex container.

Differential Revision: https://phabricator.services.mozilla.com/D182432
2023-06-29 22:25:47 +00:00
jijnyasa.goat ae8829c25c Bug 1834752 - Fix Ruff warnings in Raptor. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181669
2023-06-29 12:20:35 +00:00
Cosmin Sabou b6c0d15922 Backed out 27 changesets (bug 1831451) for causing hazard failures on VideoDecoder.cpp. CLOSED TREE
Backed out changeset 4fb457340ffe (bug 1831451)
Backed out changeset 91c2c0f7e9ab (bug 1831451)
Backed out changeset 200c174fc2d1 (bug 1831451)
Backed out changeset cd30b650aeed (bug 1831451)
Backed out changeset 6892b88cb4ee (bug 1831451)
Backed out changeset ecb08baa7f0e (bug 1831451)
Backed out changeset f1b3b6d3186b (bug 1831451)
Backed out changeset 81c7ebd2aeb3 (bug 1831451)
Backed out changeset e2272bf547e1 (bug 1831451)
Backed out changeset 342a32c598fe (bug 1831451)
Backed out changeset f19cfef38d63 (bug 1831451)
Backed out changeset 1cf50ce36a73 (bug 1831451)
Backed out changeset d7f55df2c2e4 (bug 1831451)
Backed out changeset 61be9a6b9cd4 (bug 1831451)
Backed out changeset 89cf8d2548a8 (bug 1831451)
Backed out changeset 00bf4fed8bcb (bug 1831451)
Backed out changeset c8fdb24dd953 (bug 1831451)
Backed out changeset 06f1008127bb (bug 1831451)
Backed out changeset 68fae9bd7d92 (bug 1831451)
Backed out changeset 0fca9e6c2ef6 (bug 1831451)
Backed out changeset 05ae55dd0cec (bug 1831451)
Backed out changeset 8a3af1118791 (bug 1831451)
Backed out changeset 94ad056419ea (bug 1831451)
Backed out changeset f615134b7349 (bug 1831451)
Backed out changeset 4e7051264cb3 (bug 1831451)
Backed out changeset 8f3c10480da7 (bug 1831451)
Backed out changeset eb17a0f3efdf (bug 1831451)
2023-06-29 13:41:34 +03:00
Henrik Skupin 7ebedfced8 Bug 1792529 - [marionette] Remove "Marionette:SingleTap" and legacy actions module. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D158191
2023-06-29 10:10:39 +00:00
James Graham 88a8e36b35 Bug 1840877 - Fix interop category filtering, r=whimboo
We don't want to filter on cateogry names, because each year can contain
categories taken from previous years.

Differential Revision: https://phabricator.services.mozilla.com/D182363
2023-06-29 08:04:10 +00:00
Chun-Min Chang 15c5b29720 Bug 1831451 - Enable VideoDecoder in idlharness wpt pages r=webidl,saschanaz
Depends on D181917

Differential Revision: https://phabricator.services.mozilla.com/D181327
2023-06-29 04:15:05 +00:00
Chun-Min Chang 041ba6c348 Bug 1831451 - Enable VideoDecoder on Linux only r=padenot
The codec support will be done in Bug 1840508 later

Differential Revision: https://phabricator.services.mozilla.com/D181917
2023-06-29 04:15:05 +00:00
Chun-Min Chang 9ce796e153 Bug 1831451 - Schedule to report error in Close() r=padenot
This patch completes the implementation for close method.

By Close VideoDecoder algorithm [1], the error callback is invoked in a
task queued after Close, instead of being invoked directly in the Close.

With the change, the Decode-empty/corrupt-frame wpts need to be revised
since the error-callback is fired after flush, not before it.

By the spec [2], when decoding results an error, Close-VideoDecoder with
an EncodingError will be scheduled as the next task. In Close [3], the
Reset [4] will be performed first, and it will reject the pending flush
promises with the the given EncodingError (Close-VideoDecoder will run
before promise is resolved). Then, continue steps in Close [3], an error
callback with the EncodingError will be scheduled as the next task. That
is, according to the spec, the error callback is perform after the
flush's rejector (With EncodingError), so the wpts need to be revised.

[1] https://w3c.github.io/webcodecs/#close-videodecoder
[2] https://w3c.github.io/webcodecs/#dom-videodecoder-decode
[3] https://w3c.github.io/webcodecs/#close-videodecoder
[4] https://w3c.github.io/webcodecs/#reset-videodecoder

Depends on D180506

Differential Revision: https://phabricator.services.mozilla.com/D179515
2023-06-29 04:15:04 +00:00
Chun-Min Chang 93f6f1219a Bug 1831451 - Reject flush with EncodingError if decode fails r=padenot
> If decoding results in an error, queue a task to run the Close
>  VideoDecoder algorithm with EncodingError and return

By the spec, in step 4-2 when running a control message for decode, if
the decode fails, the flush queued after that decode should be rejected
with a EncodingError, via Close algorithm, instead of AbortError.

Depends on D179583

Differential Revision: https://phabricator.services.mozilla.com/D180506
2023-06-29 04:15:04 +00:00
Chun-Min Chang 50c3848d2d Bug 1831451 - Enable VideoDecoder WPTs r=padenot
Depends on D179613

Differential Revision: https://phabricator.services.mozilla.com/D177212
2023-06-29 04:15:04 +00:00
Chun-Min Chang 1fd5cabdb9 Bug 1831451 - Implement VideoDecoder::Configure r=padenot
This patch implements configure method [1] for WebCodecs' VideoDecoder
interface. The configure job is via DecoderAgent's Configure().

[1] https://w3c.github.io/webcodecs/#dom-videodecoder-configure

Depends on D181819

Differential Revision: https://phabricator.services.mozilla.com/D161356
2023-06-29 04:15:02 +00:00
Chun-Min Chang 68410b41ea Bug 1831451 - Implement VideoDecoder::IsConfigSupported r=padenot
This patch implements the isConfigSupported method for WebCodecs'
VideoDecoder.

[1] https://w3c.github.io/webcodecs/#dom-videodecoder-isconfigsupported

Depends on D155894

Differential Revision: https://phabricator.services.mozilla.com/D158816
2023-06-29 04:15:01 +00:00
Stanca Serban cad57dc9b6 Backed out 4 changesets (bug 1824242, bug 1819467) for causing reftests failures in 1840747-1.html.
Backed out changeset 694aa2a23cca (bug 1819467)
Backed out changeset b6ab0ebbeb46 (bug 1819467)
Backed out changeset 4c8a3d74c0b7 (bug 1824242)
Backed out changeset 2e6c87c74998 (bug 1824242)
2023-06-29 06:28:53 +03:00