Skip to content

[testharness.js] Implement single_test option#19449

Merged
foolip merged 3 commits intoweb-platform-tests:masterfrom
bocoup:testharness-single-test
Oct 7, 2019
Merged

[testharness.js] Implement single_test option#19449
foolip merged 3 commits intoweb-platform-tests:masterfrom
bocoup:testharness-single-test

Conversation

@jugglinmike
Copy link
Contributor

The behavior and deployment schedule of this option was defined via the
following web-platform-tests RFC:

https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md

The behavior and deployment schedule of this option was defined via the
following web-platform-tests RFC:

https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
@jugglinmike
Copy link
Contributor Author

The website cannot currently be re-generated due to an unrelated bug in the content of the documentation. gh-19403 fixes that, but the changes in this (or any other) pull request will not be deployed until that is merged.

@foolip
Copy link
Member

foolip commented Oct 1, 2019

See #19303 for another fix related to the broken docs.

* function object, it will be
* serialized to a string using the
* built-in
* `Function.prototype.toString` prior
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value is stringified like any other, which will probably involve Function.prototype.toString, but if toString is an own property on the function object directly, that will be used instead. This makes the documentation not strictly true, but I have to admit there's value in pointing out what the stringifier likely is.

@foolip foolip merged commit 819a234 into web-platform-tests:master Oct 7, 2019
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 26, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 26, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 26, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 26, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 26, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 26, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 26, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 26, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 26, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 26, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 27, 2019
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 instead declare
a single subtest (so that it is no longer a single-page test).

[1] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 27, 2019
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 instead declare
a single subtest (so that it is no longer a single-page test).

[1] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 27, 2019
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 it is no
longer a single-page test).

[1] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 27, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 27, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
foolip pushed a commit that referenced this pull request Oct 27, 2019
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] #19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
foolip pushed a commit that referenced this pull request Oct 27, 2019
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 instead declare
a single subtest (so that it is no longer a single-page test).

[1] #19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
foolip pushed a commit that referenced this pull request Oct 27, 2019
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 instead declare
a single subtest (so that it is no longer a single-page test).

[1] #19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
foolip pushed a commit that referenced this pull request Oct 28, 2019
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] #19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 29, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit that referenced this pull request Oct 29, 2019
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] #19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 30, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit that referenced this pull request Oct 30, 2019
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] #19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 30, 2019
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). Add new tests to fully cover the
conditions under which an uncaught exception or unhandled rejection
could occur.

[1] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit that referenced this pull request Oct 30, 2019
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). Add new tests to fully cover the
conditions under which an uncaught exception or unhandled rejection
could occur.

[1] #19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Oct 31, 2019
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] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
foolip pushed a commit that referenced this pull request Oct 31, 2019
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] #19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
jugglinmike added a commit to bocoup/wpt that referenced this pull request Nov 7, 2019
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 a test which previously opted in implicitly to use the new API.

[1] web-platform-tests#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
foolip pushed a commit that referenced this pull request Nov 8, 2019
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 a test which previously opted in implicitly to use the new API.

[1] #19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
bors-servo pushed a commit to servo/servo that referenced this pull request Nov 15, 2019
Address upstream WPT test harness changes

web-platform-tests/wpt#19449 and web-platform-tests/wpt#19993 caused some of our proprietary tests to silently start to fail. This addresses all of the breakage.
bors-servo pushed a commit to servo/servo that referenced this pull request Nov 15, 2019
Address upstream WPT test harness changes

web-platform-tests/wpt#19449 and web-platform-tests/wpt#19993 caused some of our proprietary tests to silently start to fail. This addresses all of the breakage.
bors-servo pushed a commit to servo/servo that referenced this pull request Nov 15, 2019
Address upstream WPT test harness changes

web-platform-tests/wpt#19449 and web-platform-tests/wpt#19993 caused some of our proprietary tests to silently start to fail. This addresses all of the breakage.
bors-servo pushed a commit to servo/servo that referenced this pull request Nov 15, 2019
Address upstream WPT test harness changes

web-platform-tests/wpt#19449 and web-platform-tests/wpt#19993 caused some of our proprietary tests to silently start to fail. This addresses all of the breakage.
bors-servo pushed a commit to servo/servo that referenced this pull request Nov 16, 2019
Address upstream WPT test harness changes

web-platform-tests/wpt#19449 and web-platform-tests/wpt#19993 caused some of our proprietary tests to silently start to fail. This addresses all of the breakage.
bors-servo pushed a commit to servo/servo that referenced this pull request Nov 16, 2019
Address upstream WPT test harness changes

web-platform-tests/wpt#19449 and web-platform-tests/wpt#19993 caused some of our proprietary tests to silently start to fail. This addresses all of the breakage.
bors-servo pushed a commit to servo/servo that referenced this pull request Nov 16, 2019
Address upstream WPT test harness changes

web-platform-tests/wpt#19449 and web-platform-tests/wpt#19993 caused some of our proprietary tests to silently start to fail. This addresses all of the breakage.
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Nov 20, 2019
…ture, a=testonly

Automatic update from web-platform-tests
[FileAPI] Opt-in to single-page test feature (#19925)

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] web-platform-tests/wpt#19449
[2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
--

wpt-commits: 89ebe927c237ed05c732490ca7d82b7fc41f5908
wpt-pr: 19925

Differential Revision: https://phabricator.services.mozilla.com/D53490
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants