New issue
Advanced search Search tips

Issue 856346 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 3
Cc:
Components:
EstimatedDays: ----
NextAction: 2018-06-27
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression

Blocking:
issue v8:7382
issue 857372



Sign in to add a comment

[User Feedback - Canary] Google Flights - Unable to search by City / State in the search box, only airport codes accepted

Project Member Reported by melodychu@chromium.org, Jun 25 2018

Issue description

Chrome Version: 69.0.3472.0 
OS: Windows 10

What steps will reproduce the problem?
(1) Go to http://flights.google.com
(2) Type in a city or state name (like "Chicago" or "Hawaii")
(3) There's no results found, it suggests you to use the 3 letter airport code.

What is the expected result?
You can type in a city or state name into the search box.

What happens instead?
It says "Error loading places. Please enter a 3-letter code."


I'm not sure if this is a Chrome bug or a Flights bug, although the search box works just fine on Chrome stable 67 & on Firefox, so this may be a Chrome Canary issue. I filed b/110795934 as well.
 
3lettercode.JPG
256 KB View Download
Labels: OS-Mac
I can reproduce the behavior on 69.0.3468.0 on OSX as well.
Cc: susan.boorgula@chromium.org hablich@chromium.org
Components: Blink>JavaScript
Labels: -Type-Bug -Pri-3 hasbisect-per-revision Triaged-ET RegressedIn-69 Needs-Triage-M69 Target-69 FoundIn-69 OS-Linux Pri-1 Type-Bug-Regression
Able to reproduce this issue on Windows 10, Mac OS 10.13.5 and Ubuntu 14.04 on the latest Canary 69.0.3469.3 as per the original comment.

Bisect Information:
===================
Good Build: 69.0.3453.3
Bad Build : 69.0.3455.0

By running the per-revision bisect script, below is the Changelog URL.

https://chromium.googlesource.com/chromium/src/+log/1eea870b8ecd2123ccf364b04f1f09b50fccddb8..172d8173353353e4966773b24944a4c02004a09d

From the above Changelog, unable to find the right suspect which has caused this issue.
Hence CC'ing hablich@ and requesting for help in finding the right suspect from the above changelog.

Adding 'ReleaseBlock-Beta' label as this is a recent regression. Please feel free to remove if this is not applicable.

Thanks
Cc: szuend@google.com
Owner: jgruber@chromium.org
Status: Assigned (was: Untriaged)
Simon's CLs look suspicious, any pointers?
NextAction: 2018-06-27
I can repro on 69.0.3464.0, but from a first look it does not seem like Array.p.sort is called. I'll confirm tomorrow morning once back at the office.

Comment 5 by szuend@google.com, Jun 27 2018

I can repro locally with latest (HEAD) of chromium and V8. After looking into it, we found an inconsistent comparison function (https://tc39.github.io/ecma262/#sec-array.prototype.sort):

fsd_Mra = function(a, b) {
   a = fsd_Hra(a.getType());
   b = fsd_Hra(b.getType());
  return 0 > a ? 1 : 0 > b ? -1 : a - b
};

Given two objects a and b that are both 1 (before the return), then the result of the comparison depends on the order in which they are passed in.

Do we know a contact on the flights team we could get in touch with?
Just to elaborate: 'fsd_Mra' is not a consistent comparison function because it is not symmetric. 

fsd_Mra(a, b) could return a different result than fsd_Mra(b, a).

The spec requires symmetry for consistent behavior:

'If a =CF b, then b =CF a (symmetry)'
The NextAction date has arrived: 2018-06-27
Blocking: 857372 v8:7382
Friendly ping to get an update as it is marked as RBB.
Thanks..!
Status: Fixed (was: Assigned)
Fixed upstream in Flights Standalone, Flights in Search, and Destination Explore, see http://b/110866732.

Sign in to add a comment