Closed Bug 1574401 Opened 5 years ago Closed 5 years ago

Make it possible for the element picker to select elements also in oop frames

Categories

(DevTools :: Inspector, enhancement, P1)

enhancement

Tracking

(firefox71 fixed)

RESOLVED FIXED
Firefox 71
Tracking Status
firefox71 --- fixed

People

(Reporter: pbro, Assigned: pbro)

References

(Blocks 1 open bug)

Details

(Whiteboard: dt-fission-m1)

Attachments

(5 files, 3 obsolete files)

With Fission, the element picker in the toolbox should be able to pick elements that are inside oop frames (or remote browsers in the context of the browser toolbox).

Once bug 1568825 lands, and once we get the right APIs to iterate over remote targets that we care about, then it should be easy to start the pick in all these targets at once.

2 things to solve though:

  • there will be N pickers at once, which means we will need to find a way to hide all highlighters but the one corresponding to the target that the user is currently hovering
  • mouse events in a parent target will block mouse events in a nested target (e.g. sub-iframe), so we will need to fix this so it doesn't happen.
Depends on: 1574159
Assignee: nobody → pbrosset
Status: NEW → ASSIGNED
Priority: P2 → P1

Not working more on this at the moment beyond this early exploration. This is also blocked by bug 1574159.

Assignee: pbrosset → nobody
Status: ASSIGNED → NEW
Priority: P1 → P2
Assignee: nobody → ystartsev
Status: NEW → ASSIGNED
Priority: P2 → P1
Keywords: leave-open
Pushed by ystartsev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/35927e08a557
allow DevTools to access BrowsingContext; r=ochameau
Attached file Bug 1574401 - WIP messy fix (obsolete) —
  1. send a disconnectednode with getEmbedderElement
  2. fix pagestyle error;

Depends on D44133

Attachment #9089334 - Attachment description: Bug 1574401 - WIP - allow reparenting → Bug 1574401 - allow reparenting
Blocks: 1579052
Blocks: 1579053
Attachment #9090334 - Attachment is obsolete: true
Attachment #9090674 - Attachment is obsolete: true
Depends on: 1584107

Comment on attachment 9091761 [details]
Bug 1574401 - add targetFront and parentFront to target fronts

Revision D45366 was moved to bug 1584107. Setting attachment 9091761 [details] to obsolete.

Attachment #9091761 - Attachment is obsolete: true
Depends on: 1585567

Comment on attachment 9089334 [details]
Bug 1574401 - allow reparenting

Revision D44133 was moved to bug 1585567. Setting attachment 9089334 [details] to obsolete.

Attachment #9089334 - Attachment is obsolete: true

Comment on attachment 9091765 [details]
Bug 1574401 - remove nodeFront's connectToFrame

Revision D45368 was moved to bug 1585567. Setting attachment 9091765 [details] to obsolete.

Attachment #9091765 - Attachment is obsolete: true

Comment on attachment 9091762 [details]
Bug 1574401 - move listRemoteFrame from targets to mainRoot and descriptors

Revision D45367 was moved to bug 1585567. Setting attachment 9091762 [details] to obsolete.

Attachment #9091762 - Attachment is obsolete: true
Attachment #9091762 - Attachment is obsolete: false
Attachment #9091765 - Attachment is obsolete: false
Attachment #9089334 - Attachment is obsolete: false
Pushed by ystartsev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a046846a0789
move listRemoteFrame from targets to mainRoot and descriptors r=jdescottes,ochameau
https://hg.mozilla.org/integration/autoland/rev/103be18558b0
remove nodeFront's connectToFrame r=ochameau
https://hg.mozilla.org/integration/autoland/rev/354623d3c0be
allow reparenting r=rcaliman,ochameau

Thank you so much Yulia for figuring these required pieces and pushing through with landing them. I'll take it back from here and attempt to land the final part (starting the node picker in all remote frames).

Assignee: ystartsev → pbrosset
Attachment #9086653 - Attachment description: Bug 1574401 - WIP for a multi-target node-picker in the browser toolbox → Bug 1574401 - Multi-target node-picker in the browser toolbox
Keywords: leave-open
Pushed by pbrosset@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0a2d9956b5b4
Multi-target node-picker in the browser toolbox r=rcaliman,gl,ochameau
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
Whiteboard: dt-fission → dt-fission dt-fission-m1
Whiteboard: dt-fission dt-fission-m1 → dt-fission-m1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: