Handle cleared MPV entry during fallback failure
This commit is contained in:
@@ -119,6 +119,9 @@ test("failure is correlated from MPV end-file entry id without querying a cleare
|
||||
assert.notEqual(command, "get_property", "failure correlation must use the emitted entry id");
|
||||
return { data: [] };
|
||||
};
|
||||
player.activeEntryId = null;
|
||||
player.activeUrl = null;
|
||||
player.currentFile = null;
|
||||
send(player, { reason: "error", file_error: "network unavailable" }, 42);
|
||||
await settle();
|
||||
assert.deepEqual(starts, [url]);
|
||||
|
||||
Reference in New Issue
Block a user