47 bytes, text/x-phabricator-request
|Details | Review|
Right now, test_interfaces.html and some other DOM tests have their own logic for detecting a nightly or release build using a pattern along the lines of SpecialPowers.Cc['@mozilla.org/xre/app-info;1'].getService(SpecialPowers.Ci.nsIXULAppInfo).version followed by some parsing of the returned result. This release channel functionality is now included in AppConstants.jsm and would be one less reinventing of the wheel in the tree if we converted the tests to use that instead.
Also happens in js/xpconnect/tests/chrome/test_xrayToJS.xul fwiw.
I'm assuming P3 here due to the lack of recent activity but feel free to correct me :)
Priority: -- → P3
Assignee: ryanvm → nobody
Summary: Convert the DOM test release channel checks to AppConstants.jsm → Convert the DOM test release channel checks to AppConstants
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/51b73cca09ea Use AppConstants in DOM and XPConnect tests instead of manual detection. r=bzbarsky
You need to log in before you can comment on or make changes to this bug.