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

53702 Коммитов

Автор SHA1 Сообщение Дата
Edgar Chen 8aee77179e Bug 1693413 - Split wpt pointerevent_boundary_events_in_capturing.html; r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D105537
2021-02-26 23:11:33 +00:00
Andrew Osmond c936081214 Bug 1694766 - Part 3. Add fuzzing for SW-WR WPT reftests. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D106613
2021-02-26 17:09:48 +00:00
Andrew Osmond dc13a0f1f2 Bug 1694766 - Part 1. Add swgl as a WPT test filter for annotations. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D106611
2021-02-26 17:09:47 +00:00
Geoff Brown f6bc17e625 Bug 1694525 - End browsertime test process when error encountered; r=perftest-reviewers,sparky
Currently, raising an exception in a mozprocess callback is not guaranteed to
end the managed process; after bug 1694275, the exception will be reported but
otherwise suppressed.
Instead of raising an exception, report the error and end the test process.

Differential Revision: https://phabricator.services.mozilla.com/D106538
2021-02-26 15:01:51 +00:00
Edgar Chen 8f0a48b84e Bug 1693408 - Split wpt pointerevent_auxclick_is_a_pointerevent.html; r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D105536
2021-02-26 14:43:01 +00:00
Kershaw Chang 7e60395853 Bug 1694972 - Reset cname_confirm counter after test r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D106588
2021-02-26 08:29:57 +00:00
Geoff Brown c6f86c79ea Bug 1694275 - Handle exceptions in mozprocess callbacks; r=jmaher
Catch and report any exceptions raised in mozprocess callbacks. This allows the
ProcessReader thread to continue and mozprocess to function normally following
an exception raised in client code.

Differential Revision: https://phabricator.services.mozilla.com/D106536
2021-02-25 21:02:14 +00:00
Ting-Yu Lin 50cd58e505 Bug 799725 Part 2 - Use StyleSizeOverrides to stretch flex item's inline-size. r=dholbert
Also, suppress a flex item's aspect-ratio by using
StyleSizeOverrides::mAspectRatio added in Part 1. Otherwise,
testing/web-platform/tests/css/css-flexbox/flex-minimum-height-flex-items-023.html
is going to break.

table-as-item-stretch-cross-size-3 is adapted from the testcase in bug
799725 comment 1. Note: stretching in the cross axis that is a block
axis has been fixed by bug 1674302.

Differential Revision: https://phabricator.services.mozilla.com/D106195
2021-02-25 20:06:12 +00:00
Ting-Yu Lin 58c2608512 Bug 1692116 Part 4 - Add WPT reftests, and adjust test expectations. r=dholbert
Part 2 fixed table-as-item-inflexible-in-column-{1,2}.html.
table-as-item-inflexible-in-row-{1,2}.html are already pass on Nightly,
and are added for robustness and symmetry.

Part 3 fixed table-as-item-specified-height.html

Part 2 and Part 3 are both needed to not break
layout/reftests/flexbox/flexbox-table-flex-items-3.html.

Differential Revision: https://phabricator.services.mozilla.com/D106158
2021-02-25 20:06:11 +00:00
Emilio Cobos Álvarez 18f0466bc6 Bug 1694864 - Remove prefers-contrast: forced as per CSSWG resolution. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D106485
2021-02-25 18:05:08 +00:00
Julian Descottes d0f4645a76 Bug 1694140 - [devtools] Stop using TargetFactory.forTab in devtools code r=perftest-reviewers,ochameau
Depends on D105998

Differential Revision: https://phabricator.services.mozilla.com/D105999
2021-02-25 18:02:51 +00:00
Julian Descottes 6af0cb3f81 Bug 1688688 - Use showToolboxTab to open DevTools in wpt marionetteexecutor r=jgraham
Depends on D105740

WPT runner can target several older versions of Firefox, so only use the new showToolboxForTab when the API is available on DevToolsShim

Differential Revision: https://phabricator.services.mozilla.com/D105743
2021-02-25 18:02:50 +00:00
Joel Maher 34e12fcabb Bug 1692096 - reduce jittest flags on android/aarch64 || android/debug. r=releng-reviewers,jandem,sfink,aki
reduce jittest flags on android/aarch64 || android/debug

