Re: [NavigationTiming] Redirect test cases

On Wed, 2011-03-30 at 18:43 +0000, Nic Jansma wrote:
> The tests need to be started from for the cross-origin
> navigation case, as it redirects initially to  Is
> there a good way to enforce this requirement?

The test page on points everyone back to and that's the page which is linked from the spec,
so it limits individuals going to the alternative servers.

An additional solution could be to check the location of the document
using script and report a failure if it's not the right server. We could
have a dedicated assertion in testharness.js just for that case,
something like
That would test if the file is ran from Third
parties wishing to deploy the tests outside the W3C server would only
have one place to modify like that. I even wonder if we can abstract
which alternate server it's redirecting to...


Received on Thursday, 31 March 2011 05:41:02 UTC