[Webkit-unassigned] [Bug 45627] REGRESSION: Infinite redirect on developer.apple.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 10 13:28:29 PST 2010


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





--- Comment #7 from Tony Gentilcore <tonyg at chromium.org>  2010-11-10 13:28:29 PST ---
Created an attachment (id=73532)
 --> (https://bugs.webkit.org/attachment.cgi?id=73532&action=review)
Testcase

I've reduced the redirect loop down to this:
<script>
window.location.replace("location_replace.html");
</script>
<meta http-equiv="refresh" content="0; URL=meta_refresh.html">

In minefield, the location.replace happens first and the meta refresh is ignored, thus the user lands on location_replace.html. In WebKit, the meta refresh overrides the location replace and the user lands on meta_refresh.html. I'm not sure what the specced behavior is here.

The developer.apple page falls victim to this differences with this line that I don't think the author expected to be reached:
<meta id="refresh" http-equiv="refresh" CONTENT="0; URL=_index.html"><!-- Needed for iPad redirects -->

-- 
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