#52 Show caller name in fingerprint report
Closed: Fixed 7 months ago by polcak. Opened 2 years ago by polcak.

Fingerprint report currently shows the APIs that were called but there is no way to learn the script filename that called the API. It is possible to learn the caller via Error.stack API (create and catch an exception).

My previous work shows that creating and catching exception requires some performance. So this functionality should be enabled only in specific situations and only temporarily. The expected use case is a user trying to defined a custom rule for uBlock Origin or a similar extension.

If it was possible, a possible implementation is:

  1. Add a button to learn caller scripts to the report window.
  2. User needs to first visit a page, open the report window and click the button from step 1-
  3. The page is reloaded and the report window repopulated with the data.
  4. For performance reason, each request for that data must be initiated from the report window.

Metadata Update from @polcak:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

7 months ago

Login to comment on this ticket.

Metadata