mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
124166a288
The macro-driven ClassInfo stuff doesn't do getClassDescription, so we need to change that test.
12 lines
481 B
JavaScript
12 lines
481 B
JavaScript
function check_cl(iface, desc) {
|
|
do_check_eq(iface.QueryInterface(Components.interfaces.nsIClassInfo).classDescription, desc);
|
|
}
|
|
|
|
function run_test() {
|
|
check_cl(Components.interfaces, 'XPCComponents_Interfaces');
|
|
check_cl(Components.interfacesByID, 'XPCComponents_InterfacesByID');
|
|
check_cl(Components.classes, 'XPCComponents_Classes');
|
|
check_cl(Components.classesByID, 'XPCComponents_ClassesByID');
|
|
check_cl(Components.results, 'XPCComponents_Results');
|
|
}
|