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

62009 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot 95943a7085 Bug 1755332 - Adjust more WPT expectations. 2022-02-16 16:36:39 +01:00
Paul Adenot 792cfa9cb9 Bug 1755332 - VideoDecoderConfig.framerate is a double. r=alwu,webidl,smaug
Spec change: https://github.com/w3c/media-capabilities/issues/96#issuecomment-537364759
Spec text: https://w3c.github.io/media-capabilities/#dom-videoconfiguration-framerate

Differential Revision: https://phabricator.services.mozilla.com/D138780
2022-02-16 13:36:54 +00:00
Paul Adenot 2b8f3b9ba5 Bug 1755332 - Add a WPT. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D138779
2022-02-16 13:36:54 +00:00
Henrik Skupin 773b47469e Bug 1755242 - [wdspec] Add AsyncPoll and fix race when awaiting multiple browsingContext.contextCreated events. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D138700
2022-02-16 10:56:24 +00:00
Florian Quèze ee0f63bdfc Bug 1754015 - Assert.jsm should throw when comparing a NaN number, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D138041
2022-02-16 09:56:34 +00:00
Hiroyuki Ikezoe edc7080f30 Bug 1755600 - Add a meta viewport tag to image-compositing-large-scale-change.html to avoid auto scaling down. r=tnikkel
With enabling apz.allow_zooming, both test and reference contents are scaled
down on mobile environments but the scaled size is different because the content
width is different.

Differential Revision: https://phabricator.services.mozilla.com/D138874
2022-02-16 09:40:38 +00:00
Marian-Vasile Laza b50ccf641b Backed out changeset 66db45689d25 (bug 1755600) for causing web-platform failures on image-compositing-large-scale-change.html. 2022-02-16 09:20:55 +02:00
Hiroyuki Ikezoe 0816f1644d Bug 1755600 - Add a meta viewport tag to image-compositing-large-scale-change.html to avoid auto scaling down. r=tnikkel
With enabling apz.allow_zooming, both test and reference contents are scaled
down on mobile environments but the scaled size is different because the content
width is different.

Differential Revision: https://phabricator.services.mozilla.com/D138874
2022-02-16 06:42:40 +00:00
Julian Descottes 45ba1a81d3 Bug 1755317 - [remote] Only validate origin headers if BiDi is enabled r=webdriver-reviewers,whimboo
When BiDi is disabled, skip the origin header check to support existing CDP clients.

Differential Revision: https://phabricator.services.mozilla.com/D138705
2022-02-16 06:25:35 +00:00
smolnar bb55d9849f Backed out changeset 9682c9f452e6 (bug 1724088) for causing android wr failures. 2022-02-16 01:43:24 +02:00
Markus Stange f49441e60a Bug 1724088 - Don't notify ScrollbarActivity in scroll frames without scrollbars. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D121784
2022-02-15 22:22:35 +00:00
Emilio Cobos Álvarez 60d3076116 Bug 1753847 - Annotate a test as fuzzy rather than random-ish. r=dholbert
See try run: https://treeherder.mozilla.org/jobs?repo=try&revision=5ec4c56ea49fed4d63938bf62e5ad92ebf362ddc

Differential Revision: https://phabricator.services.mozilla.com/D138828
2022-02-15 19:47:29 +00:00
Joel Maher 2399972c85 Bug 1754613 - split a11y tests out of mochitest-browser-chrome into mochitest-browser-a11y. r=releng-reviewers,Jamie,gbrown
here is a try push:
https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&tier=1%2C2%2C3&revision=aca12d2de75f1fb0eb25432358e5518a8e7f812d

most of the bc failures fall into:
https://bugzilla.mozilla.org/show_bug.cgi?id=1742167

I only tested bc to see if there were issues removing the `ba` tests from there.

