Automatic update from web-platform-tests[idlharness.js] Check idl_test setup func defined (#12143)
Allows the function to be unspecified/null rather than a no-op func.
--
wpt-commits: 67a2edf00ac1e65c6336d3f47638c73c339015d7
wpt-pr: 12143
Automatic update from web-platform-testsSimplify the embedded-enforcement IDL test (#11719)
--
wpt-commits: 5014b841d7841330446ee045d3ced8bf4168900f
wpt-pr: 11719
Automatic update from web-platform-testsEnable LSAN Leak detection in wpt
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: e0d106c2112dd6845ca75414258ab74e5ed73d87
gecko-integration-branch: mozilla-inbound
gecko-reviewers: ahal, mccr8
--
Allow wpt manifest files to specify LSAN errors to ignore
This adds a property lsan-allowed to the expectation manifest files
that takes a list of strings. Any entry in the list that matches a
frame in an LSAN stack will cause that stack to be regarded as an
expected failure.
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: b8da0ef2695d8bca1c11b44447a71cef5ce5b3fc
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf
--
Log run-by-dir setting
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: 5b9ba77b7316c8ee1d0dac117e33685ebdfe22bc
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf
--
Support skipping output lines in handlers
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: 7c976baa71947b409f92ffd64583440b9a2836b9
gecko-integration-branch: mozilla-inbound
gecko-reviewers: ato
--
Add group_metadata to test group metadata and pass it through to the browser
This initially contains a scope entry which is set to the base directory of
the tests being run. Typically this is /, but with run_by_dir, it's the
path to the current run_by_dir group e.g. /html/semantics/form_elements/
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: 07049ac67119a90a0708b0d511562695f725dd9c
gecko-integration-branch: mozilla-inbound
gecko-reviewers: ato
--
Add support for updating LSAN data in wpt-update
LSAN data differs from existing expectation data because the data is
only generated when the browser exits, so the problems reported can
happen at any point in the current session. We use the `scope`
property in the log message to determine the path to a __dir__.ini
file that covers all the tests run in the session, and add the LSAN
exclusion rules to there.
The rules themselves are generated by taking the topmost frame of any
stack that's reported as unexpectedly leaking, and adding that to the
list of permitted frames in the lsan-allowed property. We never remove
entries from this list since intermittents may be present which won't
appear on a specific run. Instead we rely on humans fixing the issues
to also clean up the expectation files.
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: 9e8a66385f66f89f8cf2c9a18edf008496fa89fa
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf
--
Always try to process the leak log whenever we stop firefox
The `stop` method is always called to shutdown firefox, but the
cleanup method is only called at the end of a test run. Therefore we
need all the leak processing stuff ot happen in stop().
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: 8cc292a22975583f985da521544b08cf36be6517
gecko-integration-branch: mozilla-inbound
gecko-reviewers: ato
--
Support creating ConditionalValue objects containing a list
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: c1ebcf01626ac0e0b23cad5c80ad04ac467fd893
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf
--
Support a __dir__.ini file in the metadata root
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: 0e161374b583a7637db664473e441a1567e82a5b
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf
--
Fix updating assert count when there's an exising value
In this case we want to take the existing value into account, and update
to 1 more than the new value (in the max-asserts case).
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: 0f2a7154454ceec763bd64597ad9e3155c8d091c
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf
--
Refactor data storage in metadata.py
Previously we were holding a map of test id -> test and test ->
expectation data. But this is an unnecessary layer of indirection, and
it works perfectly well to map test id to the expectation data
directly. This makes the code simpler and may also help make the
update a little faster.
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: 6bf4a20193b801d342ff662b5a9712e516561d9e
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf
--
Fix, enable, and add to, the manifest update tests
Refactor the tests to make them work with pytest directly rather than
also depending on unittest. Fix the helper functions to work with the
current state of metadata.py. Add some tests for update of assertion
count and lsan data.
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: 5028820efd9ed3d1dbcb9bde5cbc235414a8d23c
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf
--
Don't store the result of update_expected
The needs_human feature never worked well and is unused.
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: 004b079b76d06c3e9d74210700b28994cdeff886
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf
--
Chunk by dir more for wpt on asan
This means that when we run these tests, the LSAN exceptions will have
the minimum possible scope.
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1354232
gecko-commit: a7dec081ead2ac3b5d20b99b2bb177719358e328
gecko-integration-branch: mozilla-inbound
gecko-reviewers: maja_zf
--
Fixup flake8 failures
--
Fix flake8 issues in master on servodriver
--
wpt-commits: 9a57710275e1ac52d4c3d3426b370e3f31c46856, 49193c2e02fc20fc1d28e5957d4f3a6fd52adfd3, 429d1b8353e0e1b601bd34ba98fdff290780b127, aa9bdbf0639326900d232f155449e7950adc0649, 91803e3a25afd8e0c201bc57cd05fffd5d543551, df7e6cdf297c06a05b5a116f51fb203cda295809, d8aaec5ffebb93db1b54ccdafb0d7a2897428427, 4d21dcbb1bd9612715ac9ed55c3ec271b3c4e1ca, aa3a405237c3d45187f76906367161a7e9a486a0, 68c8996844a6774aadfd14da4c02c71bb5d9d342, d4b2146217d338e278e24bb3bc705871b50e9c7e, f814a0f1c23cb76e36b6732165c92fa327d86f40, 5782d6704b66adbcce7398911a74a4abdf323ef7, dcfcadb2c6892a187de6f0be7c42eed09d91fe90, 17796c6272e4fe3d1bba24fdfe261572b1ad757a, 654133c23efb269585009818b6f4547d130cb564
wpt-pr: 12073
Automatic update from web-platform-testsClean up the service-workers IDL test (#11960)
--
wpt-commits: 0eaf7a15b526a10f512654cbe9a7fb88de98f8ba
wpt-pr: 11960
Automatic update from web-platform-testsAdd a test for Gecko bug 1472169. (#12124)
It's not clear that we want the fix over there given the performance
implications, but landing the test is still worth it.
--
wpt-commits: 3f9178031eec5374c9a7d5709a7e11ba4a1955ed
wpt-pr: 12124
Automatic update from web-platform-testsRevert "[css-text] A leading white-space should break before handling overflow"
This reverts commit 6ea2a2e7f3ef01e0c98424ce272a732ade92ad1a.
Reason for revert: <INSERT REASONING HERE>
Original change's description:
> [css-text] A leading white-space should break before handling overflow
>
> Leading white-spaces are indeed breaking opportunities that should
> prevent, if there are no other css properties forcing it, breaking text
> in the middle of a word when honoring the word-wrap/overflow-wrap CSS
> property.
>
> We are doing so if the leading white-space sequence is longer than 1
> character, but when we have a single leading white-space, we are missing
> that breaking opportunity and we may lead to cases, like the one
> described in the bug.
>
> However, this breaking opportunity should be considered together
> with other provided by the word-break CSS property (eg, break-word or
> break-all).
>
> There is a discussion [1] in the CSS WG github about this issue, which
> provides an interoperability analysis of a few cases where a single
> leading white-space character may produce different results, depending
> on the browser and the combination of line-breaking properties.
>
> [1] https://github.com/w3c/csswg-drafts/issues/2907
>
> Bug: 854624
> Change-Id: I49ec8282e899a32990662c104b48cab04057b909
> Reviewed-on: https://chromium-review.googlesource.com/1130515
> Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
> Reviewed-by: Koji Ishii <kojii@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#575596}
TBR=jfernandez@igalia.com,kojii@chromium.org
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: 854624
Change-Id: I9ee4cd370dd92b74f9fdc4f42d16638253dd2dee
Reviewed-on: https://chromium-review.googlesource.com/1146360
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Cr-Commit-Position: refs/heads/master@{#577096}
--
wpt-commits: 040f31fa8f6250c54160d0257c6b411ccac59f61
wpt-pr: 12138
Automatic update from web-platform-testsUpdate the resource-timing IDL + test (#11909)
--
wpt-commits: 53dbcecf1e4b5ff40f1d0ee67037e32a4249f9ce
wpt-pr: 11909
Automatic update from web-platform-testsImageLoading: Don't reschedule a microtask on attach if one is pending.
This patch ensures that we don't reschedule an image loading microtask
if there is one pending already. This is important to ensure that image
decode microtasks see the image data (ie the image loading microtask
runs first) if there are no other changes only insertion into a
document.
The existing tests that were added for this still pass (from crrev.com/cdd156337ada7)
http/tests/misc/image-blocked-src-change.html
http/tests/misc/image-blocked-src-no-change.html
http/tests/xmlhttprequest/xmlhttprequest-image-not-loaded-svg.svg
http/tests/xmlhttprequest/xmlhttprequest-image-not-loaded.html
The new test fails without the change and passes with.
R=chrishtr@chromium.org
Bug: 864306
Change-Id: I1d3d2ed4c12b53fab931e55a85c4f5cd18fe1cc4
Reviewed-on: https://chromium-review.googlesource.com/1141121
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577006}
--
wpt-commits: 6aabe74f9e6a4b9471f112e15b56b9e1a39004e5
wpt-pr: 12044
Automatic update from web-platform-testsAdd tests for where list-style-position: inside is odd today (#8822)
--
wpt-commits: 8090a0a0032ee4f2c08dc90f6b7838eab1f6dfe2
wpt-pr: 8822
Automatic update from web-platform-testsSimplify the webstorage IDL test (#12113)
--
wpt-commits: 21d0b1d7cce836cbc7067cc92be6e3e9526b2631
wpt-pr: 12113
Automatic update from web-platform-testsFixing Server-Timing header parsing tests
The Server-Timing response header is allowed to have a comma-separated
list of timing metrics. We have test code that checks that the right
number of components get parsed. When there are more components than
expected, though, the test code ends up trying to lookup a field from an
undefined value. This caused the test runner to bail out and skip
subsequent tests.
This patch changes the test code to check for an undefined value and
skip ahead as needed.
Change-Id: I2304424978e3d4634c3508b1fefbba809374950e
Reviewed-on: https://chromium-review.googlesource.com/1144200
Reviewed-by: Yoav Weiss <yoav@yoav.ws>
Commit-Queue: Tom McKee <tommckee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576911}
--
wpt-commits: 36dd72261c766fe6e32d2db9b2b53d37918a945c
wpt-pr: 12081
Automatic update from web-platform-testsCSS: scroll properties do not accept unitless lengths
The following properties no longer accept unitless lengths in quirks mode:
scroll-margin-block-end
scroll-margin-block-start
scroll-margin-bottom
scroll-margin-inline-end
scroll-margin-inline-start
scroll-margin-left
scroll-margin-right
scroll-margin-top
scroll-padding-block-end
scroll-padding-block-start
scroll-padding-bottom
scroll-padding-inline-end
scroll-padding-inline-start
scroll-padding-left
scroll-padding-right
scroll-padding-top
The only properties that should accept unitless lengths in quirks mode
are listed in
https://quirks.spec.whatwg.org/#the-unitless-length-quirk
BUG=865889
Change-Id: Id700932eda312dc0292b2c4a25ddbb57f2f99aa9
Reviewed-on: https://chromium-review.googlesource.com/1144991
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576880}
--
wpt-commits: 668862980b36800c64ff927f79193f96efe9b086
wpt-pr: 12088
Automatic update from web-platform-testsSimplify the proximity IDL test (#12107)
--
wpt-commits: f349306d1227ed23348f93ad780646f8cfa20e04
wpt-pr: 12107
Automatic update from web-platform-testsFirst Web Platform test using the WebXR Test API.
https://github.com/immersive-web/webxr-test-api
Change-Id: Ic741d23bf0607726d9a938f08f7964a5f9c957d9
Reviewed-on: https://chromium-review.googlesource.com/1070778
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: David Dorwin <ddorwin@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Anna Offenwanger <offenwanger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576869}
--
wpt-commits: db532d16883ceb1909285b263948ffffc968f1fd
wpt-pr: 11737
Automatic update from web-platform-testsSimplify the orientation-sensor IDL test (#12106)
--
wpt-commits: 9d8a0d0446fae393623d6ec32019fc60d94655c4
wpt-pr: 12106
Automatic update from web-platform-testsClean up the battery-status IDL test (#12091)
--
wpt-commits: 5fd123f7c4427320d01d5de0196043bb9dd9295d
wpt-pr: 12091
Automatic update from web-platform-testsClean up the css-font-loading IDL test (#11985)
--
wpt-commits: bf6f17c25d454b68a85f048fdecfe9f6eca3febb
wpt-pr: 11985