Open Bug 1009360 Opened 11 years ago Updated 2 years ago

[ResourceTiming] Refresh of redirected iframe does not reload the src of the iframe, but the redirect target

Categories

(Core :: Networking, defect, P3)

x86_64
Linux
defect

Tracking

()

People

(Reporter: valentin, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [necko-backlog])

Test case: test1.com/index.html ... <body> <iframe sandbox="allow-scripts" src="http://test2.com/index2.html"></iframe> </body> http://test2.com/index2.html is 301 or 302 redirected to http://test3.com/index3.html using nginx. When refreshing the page, no request is being made to test2.com, it simply loads the redirected iframe (test3.com) from cache. There is no way to extract the "originalURI" for the iframe to use as the resource name. This is most likely related to Bug 282198 and Bug 527897. Filing this bug to make sure the resource timing info is correct after the docshell behaviour is fixed.
Note that the docshell behavior may be correct per current HTML spec; hard to tell.
(In reply to Boris Zbarsky [:bz] from comment #1) > Note that the docshell behavior may be correct per current HTML spec; hard > to tell. I agree. However, a workaround/hack to get the original URI for the iframe it would prove useful at this point. Also, we might want to consider changing this behaviour, since other UAs do it differently.
Whiteboard: [necko-backlog]
Priority: -- → P1
Priority: P1 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.