Thunderbird code assumes document.firstChild is the root element

RESOLVED FIXED

Status

Thunderbird
General
RESOLVED FIXED
13 years ago
13 years ago

People

(Reporter: Jason Barnabe (np), Assigned: Ian Neal)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
Bug 319654 is about adding processing instructions in XUL to the DOM tree. When
that happens, any code that thinks document.firstChild is the document element
will break. We need to change it to document.documentElement.
(Reporter)

Updated

13 years ago
Blocks: 319654
(Assignee)

Comment 1

13 years ago
Created attachment 207672 [details] [diff] [review]
Simple patch v0.1 (Checked into trunk)

Changes document.firstChild to document.documentElement
Assignee: mscott → iann_bugzilla
Status: NEW → ASSIGNED
Attachment #207672 - Flags: review?(mscott)

Updated

13 years ago
Attachment #207672 - Flags: review?(mscott) → review+

Updated

13 years ago
Attachment #207672 - Flags: superreview+
(Assignee)

Comment 2

13 years ago
Comment on attachment 207672 [details] [diff] [review]
Simple patch v0.1 (Checked into trunk)

Checking in (trunk)
commandglue.js;
new revision: 1.56; previous revision: 1.55
mailWindowOverlay.js;
new revision: 1.106; previous revision: 1.105
done
Attachment #207672 - Attachment description: Simple patch v0.1 → Simple patch v0.1 (Checked into trunk)
(Assignee)

Updated

13 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.