Browser Toolbox doesn't jump to element in tree on in-content pages
Categories
(DevTools :: Inspector, defect, P2)
Tracking
(firefox-esr78 unaffected, firefox-esr91 unaffected, firefox93 unaffected, firefox94 verified, firefox95 verified)
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox-esr91 | --- | unaffected |
firefox93 | --- | unaffected |
firefox94 | --- | verified |
firefox95 | --- | verified |
People
(Reporter: Paenglab, Assigned: nchevobbe)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
Bug 1732966 fixed the issue that the Browser Toolbox doesn't highlight elements in in-content pages like the prefs.
But now it doesn't jump to the element in the tree. The rules view shows the correct rules.
On normal web pages all is working correctly.
Assignee | ||
Comment 1•3 years ago
|
||
Do you have a test case Richard? I quickly checked on Nightly and everything seems fine
Reporter | ||
Comment 2•3 years ago
|
||
STR:
- Open
Browser Toolbox
- Open the
Settings
- Click in
Browser Toolbox
the pick an element button and click on an element in theSettings
like a checkbox
Result: On the right of the Browser Toolbox
in Rules
the rules for checkbox are shown but on the left the tree doesn't jump to the element. Below the breadcrumbs shows the correct path.
Reporter | ||
Comment 3•3 years ago
|
||
I meant the FX settings not the Browser Toolbox settings.
Assignee | ||
Comment 4•3 years ago
|
||
Ah yes, thanks, I'm looking into this
Assignee | ||
Comment 5•3 years ago
|
||
This patch sort of reverts to what existed before Bug 1731996, except
that we still handle hovering on iframe padding.
The "refactoring" that was done in Bug 1731996 made the Browser Toolbox nodePicker
misbehaving.
Unfortunately, it's hard to have a test for the Browser Toolbox nodePicker, as
when we use BrowserTestUtils.synthesizeMouse
we explicitely pass the window
we want the event to happen in so we don't hit any of the propagation stopper
that might occur when using it manually.
Depends on D127224
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/60c5ef76eb44 [devtools] Fix BrowserToolbox node picker. r=ochameau.
Comment 7•3 years ago
|
||
bugherder |
Comment 9•3 years ago
|
||
Should we ask for an uplift?
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 10•3 years ago
|
||
(In reply to Julian Descottes [:jdescottes] from comment #9)
Should we ask for an uplift?
Yes, that would be better I guess
Assignee | ||
Comment 11•3 years ago
|
||
Comment on attachment 9244342 [details]
Bug 1733421 - [devtools] Fix BrowserToolbox node picker. r=ochameau.
Beta/Release Uplift Approval Request
- User impact if declined: Using the Browser Toolbox , the node picker won't work properly on pages like
about:preferences
, or for inspecting chrome documents (e.g. devtools panels) - Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: 1. In Firefox, open DevTools inspector on a page of your choice
- Open the MultiProcess Browser Toolbox
- Select the node picker
- Try to select an element in the inspector markup view
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): DevTools/Browser Toolbox fix only, only impacting node picker behavior, which is not something regular users are using
- String changes made/needed:
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 12•3 years ago
•
|
||
Reproduced this bug on an affected Nightly (2021-09-30), using STR from comment 2.
The issue is verified as fixed on latest Nightly 95.0a1, under macOS 11, Win 10 x64 and Ubuntu 18.04 x64.
Comment 13•3 years ago
|
||
Comment on attachment 9244342 [details]
Bug 1733421 - [devtools] Fix BrowserToolbox node picker. r=ochameau.
Fixes a new regression before it ships in 94. Approved for 94.0b8.
Comment 14•3 years ago
|
||
bugherder uplift |
Comment 15•3 years ago
|
||
The issue is also verified as fixed on Beta 94.0b8, under macOS 11, Win 11 x64 and Ubuntu 18.04 x64.
Description
•