mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 06:08:24 +02:00
These two interfaces are effectively never used, so to avoid needing to support ClassID2JSValue with the new implementation, I remove them entirely. Differential Revision: https://phabricator.services.mozilla.com/D2285
9 lines
272 B
JavaScript
9 lines
272 B
JavaScript
function check_cl(iface, desc) {
|
|
Assert.equal(iface.QueryInterface(Ci.nsIClassInfo).classDescription, desc);
|
|
}
|
|
|
|
function run_test() {
|
|
check_cl(Ci, 'XPCComponents_Interfaces');
|
|
check_cl(Cc, 'XPCComponents_Classes');
|
|
check_cl(Cr, 'XPCComponents_Results');
|
|
}
|