Closed Bug 1493668 Opened 3 years ago Closed 3 years ago
Input unit test to be a mochitest for easier setup
46 bytes, text/x-phabricator-request
|Details | Review|
Per discussion in bug 1491252 we should change the existing test_UrlbarInput_unit.js from xpcshell to mochitest. This is so that we can easily pass elements as parameters to UrlbarInput and avoid the need for complex fake element objects. This will still allow us to stub/mock as necessary for unit test needs, just with much easier setup.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/92076b801e6b Change UrlbarInput unit test to be a mochitest for easier setup. r=dao
Comment on attachment 9011450 [details] Bug 1493668 - Change UrlbarInput unit test to be a mochitest for easier setup. Dão Gottwald [::dao] has approved the revision.
Attachment #9011450 - Flags: review+
You need to log in before you can comment on or make changes to this bug.