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)
Tracking
()
NEW
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.
![]() |
||
Comment 1•11 years ago
|
||
Note that the docshell behavior may be correct per current HTML spec; hard to tell.
Reporter | ||
Comment 2•11 years ago
|
||
(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.
Updated•9 years ago
|
Whiteboard: [necko-backlog]
Comment 3•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 4•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•