Differential Revision: https://phabricator.services.mozilla.com/D138571
2022-02-15 16:47:57 +00:00
Thomas Wisniewski 59445bae92 Bug 1715900 - Add initial tests (and helpers) for the mach test-interventions command; r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D138540
2022-02-15 15:07:19 +00:00
Thomas Wisniewski 6e59fe82c1 Bug 1715900 - Add a mach test-interventions command for testing webcompat interventions; r=jgraham,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D138384
2022-02-15 15:07:18 +00:00
Csoregi Natalia d7c44977a4 Backed out changeset f01c5ef9e157 (bug 1754814) for causing failures on test_multi_sharedWorker_lifetimes_bfcache.html. CLOSED TREE 2022-02-15 17:39:55 +02:00
Tim Huang 15daee5cd9 Bug 1754814 - Enable dFPI for mochitets on Nightly. r=anti-tracking-reviewers,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D138521
2022-02-15 12:10:02 +00:00
Cristian Tuns 10c82ef861 Backed out 6 changesets (bug 1754336, bug 1754131, bug 1754809, bug 1749380, bug 1754350, bug 1754160) as requested by gwatson CLOSED TREE
Backed out changeset 6ad4a655b768 (bug 1754809)
Backed out changeset c60f4861cfa5 (bug 1754350)
Backed out changeset e3acddf74704 (bug 1754336)
Backed out changeset 49db3f1cc79a (bug 1754160)
Backed out changeset 346a4ffcb536 (bug 1754131)
Backed out changeset b7f88e5c537b (bug 1749380)
2022-02-14 23:25:33 -05:00
Kagami Sascha Rosylight a7a6e060cf Bug 1755335 - Add skeleton code for TransformStream{,DefaultController} r=mgaudet,emilio
Differential Revision: https://phabricator.services.mozilla.com/D138672
2022-02-15 01:43:00 +00:00
Noemi Erli dde4c6d4c6 Backed out changeset c5467bc3fb5a (bug 1755335) for causing bustage in WritableStreamDefaultWriter.cpp CLOSED TREE 2022-02-15 02:28:30 +02:00
Kagami Sascha Rosylight 48750a127c Bug 1755335 - Add skeleton code for TransformStream{,DefaultController} r=mgaudet,emilio
Differential Revision: https://phabricator.services.mozilla.com/D138672
2022-02-14 23:35:53 +00:00
Cristian Tuns de7fa4b360 Backed out changeset b2749184f16a (bug 1755335) for causing build bustages on TransformStream.webidl CLOSED TREE 2022-02-14 17:43:19 -05:00
Kagami Sascha Rosylight 93f704f156 Bug 1755335 - Add skeleton code for TransformStream{,DefaultController} r=mgaudet,emilio
Differential Revision: https://phabricator.services.mozilla.com/D138672
2022-02-14 22:25:11 +00:00
Henrik Skupin 53d9d0f7ca Bug 1694389 - [wdspec] Disable tests for browsingContext.contextCreated on release channels. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D138654
2022-02-14 14:01:27 +00:00
Eden Chuang cd1eab9729 Bug 1754786 - Enable NavigationPreload API. r=dom-worker-reviewers,aryx,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D138530
2022-02-14 09:44:10 +00:00
Emilio Cobos Álvarez c722e22737 Bug 1147847 - Disable overlay scrollbars for testing. r=jgraham
There are a fair share of desktop mochitests that depend on having
scrollbars take space (and that are useful to test the non-overlay
scrollbar codepath).

Also, GTK overlay scrollbars have opacity animations (they fade out), so
they are much more prone to useless fuzzy intermittent failures.

