Open Bug 1143807 Opened 10 years ago Updated 3 years ago

Add an API to get a reference to the URL of a test helper file with a specified origin

Categories

(Testing :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: Paolo, Unassigned)

References

Details

In bug 1142110, instead of hard-coding a helper file URL, it could be helpful to be able to use an API like: let url = TestUtils.getHelperFileURL({ path: "form_basic.html", origin: "https://example.com/", }); And for the browser-chrome test in that bug, it would result in the string: "https://example.com/browser/toolkit/components/passwordmgr/test/browser/form_basic.html"
Summary: Add an API to get a reference to the URL of test a helper file with a specified origin → Add an API to get a reference to the URL of a test helper file with a specified origin
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.