New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 671251 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Cookie sort broken for string columns

Project Member Reported by phulce@chromium.org, Dec 5 2016

Issue description

Chrome Version: 57.0.2939.0
OS: OSX 10.11.6

What steps will reproduce the problem?
(1) Open Application tab and view the cookies table
(2) Click on the "Name", "Value", "Path", or "Domain" headers to adjust the sort direction

What is the expected result? The table of cookies is sorted by the appropriate value

What happens instead? Nothing

 
Labels: -Pri-3 -OS-Mac ReleaseBlock-Stable M-56 OS-All Pri-2
Status: Assigned (was: Untriaged)
We'll need to merge the fix to M56 branch.
Labels: TE-Verified-57.0.2949.0 TE-Verified-M57
Verified the issue on windows 10, Mac 10.12.1 and Ubuntu 14.04 using latest canary #57.0.2949.0 as per comment #0

Observed that the table of cookies got sorted by the appropriate value after clicking on name or value. Hence, the fix is working as expected.

Attaching screen cast for reference.

Hence, adding the verified labels.

Thanks...!!
671251.mp4
1.1 MB View Download

Comment 5 by phulce@chromium.org, Dec 12 2016

Labels: Merge-Request-56
Thanks @krajshree, requesting merge to 56 then to avoid regression

Comment 6 by dimu@chromium.org, Dec 12 2016

Labels: -Merge-Request-56 Merge-Approved-56 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M56 (branch: 2924)
Project Member

Comment 7 by bugdroid1@chromium.org, Dec 12 2016

Labels: -merge-approved-56 merge-merged-2924
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/87a8b02d34e662c30a55b01a30fdcaa274902c87

commit 87a8b02d34e662c30a55b01a30fdcaa274902c87
Author: phulce <phulce@chromium.org>
Date: Mon Dec 12 19:52:56 2016

[DevTools] Fix Cookie Sort

Adjust CookiesTable comparator to get the correct property for string comparisons.

BUG= 671251 
NOTRY=true
NOPRESUBMIT=true

Review-Url: https://codereview.chromium.org/2550213002
Cr-Commit-Position: refs/heads/master@{#437605}
(cherry picked from commit 6cbb9199efb2e4996c77e67982cf8a55bed4df3d)

Review-Url: https://codereview.chromium.org/2569833002
Cr-Commit-Position: refs/branch-heads/2924@{#466}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[add] https://crrev.com/87a8b02d34e662c30a55b01a30fdcaa274902c87/third_party/WebKit/LayoutTests/inspector/components/cookies-table-expected.txt
[add] https://crrev.com/87a8b02d34e662c30a55b01a30fdcaa274902c87/third_party/WebKit/LayoutTests/inspector/components/cookies-table.html
[modify] https://crrev.com/87a8b02d34e662c30a55b01a30fdcaa274902c87/third_party/WebKit/Source/devtools/front_end/components_lazy/CookiesTable.js

Comment 8 by phulce@chromium.org, Dec 12 2016

Status: Verified (was: Assigned)
Cc: tkonch...@chromium.org
Labels: TE-Verified-56.0.2924.28 TE-Verified-M56
Tested the same on win10 mac 10.11.6 and Linux 14.04 chrome version 56.0.2924.28 - The table of cookies is sorted by the appropriate value clicking on headers.

Please find the screencast

Fix works as expected
671251.mov
10.0 MB Download

Sign in to add a comment