Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement http-equiv refresh #25082

Open
pshaughn opened this issue Dec 4, 2019 · 1 comment
Open

Implement http-equiv refresh #25082

pshaughn opened this issue Dec 4, 2019 · 1 comment

Comments

@pshaughn
Copy link
Member

@pshaughn pshaughn commented Dec 4, 2019

WPT html/webappapis/dynamic-markup-insertion/opening-the-input-stream/abort-refresh-immediate (some cases) and abort-refresh-multisecond-meta expect <meta http-equiv="refresh" to do its thing as in https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-http-equiv-refresh . Currently, http-equiv is commented out at the IDL level.

#25068 is the same missing behavior, but as triggered by the never-formally-standardized Refresh response header instead of the http-equiv. (As I understand it, once upon a time http-equiv literally just meant "behave as though you saw this response header" at first, then diverged as header semantics changed out from under it; its legal values still mostly do the same thing as headers of the same name.)

@pshaughn
Copy link
Member Author

@pshaughn pshaughn commented Jan 30, 2020

https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-http-equiv-refresh gives us permission to "do nothing" in step 13, so failing to auto-refresh doesn't mean we're out of spec compliance.

On the other hand, this feature is actually used on the web: it's the easiest way to make a functional "redirect" in a shared hosting context when you can only upload static html files and not scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.