Skip to content

feat(h5): 支持 createOffscreenCanvas - #19674

Merged
Single-Dancer merged 3 commits into
NervJS:mainfrom
Jarvis636431:codex/h5-offscreen-canvas
Nov 30, 2026
Merged

Single-Dancer merged 3 commits into
NervJS:mainfrom
Jarvis636431:codex/h5-offscreen-canvas

fix(h5): handle partial offscreen canvas support and public types

1e70c28
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 29, 2026 in 0s

59.57% (target 75.00%)

View this Pull Request on Codecov

59.57% (target 75.00%)

Details

Codecov Report

❌ Patch coverage is 92.85714% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.57%. Comparing base (b307184) to head (1e70c28).

Files with missing lines Patch % Lines
...es/taro-h5/src/api/canvas/createOffscreenCanvas.ts 92.59% 2 Missing ⚠️

❌ Your project check has failed because the head coverage (59.57%) is below the target coverage (75.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #19674      +/-   ##
==========================================
+ Coverage   59.54%   59.57%   +0.03%     
==========================================
  Files         473      474       +1     
  Lines       26655    26681      +26     
  Branches     6675     6703      +28     
==========================================
+ Hits        15871    15895      +24     
+ Misses       8996     8872     -124     
- Partials     1788     1914     +126     
Files with missing lines Coverage Δ
packages/taro-h5/src/api/canvas/index.ts 100.00% <100.00%> (ø)
...es/taro-h5/src/api/canvas/createOffscreenCanvas.ts 92.59% <92.59%> (ø)

... and 39 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.