Skip to content

Commit

Permalink
polyfills: refactor Navigator and make it more spec-compliant
Browse files Browse the repository at this point in the history
- Make it a class with the right toStringTag
- Add version to userAgent
- Add platform matching browsers (we have this information in 2 places
  now, but I think this is ok since libraries can still rely on the
  navigator behavior)
- Add hardwareConcurrency, replacing tjs.system.availableParallelism
  • Loading branch information
saghul committed Sep 24, 2024
1 parent 7e961ef commit effe1fe
Show file tree
Hide file tree
Showing 6 changed files with 32,867 additions and 32,738 deletions.
Loading

0 comments on commit effe1fe

Please sign in to comment.