Open Bug 1417522 Opened 7 years ago Updated 2 years ago

ScreenGraph: allow multiple edges between the same pair of nodes, but with different predicates.

Categories

(Firefox for iOS :: Build & Test, enhancement, P4)

Other
iOS
enhancement

Tracking

()

Tracking Status
fxios + ---

People

(Reporter: jhugman, Unassigned)

Details

We should be able to support to direct routes between the a pair of nodes, with different gestures and different predicates. 

e.g. 

screenState.tap(app.button("URLBar.tabTrayButton", to: TabTray, if: "isTablet == true")
screenState.tap(app.button("TabToolBar.tabTrayButton", to: TabTray, if: "isTablet == false")

This is a placeholder to gather other examples before we should undertake this bug.
Assignee: nobody → jhugman
Status: NEW → ASSIGNED
Priority: -- → P2
Status: ASSIGNED → NEW
Currently not working on this. If anyone needs it, this is a reasonably large refactor, as edges are store in Map<String, GraphNode>().

For predicates to be involved, essentially, we need to change this to a Map<String, [GraphNode]>, which needs some careful, non mechanical refactoring.
Assignee: jhugman → nobody
Priority: P2 → P4
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.