Closed Bug 1616306 Opened 5 years ago Closed 5 years ago

Merge splitInputAtLastPropertyAccess into analyzeInputString

Categories

(DevTools :: Console, task, P2)

task

Tracking

(firefox76 fixed)

RESOLVED FIXED
Firefox 76
Tracking Status
firefox76 --- fixed

People

(Reporter: amanv1999, Assigned: amanv1999)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 3 obsolete files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

While accessing elements i.e inside [ use dot . operator.
Example :-
Evaluate this in console -
x = {["weird.[.]one"]: "plouf", ["weird.[.]second"]: "plaf", "weird": false}
Type -
x["weird.[
Now, here matchProp will return an empty string.

Actual results:

matchProp returns an empty string.

Expected results:

It should have returned something useful which we can use to retrieve from cache. But since it returned an empty string we can't retrieve from cache.

In order to solve this problem we can probably merge splitInputAtLastPropertyAccess into analyzeInputString function in order to retrieve something useful such that we can use that information to retrieve the autocomplete part from cache.
This Bug is blockage for Bug 1536088

Blocks: 1536088, 1580083
Type: enhancement → task
Priority: -- → P2
Assignee: nobody → amanv1999
Attachment #9128235 - Attachment is obsolete: true
Attachment #9128257 - Attachment is obsolete: true
Attachment #9128270 - Attachment is obsolete: true
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/61c6c704629c Merge splitInputAtLastPropertyAccess into analyzeInputString, r=nchevobbe
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: