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

54581 Коммитов

Автор SHA1 Сообщение Дата
Jamie Nicol b696e62540 Bug 1700693 - Add wrench test for successful shader compilation. r=jrmuizel
Add a new `test_init` subcommand to wrench that tests for successful
initialization. This can then be used in combination with the
`--precache` flag to ensure that all shaders are compiled
successfully. Run this with and without `--use-unoptimized-shaders` to
ensure that both variants of the shaders compile.

For android we need to ensure that wrench terminates the process when
it completes successfully otherwise it will run forever. We also must
ensure that the test harness stops the old process before relaunching
the activity one in the case of a timeout.

Depends on D109773

Differential Revision: https://phabricator.services.mozilla.com/D109774
2021-03-25 18:43:23 +00:00
Florian Quèze 0815ca71ee Bug 1596165 - Remove the initial timer in TestUtils.waitForCondition, r=Gijs.
Depends on D108010

Differential Revision: https://phabricator.services.mozilla.com/D108011
2021-03-25 18:30:07 +00:00
Sebastian Hengst 7b3427478a Bug 1700568 - set a step in a cookies test as intermittent on Linux debug. DONTBUILD
Test step got added in bug 1698621.

Differential Revision: https://phabricator.services.mozilla.com/D109770
2021-03-25 18:27:23 +00:00
Sebastian Hengst 72a4e5df9a Bug 1700677 - set layout.css.font-metrics-overrides.enabled to let css-fonts test pass with Beta and Release. r=jfkthame DONTBUILD
They are slated to ride the trains starting with this cycle (Gecko 89).

@font-face metrics override is only enabled in Nightly and controlled by the
preference layout.css.font-metrics-overrides.enabled (added in bug 1681691).

Differential Revision: https://phabricator.services.mozilla.com/D109651
2021-03-25 17:57:42 +00:00
Doug Thayer ec23c3ca31 Bug 1693133 - Fix resetProfile.xhtml tests r=Gijs
BrowserTestUtils.promiseAlertDialog and friends account for commonDialog.xhtml,
but not other dialogs which go through gDialogBox. This fixes that by adding a
inWindowDialog option to promiseAlertDialog. I don't like this solution very
much - it requires all of these dialogs to fire the event themselves. An
alternative might be putting this code in some file which these all include,
but given how small the code is that feels like overkill. Alternatives welcome.

Differential Revision: https://phabricator.services.mozilla.com/D109674
2021-03-25 17:28:56 +00:00
Henrik Skupin 15fa348d97 Bug 1700959 - [marionette] Always lazy-load dependent modules for the Marionette component. r=marionette-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D109538
2021-03-25 14:25:09 +00:00
Henrik Skupin c4a5780b6f Bug 1680407 - [mozdevice-rust] Use sdcard as storage by default for rooted and unrooted devices. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D109586
2021-03-25 13:34:29 +00:00
Henrik Skupin 78a8aa907b Bug 1680407 - [geckodriver] Use $EXTERNAL_STORAGE environment variable to detect sdcard location. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D109585
2021-03-25 13:34:28 +00:00
Alex Ionescu 71a40d3c72 Bug 1696650 - Migrate wasm-misc to browsertime desktop r=perftest-reviewers,Bebe
Latest build: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c6da5ab692705d6bee29fc2aa7ed76c42c60e1a1
Please leave the landing to the author of the patch!

Differential Revision: https://phabricator.services.mozilla.com/D109061
2021-03-25 12:29:09 +00:00
Alex Ionescu 9af6266a0b Bug 1692460 - Migrate unity-webgl to browsertime desktop r=perftest-reviewers,Bebe
Latest build: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ca96eea4d042cdb24fdf10739e3a184ea22a8f0e
Please leave the landing to the author of the patch!

Differential Revision: https://phabricator.services.mozilla.com/D106938
2021-03-25 12:29:09 +00:00
Alex Ionescu 4ac9eb1363 Bug 1690109 - Migrate jetstream2 to browsertime desktop r=perftest-reviewers,Bebe
Latest build: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5dcfa288eee29ced58dfb6389484946b133f58e0
Please leave the landing to the author of the patch!

Differential Revision: https://phabricator.services.mozilla.com/D106937
2021-03-25 12:29:08 +00:00
Alex Ionescu a259dbd7d7 Bug 1690060 - Migrate assorted-dom to browsertime desktop r=perftest-reviewers,Bebe
Latest build: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6172463451cf5b6f908d1c4e279a305d5d2aad16
Please leave the landing to the author of the patch!

Differential Revision: https://phabricator.services.mozilla.com/D106936
2021-03-25 12:29:08 +00:00
Alex Ionescu ea243fc1ab Bug 1692854 - Migrate sunspider to browsertime desktop r=perftest-reviewers,Bebe
Latest build: https://treeherder.mozilla.org/#/jobs?repo=try&revision=bbc8933ad3a50c0acbe020cf1f7074122263077b
Please leave the landing to the author of the patch!

Differential Revision: https://phabricator.services.mozilla.com/D106935
2021-03-25 12:29:07 +00:00
Alex Ionescu 06a35153dd Bug 1692461 - Migrate wasm-godot to browsertime desktop r=perftest-reviewers,Bebe
Latest build: https://treeherder.mozilla.org/jobs?repo=try&tier=1%2C2%2C3&revision=96e7ed7dcccef459465e6eab85884a8e0990ff5a
Please leave the landing to the author of the patch!

Differential Revision: https://phabricator.services.mozilla.com/D106934
2021-03-25 12:29:07 +00:00
Alex Ionescu b11a35b555 Bug 1692821 - Migrate webaudio to browsertime desktop r=perftest-reviewers,Bebe
Latest build: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e3aa1b7f74d905e8565b4afb2f62dc7b984381da
Please leave the landing to the author of the patch!

Differential Revision: https://phabricator.services.mozilla.com/D106930
2021-03-25 12:29:05 +00:00
Alex Ionescu 38e2e15223 Bug 1690746 - Browsertime benchmark measurements are generated only after the page load event r=perftest-reviewers,alexandru.irimovici,sparky
Please leave the landing to the author of the patch!
Build with all benchmarks running: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7c672d70f770f207c746ca39b00abf7f29013a48

Differential Revision: https://phabricator.services.mozilla.com/D106923
2021-03-25 12:29:05 +00:00
Emilio Cobos Álvarez a7f14f1da3 Bug 1700640 - Annotate an extra reftest pass.
MANUAL PUSH: new passes CLOSED TREE
2021-03-25 00:54:57 +01:00
Brindusan Cristian 53931c7cda Backed out 2 changesets (bug 1596165) for bc failures in browser_bookmarkProperties_folderSelection.js and browser_doorhanger_submit_telemetry.js. CLOSED TREE
Backed out changeset 4eccbb3d6549 (bug 1596165)
Backed out changeset 7d8fb53c8fcb (bug 1596165)
2021-03-25 00:48:01 +02:00
Emilio Cobos Álvarez 7f5364389c Bug 1700640 - Map width and height to aspect-ratio in <canvas>, <input type=image>, and <video>. r=boris
As per https://html.spec.whatwg.org/#attributes-for-embedded-content-and-images:

> The width and height attributes map to the aspect-ratio property on
> img, canvas, and video elements, and input elements with a type
> attribute in the Image Button state.

See https://github.com/whatwg/html/issues/6527 for the parsing issue
with canvas and zero. For now allow both behaviors in the tests.

We also remove the width-and-height-map-to-aspect-ratio pref, as it is
true everywhere and has been for a while.

Differential Revision: https://phabricator.services.mozilla.com/D109618
2021-03-24 22:18:55 +00:00
Agi Sferro 3120e2e816 Bug 1567341 - Run xpcshell-test in a service on Android. r=firefox-build-system-reviewers,mhentges
This is done so that xpcshell-test runs with a Dalvik VM and has access to all
the java-implemented bits of GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D106213
2021-03-24 21:49:39 +00:00
Agi Sferro bc9ab239dc Bug 1567341 - Add --no-install to xpcshell-test for Android. r=firefox-build-system-reviewers,nalexander
This is consistent to geckoview-junit and mochitest.

