Closed Bug 1273430 Opened 9 years ago Closed 8 years ago

Write testcase for CSP upgrade-insecure-requests including doc.write(iframe)

Categories

(Core :: DOM: Security, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: ckerschb, Assigned: ckerschb)

References

(Blocks 1 open bug)

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 file)

After the W3C f2f we figured it might be nice to have a testcase for the following scenario: * A toplevel https page ship with a CSP upgrade-insecure-requests * includes an http iframe which gets upgraded to load over https * that iframe performs a doc.write(iframe) with an *http* URL * make sure that the innermost iframe gets upgraded to use https.
Whiteboard: [domsecurity-backlog]
Blocks: 1139297
Blocks: csp-w3c-3
Priority: -- → P1
Assignee: nobody → ckerschb
Status: NEW → ASSIGNED
Whiteboard: [domsecurity-backlog] → [domsecurity-active]
Hey Tanvi, this works as expected, but it's nice to have a testcase so we never regress that.
Attachment #8769713 - Flags: review?(tanvi)
Attachment #8769713 - Flags: review?(tanvi) → review+
Pushed by mozilla@christophkerschbaumer.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/90f9475f9746 Test CSP upgrade-insecure-requests for doc.write(iframe). r=tanvi
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: