#52 Show caller name in fingerprint report
Opened 8 months ago by polcak. Modified 8 months ago

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. Any future page reload will not provide the caller name.

Login to comment on this ticket.

Metadata