Differential Revision: https://phabricator.services.mozilla.com/D106329
2021-02-25 16:28:03 +00:00
Emilio Cobos Álvarez 249b7dc00a Bug 1691397 - Intrinsic sizes that depend on percentage-sized abspos ancestors should account for containing-block padding correctly. r=layout-reviewers,mats
Abspos boxes resolve against the pading box, and we were failing to
increase the percentage basis in that case if box-sizing was
content-box.

This is partially the cause of bug 1691374.

Differential Revision: https://phabricator.services.mozilla.com/D104389
2021-02-25 15:05:50 +00:00
Brindusan Cristian 39abcde940 Backed out 10 changesets (bug 1694140, bug 1694886, bug 1688688) for devtools failures on browser_CORS-console-warnings.js. CLOSED TREE
Backed out changeset 1b7367a27d9a (bug 1694886)
Backed out changeset d5a70a3143ad (bug 1694140)
Backed out changeset 74adaced5c0a (bug 1694140)
Backed out changeset 0b8f857e3f90 (bug 1694140)
Backed out changeset 45a8dc952aba (bug 1694140)
Backed out changeset 299f17e9cb6f (bug 1694140)
Backed out changeset 6beb9dd48ef3 (bug 1694140)
Backed out changeset 5f6688e8fe4c (bug 1694140)
Backed out changeset ae1fa0484c91 (bug 1688688)
Backed out changeset 8a0f5c24ed9a (bug 1688688)
2021-02-25 16:07:39 +02:00
Kershaw Chang ef06b68b6c Bug 1688092 - Update ODoHConfigs when the TTL expires r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D106075
2021-02-25 13:07:04 +00:00
Kershaw Chang 61d4a64bb0 Bug 1688864 - P2: Add more tests for ODoH r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D106074
2021-02-25 13:07:04 +00:00
Kershaw Chang 82433f5beb Bug 1688864 - P1: Reduce duplicate test code for ODoH r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D106073
2021-02-25 13:07:03 +00:00
Julian Descottes 5b183d1d77 Bug 1694140 - [devtools] Stop using TargetFactory.forTab in devtools code r=perftest-reviewers,ochameau
Depends on D105998

Differential Revision: https://phabricator.services.mozilla.com/D105999
2021-02-25 12:58:14 +00:00
Julian Descottes b0dd175880 Bug 1688688 - Use showToolboxTab to open DevTools in wpt marionetteexecutor r=jgraham
Depends on D105740

WPT runner can target several older versions of Firefox, so only use the new showToolboxForTab when the API is available on DevToolsShim

Differential Revision: https://phabricator.services.mozilla.com/D105743
2021-02-25 12:58:13 +00:00
Mihai Alexandru Michis d1dca2c0a5 Backed out 2 changesets (bug 1684139) for causing xpcshell failures in test_subprocess.js
CLOSED TREE

Backed out changeset 52cfd9509136 (bug 1684139)
Backed out changeset 23e0fa285d90 (bug 1684139)
2021-02-25 14:47:15 +02:00
Nicolas B. Pierron 0c635c7669 Bug 1692253 - Create a thread to handle ADB process timeout. r=jmaher,gbrown
This change add the ability to yield the output as it is produced, by
creating a thread responsible for killing the process if it takes too
long.

This way we can loop with blocking I/O on stdout in python, while the
process is running concurrently. The loop ends when the process exit
either by itself or after being killed by the timeout.

Differential Revision: https://phabricator.services.mozilla.com/D105037
2021-02-25 11:47:26 +00:00
Eden Chuang bcc0d952de Bug 1684139 - Adding mozilla specific wpt for timer nesting level in workers r=dom-worker-reviewers,asuth
This patch is developed from D104136#3396152.

This patch creates WorkerTestUtils.webidl under dom/webidl for testing workers with internal APIs. These APIs are exposed to workers only and controlled by dom.workers.testing.enabled pref.

This patch creates a Mozilla-specific web-platform test, testing/web-platform/mozilla/test/workers/worker_timer_nesting_level.html, to test the timer nesting level implementation for workers.

To simplify the test implementation, this patch does not implement the webidl under dom/chrome-webidl/ suggested by D104136#3396152.

Depends on D104136

Differential Revision: https://phabricator.services.mozilla.com/D105332
2021-02-25 10:14:12 +00:00
Sebastian Hengst 880c2d5b98 Bug 1694810 - add back url/failure.html failure expectation for Windows with Fission enabed. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D106410
2021-02-25 09:48:31 +00:00
Mirko Brodesser 6c86225872 Bug 1694643: add "-manual" to filenames of manual drag WPT. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D106276
2021-02-25 09:02:21 +00:00
Joel Maher 113df4f3a2 Bug 1692453 - remove activedata from test-info. r=releng-reviewers,aki CLOSED TREE
remove activedata from test-info

Differential Revision: https://phabricator.services.mozilla.com/D106301
2021-02-24 22:52:18 +00:00
Boris Chiou 3bb28a3f45 Bug 1670155 - Implement Animate trait and ComputeSquaredDistance trait for <ratio>. r=emilio
I also update the wpt becasue it seems the original one lets <ratio>
support the addition. However, the spec says "Addition of <ratio>s is not
possible".

Differential Revision: https://phabricator.services.mozilla.com/D106219
2021-02-25 01:50:55 +00:00
Matt Woodrow 0203b4f84d Bug 1694248 - Disable OMTP. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D106053
2021-02-25 01:07:07 +00:00
Csoregi Natalia d8ef0fbfe6 Backed out changeset 24db9230985e (bug 1692453) for lint failure. CLOSED TREE 2021-02-25 02:27:35 +02:00
Joel Maher a9dd0fa077 Bug 1692453 - remove activedata from test-info. r=releng-reviewers,aki
remove activedata from test-info

Differential Revision: https://phabricator.services.mozilla.com/D106301
2021-02-24 22:52:18 +00:00
Geoff Brown 413323460d Bug 1694275 - Add comment to mozprocess warning about shortcomings; r=jmaher
The python subprocess module keeps getting better, while mozprocess is poorly
maintained and subject to various problems (like this bug!), so this patch
adds a comment to mozprocess warning about shortcomings.

Differential Revision: https://phabricator.services.mozilla.com/D106198
2021-02-24 21:34:04 +00:00
Tom Schuster f490362655 Bug 1689836 - Improve clipboard.write error messages and check image decoding more. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D105114
2021-02-24 19:51:05 +00:00
Tom Schuster c7a4215236 Bug 1689883 - Update wpt metadata for setPermission changes. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D105113
2021-02-24 19:51:04 +00:00
Tom Schuster f532cf3f5f Bug 1689883 - Turn marionette UnsupportedOperationException into NotImplementedError. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D105112
2021-02-24 19:51:04 +00:00
James Graham 925142a80e Bug 1689883 - Implement testdriver set_permission. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D105111
2021-02-24 19:51:04 +00:00
James Graham e59f9029ac Bug 1689883 - Provide a marionette implementation of setPermission. r=marionette-reviewers,whimboo,jgraham
This is specialised to just provide some basic/test-only support for the
asyncclipboard permissions, entirely to get the tests working a little better.

Differential Revision: https://phabricator.services.mozilla.com/D105110
2021-02-24 19:51:03 +00:00
Andrew Osmond 49ab54fc3d Bug 1693383 - Part 2. Add 'swgl' for Software WebRender in mochitest manifest parsing. r=jgraham
This matches 'swgl' for reftests.

Differential Revision: https://phabricator.services.mozilla.com/D105663
2021-02-24 18:47:24 +00:00
Agi Sferro a5bf648b7d Bug 1692058 - Open temporary file in w mode when running multiple junit tests. r=droeh,mhentges
We're trying to store a string in a file open in binary mode which doesn't work :)

I'm guessing this was allowed in Python2 or some older 3 version.

Differential Revision: https://phabricator.services.mozilla.com/D104751
2021-02-24 17:03:32 +00:00
Agi Sferro 816cdb938f Bug 1609198 - Print logcat on junit test failure. r=droeh,nalexander
This also adds a --verbose flag to |mach geckoview-junit| which always prints
the logcat for every test.

Differential Revision: https://phabricator.services.mozilla.com/D104769
2021-02-24 17:02:54 +00:00
Andrew McCreight 98e63afa54 Bug 1694297 - Re-enable legacy-mb-tchinese/big5/ WPTs on Linux Fission. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D106052
2021-02-24 15:39:12 +00:00
Sean Feng fc9a6223a7 Bug 1693059 - Make PerformanceObserver::Disconnect clears its option list r=smaug
Per spec, `disconnect` should clear its option list, such that
doing a `observe`->`disconnect`->`observe` will not be reusing
the same options from the first `observe`.

Spec: https://w3c.github.io/performance-timeline/#disconnect-method

