[Resource Timing] allow-timing when resource redirects among cross origins?

Hi,



http://www.w3c-test.org/webperf/specs/ResourceTiming/

About Section 4.5, cross-origin resources. Shall we consider scenario of
multiple redirects among origins?

Suppose we have Origins Oa, Ob, Oc, Oa:r1 defines resource1 in origin Oa,

1, One case is that when we request Oa:r1, it is redirected to Ob:r2 then
redirected to Oc:r3,

Timing-allow-Origin is that Ob allows timing by Oa only, Oc allows timing
by Ob only, shall we expose detailed timing of this resource, or just
startTime and duration?



2 Another case is, when we request Oa:r1, it is redirected to Ob:r2 then
redirected back to O1:r3, this time, Oa is not in timing-allow-origin field
of Ob’s response, then?



I prefer only “first request origin” and the “origin of final resource”
determine if “allow-timing”, so case 1 I would like to just expose
startTime and duration, case 2, expose detailed timing info. Your ideas?



Thanks

Pan

Received on Tuesday, 21 August 2012 08:44:28 UTC