#48196·servo

`console.dir()` on DOM objects like `navigator` produces `<error>`

Author: webbedspaceCreated Sep 19, 2026Updated Sep 29, 2026
LabelsA-content/domE-less-complexC-assignedC-has-manual-testcase

Describe the bug: See example.

To Reproduce:

xml
<script>
    console.dir(new Animation())
    console.dir(navigator)
    console.dir(document)
    console.dir(CSS)
</script>

Servo logs

<error>
<error>
<error>
<error>

changing these to .log produces

Animation {}
Navigator {}
Document {
  "location": {
    "href": "file:///C:/x.html",
    "origin": "null",
    "protocol": "file:",
    "host": "",
    "hostname": "",
    "port": "",
    "pathname": "/C:/x.html",
    "search": "",
    "hash": "",
    "ancestorOrigins": {}
  }
}
({escape:function escape() {
    [native code]
}, supports:function supports() {
    [native code]
}, registerProperty:function registerProperty() {
    [native code]
}})
``
**Platform:**
Win 10