This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11013 - Don't honor <meta> pragmas that don't come from the network stream or document.write
Summary: Don't honor <meta> pragmas that don't come from the network stream or documen...
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P1 critical
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 13:20 UTC by Henri Sivonen
Modified: 2011-08-04 05:15 UTC (History)
5 users (show)

See Also:


Attachments

Description Henri Sivonen 2010-10-12 13:20:02 UTC
The old parser in Gecko didn't honor the semantics of <meta http-equiv> coming from innerHTML. E.g. not honoring http-equiv="Refresh" is required for compat with snapple.com. See https://bugzilla.mozilla.org/show_bug.cgi?id=599584

Please adjust the spec accordingly to ignore pragmas from innerHTML and from script-created metas.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/666 doesn't navigate in Gecko, WebKit or IE8 (but navigates in Opera).
Comment 1 Ian 'Hixie' Hickson 2010-10-13 10:10:58 UTC
Seems to navigate in Chrome, FWIW.
Comment 2 Boris Zbarsky 2010-10-13 15:24:39 UTC
Note that the URI in the mozilla bug (which uses innerHTML sets) doesn't...

The equivalent testcase is http://software.hixie.ch/utilities/js/live-dom-viewer/saved/669
Comment 3 Ian 'Hixie' Hickson 2010-12-08 01:25:25 UTC
That test has a scripting bug. This is the equivalent without it:
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/734

It still navigates in Chrome and Opera. Safari and IE seem to prevent innerHTML changes to <head>, which I didn't expect and don't quite understand (especially in the case of Safari... isn't that the same code as Chrome?).
Comment 4 Ian 'Hixie' Hickson 2011-01-11 02:54:31 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: Opera and Chrome do what the spec says. Safari and IE seem to just not allow innerHTML to change on <head>. Based on this, I haven't changed the spec here.

I also had trouble finding the problem on the snapple.com site. Could you be more specific about how to reproduce the bug? Why does the page not break in Chrome or Opera?
Comment 5 Michael[tm] Smith 2011-08-04 05:15:02 UTC
mass-move component to LC1