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

On Thursday 2015-09-17 16:28 -0400, Gérard Talbot wrote:
> 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.
> 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?

Although I'm not as familiar with the <meta name="timout">, I think
these are two different things.

reftest-wait is a class that should be removed when the test is
ready to be snapshotted.

However, a test harness needs a mechanism to give up on tests that
fail to remove this; for this, it uses a timeout, after which it
marks the test as having failed because it never completed.  <meta
name="timeout"> looks like it exists to adjust that timeout.


𝄞   L. David Baron                  𝄂
𝄢   Mozilla                   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Thursday, 17 September 2015 22:08:27 UTC