The highlight gcli command isn't per tab

NEW
Unassigned

Status

()

Firefox
Developer Tools: Graphic Commandline and Toolbar
3 years ago
2 years ago

People

(Reporter: pbro, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
STR:
- Open 2 tabs
- Open the command line
- Type `highlight <something>` in tab 1
- Type `highlight` in tab 2

ER:
- the <something> element should still be highlighted in tab 1

AR:
- un-highlighting in tab 2 also unhighlights in tab 1.

This is because whenever we un/highlight something, we first destroy *all* highlighters stored in the command module. But of course this module is shared across tabs.

We should store highlighters per document as the rulers command does.
(Reporter)

Updated

3 years ago
Assignee: nobody → pbrosset
(Reporter)

Comment 1

3 years ago
Let's first fix bug 1147826 before this one.
Depends on: 1147826
(Reporter)

Comment 2

2 years ago
Not working on this anytime soon.
Assignee: pbrosset → nobody
You need to log in before you can comment on or make changes to this bug.