Closed
Bug 861338
Opened 13 years ago
Closed 13 years ago
[browserconsole] Cache Console.jsm API calls with ConsoleAPIStorage.jsm
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 24
People
(Reporter: msucan, Assigned: msucan)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
9.10 KB,
patch
|
jwalker
:
review+
|
Details | Diff | Splinter Review |
We should cache Console.jsm API calls with ConsoleAPIStorage.jsm such that the messages show in the Browser Console even if it was not open at the time of the API call.
| Assignee | ||
Updated•13 years ago
|
Blocks: remove-cu-reportError
| Assignee | ||
Comment 1•13 years ago
|
||
This is the proposed patch.
I changed _consoleStorage from an object to a map in the hope that's more optimized for our actual use-case.
Since we can't tell if messages are being logged during private browsing, should we clear the "jsm" storage whenever pb-last-context-exited?
Updated•13 years ago
|
Attachment #759811 -
Flags: review?(jwalker) → review+
| Assignee | ||
Comment 2•13 years ago
|
||
| Assignee | ||
Comment 3•13 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 4•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 24
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•