W3C home > Mailing lists > Public > public-web-perf@w3.org > October 2012

Re: [HighResolutionTime] Test Cases

From: Tony Gentilcore <tonyg@google.com>
Date: Wed, 10 Oct 2012 08:41:58 -0700
Message-ID: <CANvLf_EF=juQww7MYAPb+EO4aQvqCL=8=QLTYK=AADLiuEfPdA@mail.gmail.com>
To: Jatinder Mann <jmann@microsoft.com>
Cc: "public-web-perf@w3.org" <public-web-perf@w3.org>
On Wed, Oct 3, 2012 at 11:09 AM, Jatinder Mann <jmann@microsoft.com> wrote:
> I have finished reviewing the High Resolution Time test cases:
> http://w3c-test.org/webperf/tests/submission/Google/HighResolutionTime/test_cross_frame_start.html
> http://w3c-test.org/webperf/tests/submission/W3C/HighResolutionTime/monotonic-clock.html
> http://w3c-test.org/webperf/tests/submission/W3C/HighResolutionTime/basic.html
> The first two tests, test_cross_frame_start.html and monotonic-clock.html,
> look good as is. I recommend we move these tests to the approved folder.

I'll move test_cross_frame_start.html today. Philippe, please feel
free to move monotonic-clock.html (and basic.html after the tweak

> For the last test, basic.html, I recommend a minor tweak. For the first test
> in this test case, we should change the typeof assert to be for “object”
> instead of the assert_equals(window.performance.toString(), "[object
> Performance]"); .  The rest of the tests in this test case look good. (I see
> that the third test had been changed from an
> assert_equals(window.performance.now.toString().indexOf("function"), 0, …);
> to  assert_equals(typeof window.performance.now, "function", …), which is
> the correct test).

Agree with the tweak.

> All of the test cases are passing in IE10 and Firefox 15. There are some
> failures in Chrome 22, however, that might be attributed to the prefixed
> now() function. I’ll let Tony comment.

Yep, the failures in monotonic-clock and basic are due to the prefix,
which we are planning to remove. The failures in
test_cross_frame_start require us switching to use the current
document's navigationStart instead of the root document's.


> Thanks,
> Jatinder
Received on Wednesday, 10 October 2012 15:43:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 October 2012 15:43:49 GMT