mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-30 12:29:27 +00:00
test: prove the frame lifecycle fixes against the real extension
The evidence for the frame-observation fixes was a reimplementation of the logic measured in a browser console, not the shipped code. Two extension specs now cover the observable behaviour end to end: a player frame that swaps its document, and the same one level deeper. The nested case fails against the pre-fix content.js and passes now. The top-level case already passed before the fix, so that fix removed dead observer registrations without changing what a user could see; recorded here so the distinction is not lost. Also adds bench-finder.mjs, which measures the extracted shipped finder instead of a transcription of it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>Outer</title>
|
||||
<style>body { margin: 0 }</style>
|
||||
<!-- Wrapper frame with no video of its own: the player sits one level deeper,
|
||||
so anything that only walks the top document's frames misses it. -->
|
||||
<iframe class="inner_player" width="860" height="490" src="player-frame.html"></iframe>
|
||||
Reference in New Issue
Block a user