browser.toml |
|
1865 |
browser_beforeunload_permit_http.js |
Description of Tests:
Test load page and reload:
1. Enable HTTPS-First and the pref to trigger beforeunload by user interaction
2. Open an HTTP site. HTTPS-First will try to upgrade it to https - but since it has no cert that try will fail
3. Then simulated user interaction and reload the page with a reload flag.
4. That should lead to a beforeUnload prompt that asks for users permission to perform reload. HTTPS-First should not try to upgrade the reload again
Test Navigation:
1. Enable HTTPS-First and the pref to trigger beforeunload by user interaction
2. Open an http site. HTTPS-First will try to upgrade it to https - but since it has no cert for https that try will fail
3. Then simulated user interaction and navigate to another http page. Again HTTPS-First will try to upgrade to HTTPS
4. This attempted navigation leads to a prompt which askes for permission to leave page - accept it
5. Since the site is not using a valid HTTPS cert HTTPS-First will downgrade the request back to HTTP
6. User should NOT get asked again for permission to unload
Test Session History Navigation:
1. Enable HTTPS-First and the pref to trigger beforeunload by user interaction
2. Open an http site. HTTPS-First will try to upgrade it to https - but since it has no cert for https that try will fail
3. Then navigate to another http page and simulated a user interaction.
4. Trigger a session history navigation by clicking the "back button".
5. This attempted navigation leads to a prompt which askes for permission to leave page - accept it
|
7781 |
browser_downgrade_mixed_content_auto_upgrade_console.js |
|
2383 |
browser_downgrade_view_source.js |
|
3035 |
browser_download_attribute.js |
|
3924 |
browser_http_scheme_no_upgrade.js |
Any copyright is dedicated to the Public Domain.
https://creativecommons.org/publicdomain/zero/1.0/ |
2112 |
browser_https_telemetry.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
15748 |
browser_https_telemetry2.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
5908 |
browser_httpsfirst.js |
|
3071 |
browser_httpsfirst_console_logging.js |
|
2246 |
browser_httpsfirst_speculative_connect.js |
|
1928 |
browser_mixed_content_console.js |
|
3561 |
browser_mixed_content_download.js |
Waits until a download is triggered.
It waits until a prompt is shown,
saves and then accepts the dialog.
@returns {Promise} Resolved once done.
|
4884 |
browser_navigation.js |
|
2647 |
browser_redirect_exemption_clearing.js |
Any copyright is dedicated to the Public Domain.
https://creativecommons.org/publicdomain/zero/1.0/ |
1585 |
browser_schemeless.js |
Any copyright is dedicated to the Public Domain.
https://creativecommons.org/publicdomain/zero/1.0/ |
6705 |
browser_slow_download.js |
Waits for a download to finish, in case it has not finished already.
@param aDownload
The Download object to wait upon.
@return {Promise}
@resolves When the download has finished successfully.
@rejects JavaScript exception if the download failed.
|
5067 |
browser_subdocument_downgrade.js |
Any copyright is dedicated to the Public Domain.
https://creativecommons.org/publicdomain/zero/1.0/ |
2257 |
browser_superfluos_auth.js |
Any copyright is dedicated to the Public Domain.
https://creativecommons.org/publicdomain/zero/1.0/ |
2026 |
browser_tlds.js |
Any copyright is dedicated to the Public Domain.
https://creativecommons.org/publicdomain/zero/1.0/ |
1360 |
browser_upgrade_onion.js |
|
2068 |
download_page.html |
Test mixed content download by https-first |
564 |
download_server.sjs |
|
475 |
file_bad_cert.sjs |
|
961 |
file_beforeunload_permit_http.html |
|
138 |
file_break_endless_upgrade_downgrade_loop.sjs |
|
3246 |
file_bug_1725646_a.sjs |
eslint-disable @microsoft/sdl/no-insecure-url |
680 |
file_bug_1725646_b.sjs |
eslint-disable @microsoft/sdl/no-insecure-url |
867 |
file_data_uri.html |
Bug 1709069: Test that Data URI which makes a top-level request gets updated in https-first |
403 |
file_downgrade_500_responses.sjs |
|
2049 |
file_downgrade_bad_responses.sjs |
|
2095 |
file_downgrade_request_upgrade_request.sjs |
|
1692 |
file_downgrade_view_source.sjs |
|
830 |
file_downgrade_with_different_path.sjs |
|
711 |
file_download_attribute.html |
Test download attribute for http site |
424 |
file_download_attribute.sjs |
|
424 |
file_empty.html |
|
42 |
file_form_submission.sjs |
|
2989 |
file_fragment.html |
|
1192 |
file_https_telemetry_csp_uir.html |
HTTPS Telemetry CSP UIR Test |
323 |
file_https_telemetry_hsts.sjs |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
810 |
file_httpsfirst_speculative_connect.html |
|
78 |
file_httpsfirst_timeout_server.sjs |
|
424 |
file_mixed_content_auto_upgrade.html |
Bug 1673574 - Improve Console logging for mixed content auto upgrading |
427 |
file_mixed_content_console.html |
Bug 1713593: HTTPS-First: Add test for mixed content blocker. |
664 |
file_multiple_redirection.sjs |
|
4280 |
file_navigation.html |
|
71 |
file_no_https_support.sjs |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
295 |
file_redirect.sjs |
|
1818 |
file_redirect_downgrade.sjs |
|
2347 |
file_redirect_error.sjs |
|
3542 |
file_redirect_exemption_clearing.sjs |
Any copyright is dedicated to the Public Domain.
https://creativecommons.org/publicdomain/zero/1.0/ |
582 |
file_referrer_policy.sjs |
|
3154 |
file_slow_download.html |
Test slow download from an http site that gets upgraded to https |
450 |
file_slow_download.sjs |
|
783 |
file_slow_non_standard_port.sjs |
|
1416 |
file_subdocument_downgrade.sjs |
|
283 |
file_toplevel_cookies.sjs |
|
6917 |
file_upgrade_insecure.html |
Bug 1704454 - HTTPS FIRST Mode |
2803 |
file_upgrade_insecure_server.sjs |
|
3475 |
head.js |
|
107 |
mochitest.toml |
|
1632 |
pass.png |
|
1689 |
test.wav |
|
353022 |
test.webm |
|
97465 |
test_bad_cert.html |
HTTPS-FirstMode - Bad Certificates |
2588 |
test_break_endless_upgrade_downgrade_loop.html |
HTTPS-First-Mode - Break endless upgrade downgrade redirect loop |
3527 |
test_bug_1725646.html |
HTTPS-First-Mode - Simulate site similar to bom.gov.au |
3090 |
test_data_uri.html |
Bug 1709069: Test that Data URI which makes a top-level request gets updated in https-first |
1383 |
test_downgrade_500_responses.html |
Bug 1747673 : HTTPS First fallback to http for non-standard 5xx status code responses |
2023 |
test_downgrade_bad_responses.html |
Bug 1709552 : HTTPS-First: Add downgrade tests for bad responses to https request |
1931 |
test_downgrade_request_upgrade_request.html |
Bug 1706126: Test https-first, downgrade first request and then upgrade redirection to subdomain |
1913 |
test_form_submission.html |
Bug 1720103 - Https-first: Do not upgrade form submissions (for now) |
3637 |
test_fragment.html |
Bug 1706577: Have https-first mode account for fragment navigations |
1674 |
test_multiple_redirection.html |
HTTPS-First-Mode - Test for multiple redirections |
4035 |
test_redirect_downgrade.html |
Bug 1707856: Test redirect downgrades with https-first |
1762 |
test_redirect_http_error.html |
HTTPS-First-Mode - Test for multiple redirections |
4156 |
test_redirect_upgrade.html |
HTTPS-FirstMode - Redirect Upgrade |
2058 |
test_referrer_policy.html |
Bug 1716706 : Write referrer-policy tests for https-first |
11436 |
test_resource_upgrade.html |
HTTPS-First Mode - Resource Upgrade |
4112 |
test_slow_non_standard_port.html |
Bug 1736562 : Test that slow nonstandard port sites don't get timeout |
1592 |
test_toplevel_cookies.html |
Bug 1711453 : HTTPS-First: Add test for cookies |
5018 |