The default bug view has changed. See this FAQ.

Improve document's CC Describe

RESOLVED FIXED

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: smaug, Assigned: smaug)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

It could be useful to know whether the document is a data document or normal one.
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?
XBL documents don't seem to set mDefaultElementType
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+
https://hg.mozilla.org/mozilla-central/rev/f0e31d65d4b8
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.