Closed Bug 1645017 Opened 5 years ago Closed 5 years ago

Provide URL_ROOT variants for example.net, example.org etc...

Categories

(DevTools :: General, task)

task

Tracking

(firefox79 fixed)

RESOLVED FIXED
Firefox 79
Tracking Status
firefox79 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

Details

Attachments

(1 file)

In DevTools tests asserting fission, we often build URLs pointing to example.net/example.org by doing URL_ROOT.replace("example.com", "example.net")

We could just expose constants in shared-head.js once at https://searchfox.org/mozilla-central/rev/4bb2401ecbfce89af06fb2b4d0ea3557682bd8ff/devtools/client/shared/test/shared-head.js#62-69

When testing fission scenarios in mochitests it can be useful to load test
documents with different TLDs.

Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ea4f903796ff Provide URL_ROOT variants for example.net, example.org r=ochameau
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: