Closed Bug 1493310 Opened 2 years ago Closed 2 years ago

Make some parts of nsXREDirProvider available in xpcshell tests.

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mossop, Assigned: mossop)

References

Details

Attachments

(1 file)

This is a massive hack and I dislike it immensely so if there are better options here I'd love to entertain them.

In order to be able to have even basic xpcshell tests for bug 1474285 I need nsXREDirProvider to be accessible and to be able to override a couple of the directories it returns.
In order to be able to have even basic xpcshell tests for bug 1474285 I need
nsXREDirProvider to be accessible and to be able to override a couple of the
directories it returns.
Comment on attachment 9011136 [details]
Bug 1493310: Add a way to access certain functionality of nsXREDirProvider for testing purposes. r=froydnj

Nathan Froyd [:froydnj] has approved the revision.
Attachment #9011136 - Flags: review+
Pushed by dtownsend@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a44c98dc966b
Add a way to access certain functionality of nsXREDirProvider for testing purposes. r=froydnj
https://hg.mozilla.org/mozilla-central/rev/a44c98dc966b
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.