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)
Firefox
Address Bar
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: jaws, Unassigned)
Details
Attachments
(1 file)
3.98 KB,
patch
|
dao
:
review-
|
Details | Diff | Splinter 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)
Reporter | ||
Updated•13 years ago
|
Attachment #710847 -
Flags: review?(shorlander) → review?(dao)
Comment 1•13 years ago
|
||
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-
Reporter | ||
Comment 2•11 years ago
|
||
Unassigning as I haven't been working on this and I don't want to hold people up.
Assignee: jaws → nobody
Status: ASSIGNED → NEW
Comment 3•7 years ago
|
||
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.
Description
•