Improve document's CC Describe

RESOLVED FIXED

Status

()

Core
DOM
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: smaug, Assigned: smaug)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
It could be useful to know whether the document is a data document or normal one.
(Assignee)

Comment 1

6 years ago
Created attachment 575537 [details] [diff] [review]
patch
Attachment #575537 - Flags: review?(continuation)
While you are in there, do you know why some of these things are showing up as none?  For instance,

0x7f1d345df000 [rc=2] nsDocument ([none]) chrome://global/content/bindings/scrollbar.xml

0x7f1d321c2800 [rc=2] nsDocument ([none]) chrome://global/content/bindings/text.xml

0x7f1ce5cd5800 [rc=2] nsDocument ([none]) chrome://global/content/consoleBindings.xml

These seem like a consistent type of document.  Do you know what is going on here, smaug?
(Assignee)

Comment 3

6 years ago
XBL documents don't seem to set mDefaultElementType
(Assignee)

Comment 4

6 years ago
nor does it really make any sense, since we have only few different kinds of documents.
XML, HTML, SVG, XUL, and some document for full page media.
Okay, so it sounds like that should be dealt with elsewhere or not at all.
Comment on attachment 575537 [details] [diff] [review]
patch

Review of attachment 575537 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good.
Attachment #575537 - Flags: review?(continuation) → review+
(Assignee)

Comment 7

6 years ago
https://hg.mozilla.org/mozilla-central/rev/f0e31d65d4b8
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.