Closed Bug 703654 Opened 13 years ago Closed 13 years ago

Improve document's CC Describe

Categories

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

x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(1 file)

It could be useful to know whether the document is a data document or normal one.
Attached patch patchSplinter Review
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
Closed: 13 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: