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

58598 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 52eb0ef956 Bug 1694143 - [remote] Add wdspec tests for log.entryAdded r=webdriver-reviewers,whimboo
Depends on D124834

Differential Revision: https://phabricator.services.mozilla.com/D122529
2021-09-09 20:38:00 +00:00
James Graham 4c89478a70 Bug 1694143 - [remote] Ensure that asyncio event loop outlives webdriver connection r=webdriver-reviewers,whimboo
Depends on D122577

When using the BiDiSession class we need the event loop to live at
least as long as a specific connection, but not necessarily as long as
the BiDISession object itself. Therefore we move the loop parameter
into the start() method, to associate a loop with a specific connection.

In addition, in the tests we make the event loop a global so that it
lives as long as a session; the fixture is updated to reuse the
existing loop where possible. This has the tradeoff that we're more
likely to share a loop between tests, so there is some additional
hidden shared state.

Differential Revision: https://phabricator.services.mozilla.com/D124834
2021-09-09 20:37:59 +00:00
Julian Descottes 5f4903ba53 Bug 1694143 - [remote] Return remove_listener function from wdspec bidi client BiDiSession::add_event_listener r=webdriver-reviewers,whimboo
Depends on D122109

Differential Revision: https://phabricator.services.mozilla.com/D122577
2021-09-09 20:37:59 +00:00
Agi Sferro 9196fb7493 Bug 1729561 - Report error if not all junit tests run. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D124923
2021-09-09 15:57:32 +00:00
Joel Maher e2d4310529 Bug 1729726 - fix issue on windows where symlink doesn't work. r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D124927
2021-09-09 12:13:01 +00:00
Sandor Molnar 870ff4f480 Backed out 3 changesets (bug 1729477) for causing devtools failures in browser_webconsole_sidebar_object_expand_when_message_pruned. CLOSED TREE
Backed out changeset 8cbf3101ed8a (bug 1729477)
Backed out changeset 7457834fb7d0 (bug 1729477)
Backed out changeset 1259d2d1f247 (bug 1729477)
2021-09-09 03:55:31 +03:00
Emilio Cobos Álvarez 6a83d811fd Bug 1729477 - BrowserTestUtils.openNewWindowWithFlushedXULCacheForMozSupports should now clear the stylesheet cache.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2021-09-09 00:26:44 +02:00
Mike Hommey 8fda6d0a50 Bug 1729413 - Don't reset the environment when setting UPLOAD_PATH for make upload. r=releng-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D124895
2021-09-08 21:01:43 +00:00
Sebastian Hengst e8a10a0950 Bug 1729136 - set a step in initial-content-replacement.html as also intermittent on Linux opt. DONTBUILD
Test got added in bug 12721813 on Sep 03, previous adjustment was only for Linux debug.

Differential Revision: https://phabricator.services.mozilla.com/D124918
2021-09-08 15:02:39 +00:00
Connor Sheehan 2ebbff83c0 Bug 1723985: coerce exceptions to `str` and then `pycompat.bytestr` before displaying to screen r=mhentges
Adds exception formatting changes from version-control-tools to the
in-tree copy of `robustcheckout`.

Differential Revision: https://phabricator.services.mozilla.com/D124826
2021-09-08 14:41:43 +00:00
Nihanth Subramanya 1951210c53 Bug 1714182 - Don't fallback from DoH to native in cases of request failure. r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D123908
2021-09-08 14:36:07 +00:00
Jonathan Kew 6701c71e0c Bug 1729450 - Remove obsolete pref settings from WPT css-text-decor metadata, as we ship these features by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D124796
2021-09-08 12:39:40 +00:00
Jonathan Kew f3dee0bc40 Bug 1729450 - Fix up WPT reftests for text-decoration-emphasis-style-* to use more reliable ruby-based references. r=emilio
More emphasis testcases that fail because of reference renderings that don't quite match, in addition to
some simple typos ("sample" vs "Simple").

