Bug 11730 - Meta HTTP Refresh that contains a fraction / decimal get ignored.
Summary: Meta HTTP Refresh that contains a fraction / decimal get ignored.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 17:02 PST by Troy Brandt
Modified: 2006-12-03 16:28 PST (History)
1 user (show)

See Also:


Attachments
Patch (1.31 KB, patch)
2006-11-30 21:14 PST, Mark Rowe (bdash)
ap: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Troy Brandt 2006-11-30 17:02:51 PST
Meta HTTP Refresh that contains a fraction / decimal get ignored. For example something like this:

<HTML>
	<HEAD>
		<META HTTP-EQUIV="Refresh" CONTENT="2.5">
		<META HTTP-EQUIV="Pragma" CONTENT="no cache">
		<META HTTP-EQUIV="Expires" CONTENT="-1">
	</HEAD>
	<body>
		Hello World!
	</body>
</HTML>

Will just be ignored. Works in Firefox.
Comment 1 Mark Rowe (bdash) 2006-11-30 20:16:48 PST
Confirmed with WebKit 418.9.1 and ToT.
Comment 2 Mark Rowe (bdash) 2006-11-30 21:14:14 PST
Created attachment 11701 [details]
Patch

There's no layout test included in this patch as I can't see how to make one that handles this case.  fast/dom/Window/redirect-with-timer.html includes a meta-refresh test with a URL, but this case already works correctly with a decimal point.  It is only the URL-less variant that is currently broken.
Comment 3 Alexey Proskuryakov 2006-12-03 01:36:17 PST
Comment on attachment 11701 [details]
Patch

r=me
Comment 4 Mark Rowe (bdash) 2006-12-03 16:28:42 PST
Landed in r17994.