Open
Bug 1260291
Opened 8 years ago
Updated 2 years ago
Add a way to restore the original Console object
Categories
(DevTools :: Console, enhancement, P3)
DevTools
Console
Tracking
(firefox48 affected)
NEW
Tracking | Status | |
---|---|---|
firefox48 | --- | affected |
People
(Reporter: jdescottes, Unassigned)
References
Details
On pages that modified the Console logging API, it would be nice if the user had a way to go back to the original Console object. For instance, if you are inspecting an 3rd party page where logging was disabled or modified, it could be nice to still have access to the default console logging API from the webconsole. Some potential solutions: A - add a "nativeConsole" object available only from the webconsole that points to the original console. The warning message could be "The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page. You can use nativeConsole.log/info/warn/error to call the native Console logging API" B - add a method that makes "console" point to the original Console object, to be called by the user if needed. "The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page. Call $$restoreConsole() to restore the native console object"
Updated•8 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Type: defect → enhancement
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•