mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
23 lines
844 B
JavaScript
23 lines
844 B
JavaScript
add_task(async function testPartialPatchApplyFailureWithCompleteAvailable() {
|
|
let patches = getLocalPatchString("partial", null, null, null, null, null,
|
|
STATE_PENDING) +
|
|
getLocalPatchString("complete", null, null, null,
|
|
null, "false");
|
|
|
|
let promptWaitTime = "0";
|
|
let updates = getLocalUpdateString(patches, null, null, null,
|
|
Services.appinfo.version, null,
|
|
null, null, null, null, "false",
|
|
null, null, null, null, promptWaitTime);
|
|
|
|
await runUpdateProcessingTest(updates, [
|
|
{
|
|
notificationId: "update-restart",
|
|
button: "secondarybutton",
|
|
cleanup() {
|
|
PanelUI.removeNotification(/.*/);
|
|
}
|
|
},
|
|
]);
|
|
});
|