Handle CSP 'navigate-to' redirection checks for DocumentChannel.
Categories
(Core :: Security, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
Details
Attachments
(4 files)
Similar to bug 1581470, DocumentChannel doesn't fire AsyncOnChannelRedirect in the content process, so we're not getting the 'navigate-to' check.
We need to move the code into CSPService::ConsultCSPForRedirect, so that we can run it without the nsIChannel instance.
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
Depends on D46739
| Assignee | ||
Comment 3•6 years ago
|
||
We previously used the initial LoadInfo from when the DocumentChannel was created, but need the one from the most recent channel in the parent.
Depends on D46740
| Assignee | ||
Comment 4•6 years ago
|
||
Depends on D46741
Comment 7•6 years ago
|
||
Backed out 5 changesets (Bug 1583076) for href-location-redirected-blocked.sub.html failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/1868efc4e885f660f7cdc23c123d96b91805b52d
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=268233938&repo=autoland&lineNumber=1012
[task 2019-09-24T20:47:12.123Z] 20:47:12 INFO - TEST-START | /content-security-policy/navigate-to/href-location-redirected-blocked.sub.html
[task 2019-09-24T20:47:12.127Z] 20:47:12 INFO - Closing window 50
[task 2019-09-24T20:47:12.200Z] 20:47:12 INFO - Closing window 34359738371
[task 2019-09-24T20:47:22.505Z] 20:47:22 INFO -
[task 2019-09-24T20:47:22.505Z] 20:47:22 INFO - TEST-UNEXPECTED-NOTRUN | /content-security-policy/navigate-to/href-location-redirected-blocked.sub.html | Test that the child iframe navigation is not allowed - expected PASS
[task 2019-09-24T20:47:22.505Z] 20:47:22 INFO - TEST-UNEXPECTED-TIMEOUT | /content-security-policy/navigate-to/href-location-redirected-blocked.sub.html | expected OK
[task 2019-09-24T20:47:22.505Z] 20:47:22 INFO - TEST-INFO took 10385ms
Comment 10•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Comment 11•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/43c7cdf5c1e6
https://hg.mozilla.org/mozilla-central/rev/f62dc9ae3caf
https://hg.mozilla.org/mozilla-central/rev/7ee838678e6f
https://hg.mozilla.org/mozilla-central/rev/3f8fb4a68d7f
Comment 12•6 years ago
|
||
Retroactively moving fixed bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to an appropriate Fission Milestone.
This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:
0ee3c76a-bc79-4eb2-8d12-05dc0b68e732
Description
•