There's some redundancy here between the testcases coming from different authors, but for now I haven't
tried to rationalize that aside from dropping a duplicate individual test for 'filled dot'.

Differential Revision: https://phabricator.services.mozilla.com/D124795
2021-09-08 12:39:40 +00:00
Jonathan Kew 16998472a7 Bug 1729450 - Fix the text-emphasis-position-* testcases/references to render consistently. r=emilio
The text-emphasis-position testcases do not match the current spec, as they use the keywords 'above'
and 'below', whereas CSS Text Decorations actually specifies 'over' and 'under'. (I guess they were
created before the values were finalized.)

We also need to convert the reference lines from using abs-pos to try and simulate emphasis mark rendering
to a ruby-based version, as this is how the spec defines the rendering of the marks. The abs-pos approach
is at best an approximation, and will result in spurious reftest failures even when the emphasis properties
are working as intended.

Depends on D124793

Differential Revision: https://phabricator.services.mozilla.com/D124794
2021-09-08 12:39:39 +00:00
Jonathan Kew 4ca9628e30 Bug 1729450 - Fix reference elements for text-emphasis-color.html to reliably match the expected rendering. r=emilio
The screenshots of this testcase show that even though the text-emphasis-color property is working
as expected, the reftest nevertheless fails because the exact position of the emphasis marks
does not match between test and reference.

Applying the suggested IPAMincho font, which has fixed-width Latin characters, in place of the
default (proportional) font makes it come closer to matching, but still not quite.

The root of the problem is that it tries to compare the rendering of emphasis marks with a
"simulated" emphasis mark created by reducing the font size and using absolute positioning to
try and put the mark in a suitable position. However, the actual rendering of the emphasis mark
is not defined in such terms, and matching it will be difficult and fragile.

The spec actually defines the rendering of emphasis marks to be equivalent to ruby text, so a
more reliably correct reference rendering can be created using ruby elements with the expected
emphasis-mark characters. (I note that there are already some emphasis testcases that use this
approach.)

Differential Revision: https://phabricator.services.mozilla.com/D124793
2021-09-08 12:39:39 +00:00
Emilio Cobos Álvarez 1fc2475b41 Bug 1729289 - Fix layer statement with nested layer names. r=boris
When we had:

  @layer A.B;

We were registering "A" and "B", not "A" and "A.B", which was the intention.

Fix is trivial.

Depends on D124620

Differential Revision: https://phabricator.services.mozilla.com/D124621
2021-09-08 11:17:04 +00:00
Emilio Cobos Álvarez f4095b3242 Bug 1729289 - Fix out of order child layer registration, and enable the tests. r=boris
This makes layer order use a fixed set of bits per nesting level, to "reserve"
bits for children before they are registered.

See the comment in LayerOrder for the implementation limits it imposes, and
potential alternatives if these limits are not enough (but I think they should
be).

Enable the tests, as they mostly pass now (commit incoming to fix the remaining
ones).

Differential Revision: https://phabricator.services.mozilla.com/D124620
2021-09-08 11:17:04 +00:00
Mike Hommey a8480fc1c2 Bug 1729383 - Move sccache shutdown back to client.mk. r=firefox-build-system-reviewers,mhentges
It was moved in bug 1495798 for rusttests, because they didn't use
client.mk, but as of bug 1683797, they do. And it turns out that when
sccache is really started as originally intended, inheriting the make
jobserver, the build is dead-locked until sccache quits (because sccache
still has a jobserver token for some reason). But sccache never quits
when we make it stop outside client.mk.

