You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems desirable for a browser extension that explores taint flows, to be able to jump to a certain line in the debugger. This is a feature request to add such an Extension API to the devtools API that will allow users to directly navigate to a specific line of code within the debugger from a browser extension.
None of the existing devtools APIs seem to be really fitting for this feature, but one that might fit is inspectedWindow, it already provides two functions as defined here:
It seems desirable for a browser extension that explores taint flows, to be able to jump to a certain line in the debugger. This is a feature request to add such an Extension API to the devtools API that will allow users to directly navigate to a specific line of code within the debugger from a browser extension.
The existing devtools API is found here: https://github.com/SAP/project-foxhound/tree/2d2b8e3eef0f33d2bd3f7c6a44bb6ea2bb0e7dc1/browser/components/extensions
None of the existing devtools APIs seem to be really fitting for this feature, but one that might fit is
inspectedWindow
, it already provides two functions as defined here:project-foxhound/browser/components/extensions/parent/ext-devtools-inspectedWindow.js
Line 11 in 2d2b8e3
The JS code to open a line in the debugger can be seen called here:
project-foxhound/devtools/client/shared/view-source.js
Line 115 in 2d2b8e3
or implemented in the debugger here:
project-foxhound/devtools/client/debugger/panel.js
Line 246 in 2d2b8e3
The text was updated successfully, but these errors were encountered: