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)

56 Branch
All
Windows 10
defect

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.
Component: WebExtensions: Untriaged → Developer Tools: Console
Product: Toolkit → Firefox
Hey Yang, I'm not familiar with webExtension, is there a repo we can quickly clone to reproduce this issue ? Thanks
Flags: needinfo?(yfdyh000)
Attached file testcase.xpi
Flags: needinfo?(yfdyh000)
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).
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.
No longer blocks: webext-oop
Can you explain the "No longer blocks: 1190679"? Thanks.
Flags: needinfo?(amckay)
Flags: needinfo?(amckay)
Priority: -- → P3
Product: Firefox → DevTools

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.

Attachment

General

Creator:
Created:
Updated:
Size: