Closed Bug 838757 Opened 13 years ago Closed 7 years ago

Add a transition to the EV+SSL identity icon label

Categories

(Firefox :: Address Bar, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: jaws, Unassigned)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
The attached patch adds a transition for the identity-icon-labels when a webpage is loaded in the current tab and there is an EV SSL certificate provided by the website. The animation is not supposed to occur when the user is switching tabs or if the user cancels their location bar typing.
Attachment #710847 - Flags: review?(shorlander)
Attachment #710847 - Flags: review?(shorlander) → review?(dao)
Comment on attachment 710847 [details] [diff] [review] Patch >@@ -4452,16 +4452,25 @@ var XULBrowserWindow = { > locationObj.host = location.host; > locationObj.hostname = location.hostname; > locationObj.port = location.port; > } catch (ex) { > // Can sometimes throw if the URL being visited has no host/hostname, > // e.g. about:blank. The _state for these pages means we won't need these > // properties anyways, though. > } >+ >+ var identityIconLabels = document.getElementById("identity-icon-labels"); >+ if (identityIconLabels) { >+ if (aRequest) >+ identityIconLabels.removeAttribute("immediate"); >+ else >+ identityIconLabels.setAttribute("immediate", "true"); >+ } >+ > gIdentityHandler.checkIdentity(this._state, locationObj); > }, How about "skipanimation" or "dontanimate" rather than "immediate"? In any case, this code would need some documentation. The UI is updated in setIdentityMessages, which is rather far away from this code. This is somewhat messy. The transition is not at all smooth for me. Looks like a get only one or two intermediate frames, probably because the page is loading in parallel (tested with paypal.com).
Attachment #710847 - Flags: review?(dao) → review-
Unassigning as I haven't been working on this and I don't want to hold people up.
Assignee: jaws → nobody
Status: ASSIGNED → NEW
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: