Closed Bug 1142459 Opened 9 years ago Closed 9 years ago

Mixed Content Blocking shield icon is not displayed in URL Bar

Categories

(Firefox for Android Graveyard :: General, defect)

39 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox36+ verified, firefox37+ verified, firefox38+ verified, firefox39+ verified)

VERIFIED FIXED
Firefox 39
Tracking Status
firefox36 + verified
firefox37 + verified
firefox38 + verified
firefox39 + verified

People

(Reporter: TeoVermesan, Assigned: snorp)

References

Details

Attachments

(1 file, 2 obsolete files)

Steps to reproduce:
1. Open https://ie.microsoft.com/testdrive/browser/mixedcontent/assets/woodgrove.htm
2. Choose "I Understand the Risks" -> "Visit Site" option

Expected results:
- Page is loaded with the shield icon displayed in the URL bar

Actual results:
- The shield icon is missing from the URL bar

Note:
- recent regression:
good build: 10-03
bad build: 11-03
pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=6686aacf006f&tochange=fd8e079d6335

Bug 1140830 - HTC One M8 (Verizon) users reporting startup crashes after Lollipop (Android 5.0.1) update ?
Flags: needinfo?(snorp)
regression from bug 1140830
Blocks: 1140830
This should be a very small fix. snorp nodded on IRC, so over it goes.
Assignee: nobody → snorp
Status: NEW → ASSIGNED
Attachment #8576872 - Attachment is obsolete: true
Attachment #8576872 - Flags: review?(rnewman)
Attachment #8576873 - Flags: review?(rnewman)
Comment on attachment 8576873 [details] [diff] [review]
Fix mixed content shield notification broke by bug 1140830

Review of attachment 8576873 [details] [diff] [review]:
-----------------------------------------------------------------

::: mobile/android/base/SiteIdentity.java
@@ +176,3 @@
>              }
>          } catch (Exception e) {
> +            resetIdentity();

This should be reset(), no?
(In reply to Richard Newman [:rnewman] from comment #5)
> Comment on attachment 8576873 [details] [diff] [review]
> Fix mixed content shield notification broke by bug 1140830
> 
> Review of attachment 8576873 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: mobile/android/base/SiteIdentity.java
> @@ +176,3 @@
> >              }
> >          } catch (Exception e) {
> > +            resetIdentity();
> 
> This should be reset(), no?

Ugh, indeed.
Flags: needinfo?(snorp)
Attachment #8576873 - Attachment is obsolete: true
Attachment #8576873 - Flags: review?(rnewman)
Attachment #8576885 - Flags: review?(rnewman)
Comment on attachment 8576885 [details] [diff] [review]
Fix mixed content shield notification broke by bug 1140830

Review of attachment 8576885 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM. Test it! :D
Attachment #8576885 - Flags: review?(rnewman) → review+
Comment on attachment 8576885 [details] [diff] [review]
Fix mixed content shield notification broke by bug 1140830

Approval Request Comment
[Feature/regressing bug #]: bug 1140830
[User impact if declined]: no mixed mode icon
[Describe test coverage new/current, TreeHerder]: local
[Risks and why]: low
[String/UUID change made/needed]: none
Attachment #8576885 - Flags: approval-mozilla-release?
Attachment #8576885 - Flags: approval-mozilla-beta?
Attachment #8576885 - Flags: approval-mozilla-aurora?
Attachment #8576885 - Flags: approval-mozilla-release?
Attachment #8576885 - Flags: approval-mozilla-release+
Attachment #8576885 - Flags: approval-mozilla-beta?
Attachment #8576885 - Flags: approval-mozilla-beta+
Attachment #8576885 - Flags: approval-mozilla-aurora?
Attachment #8576885 - Flags: approval-mozilla-aurora+
Bug 1140830 landed on 36-39. This fix will be needed on all branches.
https://hg.mozilla.org/mozilla-central/rev/1c9a8a1e12b7
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
Verified as fixed on ZTE Grand X In (Android 4.0.4) and Nexus 7 (Android 5.0.2) on Firefox 36.0.2 Build2, on latest Aurora and latest Nightly.
Verified as fixed in build 37 beta 6;
Device: Lenovo Yoga Tab 10 (Android 4.4.2).
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: