Closed Bug 548232 Opened 14 years ago Closed 14 years ago

[HTML5][Patch] Make meta charset have no effect on document.open()ed documents

Categories

(Core :: DOM: HTML Parser, defect, P2)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: hsivonen, Assigned: hsivonen)

References

Details

Attachments

(1 file, 1 obsolete file)

This bug is a follow-up reminder for bug 539887.

Currently, the HTML5 spec doesn't cover the interaction of document.written charset declarations, resource fetches and reloading in sufficient detail.

Once HTML5 says how content/html/document/test/test_bug255820.html should be processed, the spec-compliant solution should be implemented.
In reference to http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-April/025770.html , this patch make document.write() not have an effect on document.open()ed docs when the HTML5 parser is enabled.
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Attachment #438453 - Flags: review?(bzbarsky)
Comment on attachment 438453 [details] [diff] [review]
Make meta charset have no effect on document.open()ed docs with the HTML5 parser

s/document.write()/meta charset from document.write()/, of course.
Attachment #438453 - Attachment description: Make document.write() have no effect on document.open()ed docs with the HTML5 parser → Make meta charset have no effect on document.open()ed docs with the HTML5 parser
Summary: [HTML5] Fix the caching of document.written meta charset on wyciwyg channel → [HTML5][Patch] Make meta charset have no effect on document.open()ed documents
This patch is the same as previous except this one also removes the file nsAHtml5EncodingDeclarationHandler.h
Attachment #438453 - Attachment is obsolete: true
Attachment #440187 - Flags: review?(bzbarsky)
Attachment #438453 - Flags: review?(bzbarsky)
Comment on attachment 440187 [details] [diff] [review]
Make meta charset have no effect on document.open()ed docs with the HTML5 parser, v2

Hey, code removal.  Excellent!

r=bzbarsky
Attachment #440187 - Flags: review?(bzbarsky) → review+
Thanks. Pushed:
http://hg.mozilla.org/mozilla-central/rev/67c682cd7fa4
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: