[Webkit-unassigned] [Bug 103867] [Resource Timing] Record redirectStart & redirectEnd time and expose in resource timing entries

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 16 17:23:44 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=103867





--- Comment #11 from James Simonsen <simonjam at chromium.org>  2013-01-16 17:25:30 PST ---
(In reply to comment #10)
> case 2: although Ri and its adjacent are not the same origin, Ri allow its prior 'timing', or allowed timing by its posterior.

We don't consider Timing-Allow-Origin during redirects. Its purpose is to allow a specific main document to view timing data for a specific subresource, not to share timing data across the redirect chain.

> if above right, I would like to store redirect response chain(in CachedResource? I'm not sure how to store in m_initiatorMap of CachedResourceLoader) then feed it to  addResourceTiming(...). in addResourceTiming, pass in the correct values for startTime and redirectEnd in the constructor.

I don't think you need all that. Just reset the initiationTime when there's a cross-origin redirect.

> seems it doesn't work well if I remove this and  the latter done().

Not sure then. A bunch of my tests don't use it. Not sure what the difference is.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list