Closed
Bug 1186892
Opened 9 years ago
Closed 8 years ago
Strikethrough of "http" appears broken when protection is disabled on pages with insecure content
Categories
(Firefox :: Security, defect, P4)
Tracking
()
VERIFIED
FIXED
Firefox 50
People
(Reporter: VarCat, Assigned: xidorn)
References
Details
(Whiteboard: [fxprivacy])
Attachments
(2 files)
Evironment:
Win 7 x64
FF 42
Build Id: 20150722030205
STR:
1. Go to https://www.bennish.net/mixed-content.html
2. Disable protection for insecure content.
Issue:
The strikethrough over http is interrupted. For a better explanation of the bug please check the attached screenshot.
Moving this to Firefox :: Security to match the parent bug.
Component: General → Security
Summary: [Windows]Strikethrough visual bug for pages that have insecure content loaded → Strikethrough of "http" appears broken when protection is disabled on pages with insecure content
Updated•9 years ago
|
Whiteboard: [fxprivacy]
Updated•9 years ago
|
Whiteboard: [fxprivacy] → [fxprivacy] [triage]
Updated•9 years ago
|
Priority: -- → P4
Whiteboard: [fxprivacy] [triage] → [fxprivacy]
Updated•8 years ago
|
status-firefox47:
--- → affected
status-firefox48:
--- → affected
status-firefox49:
--- → affected
status-firefox50:
--- → affected
Comment 2•8 years ago
|
||
Perhaps this is addressed by https://bugzilla.mozilla.org/show_bug.cgi?id=1277937 ?
Comment 3•8 years ago
|
||
This bug is still reproducible on 50.0a1 (2016-06-09) Win 7
Comment 4•8 years ago
|
||
Xidorn, do you know if this could be related to what you fixed in Bug 1277937?
Flags: needinfo?(bugzilla)
Assignee | ||
Comment 5•8 years ago
|
||
Not sure what's wrong here. Is the issue about that the strikethrough is a dashed line rather than a solid gray line?
That is an issue unrelated to bug 1277937. And it seems the code for this doesn't really consider the use of selection decoration here. Could anyone tell me what is the expected effect? Then I can probably fix this.
Flags: needinfo?(bugzilla)
Comment 6•8 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+1) from comment #5)
> Not sure what's wrong here. Is the issue about that the strikethrough is a
> dashed line rather than a solid gray line?
Yes
Comment 7•8 years ago
|
||
The https should have a full line strikethrough instead of the dashes. I'm not sure what caused this regression, but it seems like it has been around for a while and we need to fix it.
Comment 8•8 years ago
|
||
Note that it only reproduces on Windows.
Assignee | ||
Comment 9•8 years ago
|
||
It seems to me the whole selection decoration mechanism in nsTextFrame never considers the URLStrikeout selection type. I guess it was initially only used for IME. And consequently you can see lots of warnings printed to output about invalid underline style when the strike line there is displayed.
Assignee | ||
Comment 10•8 years ago
|
||
The selection decoration code looks pretty broken with the additional URL strikeout... But given that is only used internally, and in only one place, I guess it isn't necessary to fix everything now... I think it does need some cleanup eventually, though...
Assignee | ||
Comment 11•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/59578/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/59578/
Attachment #8763415 -
Flags: review?(jfkthame)
Tracking to make sure this lands. We could also consider uplifting the fix.
tracking-firefox49:
--- → +
tracking-firefox50:
--- → +
Comment 13•8 years ago
|
||
Comment on attachment 8763415 [details]
Bug 1186892 - Handle url strikeout separately from IME selection types.
https://reviewboard.mozilla.org/r/59578/#review56704
Yes, this makes sense AFAICS.
Attachment #8763415 -
Flags: review?(jfkthame) → review+
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → bugzilla
Keywords: checkin-needed
Assignee | ||
Comment 14•8 years ago
|
||
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #12)
> Tracking to make sure this lands. We could also consider uplifting the fix.
I would rather not uplift this fix. This bug is a long time and minor issue, not a recent regression. The change here isn't that trivial, especially given that the related code seems broken to me, and I don't believe it has enough coverage from automatic tests, so I suppose there exists certain risk.
Comment 15•8 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #14)
> (In reply to Liz Henry (:lizzard) (needinfo? me) from comment #12)
> > Tracking to make sure this lands. We could also consider uplifting the fix.
>
> I would rather not uplift this fix. This bug is a long time and minor issue,
> not a recent regression. The change here isn't that trivial, especially
> given that the related code seems broken to me, and I don't believe it has
> enough coverage from automatic tests, so I suppose there exists certain risk.
Yeah, I'm pretty sure not uplifting is fine with fxprivacy
Comment 16•8 years ago
|
||
Pushed by xquan@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/96070b513deb
Handle url strikeout separately from IME selection types. r=jfkthame
Keywords: checkin-needed
Comment 17•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Updated•8 years ago
|
Flags: qe-verify+
QA Contact: paul.silaghi
Comment 19•8 years ago
|
||
Hi Xidorn
Since this patch also affects 49, are you also considering to uplift this patch to 49?
Flags: needinfo?(xidorn+moz)
Updated•8 years ago
|
Assignee | ||
Comment 20•8 years ago
|
||
Given comment 14 (and comment 15), I'm not going to uplift this patch.
Flags: needinfo?(xidorn+moz)
Comment 21•8 years ago
|
||
Per comment #14 & #15, the bug has been there for a while. Mark 49 as won't fix.
You need to log in
before you can comment on or make changes to this bug.
Description
•