Skip to content

fix: URL constructor behavior

70fddb9
Select commit
Loading
Failed to load commit list.
Open

fix(runtime): align URL query serialization with browser behavior #19166

fix: URL constructor behavior
70fddb9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 26, 2026 in 1s

56.09% (target 75.00%)

View this Pull Request on Codecov

56.09% (target 75.00%)

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.09%. Comparing base (9c6c511) to head (70fddb9).

❌ Your project check has failed because the head coverage (56.09%) 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   #19166      +/-   ##
==========================================
+ Coverage   56.07%   56.09%   +0.02%     
==========================================
  Files         447      447              
  Lines       23454    23469      +15     
  Branches     5780     5782       +2     
==========================================
+ Hits        13151    13166      +15     
+ Misses       8448     8442       -6     
- Partials     1855     1861       +6     
Files with missing lines Coverage Δ
packages/taro-runtime/src/bom/URL.ts 95.80% <100.00%> (+0.31%) ⬆️
packages/taro-runtime/src/bom/URLSearchParams.ts 81.01% <100.00%> (+1.28%) ⬆️

... and 5 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.