Closed
Bug 1381212
Opened 8 years ago
Closed 3 years ago
No console.time/timeEnd output if WebExtensions OOP turn on
Categories
(DevTools :: Console, defect, P3)
Tracking
(firefox57 wontfix)
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: yfdyh000, Unassigned)
Details
Attachments
(1 file)
451 bytes,
application/x-xpinstall
|
Details |
STR:
console.time(1);
console.timeEnd(1);
in background.js of an WebExtension.
Actual results:
Quietly.
console.log(1); work.
Updated•8 years ago
|
Component: WebExtensions: Untriaged → Developer Tools: Console
Product: Toolkit → Firefox
Comment 1•8 years ago
|
||
Hey Yang,
I'm not familiar with webExtension, is there a repo we can quickly clone to reproduce this issue ?
Thanks
Flags: needinfo?(yfdyh000)
Comment 3•8 years ago
|
||
Thanks Yang.
Unfortunately it seems I can't install the extension you provided (error : "The add-on could not be installed because it appears to corrupted")
(In reply to Nicolas Chevobbe [:nchevobbe] from comment #3)
> Thanks Yang.
> Unfortunately it seems I can't install the extension you provided (error :
> "The add-on could not be installed because it appears to corrupted")
Load it from about:debugging#addons (opened from Add-ons Manager - Gear menu).
Comment 5•8 years ago
|
||
I was able to install it, and I see some logs (log, and timer), in the browser console (which uses the old console frontend). But I don't know which page I should open to acknowledge the bug you are reporting.
Would it be possible to have more detailed steps to reproduce please ? Thanks !
STR:
1. Load the testcase.xpi from about:debugging#addons.
2. Check the browser console, see the console.log output work.
3. Switch the extensions.webextensions.remote to false, reload the testcase, see the console.time/timeEnd output work in browser console.
Updated•8 years ago
|
No longer blocks: webext-oop
Can you explain the "No longer blocks: 1190679"? Thanks.
Flags: needinfo?(amckay)
Updated•8 years ago
|
Flags: needinfo?(amckay)
Updated•8 years ago
|
status-firefox57:
--- → wontfix
Priority: -- → P3
Updated•7 years ago
|
Product: Firefox → DevTools
Comment 8•3 years ago
|
||
Tried STR from Comment 6, and I can see time: 0ms - time ended
in both the about:devtools-toolbox
for the extension, as well as in the Browser Toolbox (as long as "Show content messages" is enabled, which we might not want, but that's something we'll look at in Bug 1765295)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•