Closed
Bug 914403
Opened 11 years ago
Closed 11 years ago
B2G highlighter remains visible after closing toolbox
Categories
(DevTools :: Inspector, defect)
DevTools
Inspector
Tracking
(firefox26 fixed, firefox27 fixed, b2g-v1.2 fixed)
RESOLVED
FIXED
Firefox 27
People
(Reporter: jryans, Assigned: jryans)
References
Details
Attachments
(3 files)
(deleted),
patch
|
paul
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
paul
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
paul
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
STR:
1. Connect to device with App Manager
2. Debug an app
3. Pick some element with the Inspector
4. Close toolbox
5. The highlighter is still displayed in the app
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jryans
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•11 years ago
|
||
This cleans up a flawed part of the basic highlighter test. The call to selection.setNode(null) would fail because walker.highlight would blow up when passing null to _installHelperSheet.
Attachment #805716 -
Flags: review?(paul)
Assignee | ||
Comment 2•11 years ago
|
||
I've converted this test to use Task.jsm. It makes it generally easier to read and simpler to extend in part 3.
Attachment #805718 -
Flags: review?(paul)
Assignee | ||
Comment 3•11 years ago
|
||
This fixes the main issue mentioned in comment #0. The highlighter would correctly disappear after it timed out, but if you closed the toolbox before the timeout fired, the highlighter would remain forever.
This forces the selection to be cleared on inspector destruction.
Attachment #805721 -
Flags: review?(paul)
Assignee | ||
Comment 4•11 years ago
|
||
Updated•11 years ago
|
Attachment #805721 -
Flags: review?(paul) → review+
Updated•11 years ago
|
Attachment #805718 -
Flags: review?(paul) → review+
Updated•11 years ago
|
Attachment #805716 -
Flags: review?(paul) → review+
Updated•11 years ago
|
Keywords: checkin-needed
Whiteboard: [land-in-fx-team]
Updated•11 years ago
|
Whiteboard: [land-in-fx-team] → [land-in-fx-team], [needed-in-aurora-26]
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/67fb445b85a3
https://hg.mozilla.org/integration/fx-team/rev/022b9b96a7f4
https://hg.mozilla.org/integration/fx-team/rev/fe907af7bc8d
Keywords: checkin-needed
Whiteboard: [land-in-fx-team], [needed-in-aurora-26] → [needed-in-aurora-26]
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fe907af7bc8d
https://hg.mozilla.org/mozilla-central/rev/022b9b96a7f4
https://hg.mozilla.org/mozilla-central/rev/67fb445b85a3
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
Comment 7•11 years ago
|
||
Comment on attachment 805716 [details] [diff] [review]
Part 1: Fix explicit selection removal with remote highlighter
[Approval Request Comment]
Bug caused by (feature/regressing bug #): new feature (app manager)
User impact if declined: red outline around elements on Firefox OS after debugging an app
Testing completed (on m-c, etc.): m-c
Risk to taking this patch (and alternatives if risky): low
String or IDL/UUID changes made by this patch: no
Attachment #805716 -
Flags: approval-mozilla-aurora?
Comment 8•11 years ago
|
||
Comment on attachment 805718 [details] [diff] [review]
Part 2: Convert basic highlighter test to Task.jsm
[Approval Request Comment]
Bug caused by (feature/regressing bug #): new feature (app manager)
User impact if declined: red outline around elements on Firefox OS after debugging an app
Testing completed (on m-c, etc.): m-c
Risk to taking this patch (and alternatives if risky): low
String or IDL/UUID changes made by this patch: no
Attachment #805718 -
Flags: approval-mozilla-aurora?
Comment 9•11 years ago
|
||
Comment on attachment 805721 [details] [diff] [review]
Part 3: Clear selection on remote inspector destuction
[Approval Request Comment]
Bug caused by (feature/regressing bug #): new feature (app manager)
User impact if declined: red outline around elements on Firefox OS after debugging an app
Testing completed (on m-c, etc.): m-c
Risk to taking this patch (and alternatives if risky): low
String or IDL/UUID changes made by this patch: no
Attachment #805721 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #805716 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #805718 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #805721 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Whiteboard: [needed-in-aurora-26] → [land-in-aurora-26]
Comment 10•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/b7c012b45bf6
https://hg.mozilla.org/releases/mozilla-aurora/rev/a72a845b6892
https://hg.mozilla.org/releases/mozilla-aurora/rev/6dedfabac690
status-b2g-v1.2:
--- → fixed
status-firefox26:
--- → fixed
status-firefox27:
--- → fixed
Whiteboard: [land-in-aurora-26]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•