Closed Bug 1744924 Opened 3 years ago Closed 3 years ago

adjust more tests to work with https-first mode

Categories

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

task

Tracking

()

RESOLVED FIXED

People

(Reporter: freddy, Assigned: freddy)

References

(Blocks 1 open bug)

Details

(Whiteboard: [domsecurity-active])

Attachments

(2 files, 1 obsolete file)

++ This bug was filed as a friend of bug 1743626 ++

We need to repair some tests so they don't break due to http->https upgrades e.g., when sites suddenly become same/cross-origin unexpectedly.

Let's leave this bug open in case there are more tests that need annotating.

Keywords: leave-open
Pushed by fbraun@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb84c99d9d03 Run mixed-content tests with https-first mode disabled r=ckerschb
Priority: -- → P3
Whiteboard: [domsecurity-active]
Pushed by fbraun@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ba9a1fa63341 Part 2: Adjust iframe sandbox test r=ckerschb

This adjust some recently added/modified tests to compyl with
https-first enabled.

  1. browser_ext_webRequest_error_after_stopped_or_closed.js
    The test opens a new tab for top navigation and expects it to stay HTTP.
    The test was modified to open-as HTTPS and expect as HTTPS.

  2. browser_net_har_copy_all_as_har.js
    The test performs a request to an HTTP resource.
    The test was modified to open-as HTTPS and expect as HTTPS, furthermore
    the test had more expectation about the outgoing request and its
    response, e..g, the amount of headers. Those things had to be modified,
    as a secure connection also inludes Sec-Fetch-* headers and
    Upgrade-Insecure-Requests

  3. browser_download_idn_blocklist.js
    The server runs its own webserver, which was non-trivial to switch to
    HTTPS, so we are now running this test with https-first mode always
    disabled.

Attachment #9257821 - Attachment is obsolete: true

The leave-open keyword is there and there is no activity for 6 months.
:freddy, maybe it's time to close this bug?
For more information, please visit auto_nag documentation.

Flags: needinfo?(fbraun)
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(fbraun)
Keywords: leave-open
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: