mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-01 03:57:30 +09:00
Bug 1263935 - Forward AddonManager.mapURIToAddonId to AddonPathService.mapURIToAddonId
Issue #102
This commit is contained in:
parent
a055ca91ec
commit
9ff88cf7df
2 changed files with 10 additions and 13 deletions
|
|
@ -95,8 +95,10 @@ function run_test_early() {
|
|||
"resource://gre/modules/addons/XPIProvider.jsm", {});
|
||||
|
||||
// Make the early API call.
|
||||
do_check_null(s.XPIProvider.mapURIToAddonID(uri));
|
||||
// AddonManager still misses its provider and so doesn't work yet.
|
||||
do_check_null(AddonManager.mapURIToAddonID(uri));
|
||||
// But calling XPIProvider directly works immediately
|
||||
do_check_eq(s.XPIProvider.mapURIToAddonID(uri), id);
|
||||
|
||||
// Actually start up the manager.
|
||||
startupManager(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue