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

Issue 594856 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug
Team-Security-UX



Sign in to add a comment

Security panel: Use the origin itself as the title for the origin view.

Project Member Reported by lgar...@chromium.org, Mar 15 2016

Issue description

A long time ago, Paul came to my desk and we drafted a change to show the origin instead of showing the origin below a large line saying "Origin". I've just uploaded this as [1].

However, this has a few issues:
1. The origin security state icon (which we placed to the left of the origin) makes the text look misaligned.
2. The code assumes that all origins are parseable and renderable as [scheme]://[host][optional port]. The code doesn't have the actual security origin of the resource from the browser, so the parsing is a guess (that can break).
3. We wanted to de-emphasize the :// part of the origin, since it doesn't affect security, but this looks weird.
4.  Issue 543900  (how to display the scheme semantically) isn't really settled. I'd like to show "https" in green", Paul and Max want a separated scheme in gray.

Since WebInspector.SecurityPanel._processRequest [2] already makes assumptions about origin parseability, I'm okay with ignoring #2. #3 and #4 are also bikeshedding.

But I'd like to fix #1 and then finally land [1]. mmccoy@, up for this?


[1] https://crrev.com/1803793005
[2] https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js&q=_processRequest&l=147
 
current.png
275 KB View Download
origin-as-title.png
169 KB View Download
Summary: Security panel: Use the origin itself as the title for the origin view. (was: Security pane: Use the origin itself as the title for the origin view.)
Cc: paulir...@chromium.org
lgtm on this tweak.

fine with ignoring 3&4 :)
Status: Started (was: Assigned)
https://codereview.chromium.org/1944853002

Screenshot: https://screenshot.googleplex.com/kR34Azo9CFn

-mm

Comment 6 by mmccoy@chromium.org, May 10 2016

Status: Fixed (was: Started)

Sign in to add a comment