mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-08 04:09:03 +02:00
MozReview-Commit-ID: K56apkJhP3p --HG-- extra : rebase_source : e4f9fcab39f9aea3e480912c332781c9a9c7555e
15 lines
613 B
JavaScript
15 lines
613 B
JavaScript
"use strict";
|
|
|
|
// make sure that the stub is present and enabled
|
|
add_task(function* stub_enabled() {
|
|
let addon = yield new Promise(
|
|
resolve => AddonManager.getAddonByID("webcompat@mozilla.org", resolve)
|
|
);
|
|
isnot(addon, null, "Webcompat stub addon should exist");
|
|
is(addon.version, "1.0");
|
|
is(addon.name, "Web Compat");
|
|
ok(addon.isCompatible, "Webcompat stub addon is compatible with Firefox");
|
|
ok(!addon.appDisabled, "Webcompat stub addon is not app disabled");
|
|
ok(addon.isActive, "Webcompat stub addon is active");
|
|
is(addon.type, "extension", "Webcompat stub addon is type extension");
|
|
});
|