Open Bug 1732741 Opened 3 years ago Updated 3 years ago

Update all tests within devtools/client/webconsole/test to use HTTPS

Categories

(DevTools :: Console, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Blocks 1 open bug)

Details

Bug 1732259 will fix all DevTools webconsole tests which fail with https-first enabled.

With https-first, you can still load a "http" URL, but it will be silently upgraded to "https". So typically, if the test is not asserting the loaded URL at any point (directly or indirectly), the test transparently works with https-first.

However, such tests will become hard to maintain because the TEST_URL used to load the test tab will differ from what is really loaded. So if later on, we need to add an assert which includes the page's URL in those tests, we might have confusing failures & mismatches.

We should be consistent and use HTTPS everywhere in our tests.

Component: DOM: Security → Console
Product: Core → DevTools
Blocks: 1732865
Depends on: 1733464
You need to log in before you can comment on or make changes to this bug.