Opened on 11/15/2017 at 07:55:37 PM

Closed on 08/29/2019 at 05:48:47 PM

Last modified on 12/19/2019 at 04:09:47 PM

#6044 closed change (rejected)

Add option to store request logs regardless of whether DevTools panel is open

Reported by: greiner Assignee:
Priority: Unknown Milestone:
Module: Platform Keywords: closed-in-favor-of-gitlab
Cc: mapx, kzar, sebastian, arthur, wspee Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by greiner)


There have been various reports of users who want to see requests even before they open the DevTools. While we are calling the according logging functions, we don't send the data anywhere if there's no active DevTools panel.

AFAIK this is done to save memory and avoid memory leaks for the majority of users. However, we could offer an option for those who are willing to make this trade-off.

What to change

  • Introduce a preference and expose it in the options page under "Advanced"
  • If the DevTools panel is open, forward the log data to the panel
  • If the preference is false and the DevTools panel is not open, discard the log data
  • If the preference is true store the log data in memory
    • If the DevTools panel gets opened, push the stored log data to the panel
  • Discard the stored log data (either when URL changes, when domain changes or when tab is removed)

Attachments (0)

Change History (11)

comment:1 Changed on 11/15/2017 at 07:59:09 PM by greiner

  • Description modified (diff)

comment:2 Changed on 11/15/2017 at 08:05:56 PM by mapx

Well, sounds good.
Keeping the log data (in case of redirects etc) it's very important for debugging the various pages
see an old ticket asking this functionality:

Last edited on 11/16/2017 at 08:05:59 AM by mapx

comment:3 Changed on 11/15/2017 at 08:36:44 PM by kzar

  • Cc sebastian added

comment:4 Changed on 11/15/2017 at 08:40:53 PM by kzar

  • Summary changed from Add option to store request logs irregardless of whether DevTools panel is open to Add option to store request logs regardless of whether DevTools panel is open

comment:5 Changed on 11/16/2017 at 09:09:34 AM by arthur

  • Cc arthur added

comment:6 Changed on 11/16/2017 at 09:27:38 AM by wspee

  • Cc wspee added

comment:7 Changed on 11/16/2017 at 05:48:29 PM by sebastian

Well, in particular detecting element hiding hits, has a rather significant impact on the performance. And yes, the memory usage would increase too (even if we just keep track of requests). So I'm not sure if we want to provide an option to do this regardless whether the devtools panel is open. From the requests I've seen having an option to preserve the log accross page load and redirects when the devtools panel is used, as suggested in #4226, would be sufficient.

Last edited on 11/16/2017 at 05:51:59 PM by sebastian

comment:8 Changed on 11/23/2017 at 02:36:16 PM by mapx

It seems in the firefox devtools panel does not work the search functionality (in chrome is working fine)

comment:9 Changed on 11/23/2017 at 02:53:53 PM by kzar

Yea, the API (ExtensionPanel.onSearch) has not been implemented for Firefox yet.

comment:10 Changed on 08/29/2019 at 05:48:47 PM by sebastian

  • Keywords closed-in-favor-of-gitlab added
  • Resolution set to rejected
  • Status changed from new to closed

Sorry, but we switched to GitLab. If this issue is still relevant, please file it again in the new issue tracker.

comment:11 Changed on 12/19/2019 at 04:09:47 PM by greiner

For reference, the current approach to offer such a feature is ui#101.

Add Comment

Modify Ticket

Change Properties
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none).
Note: See TracTickets for help on using tickets.