We get overlay scrollbar testing via Android (Android scrollbars also
don't have animations, which is nice). We seem to disable them for macOS
as well, afaict, just at the system level, so this is consistent with
that.

Differential Revision: https://phabricator.services.mozilla.com/D138507
2022-02-14 07:44:19 +00:00
Henrik Skupin e0baee75d8 Bug 1694389 - [wdspec] Tests for "browsingContext.contextCreated" event. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D138246
2022-02-14 05:47:55 +00:00
Cristian Tuns 3f972b34cb Backed out 2 changesets (bug 1720353) for casuing reftest failures on 1113005.html CLOSED TREE
Backed out changeset d02b8df13ab0 (bug 1720353)
Backed out changeset e3593056496d (bug 1720353)
2022-02-12 04:34:08 -05:00
Ting-Yu Lin 476a867c3b Bug 1564726 Part 2 - Fix available block-size for block children in block container with box-decoration-break:clone. r=dholbert,emilio
If a block container has box-decoration-break:clone, its block-end border and
padding (BP) are *usually* drawn at the block-end edge of the current
column/page. Thus, when computing the available block-size for its children, we
should subtract its block-end border BP from it.

When I claim the block-end BP are *usually* drawn at the block-end edge of the
column/page, the exception is when a block container with a definite block-size
runs out of its block-size in a column/page. In this case, the block-end BP is
drawn at the block-end edge of its content-box. This patch wires the effective
content-box block-size computed in nsBlockFrame::Reflow() into
BlockReflowInput's constructor, and we do not subtract its block-end border BP
from the `mContentArea.BSize(wm)` when this case happens.

`BlockReflowInput::ContentBSize()` is the correct available block-size to reflow
the children, precomputed in BlockReflowInput's constructor. See
https://searchfox.org/mozilla-central/rev/c12a59323ee46b29b90c9917a3a7a70ea714ffec/layout/generic/BlockReflowInput.cpp#118-126

The remove hunk was a hack, working only for ColumnSetWrapper with
`box-decoration-break:clone`. It's no longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D138367
2022-02-12 02:56:17 +00:00
Agi Sferro 2f5398973b Bug 1753772 - Add xorigin-tests to android test runner. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D138373
2022-02-11 20:39:30 +00:00
Butkovits Atila 298b987a56 Backed out 3 changesets (bug 1715900) for causing Python failures. CLOSED TREE
Backed out changeset c1bad2dbd960 (bug 1715900)
Backed out changeset 2355ea418b97 (bug 1715900)
Backed out changeset 11c95163a2f6 (bug 1715900)
2022-02-11 20:41:49 +02:00
Thomas Wisniewski 1fbbcbbcc2 Bug 1715900 - Add initial tests (and helpers) for the mach test-interventions command; r=jgraham
Depends on D138384

Differential Revision: https://phabricator.services.mozilla.com/D138540
2022-02-11 17:27:45 +00:00
Thomas Wisniewski 10326d782c Bug 1715900 - Add a mach test-interventions command for testing webcompat interventions; r=jgraham,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D138384
2022-02-11 17:27:44 +00:00
David Parks 532e4bcbe5 Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv
This implements the new HTML spec for these fields, which now serve hard-coded values, depending on whether or not PDFs are supported.  The values were deemed important to maintain web compatibility.  The spec can be found in section 8.9.1.6:

https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support

The web-compat test for this can be found at:

https://wpt.live/html/webappapis/system-state-and-capabilities/the-navigator-object/plugins-and-mimetypes.html

This patch follows the spec for the PDF plugins if "pdfjs.disabled" is false.  It also produces empty plugin arrays if "pdfjs.disabled" is true, as per the spec.  Both cases are tested by the wpt.live page.

Differential Revision: https://phabricator.services.mozilla.com/D133291
2022-02-11 15:59:01 +00:00
Alex Finder 5c80a2cf1c Bug 1753592 - Update google-docs page load test to mitm7 and add secondary url r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D137834
2022-02-11 11:00:40 +00:00
Tim Huang bf50013a60 Bug 1753949 - Disable dFPI for cross-origin-opener-policy WPTs. r=annevk
The test framework of cross-origin-opener-policy WPTs is based on
broadcast channels to send data across origins. This behavior will fail
when dFPI is enabled because we partition broadcast channels.

This patch disables dFPI for the WPTs that will send data across origins
by using broadcast channels.

Differential Revision: https://phabricator.services.mozilla.com/D138263
2022-02-11 09:38:34 +00:00
smolnar f362689008 Bug 1753820 - Update wpt expectancies in the-offscreen-canvas/offscreencanvas.getcontext.html.ini/offscreencanvas.getcontext.worker.js.ini r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D138500
2022-02-11 08:19:37 +00:00
Byron Campen [:bwc] 2de4cb5a57 Bug 1753938: Test case for bug. r=jib
Note that we do not pass this test even with the patch, but at least we don't crash.

Differential Revision: https://phabricator.services.mozilla.com/D138148
2022-02-10 22:34:25 +00:00
Csoregi Natalia ae252d9945 Backed out changeset 5fcbba2f8f8c (bug 1720353) for failures on test_bug1281963.html. CLOSED TREE 2022-02-10 19:42:46 +02:00
David Parks 06f68c4eda Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv
This implements the new HTML spec for these fields, which now serve hard-coded values, depending on whether or not PDFs are supported.  The values were deemed important to maintain web compatibility.  The spec can be found in section 8.9.1.6:

https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support

The web-compat test for this can be found at:

https://wpt.live/html/webappapis/system-state-and-capabilities/the-navigator-object/plugins-and-mimetypes.html

This patch follows the spec for the PDF plugins if "pdfjs.disabled" is false.  It also produces empty plugin arrays if "pdfjs.disabled" is true, as per the spec.  Both cases are tested by the wpt.live page.

Differential Revision: https://phabricator.services.mozilla.com/D133291
2022-02-10 16:57:24 +00:00
Julian Descottes c033a12a53 Bug 1754161 - [marionette] Merge Marionette::_unwrap_response in _from_json r=webdriver-reviewers,jgraham
Depends on D138159

_from_json should be redundant with _unwrap_response now.

Differential Revision: https://phabricator.services.mozilla.com/D138160
2022-02-10 16:53:31 +00:00
Julian Descottes 9797428b04 Bug 1754161 - [marionette] Unwrap dictionaries in Marionette::_unwrap_response r=webdriver-reviewers,whimboo
_unwrap_response should be allowed to recursively unwrap dictionaries

Differential Revision: https://phabricator.services.mozilla.com/D138159
2022-02-10 16:53:30 +00:00
Gregory Mierzwinski 9f2451e841 Bug 1752871 - Add option to specify which page to record. r=perftest-reviewers,AlexandruIonescu
This patch adds the --proxy-perftest-page option. With this option, we'll be able to specify which test pages we want to record rather than modifying the pageload_sites.json. Note that the login fields will not be taken into consideration with this option.

You can use the flag as follows (seperate multiple pages with a comma): --proxy-perftest-page microsft,linkedin,netflix

Furthermore, some changes were made to strengthen the conditions around when a login site can be tested (only when RAPTOR_LOGINS is defined locally, or if we are in CI).

Differential Revision: https://phabricator.services.mozilla.com/D137468
2022-02-10 16:09:22 +00:00
Henrik Skupin 12b78e2102 Bug 1754735 - [mozdevice-rust] Reduce debug logging of mozdevice. r=webdriver-reviewers,jgraham
Details when calling adb commands are not needed in debug log but
should be available in trace logs. Also logging output when
failures occur should be warnings.

Differential Revision: https://phabricator.services.mozilla.com/D138443
2022-02-10 14:40:53 +00:00
Kash Shampur 7c7220dc7d Bug 1735216 - Update wikia page load test to mitm7 and add secondary url r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D138221
2022-02-10 14:09:08 +00:00
Masayuki Nakano 04af341212 Bug 1753487 - Make `nsIContent::GetEditingHost()` not assume that itself is an element if there is no parent element r=peterv
If the instance is not an element and is a child of `Document` or something
non-element node, the method calls `this->AsElement()` in non-element instance.

It should check whether it's an element node or not when there is no editable
parent element.

Differential Revision: https://phabricator.services.mozilla.com/D138230
2022-02-10 12:48:14 +00:00
Sebastian Hengst dda20b000f Bug 1754503 - adjust expected results for test secure-payment-confirmation/enrollment.https.html on Android
The timeouts changed to fails since the webauthn token manager uses
GeckoResult directly instead of a callback (change in bug 1753919).

Differential Revision: https://phabricator.services.mozilla.com/D138433
2022-02-10 12:47:00 +00:00
Masayuki Nakano c9bf3f5dee Bug 1753786 - Make `nsRange::ExcludeNonSelectableNodes` stop using `ErrorResult` r=mbrodesser
It never returns error since its return type is `void` and it does not take
out param whose type is `ErrorResult`.

Therefore, `ErrorResult` in it is used only for checking whether an error occurs
in the calling methods, but neither `SuppressException()` nor `StealNSResult()`
is called for avoiding assertions at destructing the instance.

For avoiding the assertion, and in this case, it should not use `ErrorResult`.
When the result is completely ignored, `IgnoreErrors()` should be used instead.
Otherwise, when it just needs to know whether an API call failed or not, it
should use `IgnoreErrors` to avoid the redundant calls of `ErrorResult` and
for the performance (`ErrorResult`'s destruction may appear in the profile if
it's used in a hot path).

Differential Revision: https://phabricator.services.mozilla.com/D138231
2022-02-10 12:00:10 +00:00
Glenn Watson e4a7b2d232 Bug 1754350 - Fix mix-blend mode readbacks on fractional device pixel boundaries r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D138253
2022-02-09 20:25:34 +00:00
Kash Shampur dda478593e Bug 1753658 Run performance tests against mozilla release r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D138022
2022-02-09 19:52:40 +00:00