Closed Bug 1591652 Opened 11 months ago Closed 10 months ago

[wpt-sync] Sync PR 19918 - [html] Opt-in to single-page test feature

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(2 files)

Sync web-platform-tests PR 19918 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/19918
Details from upstream follow.

Mike Pennisi <mike@mikepennisi.com> wrote:

[html] Opt-in to single-page test feature

testharness.js was recently extended with an API to explicitly opt-in to
the "single page test" feature [1]. As per WPT RFC 28 [2], tests which
do not use this API and which do not declare any subtests will soon be
reported as a harness error.

Update the tests which previously opted in implicitly to use the new
API.

[1] https://github.com/web-platform-tests/wpt/pull/19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Result changes from PR not available.

GitHub CI Results

wpt.fyi PR Results Base Results

Ran 26 tests and 26 subtests

Firefox

OK : 25
PASS : 21
FAIL : 4
TIMEOUT: 1
NOTRUN : 1

Chrome

OK : 26
PASS: 24
FAIL: 2

Safari

OK : 25
PASS : 19
FAIL : 6
TIMEOUT: 1
NOTRUN : 1

Firefox-only failures

/html/rendering/non-replaced-elements/margin-collapsing-quirks/multicol-standards-mode.html
multicol default styles (standards mode): Firefox: FAIL

/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/dynamic-append.html: Firefox: TIMEOUT
Meta refresh applies even when dynamically appended: Firefox: NOTRUN

/html/rendering/non-replaced-elements/margin-collapsing-quirks/multicol-quirks-mode.html
multicol default styles (quirks mode): Firefox: FAIL

/html/browsers/browsing-the-web/navigating-across-documents/source/navigate-child-src-about-blank.html
Set the src attribute to about:blank and check referrer: Firefox: FAIL

Gecko CI Results

Ran 26 tests and 26 subtests
OK : 25
PASS : 21
FAIL : 4
TIMEOUT: 1
NOTRUN : 1

New tests that don't pass

/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/dynamic-append.html
Meta refresh applies even when dynamically appended: NOTRUN

Automatic update from web-platform-tests
[html] Refactor tests (#19918)

testharness.js was recently extended with an API to explicitly opt-in to
the "single page test" feature [1]. As per WPT RFC 28 [2], tests which
do not use this API and which do not declare any subtests will soon be
reported as a harness error.

Update some tests which previously opted in implicitly to use the new
API. Update others to instead declare a single subtest (so that they are
no longer single-page tests).

[1] https://github.com/web-platform-tests/wpt/pull/19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md

wpt-commits: efe71da0885bec25ff8466160abd4bce44bbb2f8
wpt-pr: 19918

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/82aa51d1f2af
[wpt PR 19918] - [html] Refactor tests, a=testonly
https://hg.mozilla.org/integration/autoland/rev/3c4bcf5279a6
[wpt PR 19918] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.