Open Bug 1241134 Opened 8 years ago Updated 2 years ago

HTML Inspector does not show content of CDATA sections

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: freddy, Unassigned)

References

()

Details

(Whiteboard: [btpp-fix-later])

STR:
1) Visit an XHTML or XUL page with a cdata section, for example in a script
2) inspect an element, to get to the inspector
3) scroll up and try to open the script to view its content
4) observe how it only says "#cdata section", but not its content.


This can be observed in, for example, about:neterror but also the Data URL I put in this bugs URL field
Confirmed with devedition (FF47). Chrome does show the content of the cdata section in its inspector.
Investigation should start in our deeptreewalker implementation in devtools/server/actors/inspector.js
Triaging as a P2.
Priority: -- → P2
Whiteboard: [btpp-fix-later]
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.