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

Issue 596374 link

Starred by 1 user

Issue metadata

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

Blocked on:
issue 559258



Sign in to add a comment

Regression:[Devtools] The shape of the manual breakpoint indicator is not similar to that of the 'deactivate breakpoints' button on the sidebar.

Project Member Reported by radhakri...@techmahindra.com, Mar 21 2016

Issue description

Chrome Version       : 51.0.2686.0 (Official Build)
OS Version : Ubuntu 14.04

What steps will reproduce the problem?
(1)Launch chrome and open Devtools on any page.
(2)Open sources tab and open any java script file.
(3)Click on any line number to set a breakpoint and observe the blue color indicator.

What is the expected result?
The shape of the manual breakpoint indicator should be similar to the one on the sidebar.

What happens instead?
The shape of the manual breakpoint indicator is not similar to the design of the 'deactivate breakpoints' button on the sidebar.

This is a regression issue broken in M-51.



 
Actual.png
313 KB View Download
Expected.png
313 KB View Download
Labels: -Pri-2 hasbisect Pri-1
Owner: cavalcantii@chromium.org
Status: Assigned (was: Unconfirmed)
Good Build: 51.0.2685.0 
Bad Build : 51.0.2686.0 

CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/93f505fb7bdf5542ce40f8c14c987e7f31a97002..db8a8b23bfce3adeb9566da47cd724899d8d5b32

Suspecting https://codereview.chromium.org/1815043003 from changelog.

@cavalcantii: Please look into the issue.
Labels: OS-Mac OS-Windows
Able to reproduce the issue on windows 7, Mac 10.11.3 using chrome version 51.0.2686.0 
Dear Friend

Thanks for the report, I'm on it to fix it.

By the looks of it, the css is missing defining the border style and the fix should be an one liner.


Adenilson
Cc: alancutter@chromium.org rbyers@chromium.org

Comment 5 by rbyers@chromium.org, Mar 21 2016

cavalcantii@, thank you!
Sorry I didn't find this case when I did a quick grep of the code for usage of border-image, curious to know why this didn't show up!

Comment 6 by rbyers@chromium.org, Mar 21 2016

I wonder if there are devtools versioning implications here - eg. when using a new client to remote debug an older target (the front-end is version-matched to the target version).
@rbyers: there certainly are - things should not stop working for people :)
Uploaded a patch fixing it on:
https://codereview.chromium.org/1818263002/
With patch.
Screen Shot 2016-03-21 at 5.17.46 PM.png
632 KB View Download
This was fixed in master by:
https://codereview.chromium.org/1822653004

Project Member

Comment 11 by bugdroid1@chromium.org, Mar 24 2016

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

commit a767dd5e090318016add91a610ca807cf9eef25e
Author: cavalcantii <cavalcantii@chromium.org>
Date: Thu Mar 24 18:53:51 2016

Handle the case for older releases (pre M51) by adding CSS fixes in compatibility script to handle the case of a border-image element that lacks the border-style.

This fixes the case of broken inspector breakpoints.

BUG= 596374 

Review URL: https://codereview.chromium.org/1818263002

Cr-Commit-Position: refs/heads/master@{#383108}

[modify] https://crrev.com/a767dd5e090318016add91a610ca807cf9eef25e/third_party/WebKit/Source/devtools/front_end/devtools.js

This later patch will handle the case of using a newer browser (M51) to remote an older target (<M51).
Someone that has the rights could update the bug status to Fixed?
Status: Fixed (was: Assigned)
Blockedon: 559258
Cc: lushnikov@chromium.org
Note that the main fix for this was in this CL:

https://chromium.googlesource.com/chromium/src/+/e641bea7d50b6d3d059154eb6a1eb49b42c5314b

DevTools: fix breakpoints rendering

As of the crrev.com/1815043003, the rules for rendring border-image
css properties have changed. This affected the breakpoint rendering in the
Sources panel.

BUG=none
R=dgozman, pfeldman

Review URL: https://codereview.chromium.org/1822653004

Cr-Commit-Position: refs/heads/master@{#382484}

Sign in to add a comment