Differential Revision: https://phabricator.services.mozilla.com/D124728
2021-09-08 00:10:22 +00:00
Joel Maher 68d16909de Bug 1728739 - Fix unicode error on when logging browsertime results on windows. r=ahal,perftest-reviewers,kimberlythegeek
Differential Revision: https://phabricator.services.mozilla.com/D124506
2021-09-07 20:48:37 +00:00
Cosmin Sabou ea371f72db Backed out 4 changesets (bug 1729450) for wr failures on text-emphasis-style. CLOSED TREE
Backed out changeset 798e26d71dfc (bug 1729450)
Backed out changeset 29f3f16dcd31 (bug 1729450)
Backed out changeset ed14cda4f033 (bug 1729450)
Backed out changeset e3ee29b05f7b (bug 1729450)
2021-09-07 22:42:43 +03:00
Sean Feng edd32c24fc Bug 1413836 - Use Ahem font to avoid antialiased fringe for focus-pseudo-on-shadow-host-2.html r=dholbert
When the `FAIL` text goes away, there could be some antialiased fringe left which
caused the test to fail. Use Ahem font to reduce likelihood of this
happening again.

Depends on D124067

Differential Revision: https://phabricator.services.mozilla.com/D124423
2021-09-07 15:01:37 +00:00
Sean Feng 52f868d839 Bug 1413836 - Add a test to ensure :focus is applied to host when the focus is moved by <tab> r=smaug
Depends on D123863

Differential Revision: https://phabricator.services.mozilla.com/D124067
2021-09-07 15:01:37 +00:00
Sean Feng a51a1d12bd Bug 1413836 - Add a test to ensure :focus is removed from the hosts r=smaug
When none of the elements inside the shadow dom is focused, :focus
should be removed from the hosts.

Differential Revision: https://phabricator.services.mozilla.com/D123863
2021-09-07 15:01:37 +00:00
Sean Feng b0ccac86c6 Bug 1413836 - Avoid nested focus steps in focus-pseudo-matches-on-shadow-host.html r=smaug
The autofocus attribute could run scripts while it's autofocusing
which may run the promise_tests, so that the focus() usage
in the tests could become nested focusing steps.

Differential Revision: https://phabricator.services.mozilla.com/D123861
2021-09-07 15:01:36 +00:00
Sean Feng d9b1c6efa8 Bug 1413836 - Add a test to ensure delegatesFocus works correctly with real click on nested shadow dom trees r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D123860
2021-09-07 15:01:35 +00:00
Sean Feng 4cdd0bc0e1 Bug 1413836 - Enable WPT for delegatesFocus r=smaug
Depends on D123858

Differential Revision: https://phabricator.services.mozilla.com/D123859
2021-09-07 15:01:35 +00:00
Sean Feng 9b57d02044 Bug 1413836 - Add delegatesFocus attribute to shadow dom r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D123858
2021-09-07 15:01:34 +00:00
Jonathan Kew bbe656b884 Bug 1729450 - Remove obsolete pref settings from WPT css-text-decor metadata, as we ship these features by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D124796
2021-09-07 14:26:03 +00:00
Jonathan Kew 259dedafc7 Bug 1729450 - Fix up WPT reftests for text-decoration-emphasis-style-* to use more reliable ruby-based references. r=emilio
More emphasis testcases that fail because of reference renderings that don't quite match, in addition to
some simple typos ("sample" vs "Simple").

There's some redundancy here between the testcases coming from different authors, but for now I haven't
tried to rationalize that aside from dropping a duplicate individual test for 'filled dot'.

Depends on D124794

Differential Revision: https://phabricator.services.mozilla.com/D124795
2021-09-07 14:26:03 +00:00
Jonathan Kew 0a5e26e387 Bug 1729450 - Fix the text-emphasis-position-* testcases/references to render consistently. r=emilio
The text-emphasis-position testcases do not match the current spec, as they use the keywords 'above'
and 'below', whereas CSS Text Decorations actually specifies 'over' and 'under'. (I guess they were
created before the values were finalized.)

We also need to convert the reference lines from using abs-pos to try and simulate emphasis mark rendering
to a ruby-based version, as this is how the spec defines the rendering of the marks. The abs-pos approach
is at best an approximation, and will result in spurious reftest failures even when the emphasis properties
are working as intended.

Depends on D124793

Differential Revision: https://phabricator.services.mozilla.com/D124794
2021-09-07 14:26:02 +00:00
Jonathan Kew ae770f9bd3 Bug 1729450 - Fix reference elements for text-emphasis-color.html to reliably match the expected rendering. r=emilio
The screenshots of this testcase show that even though the text-emphasis-color property is working
as expected, the reftest nevertheless fails because the exact position of the emphasis marks
does not match between test and reference.

Applying the suggested IPAMincho font, which has fixed-width Latin characters, in place of the
default (proportional) font makes it come closer to matching, but still not quite.

The root of the problem is that it tries to compare the rendering of emphasis marks with a
"simulated" emphasis mark created by reducing the font size and using absolute positioning to
try and put the mark in a suitable position. However, the actual rendering of the emphasis mark
is not defined in such terms, and matching it will be difficult and fragile.

The spec actually defines the rendering of emphasis marks to be equivalent to ruby text, so a
more reliably correct reference rendering can be created using ruby elements with the expected
emphasis-mark characters. (I note that there are already some emphasis testcases that use this
approach.)

Differential Revision: https://phabricator.services.mozilla.com/D124793
2021-09-07 14:26:02 +00:00
Emilio Cobos Álvarez 5952ced8ab Bug 1701942 - Crashtest. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D110521
2021-09-07 14:09:16 +00:00
Kimberly Sereduck a3bf13acf6 Bug 1724261: Update buzzfeed to navigate to sub-page r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D124077
2021-09-07 13:58:58 +00:00
Masayuki Nakano 791b8c91ec Bug 1729385 - Port layout/generic/test_bug527306.html to WPT r=emilio
It's interesting case, and it perhaps should be tested in WPT for web-compat.
Chrome 93 passes all tests in the new WPTs, but Gecko fails in the cases of
related to focus (i.e., `execCommand` and user input).

Differential Revision: https://phabricator.services.mozilla.com/D124725
2021-09-07 12:46:23 +00:00
Andreea Pavel 66acce5a5b Bug 1660854 - disable accessibility/simple.js on Win due to frequent failures r=perftest-reviewers,jdescottes,AlexandruIonescu DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124574
2021-09-07 11:04:14 +00:00
Sebastian Hengst 6c4c745f97 Bug 1729377 - adjust expectations for secure-payment-confirmation tests on Windows code coverage. DONTBUILD
Revert change to exit state of test in bug 1728946 and add remaining adjustment for other test.

Depends on D124749

Differential Revision: https://phabricator.services.mozilla.com/D124750
2021-09-07 10:00:47 +00:00
Sebastian Hengst 0bf5676258 Bug 1729378 - switch web-share/share-empty.https.html back to exiting OK. DONTBUILD
Expectation got added in bu 1728958

Differential Revision: https://phabricator.services.mozilla.com/D124749
2021-09-07 10:00:46 +00:00
Emilio Cobos Álvarez 580e65503f Bug 1729292 - Honor scroll margin of host when we're scrolling to a chrome-only-access element. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D124691
2021-09-07 08:24:59 +00:00
Henrik Skupin 43a19da111 Bug 1722471 - [mozdevice-rust] Use host-serial for "kill_forward_port" and "kill_forward_all_ports". r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D122581
2021-09-06 18:51:34 +00:00
Jonathan Kew 6dbef6ba5d Bug 1729147 - Fix the serialization order for the text-decoration shorthand to match the canonical order in the spec. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D124536
2021-09-06 18:22:37 +00:00
Henrik Skupin d6188c9ce0 Bug 1725683 - [wdspec] Session fixtures should not ignore "session not created" errors. r=webdriver-reviewers,jgraham
Right now we ignore all the possible thrown "session not created"
errors unless the session id is not set. This is specifically
problematic for the BiDi session creation, which would fail
silently in case it cannot be created.

Differential Revision: https://phabricator.services.mozilla.com/D122625
2021-09-06 16:34:42 +00:00
Jamie Nicol 15d74fcee2 Bug 1728064 - Add test to ensure shaders don't contain flat scalar varyings on android. r=gfx-reviewers,kvark
There is a driver bug on Adreno 3xx devices causing incorrect
rendering when flat scalar varyings are used in fragment shaders. This
has occured several times in different shaders, so this patch finally
adds a test to ensure it does not occur again.

We have used the glsl crate to parse and validate the shaders rather
than angle, as exposing the required bindings to mozangle is messy. We
must therefore use the pre-optimized shaders as the glsl crate does
not handle preprocessor directives correctly.

This has been implemented as a wrench test rather than a unit test as
running unit tests on android is difficult. Additionally we want to
use the shaders specific to the platform the tests are ran on, the bug
only affects (some) android devices, and shaders on other platforms
may differ.

Differential Revision: https://phabricator.services.mozilla.com/D124205
2021-09-06 13:56:58 +00:00
Marian-Vasile Laza c39298632e Backed out 2 changesets (bug 1728064) for causing webrender bustages. CLOSED TREE
Backed out changeset 9c7077da42f2 (bug 1728064)
Backed out changeset 4daf6a7a42f7 (bug 1728064)
2021-09-06 15:10:51 +03:00
Sebastian Hengst d4c6fa9cfe Bug 1728819 - deduplicate and operator in expectation for iframe_sandbox_window_open_download_block_downloads.tentative.html (wpt-fix). DONTBUILD CLOSED TREE 2021-09-06 13:47:51 +02:00
Jamie Nicol 7542987dcd Bug 1728064 - Add test to ensure shaders don't contain flat scalar varyings on android. r=gfx-reviewers,kvark
There is a driver bug on Adreno 3xx devices causing incorrect
rendering when flat scalar varyings are used in fragment shaders. This
has occured several times in different shaders, so this patch finally
adds a test to ensure it does not occur again.

We have used the glsl crate to parse and validate the shaders rather
than angle, as exposing the required bindings to mozangle is messy. We
must therefore use the pre-optimized shaders as the glsl crate does
not handle preprocessor directives correctly.

This has been implemented as a wrench test rather than a unit test as
running unit tests on android is difficult. Additionally we want to
use the shaders specific to the platform the tests are ran on, the bug
only affects (some) android devices, and shaders on other platforms
may differ.

Differential Revision: https://phabricator.services.mozilla.com/D124205
2021-09-06 11:20:48 +00:00
Sebastian Hengst 75e2ba7bb8 Bug 1729136 - set a step in initial-content-replacement.html as intermittent. DONTBUILD
Test got added in bug 12721813 on Sep 03.

Differential Revision: https://phabricator.services.mozilla.com/D124617
2021-09-06 11:10:50 +00:00
Sebastian Hengst cf231cb8de Bug 1728958 - set resource-timing/TAO-match.html as passing permanently and share-empty.https.html as failing for Windows code coverage. DONTBUILD
TAO-match.html had been reenabled in bug 1726445 on Sep 03.
share-empty.https.html had been modified in bug 1726091 on Sep 03.

Differential Revision: https://phabricator.services.mozilla.com/D124616
2021-09-06 11:10:49 +00:00
Sebastian Hengst 3af6b68ce6 Bug 1728946 - adjust expectations for secure-payment-confirmation-enrollment.https.html running under code coverage. DONTBUILD
Test got added in bug 1727231 on Sep 02.

Differential Revision: https://phabricator.services.mozilla.com/D124615
2021-09-06 11:10:49 +00:00
Sebastian Hengst 3454431c2e Bug 1728878 - set image-loading-lazy-negative-margin.html as intermittent on Linux debug. DONTBUILD
Test got added in bug 1728256 on Sep 03.

Differential Revision: https://phabricator.services.mozilla.com/D124614
2021-09-06 11:10:48 +00:00
Sebastian Hengst d3e413902d Bug 1728819 - set iframe_sandbox_window_open_download_block_downloads.tentative.html as intermittent on Linux opt. DONTBUILD
Test got added on Sep 03 in bug 1720857.

Differential Revision: https://phabricator.services.mozilla.com/D124613
2021-09-06 11:10:48 +00:00