[skip ci] various fixes

This commit is contained in:
Brahim Hadriche committed 2026-06-18 12:10:21 -04:00
1 parent 0c7bd4b3e0
commit 0f33f72cc1
7 files changed
+67 -2

No files matched your search

@@ -175,6 +175,7 @@ function TestSnapshot() as object
return {
transportMode: m.transport.transportMode
seekSettling: m.transport.seekSettling
onCloseCalled: m.onCloseCalled = true
control: m.top.control
autoplay: m.top.autoplayAfterSeek
bifVisible: m.bifDisplay.visible
@@ -188,3 +189,16 @@ function TestSnapshot() as object
barRemainingText: m.trickPlayBar.findNode("remainingLabel").text
}
end function
' TestWireQueueClose — make the stub videoQueue close the player when ClosePlayer writes closePlayer, mirroring
' the real VideoQueue.OnClosePlayer (which sets player.close = true). Opt-in: only the finish-during-tick
' re-entrancy spec needs the full synchronous teardown chain wired up.
function TestWireQueueClose() as void
m.videoQueue.observeFieldScoped("closePlayer", FuncName(OnTestQueueClose))
end function
function OnTestQueueClose() as void
if m.videoQueue.closePlayer
m.top.close = true
end if
end function