Differential Revision: https://phabricator.services.mozilla.com/D106210
2021-03-24 21:49:37 +00:00
Agi Sferro 122215de9e Bug 1567341 - Send arguments using array instead of one string in adb.py. r=firefox-build-system-reviewers,mhentges,owlish
Sending arguments in one string breaks arguments that contain a space, e.g. in
xpcshell-test.

Differential Revision: https://phabricator.services.mozilla.com/D106208
2021-03-24 21:49:37 +00:00
Agi Sferro 92b119c179 Bug 1567341 - Add _TEST_CWD to xpcshell's head.js file. r=jmaher
This variable can be used by platforms to modify the current directory, useful
on Android as the process where the xpcshell test runs does not really have the
concept of CWD.

Differential Revision: https://phabricator.services.mozilla.com/D106207
2021-03-24 21:49:36 +00:00
Agi Sferro 1a5219c2fd Bug 1567341 - Add launch_service to adb.py. r=firefox-build-system-reviewers,gbrown,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D106206
2021-03-24 21:49:36 +00:00
Agi Sferro 1f3a058709 Bug 1567341 - Properly initialize GeckoView in xpcshell-test. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D106202
2021-03-24 21:49:34 +00:00
Alexandru Michis 497409d76e Backed out 24 changesets (bug 1567341) for causing xpcshell failures in test_telemetry.js
CLOSED TREE

Backed out changeset deb795c7d0ed (bug 1567341)
Backed out changeset 62d24a3e5e33 (bug 1567341)
Backed out changeset 1185cabd94e0 (bug 1567341)
Backed out changeset 73a4ae419261 (bug 1567341)
Backed out changeset b6eb111329f3 (bug 1567341)
Backed out changeset 0dc0bfedc042 (bug 1567341)
Backed out changeset 9dca635e41d7 (bug 1567341)
Backed out changeset c34928580933 (bug 1567341)
Backed out changeset f9ba384bb407 (bug 1567341)
Backed out changeset ec25c2df380e (bug 1567341)
Backed out changeset 9e8ea542b51e (bug 1567341)
Backed out changeset 3dc62863a028 (bug 1567341)
Backed out changeset 6c104f865540 (bug 1567341)
Backed out changeset c422ca4207ea (bug 1567341)
Backed out changeset e3df748ed62f (bug 1567341)
Backed out changeset 9d1f27796a97 (bug 1567341)
Backed out changeset 1d93ba23f809 (bug 1567341)
Backed out changeset 55652f6af6ed (bug 1567341)
Backed out changeset 9fb892955a88 (bug 1567341)
Backed out changeset 1cdd95c43416 (bug 1567341)
Backed out changeset 5a839d5e3e33 (bug 1567341)
Backed out changeset ea84b5749a27 (bug 1567341)
Backed out changeset dcb1ae146475 (bug 1567341)
Backed out changeset d72accc274ac (bug 1567341)
2021-03-24 23:37:43 +02:00
Brindusan Cristian 2586a80626 Backed out changeset d47a138a3b50 (bug 1668903) for causing xpcshell failures. CLOSED TREE 2021-03-24 23:22:21 +02:00
Florian Quèze 829131f372 Bug 1596165 - Remove the initial timer in TestUtils.waitForCondition, r=Gijs.
Depends on D108010

Differential Revision: https://phabricator.services.mozilla.com/D108011
2021-03-24 20:46:14 +00:00
Emilio Cobos Álvarez 9d7bb1aa62 Bug 1668903 - Port dmd.py to python3. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D98927
2021-03-24 20:45:56 +00:00
Agi Sferro de7c562dd2 Bug 1567341 - Run xpcshell-test in a service on Android. r=firefox-build-system-reviewers,mhentges
This is done so that xpcshell-test runs with a Dalvik VM and has access to all
the java-implemented bits of GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D106213
2021-03-24 20:20:02 +00:00
Agi Sferro af745a8adf Bug 1567341 - Add --no-install to xpcshell-test for Android. r=firefox-build-system-reviewers,nalexander
This is consistent to geckoview-junit and mochitest.

Differential Revision: https://phabricator.services.mozilla.com/D106210
2021-03-24 20:20:01 +00:00
Agi Sferro 17a5705ca2 Bug 1567341 - Send arguments using array instead of one string in adb.py. r=firefox-build-system-reviewers,mhentges,owlish
Sending arguments in one string breaks arguments that contain a space, e.g. in
xpcshell-test.

Differential Revision: https://phabricator.services.mozilla.com/D106208
2021-03-24 20:20:00 +00:00
Agi Sferro c553c5f3d3 Bug 1567341 - Add _TEST_CWD to xpcshell's head.js file. r=jmaher
This variable can be used by platforms to modify the current directory, useful
on Android as the process where the xpcshell test runs does not really have the
concept of CWD.

Differential Revision: https://phabricator.services.mozilla.com/D106207
2021-03-24 20:19:59 +00:00
Agi Sferro cc2c44abef Bug 1567341 - Add launch_service to adb.py. r=firefox-build-system-reviewers,gbrown,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D106206
2021-03-24 20:19:59 +00:00
Agi Sferro 352b889c93 Bug 1567341 - Properly initialize GeckoView in xpcshell-test. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D106202
2021-03-24 20:19:57 +00:00
Andreu Botella 045a9ed26a Bug 1459859 - Treat an empty <input type=file> as an empty File in FormData. r=smaug,robwu
This patch changes the value of an empty `<input type=file>` control as obtained from the `FormData` API, which used to be an empty string, to be a `File` object with empty contents, whose name is the empty string and whose type is `"application/octet-stream"`.

Differential Revision: https://phabricator.services.mozilla.com/D106605
2021-03-24 18:43:58 +00:00
Daniel Holbert 8321d164c4 Bug 1700416: Fix problems with WPT test "scaley.html" that were preventing it from passing in any browser. r=TYLin
This test had a number of issues that were preventing it from passing in any
browser.  After this patch, it passes in Firefox at least, and I suspect it'll
pass in other browsers as well.

Problems with the test that are fixed here (all of which were keeping this test
from passing):
 - The descriptive text on the page was different ("box." vs "area"), between
   the testcase and reference case.
 - The testcase had a margin on this text, for no clear reason.
 - The reference case had a border around the scaled-up green div, whereas
   the testcase doesn't (making them mismatch by the size of that border).

And while I'm at it, I'm making minor edits...
 - making the indentation more consistent.
 - switching to the HTML5 standards-mode doctype (since the testcase isn't
   doing anything relevant to quirks-mode that would require a legacy doctype).
 - removing the unused ".hidden" CSS rule from the reference case.

This makes the testcase and reference case more usefully diffable.

Differential Revision: https://phabricator.services.mozilla.com/D109524
2021-03-24 18:41:59 +00:00
ankur 32bf182577 Bug 1695253 - Replaced DTD/xhtml1-strict.dtd which lead to broken network loads. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D109379
2021-03-24 16:52:06 +00:00
alwu 77a4676ed2 Bug 1130973 - re-enable wpt 'mediasource-config-change-mp4-av-audio-bitrate.html'. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D109634
2021-03-24 16:36:10 +00:00
alwu 229cc80e03 Bug 1130973 - re-enable wpt 'mediasource-config-change-mp4-a-bitrate.html'. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D109553
2021-03-24 16:36:09 +00:00
alwu 82ff79f25e Bug 1700461 - Remove useless '.ini' files for MSE wpt. r=bryce
These `.ini` files only include a line to enable the pref media.mediasource.enabled, but that pref is always true by default in the wpt environment, so we don't need those files anymore.

Differential Revision: https://phabricator.services.mozilla.com/D109554
2021-03-24 16:31:28 +00:00
Csoregi Natalia 2ca60f01bc Backed out changeset 57563a99fe53 (bug 1459859) for failures on test_ext_webrequest_upload.html. CLOSED TREE 2021-03-24 14:08:13 +02:00
Andreu Botella b2d31f19aa Bug 1459859 - Treat an empty <input type=file> as an empty File in FormData. r=smaug
This patch changes the value of an empty `<input type=file>` control as obtained from the `FormData` API, which used to be an empty string, to be a `File` object with empty contents, whose name is the empty string and whose type is `"application/octet-stream"`.

Differential Revision: https://phabricator.services.mozilla.com/D106605
2021-03-24 11:11:25 +00:00
Dave Hunt f7f9d0978a Bug 1670005 - Remove all references to Fennec from performance testing r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D109486
2021-03-24 10:44:22 +00:00
Masayuki Nakano d68f6fc838 Bug 1220696 - part 6: Support `insertLineBreak` and `insertParagraphSeparator` commands in `<textarea>` r=smaug
Those command handlers just check whether the given editor is an `HTMLEditor`
or not.  Therefore, we should make them check whether the given editor is
a single line editor or not instead.

Differential Revision: https://phabricator.services.mozilla.com/D108572
2021-03-24 01:55:09 +00:00
Masayuki Nakano fad3ed3447 Bug 1220696 - part 5: Support "contentReadOnly" and "getHTML" commands in `<input>` and `<textarea>` r=smaug
Although these commands supported supported only by Gecko, we shouldn't stop
supporting them unless we know the usage in the wild.  Therefore, this patch
adds the handling code for `TextEditor` too.

Differential Revision: https://phabricator.services.mozilla.com/D108571
2021-03-24 01:55:09 +00:00
Masayuki Nakano b2fd51c051 Bug 1220696 - part 4: Make `Document` consider whether the target is editable or not-editable with target editor r=smaug
Currently, `Document` checks it only with whether the document is editable
or not.  Only with this check, `execCommand` and the other related methods
work only when there is `contenteditable`.

Therefore, this patch makes it to check whether the target is editable or not
with target editor.

Differential Revision: https://phabricator.services.mozilla.com/D108570
2021-03-24 01:55:08 +00:00
Masayuki Nakano f956ee81ea Bug 1220696 - part 3: Make `AutoEditorCommandTarget` consider command handling editor with command and focused `TextEditor` or `HTMLEditor` r=smaug
For making `execCommand` and related methods with `<input>` and `<textarea>`
even if they are in `contenteditable` and focused, command should be handled
in active editor (focused editor if in foreground window and tab).

However, some commands should be handled by `HTMLEditor` even if an `TextEditor`
has focus.  Therefore, this patch adds new enum class which have 3 state into
`InternalCommandData` and makes `AutoEditorCommandTarget` consider it with the
enum class.

Note that the new failures about `contentReadOnly` command will be fixed by
a following patch.

Differential Revision: https://phabricator.services.mozilla.com/D108569
2021-03-24 01:55:08 +00:00
Masayuki Nakano 0da46f4723 Bug 1220696 - part 0: Update `exec-command-with-text-editor.tentative.html` for testing the following patches more r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D108566
2021-03-24 01:55:06 +00:00
Butkovits Atila 3361c11f7d Backed out 7 changesets (bug 1220696) for causing build bustages. CLOSED TREE
Backed out changeset 1ad2d5c0f253 (bug 1220696)
Backed out changeset 5e2f62a11d95 (bug 1220696)
Backed out changeset 07012ed7a30e (bug 1220696)
Backed out changeset a4e90de9355d (bug 1220696)
Backed out changeset 63ec6c3d05fd (bug 1220696)
Backed out changeset f165f45f8e1a (bug 1220696)
Backed out changeset ade95bf58db4 (bug 1220696)
2021-03-24 01:34:56 +02:00