Closed Bug 1627972 Opened 5 years ago Closed 4 years ago

Investigate why dom/security/test/csp/test_upgrade_insecure.html is not working if we do not enforce contentSecurity Checks in the DocumentChannelChild

Categories

(Core :: DOM: Security, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla79
Fission Milestone M6b
Tracking Status
firefox79 --- fixed

People

(Reporter: ckerschb, Assigned: ckerschb)

References

Details

(Whiteboard: [domsecurity-active])

Attachments

(1 file)

No description provided.

I think this one will be fixed by Bug 1638711. Marking the dependency so we can re-evaluate one Bug 1638711 has landed.

Depends on: 1638711

(In reply to Christoph Kerschbaumer [:ckerschb] from comment #2)

I think this one will be fixed by Bug 1638711. Marking the dependency so we can re-evaluate one Bug 1638711 has landed.

Christoph, the fix for bug 1638711 landed, so this test is ready to be re-evaluated.

I assume this bug should block enabling Fission in Nightly because it blocks fission-dom-security meta bug 1584991.

Looks like this test is skipped on all platforms except opt Linux (due to SSL issues with the test runner?):

[test_upgrade_insecure.html]
# no ssl support as well as websocket tests do not work (see test_websocket.html)
skip-if = (os != 'linux' && !debug) # Bug 1183300

https://searchfox.org/mozilla-central/rev/46e3b1ce2cc120a188f6940b5c6eab6b24530e4f/dom/security/test/csp/mochitest.ini#302-304

Fission Milestone: --- → M6b
Flags: needinfo?(ckerschb)

Generally we re-enabled test_upgrade_insecure.html for fission within this patch in Bug 1584992. The skip-if = (os != 'linux' && !debug) # Bug 1183300 was pre-existing and I filed this bug to check why it was failing before bug 1638711 got fixed.

Two options:
(a) Try run confirms we can enable the test on all platforms (which could work because similar https-only tests are also enabled on all platforms).
(b) This renders as a WONTFIX, because it's enabled for fission and the skip-if was pre-existing.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=6975cad3598bc5bc02e329989a4dd2fe63a13fa1

Flags: needinfo?(ckerschb)
Pushed by cbrindusan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/48cbae48ca79 Re-enable test_upgrade_insecure.html on all platform. r=baku
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: