Harness Timeout versus <html class="reftest-wait">

Hello,

My message here is mostly a wiki-documentation topic.

<html class="reftest-wait">

used to be the way tests were coded in order for them to wait before 
comparing with a reference.

http://test.csswg.org/shepherd/search/testcase/spec/css21/content/class%3D%22reftest-wait%22/

Now, we are supposed to use

<meta name="timeout" content="long">

or

<meta name="timeout" content="normal">

to achieve, to create such wait.

Is my assumption/supposition correct here?

Gérard

- - - - - - - -

Harness Timeout
http://testthewebforward.org/docs/testharness-library.html#harness-timeout
[
The overall harness admits two timeout values "normal" (the default) and 
"long", used for tests which have an unusually long runtime. After the 
timeout is reached, the harness will stop waiting for further async 
tests to complete. By default the timeouts are set to 10s and 60s, 
respectively, but may be changed when the test is run on hardware with 
different performance characteristics to a common desktop computer. In 
order to opt-in to the longer test timeout, the test must specify a meta 
element:

<meta name="timeout" content="long">

Occasionally tests may have a race between the harness timing out and a 
particular test failing; typically when the test waits for some event 
that never occurs. In this case it is possible to use 
test.force_timeout() in place of assert_unreached(), to immediately fail 
the test but with a status of TIMEOUT. This should only be used as a 
last resort when it is not possible to make the test reliable in some 
other way.
]
Harness Timeout
http://testthewebforward.org/docs/testharness-library.html#harness-timeout

-- 
Test Format Guidelines
http://testthewebforward.org/docs/test-format-guidelines.html

Test Style Guidelines
http://testthewebforward.org/docs/test-style-guidelines.html

Test Templates
http://testthewebforward.org/docs/test-templates.html

CSS Naming Guidelines
http://testthewebforward.org/docs/css-naming.html

Test Review Checklist
http://testthewebforward.org/docs/review-checklist.html

CSS Metadata
http://testthewebforward.org/docs/css-metadata.html

Received on Thursday, 17 September 2015 20:29:27 UTC