HTTPS-Only: Write test that http background request does not leak privacy info
Categories
(Core :: DOM: Security, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox82 | --- | fixed |
People
(Reporter: ckerschb, Assigned: ckerschb)
References
Details
(Whiteboard: [domsecurity-active])
Attachments
(1 file)
Follo9w up to Bug 1660945: Within Bug 1660945 we are stripping path information. Let's make sure that really happens in a test.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
Comment 3•5 years ago
|
||
Backed out for failures on test_http_background_request.html
backout: https://hg.mozilla.org/integration/autoland/rev/f0af7e8af2c69a5cc24f03e97a329412ac4377e9
failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=315030841&repo=autoland&lineNumber=6230
[task 2020-09-07T17:36:19.403Z] 17:36:19 INFO - 2503 INFO TEST-PASS | dom/security/test/https-only/test_http_background_request.html | upgraded request needs to be https
[task 2020-09-07T17:36:19.403Z] 17:36:19 INFO - Buffered messages finished
[task 2020-09-07T17:36:19.403Z] 17:36:19 WARNING - 2504 INFO TEST-UNEXPECTED-FAIL | dom/security/test/https-only/test_http_background_request.html | background request needs to be http and no sensitive info like path - got "http://10.0.2.2:8854/safebrowsing4-dummy/update&$req=ChUKE25hdmNsaWVudC1hdXRvLWZmb3gaCggFEAIiAiACKAEaCggEEAMiAiACKAEaCggDEAMiAiACKAE=", expected "http://example.com/"
[task 2020-09-07T17:36:19.403Z] 17:36:19 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:500:14
[task 2020-09-07T17:36:19.404Z] 17:36:19 INFO - observe@dom/security/test/https-only/test_http_background_request.html:46:9
[task 2020-09-07T17:36:19.404Z] 17:36:19 WARNING - 2505 INFO TEST-UNEXPECTED-FAIL | dom/security/test/https-only/test_http_background_request.html | we should never get here, but just in case
[task 2020-09-07T17:36:19.404Z] 17:36:19 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:417:16
[task 2020-09-07T17:36:19.404Z] 17:36:19 INFO - observe@dom/security/test/https-only/test_http_background_request.html:49:7
[task 2020-09-07T17:36:19.404Z] 17:36:19 WARNING - 2506 INFO TEST-UNEXPECTED-FAIL | dom/security/test/https-only/test_http_background_request.html | three requests total (kickoff, upgraded, background) - got 4, expected 3
[task 2020-09-07T17:36:19.405Z] 17:36:19 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:500:14
[task 2020-09-07T17:36:19.405Z] 17:36:19 INFO - runTests@dom/security/test/https-only/test_http_background_request.html:77:5
| Assignee | ||
Comment 4•5 years ago
|
||
(In reply to Natalia Csoregi [:nataliaCs] from comment #3)
Backed out for failures on test_http_background_request.html
Oh, on Android we have other requests appear in the observer as well. I will make sure the test only evaluates requests triggered by the test itself.
Comment 6•5 years ago
|
||
| bugherder | ||
Description
•