New issue
Advanced search Search tips

Issue 879351 link

Starred by 25 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 4
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Autocomplete is activating when it should not

Reported by okaybe...@gmail.com, Aug 30

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Steps to reproduce the problem:
1. In the JavaScript console, enter the following:
const Test = function() {
  this.apple = 1;
};
Test.prototype.a = 2;
const test = new Test();

2. Try to access test.a by typing the following in the console then hitting enter/return:

test.a

What is the expected behavior?
The console logs the value of test.a.

What went wrong?
The console auto-completes to test.apple.

Did this work before? Yes I'm not sure. I believe this started sometime this month.

Chrome version: 68.0.3440.106  Channel: stable
OS Version: OS X 10.13.6
Flash Version:
 
Labels: Needs-Triage-M68 Needs-Bisect
Cc: susan.boorgula@chromium.org
Labels: -Pri-2 -Needs-Bisect ReleaseBlock-Stable Triaged-ET M-69 Target-70 RegressedIn-68 FoundIn-69 FoundIn-68 FoundIn-70 Target-68 Target-69 hasbisect OS-Linux OS-Windows Pri-1
Owner: einbinder@chromium.org
Status: Assigned (was: Unconfirmed)
okaybenji@ Thanks for the update.

Able to reproduce this issue on Windows 10, Mac OS 10.13.3 and Ubuntu 17.10 on the reported version 68.0.3440.106 and latest Canary 70.0.3538.0.

Bisect Information:
===================
Good Build: 68.0.3417.0
Bad Build : 68.0.3418.0

By running per-revision bisect script, RunTimeError was coming up. Hence by running Chromium bisect below is the Changelog URL.

https://chromium.googlesource.com/chromium/src/+log/210f7ed9add7087876cf56825cb326df73a59b4b..9cf9c0c56edce812ea5cf934aff4bbc7d571c9b6

From the above Changelog, suspecting the below change:
Reviewed-on: https://chromium-review.googlesource.com/1026838

einbinder@ Please check and confirm if this issue is related to your change, else help us in assigning to the right owner.

Adding 'ReleaseBlock-Stable' for M-69 as this is a recent regression. Please feel free to remove if it is not applicable.

Thanks
Cc: pbomm...@chromium.org dgozman@chromium.org pfeldman@chromium.org
Labels: -M-69 -Target-68 -Target-69 M-70
This is regressed in M68 and we already cut M69 stable RC. Pls target fix for M70.
Friendly ping to get an update on this issue.
Thanks..!
Status: Started (was: Assigned)
Project Member

Comment 6 by bugdroid1@chromium.org, Sep 6

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/101464900ae8093c7a343f3a2642e8c17540f31b

commit 101464900ae8093c7a343f3a2642e8c17540f31b
Author: Joel Einbinder <einbinder@chromium.org>
Date: Thu Sep 06 23:15:45 2018

DevTools: Select exact matches before other items in autocomplete.

This makes sure that if the user types in a property exactly, it will
always be the default selected suggested item.

Bug:  879351 
Change-Id: I4425e105ff9381e164b3455f5e727c28e3b2d931
Reviewed-on: https://chromium-review.googlesource.com/1211862
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589358}
[modify] https://crrev.com/101464900ae8093c7a343f3a2642e8c17540f31b/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-correct-suggestions-expected.txt
[modify] https://crrev.com/101464900ae8093c7a343f3a2642e8c17540f31b/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-correct-suggestions.js
[modify] https://crrev.com/101464900ae8093c7a343f3a2642e8c17540f31b/third_party/blink/renderer/devtools/front_end/object_ui/JavaScriptAutocomplete.js

Cc: einbinder@chromium.org viswa.karala@chromium.org
 Issue 872915  has been merged into this issue.
[bulk edit] - This issue is marked as a stable blocker for M70. We are two weeks away from M70 Stable. Please take a look urgently!
We should consider merging this to M70. Joel can you please confirm if this a safe merge and do you agree we should merge this?
Labels: Merge-Request-70
Status: Fixed (was: Started)
Project Member

Comment 11 by sheriffbot@chromium.org, Oct 4

Labels: -Merge-Request-70 Merge-Review-70 Hotlist-Merge-Review
This bug requires manual review: We are only 11 days from stable.
Please contact the milestone owner if you have questions.
Owners: benmason@(Android), kariahda@(iOS), geohsu@(ChromeOS), abdulsyed@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Merge-Review-70 Merge-Approved-70
Project Member

Comment 13 by sheriffbot@chromium.org, Oct 8

Cc: abdulsyed@google.com
This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 14 by bugdroid1@chromium.org, Oct 9

Labels: -merge-approved-70 merge-merged-3538
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e59661c753fc93070dfac20c53b93c3928c7e003

commit e59661c753fc93070dfac20c53b93c3928c7e003
Author: Joel Einbinder <einbinder@chromium.org>
Date: Tue Oct 09 18:40:41 2018

DevTools: Select exact matches before other items in autocomplete.

This makes sure that if the user types in a property exactly, it will
always be the default selected suggested item.

Bug:  879351 
Change-Id: I4425e105ff9381e164b3455f5e727c28e3b2d931
Reviewed-on: https://chromium-review.googlesource.com/1211862
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#589358}(cherry picked from commit 101464900ae8093c7a343f3a2642e8c17540f31b)
Reviewed-on: https://chromium-review.googlesource.com/c/1271406
Reviewed-by: Joel Einbinder <einbinder@chromium.org>
Cr-Commit-Position: refs/branch-heads/3538@{#924}
Cr-Branched-From: 79f7c91a2b2a2932cd447fa6f865cb6662fa8fa6-refs/heads/master@{#587811}
[modify] https://crrev.com/e59661c753fc93070dfac20c53b93c3928c7e003/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-correct-suggestions-expected.txt
[modify] https://crrev.com/e59661c753fc93070dfac20c53b93c3928c7e003/third_party/WebKit/LayoutTests/http/tests/devtools/console/console-correct-suggestions.js
[modify] https://crrev.com/e59661c753fc93070dfac20c53b93c3928c7e003/third_party/blink/renderer/devtools/front_end/object_ui/JavaScriptAutocomplete.js

Labels: Merge-Merged-70-3538
The following revision refers to this bug: 
https://chromium.googlesource.com/chromium/src.git/+/e59661c753fc93070dfac20c53b93c3928c7e003

Commit: e59661c753fc93070dfac20c53b93c3928c7e003
Author: einbinder@chromium.org
Commiter: einbinder@chromium.org
Date: 2018-10-09 18:40:41 +0000 UTC

DevTools: Select exact matches before other items in autocomplete.

This makes sure that if the user types in a property exactly, it will
always be the default selected suggested item.

Bug:  879351 
Change-Id: I4425e105ff9381e164b3455f5e727c28e3b2d931
Reviewed-on: https://chromium-review.googlesource.com/1211862
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#589358}(cherry picked from commit 101464900ae8093c7a343f3a2642e8c17540f31b)
Reviewed-on: https://chromium-review.googlesource.com/c/1271406
Reviewed-by: Joel Einbinder <einbinder@chromium.org>
Cr-Commit-Position: refs/branch-heads/3538@{#924}
Cr-Branched-From: 79f7c91a2b2a2932cd447fa6f865cb6662fa8fa6-refs/heads/master@{#587811}

Sign in to add a comment