Open
Bug 634566
Opened 14 years ago
Updated 5 years ago
Incorrectly follows last meta refresh directive
Categories
(Core :: DOM: HTML Parser, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: curiousdannii, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
The HTML5 spec 4.2.5.3 states that if a meta refresh directive has already been correctly processed then any further meta refresh directives should be ignored. Firefox however follows the last one in the page.
Reproducible: Always
Steps to Reproduce:
Test case http://jsfiddle.net/J58rd/
Actual Results:
The page redirects to second.html
Expected Results:
It should redirect to first.html
![]() |
||
Comment 1•14 years ago
|
||
As far as I can tell from the spec, "processed" includes coming due. If that's not the intent, then the spec needs rephrasing. But in this case the second <meta> is processed before the first one has come due, so also goes through the steps in 4.2.5.3.
It might be worth posting to whatwg for a clarification here, I guess.
Comment 2•5 years ago
|
||
Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•