Closed Bug 1388425 Opened 7 years ago Closed 4 years ago

Write MDN page describing 'replaced console api' message

Categories

(Developer Documentation Graveyard :: Developer Tools, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bgrins, Unassigned)

References

Details

In Bug 1383022 we are showing the 'replaced console api' message on a page where the 'console' object has been replaced by the page's JS, such as `data:text/html,<script>console = {}</script>`

Here's the message:

  The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page.

If we add the page we can link to it from the message by mapping the category into the errordocs module: https://dxr.mozilla.org/mozilla-central/source/devtools/server/actors/errordocs.js#95
See Also: → 1385337
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.