Skip to content

chore: add Navigation API to baseline ignore features#1417

Merged
joaquin-diaz merged 1 commit into
mainfrom
joaquin-diaz/chore/add-navigation-api-to-baseline-ignore-features
Jul 8, 2026
Merged

chore: add Navigation API to baseline ignore features#1417
joaquin-diaz merged 1 commit into
mainfrom
joaquin-diaz/chore/add-navigation-api-to-baseline-ignore-features

Conversation

@joaquin-diaz

Copy link
Copy Markdown
Contributor

What problem is this solving?

The baseline validation (npm run check:dist) runs eslint-plugin-baseline-js on compiled output and rejects any API that is not widely available. The Navigation API (window.navigation) is newly available (not yet widely available) and is used intentionally by the soft navigation polyfill in SoftNavigationPerformanceInstrumentation.

Short description of changes

  • Added 'navigation' to ignoreFeatures in eslint.dist.config.ts so the baseline check does not flag Navigation API usage in compiled output.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor
Chrome DevTools Protocol Tracing (Script: 118.41ms, Heap: 13.43MB)
Number of Requests Size of Requests Script Duration Task Duration Heap Used Size
Requests +13 requests +41.73 KB
Page Loaded +21.69 ms +10.17 ms +1.17 MB
Generate 100 fetch requests +19.65 ms +61.99 ms +1.82 MB
Generate 100 XHR requests +37.30 ms +91.73 ms +2.73 MB
Click 100 buttons and generate 100 logs +29.53 ms +56.72 ms +2.32 MB
Throw a 100 exceptions +0.05 ms +34.68 ms +2.23 MB
End Session +10.19 ms +37.16 ms +3.17 MB
Total +13 requests +41.73 KB +118.41 ms +292.46 ms +13.43 MB
Lighthouse (Script Eval: 127.48ms)
Difference Description
Total Blocking Time 0 ms Difference in Total Blocking Time: Sum of all time periods between FCP and Time to Interactive, when task length exceeded 50ms, expressed in milliseconds. Learn more about the Total Blocking Time metric.
Main Thread Time +98.99 ms Difference in Main Thread Time: Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to minimize main-thread work
Script Evaluation Time +127.48 ms Difference in Script Evaluation Time: Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to reduce Javascript execution time.
Platform Tests (vite-7 es2015 gzip: 69.66KB)

vite-6 Platform Tests

Total Uncompressed Size Total Gzip Size
vite-6 - es2015 +203.00 KB +69.70 KB

vite-7 Platform Tests

Total Uncompressed Size Total Gzip Size
vite-7 - es2015 +203.00 KB +69.66 KB

webpack-5 Platform Tests

Total Uncompressed Size Total Gzip Size
webpack-5 - es2015 0 KB 0 KB

@joaquin-diaz
joaquin-diaz merged commit 767033a into main Jul 8, 2026
20 checks passed
@joaquin-diaz
joaquin-diaz deleted the joaquin-diaz/chore/add-navigation-api-to-baseline-ignore-features branch July 8, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants