W3C home > Mailing lists > Public > public-web-perf@w3.org > March 2011

RE: [NavigationTiming] Redirect test cases

From: Nic Jansma <Nic.Jansma@microsoft.com>
Date: Wed, 30 Mar 2011 19:44:55 +0000
To: "public-web-perf@w3.org" <public-web-perf@w3.org>
Message-ID: <F677C405AAD11B45963EEAE5202813BD19CCD18B@TK5EX14MBXW651.wingroup.windeploy.ntdev.microsoft.com>
We noticed that for the cross-server redirection test case, we're incorrectly testing that redirectCount should be 1:

Per the spec, it should be 0 for cross-origin redirects.

We will update the test.

- Nic

From: public-web-perf-request@w3.org [mailto:public-web-perf-request@w3.org] On Behalf Of Nic Jansma
Sent: Wednesday, March 30, 2011 11:44 AM
To: public-web-perf@w3.org
Subject: [NavigationTiming] Redirect test cases

Hi everyone,

We've submitted two new test cases for NavigationTiming.  These tests look at the behavior of redirectCount, redirectStart and redirectEnd for navigations that contain a server-side redirect (via an IFRAME).

This test looks at same-origin redirected navigations:

This test looks at cross-origin redirected navigations:

Both tests utilize a redirect.php, which is a modified version from the XMLHttpRequest/resources/ directory.  We figured it would be better to include a version in our own resources/ directory than depend on a non-shared resources directory under webapps/.

The tests need to be started from w3c-test.org for the cross-origin navigation case, as it redirects initially to www.w3c-test.org<http://www.w3c-test.org>.  Is there a good way to enforce this requirement?

We just submitted these today so we are asking for feedback over the next week to be able to be discussed at the 4/6 conference call.


- Nic
Received on Wednesday, 30 March 2011 19:45:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:30 UTC