Closed Bug 240122 Opened 20 years ago Closed 20 years ago

document.body setter cleanup, and accesskey code cleanup.

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.8alpha1

People

(Reporter: jst, Assigned: jst)

Details

Attachments

(1 file)

nsHTMLDocument::SetBody() is bloaty, slow, and broken. And
nsGenericHTMLElement::RegUnRegAccessKey() returns nsresult for no reason. Patch
coming up.
Assignee: general → jst
Target Milestone: --- → mozilla1.8alpha
Attachment #145769 - Flags: superreview?(bzbarsky)
Attachment #145769 - Flags: review?(bzbarsky)
Comment on attachment 145769 [details] [diff] [review]
Clean up nsHTMLDocument::SetBody() and deCOMtaminate nsGenericHTMLElement::RegUnRegAccessKey().

Looks fine.  r+sr=bzbarsky.
Attachment #145769 - Flags: superreview?(bzbarsky)
Attachment #145769 - Flags: superreview+
Attachment #145769 - Flags: review?(bzbarsky)
Attachment #145769 - Flags: review+
Perhaps you can remove this comment, since it seems you fixed it.
// Hmm, this is wrong, and not XHTML cool. The body can be a
// frameset too!
// The body element must be of type nsIDOMHTMLBodyElement.
Hmm, yeah, meant to do that... Done locally, I'll try to get that in when this
lands...
Fix checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: