Closed Bug 1550792 Opened 7 years ago Closed 3 years ago

Consider changing LoadInfo::LoadInfo to use IsSecureContext and !IsPotentiallyTrustworthyLoopbackURL

Categories

(Core :: DOM: Security, enhancement, P3)

65 Branch
enhancement

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: jkt, Assigned: jewilde)

References

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 file, 1 obsolete file)

In LoadInfo::LoadInfo we check for https loadingPrincipals however instead we could check for IsSecureContext and !IsPotentiallyTrustworthyLoopbackURL.

Status: NEW → ASSIGNED
Whiteboard: [domsecurity-active]

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jkt, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(jkt)

Unassigning, sorry unlikely to get to this. From memory this caused issues / might not be what we want.

Assignee: jonathan → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(jonathan)
Whiteboard: [domsecurity-active]
Assignee: nobody → jonathan
Status: NEW → ASSIGNED
Severity: normal → S3
Whiteboard: [domsecurity-active]

The bug assignee didn't login in Bugzilla in the last 7 months.
:ckerschb, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: jonathan → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(ckerschb)

Hm, something like that would be nice, because we are still using if (mLoadingPrincipal->SchemeIs("https")) { in the loadinfo for detecting if we are in a secure context or not.

Probably we should revisit that if we decide to invest more into mixed content level 2, hence I am marking this bug block Bug 1435733.

Blocks: 1435733
Flags: needinfo?(ckerschb)
Assignee: nobody → jewilde
Status: NEW → ASSIGNED
Attachment #9328842 - Attachment description: WIP: Bug 1550792 - Use IsSecureContext in LoadInfo for mixed content check; → Bug 1550792 - Change LoadInfo to use IsSecureContext; r=ckerschb
Attachment #9328842 - Attachment description: Bug 1550792 - Change LoadInfo to use IsSecureContext; r=ckerschb → Bug 1550792 - Change LoadInfo to use GetIsOriginPotentiallyTrustworthy; r=ckerschb
Pushed by jewilde@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/042aa9ec5d10 Change LoadInfo to use GetIsOriginPotentiallyTrustworthy; r=ckerschb,necko-reviewers,freddyb,kershaw,extension-reviewers,devtools-reviewers,robwu
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
Regressions: 1843989
Regressions: 1849443
Attachment #9064074 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: