Open
Bug 1525517
Opened 5 years ago
Updated 2 years ago
[remote-dbg-next] Add a shared helper to detect if we are on about:devtools-toolbox
Categories
(DevTools :: about:debugging, enhancement, P3)
DevTools
about:debugging
Tracking
(Not tracked)
NEW
People
(Reporter: jdescottes, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: remote-debugging-technical-debt)
We are checking for about:devtools-toolbox in different places, using different approaches:
- using
filePath === "devtools-toolbox"
https://searchfox.org/mozilla-central/search?q=filePath+%3D%3D%3D+%22devtools-toolbox%22&case=true®exp=false&path= - using
startsWith("about:devtools-toolbox")
https://searchfox.org/mozilla-central/search?q=startsWith("about%3Adevtools-toolbox")&case=true®exp=false&path=
We should have a single helper isAboutDevtoolsToolbox(window) and avoid duplicating this logic in the codebase.
Reporter | ||
Updated•5 years ago
|
Priority: -- → P3
Reporter | ||
Comment 1•5 years ago
|
||
filter on: remote-debugging-m2-reserve-cleanup
Whiteboard: remote-debugging-technical-debt
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•