Thanks for picking this up. Just sharing what I found: we get the resource via a legacy listener, built around the `"documentEvent"` event from the webconsole and there are 2 issues with that: - the spec doesn't define `hasNativeConsoleAPI` for this event (https://searchfox.org/mozilla-central/rev/b3933df6e119bd6caf5d9e5868670348ec26dee3/devtools/server/actors/webconsole.js#1822) - the actor doesn't forward `hasNativeConsoleAPI` in onDocumentEvent (https://searchfox.org/mozilla-central/rev/b3933df6e119bd6caf5d9e5868670348ec26dee3/devtools/shared/specs/webconsole.js#96)
Bug 1749123 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Thanks for picking this up. Just sharing what I found: we get the resource via a legacy listener, built around the `"documentEvent"` event from the webconsole and there are 2 issues with that: - the spec doesn't define `hasNativeConsoleAPI` for this event (https://searchfox.org/mozilla-central/rev/b3933df6e119bd6caf5d9e5868670348ec26dee3/devtools/shared/specs/webconsole.js#96) - the actor doesn't forward `hasNativeConsoleAPI` in onDocumentEvent (https://searchfox.org/mozilla-central/rev/b3933df6e119bd6caf5d9e5868670348ec26dee3/devtools/server/actors/webconsole.js#1822)