Differential Revision: https://phabricator.services.mozilla.com/D105329
2021-02-24 15:01:37 +00:00
Butkovits Atila 29688cfa2c Backed out 2 changesets (bug 1684139) for causing failures at test_subprocess.js. CLOSED TREE
Backed out changeset 209b51d63e6e (bug 1684139)
Backed out changeset 3a13a7b09c92 (bug 1684139)
2021-02-24 16:19:08 +02:00
Eden Chuang 00ad03a9c3 Bug 1684139 - Adding mozilla specific wpt for timer nesting level in workers r=dom-worker-reviewers,asuth
This patch is developed from D104136#3396152.

This patch creates WorkerTestUtils.webidl under dom/webidl for testing workers with internal APIs. These APIs are exposed to workers only and controlled by dom.workers.testing.enabled pref.

This patch creates a Mozilla-specific web-platform test, testing/web-platform/mozilla/test/workers/worker_timer_nesting_level.html, to test the timer nesting level implementation for workers.

To simplify the test implementation, this patch does not implement the webidl under dom/chrome-webidl/ suggested by D104136#3396152.

Depends on D104136

Differential Revision: https://phabricator.services.mozilla.com/D105332
2021-02-24 08:14:39 +00:00
Frederik Braun fe5b17c259 Bug 1664485 - update WPT for optional sanitize arguments r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D105954
2021-02-24 08:01:01 +00:00
Masayuki Nakano 1c60ca0e2c Bug 1691622 - part 12: Change the default unit of `screenX/Y` of `synthesizeNativeMouseEvent` from device pixels to CSS pixels r=smaug
For minimizing the previous patch changes, `scale`'s default value for
`screenX/Y` is treated as 1.0.  It means that `screenX/Y` are device
pixels by default, but `offsetX/Y` are in CSS pixels by default.  This
difference may make developers confused.  Therefore, we should align the
default unit of them to `screenPixelsPerCSSPixel`.  I.e., their default
unit becomes CSS pixels.

Differential Revision: https://phabricator.services.mozilla.com/D105929
2021-02-24 01:27:11 +00:00
Masayuki Nakano 876ef492b9 Bug 1691622 - part 11: Make mochitests stop using `nsIDOMWindowUtils.sendNativeMouseEvent` directly as far as possible r=smaug
For making the test framework/API change easier, such raw API shouldn't be
used directly.  Therefore, this patch makes tests using it directly stop
using it and use `synthesizeNativeMouseEvent` instead.

However, this patch does not fix `browser_touch_event_iframes.js` because
it accesses the API from `ContentTask`.  So, `EventUtils.js` isn't available
without larger change.

Note that this patch disables `test_bug596600.xhtml` because as I commented
in it, it's completely broken.  It depends on the race of next native event
loop and `waitForTick`, and this patch changes the result of the race.

Differential Revision: https://phabricator.services.mozilla.com/D105765
2021-02-24 01:27:11 +00:00
Masayuki Nakano b77b790e20 Bug 1691622 - part 10: Make `synthesizeNativeMouseEvent` take a button argument r=smaug
Now, it should take `button` argument whose default value is 0 (primary
button).

Differential Revision: https://phabricator.services.mozilla.com/D105764
2021-02-24 01:27:10 +00:00
Masayuki Nakano ef2253b4a1 Bug 1691622 - part 9: Make `nsIWidget::SynthesizeNativeMouseEvent` take an XP button ID and abstract message value r=smaug,geckoview-reviewers,agi,m_kato
Currently, it takes a raw native message value, but it makes JS content too
complicated.  And on Linux, it cannot synthesize non-primary button events
because GDK has only button press and release messages which dont' include
mouse button information.

For solving these problems, this patch creates a new abstract native message
as `nsIWidget::NativeMouseMessage` and makes each widget converts it to
a platform native message.

Additionally, this patch adds an argument to make it possible its callers
to specify pressing or releasing mouse button with a DOM mouse button value.

Note that the following patch adds new argument to
`synthesizeNativeEventMouse*` for mochitests and which will be tested by
new tests.

Differential Revision: https://phabricator.services.mozilla.com/D105763
2021-02-24 01:27:10 +00:00
Masayuki Nakano bc2a8bc131 Bug 1691622 - part 7: Merge `synthesizeNativeMouseMove*` with `synthesizeNativeMouseEvent*` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D105761
2021-02-24 01:27:09 +00:00
Masayuki Nakano 44ff291cb4 Bug 1691622 - part 6: Merge `synthesizeNativeMouseClick*` with `synthesizeNativeMouseEvent*` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D105760
2021-02-24 01:27:08 +00:00