Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #4588 #4804

Merged
merged 3 commits into from
Sep 11, 2023
Merged

Fixes #4588 #4804

merged 3 commits into from
Sep 11, 2023

Conversation

Jarred-Sumner
Copy link
Collaborator

What does this PR do?

Adds navigator.platform as a global

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform

Fixes #4588

Supersedes #4739

How did you verify your code works?

Tests

@Jarred-Sumner Jarred-Sumner merged commit edea4f0 into main Sep 11, 2023
11 checks passed
@Jarred-Sumner Jarred-Sumner deleted the jarred/fixes-4588 branch September 11, 2023 04:40
@github-actions
Copy link
Contributor

@Jarred-Sumner 5 files with test failures on bun-darwin-aarch64:

  • test/bundler/esbuild/default.test.ts
  • test/cli/install/bunx.test.ts
  • test/js/bun/spawn/spawn.test.ts
  • test/js/bun/test/test-test.test.ts
  • test/js/node/watch/fs.watch.test.ts

View test output

#f4b5fae7508cb3da9e92aa1f62723cf0a9255cbd

@github-actions
Copy link
Contributor

@Jarred-Sumner 3 files with test failures on linux-x64:

  • test/js/bun/util/filesink.test.ts
  • test/js/node/watch/fs.watchFile.test.ts
  • test/js/web/fetch/fetch-gzip.test.ts

View test output

#f4b5fae7508cb3da9e92aa1f62723cf0a9255cbd

@github-actions
Copy link
Contributor

@Jarred-Sumner 8 files with test failures on bun-darwin-x64-baseline:

  • test/cli/install/bun-install.test.ts
  • test/js/bun/sqlite/sqlite.test.js
  • test/js/bun/util/filesink.test.ts
  • test/js/node/fs/fs.test.ts
  • test/js/node/watch/fs.watchFile.test.ts
  • test/js/third_party/webpack/webpack.test.ts
  • test/js/web/timers/setInterval.test.js
  • test/js/web/timers/setTimeout.test.js

View test output

#f4b5fae7508cb3da9e92aa1f62723cf0a9255cbd

paperdave pushed a commit to SuperAuguste/bun that referenced this pull request Sep 18, 2023
* Fixes oven-sh#4588

* typo

* fixup

---------

Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'navigator' global does not have property 'platform'
2 participants