Code: Select all
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://www.google.com/">
</head>
<body>
<noscript></noscript>
</body>
</html>
fx 3.6.3, ns 1.9.9.84
Code: Select all
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://www.google.com/">
</head>
<body>
<noscript></noscript>
</body>
</html>
Code: Select all
<html>
<head>
</head>
<body>
<noscript><meta http-equiv="refresh" content="0;url=http://www.google.com/"></noscript>
</body>
</html>
Code: Select all
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://www.google.com/">
</head>
<body>
<noscript></noscript>
</body>
</html>
Yes it is.dhouwn wrote:Is the new parser always used when the pref is set?
HTML 5, differently from HTML 4 and XHTML, aside conformance rules specifies also rules for parsing (something sorely missing from previous specification, and one of the causes of the browser compatibility hell).dhouwn wrote:What about quirks mode, XHTML and other edge cases?
Code: Select all
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head></head>
<body>
<noscript><meta http-equiv="refresh" content="0;url=http://www.example.org/" /></noscript>
</body>
</html>
They are blocked for me, using your source both from a local .xhtml file and from http://evil.hackademix.net/test/meta/xhtml.xhtmldhouwn wrote:Did a little test in Firefox trunk with the HTML5 parser activated and meta-refresh redirections inside noscript-tags are not blocked for XHTML:(Save as .xhtml)Code: Select all
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head></head> <body> <noscript><meta http-equiv="refresh" content="0;url=http://www.example.org/" /></noscript> </body> </html>
Code: Select all
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a5pre) Gecko/20100531 Minefield/3.7a5pre
The bar happens on DOMContentLoaded, which doesn't fire if a page is in the BFCache.al_9x wrote:One thing I noticed, no blocked alert bar on back or forward (fx 3.6.3 & minefield)
Are there perhaps other events, this thread seems to suggest that OnStateChange should fire?Giorgio Maone wrote:The bar happens on DOMContentLoaded, which doesn't fire if a page is in the BFCache.al_9x wrote:One thing I noticed, no blocked alert bar on back or forward (fx 3.6.3 & minefield)
Yes, it remembers by domain (file:/// is treated as a domain).dhouwn wrote:/edit: It remembers the permission for redirection for all local XHTML files once I allowed it for a local file of this type?!