autocomplete element access with autoclose bracket enabled insert extra closing quote and bracket
Categories
(DevTools :: Console, defect, P2)
Tracking
(firefox-esr68 unaffected, firefox-esr78 verified, firefox77 wontfix, firefox78 verified, firefox79 verified)
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | verified |
firefox77 | --- | wontfix |
firefox78 | --- | verified |
firefox79 | --- | verified |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
Steps to reproduce
- Open the console
- Type
document["a
- The input should be
document["a|"]
because autoclose bracket is enabled - Hit Enter to accept the completion of
activeElement
Expected results
The input is now document["activeElement"]
Actual results
The input is now document["activeElement"]"]
(note the extra closing quote and bracket)
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
When the autoclose bracket addon is enabled, quotes and ] are automatically
inserted, but that wasn't taken into account in the function that is in charge
of setting the input value when the user accept the autocompletion.
This patch should fix this, and add a few tests to makes sure we don't regress.
Depends on D78935
Updated•5 years ago
|
Comment 3•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 4•5 years ago
|
||
The patch landed in nightly and beta is affected.
:nchevobbe, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Comment on attachment 9155650 [details]
Bug 1644662 - Fix accepting element access autocompletion with autoclose bracket enabled. r=bomsy.
Beta/Release Uplift Approval Request
- User impact if declined: Incorrect input in the console when using the autocompletion with brackets
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See steps from Comment 0
- List of other uplifts needed: Bug 1644158
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): DevTools only, covered by automated test
- String changes made/needed:
Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
I'm a bit confused since you set status-firefox78 to wontfix and then requested uplift; which is it? :)
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
ugh sorry, that's what happen when you try to do many things at the same time.
Comment 8•5 years ago
|
||
Reproduced the issue on Nightly 79.0a1 (20200610214041)
Verified fixed on Nightly 79.0a1 (20200616215006)
Comment 9•5 years ago
|
||
Comment on attachment 9155650 [details]
Bug 1644662 - Fix accepting element access autocompletion with autoclose bracket enabled. r=bomsy.
approved for 78.0b9
Comment 10•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Verified fixed on Beta 78.0b9 (20200619002543) and 78.0esr (20200623021425)
Updated•5 years ago
|
Description
•