mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 623750: browser_bug596336.js cannot run by itself. r=Unfocused, a=tests
This commit is contained in:
parent
8f61f2c5d1
commit
c35b10906d
@ -340,7 +340,14 @@ add_test(function() {
|
||||
check_contextmenu(false, false, true, true, false);
|
||||
|
||||
gContextMenu.hidePopup();
|
||||
|
||||
// Delete the created install
|
||||
AddonManager.getAllInstalls(function(aInstalls) {
|
||||
is(aInstalls.length, 1, "Should be one available install");
|
||||
aInstalls[0].cancel();
|
||||
|
||||
run_next_test();
|
||||
});
|
||||
}, false);
|
||||
|
||||
info("Opening context menu on remote extension, in detail view");
|
||||
|
@ -19,13 +19,7 @@ function test() {
|
||||
}
|
||||
|
||||
function end_test() {
|
||||
// Test generates an available installs so just cancel it
|
||||
AddonManager.getAllInstalls(function(aInstalls) {
|
||||
is(aInstalls.length, 1, "Should be one available install");
|
||||
aInstalls[0].cancel();
|
||||
|
||||
close_manager(gManagerWindow, finish);
|
||||
});
|
||||
}
|
||||
|
||||
function get_list_item_count() {
|
||||
|
@ -472,7 +472,7 @@ MockProvider.prototype = {
|
||||
addons: null,
|
||||
installs: null,
|
||||
started: null,
|
||||
apiDelay: 100,
|
||||
apiDelay: 10,
|
||||
callbackTimers: null,
|
||||
useAsyncCallbacks: null,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user