test(danmuku): [PKG-DANMUKU-08] verify native PiP and current-source mask combinations

This commit is contained in:
Harvey Zhao committed 2026-09-14 20:50:31 +08:00
1 parent 88ce836f85
commit b54a890832
9 files changed
+4741 -9

No files matched your search

@@ -165,7 +165,10 @@ by its original player. Native shared TensorFlow backend state remains unverifie
`yarn test:browser test/browser/danmuku-mask-native.spec.js --workers=1` now covers
actual local model loading, bitmap alpha and owned canvas cleanup, new/old cores,
real Danmuku delivery after model readiness, pause/seek and CSS web fullscreen.
Set ARTPLAYER_MASK_ARTIFACT to the legacy global build for the second format.
Both Mask and Danmuku compile from current source by default. Set
ARTPLAYER_MASK_ARTIFACT and ARTPLAYER_DANMUKU_ARTIFACT to explicit global builds
for artifact verification; attachments record both inputs and hashes. Missing
specified files are errors, not a source or dist fallback.
Archive each report before another browser run. The startup timestamp diagnostic
can still miss a row; do not interpret the post-ready assertions as losslessness.
Native acceptance still needs source changes, multiple players, failure recovery,
@@ -1,5 +1,20 @@
# Danmuku maintenance map
`test/browser/danmuku-dpip.spec.js` exercises the candidate with old/current cores
in two sequential native Document PiP windows. It checks timestamp-delivered text,
adopted layer and heatmap nodes, stylesheet layout, one surviving track Worker,
close/native-close/destroy cleanup, and no retained scheduling operation. Native
API absence is reported separately; it does not simulate a popup or count as
playback evidence. This is not a background-throttling or device benchmark.
Set `ARTPLAYER_DANMUKU_ARTIFACT` and `ARTPLAYER_DPIP_ARTIFACT` together to check
the corresponding built formats; both loaded hashes appear in each attachment.
The actual Mask/model combination in `danmuku-mask-native.spec.js` now compiles
both plugins from source by default. `ARTPLAYER_MASK_ARTIFACT` and
`ARTPLAYER_DANMUKU_ARTIFACT` override them independently and fail on missing files.
Do not substitute a stale dist file for source checks. Full old-plugin/core,
OS fullscreen, installation, performance and device acceptance remain task 08/09.
The compatibility reference is the actual npm 5.3.0 package. Its archive,
historical declarations, earlier exports and failure evidence are indexed in
`refactor/baselines/danmuku-release.json` and