Closed
Bug 1220387
Opened 9 years ago
Closed 2 months ago
markup view search autocomplete does not offer matching classes sometimes
Categories
(DevTools :: Inspector, defect, P2)
DevTools
Inspector
Tracking
(firefox45 wontfix, firefox136 fixed)
RESOLVED
FIXED
136 Branch
People
(Reporter: arni2033, Assigned: nchevobbe)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [btpp-fix-later])
Attachments
(4 files)
STR: (Win7_64, Nightly 45, 32bit, ID 20151029045227, new profile)
1. Open attached "testcase 1"
2. Open devtools -> Inspector, type "test" in the field "Search with CSS selectors"
3. Delete everything in the field "Search with CSS selectors". Type there "testA"
4. Delete everything in the field "Search with CSS selectors". Type there "test1"
5. Delete everything in the field "Search with CSS selectors". Type there "test_"
Result:
After Step 3 tooltip displays suggestion ".testA_major" and ".testA_secondary"
After Steps 4 & 5 there's no suggestions
Expectations:
After Steps 4 tooltip should display suggestions ".test1_major" and ".test1_secondary"
After Steps 5 tooltip should display suggestions ".test_A_major" and ".test_A_secondary"
Comment 1•9 years ago
|
||
Triaging (filter on CLIMBING SHOES).
Priority: -- → P2
Whiteboard: [btpp-fix-later]
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
Assignee | ||
Updated•4 months ago
|
Summary: Tooltip from "Search with CSS selectors" field doesn't display any suggestions if input starts with letter contains non-letter character → markup view search autocomplete does not offer matching classes sometimes
Assignee | ||
Updated•4 months ago
|
Blocks: dt-2025-h1-P2
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 3•2 months ago
|
||
Updated•2 months ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•2 months ago
|
||
We can remove the markupmutation event listener as it was only setting
properties that weren't read anywhere in the class.
Assignee | ||
Comment 5•2 months ago
|
||
A test task is added to inspector_search-03.js (which is already testing classes
and id checks).
The part of the test that was triggering keyboard event and asserting the popup
content is moved to head.js since I'm planning to fix other bugs and this might
come handy.
We also take this as an opportinuty to cleanup the assertions a bit, and to add
the expected input value after the keybpress so the test is easier to follow.
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/85a872dd671b
[devtools] Turn SelectorAutocompleter into a proper ES6 class. r=devtools-reviewers,ochameau.
https://hg.mozilla.org/integration/autoland/rev/cde7661c67fe
[devtools] Use proper private properties/methods in SelectorAutocompleter. r=devtools-reviewers,ochameau.
https://hg.mozilla.org/integration/autoland/rev/497ac458568c
[devtools] Fix markup view search autocomplete for classes with non-alpha chars. r=devtools-reviewers,ochameau.
Comment 7•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/85a872dd671b
https://hg.mozilla.org/mozilla-central/rev/cde7661c67fe
https://hg.mozilla.org/mozilla-central/rev/497ac458568c
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox136:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Updated•8 days ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•