Closed
Bug 861338
Opened 12 years ago
Closed 11 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)
(deleted),
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•11 years ago
|
Blocks: remove-cu-reportError
Assignee | ||
Comment 1•11 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•11 years ago
|
Attachment #759811 -
Flags: review?(jwalker) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 24
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•