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

feat: Show hints when using window global #25805

Merged
merged 2 commits into from
Sep 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fmt
  • Loading branch information
bartlomieju committed Sep 22, 2024
commit 6d5f89858502d21cc34c91b5d85c1dea635dce9f
2 changes: 1 addition & 1 deletion tests/specs/run/window/window2.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
window.atob
window.atob;
2 changes: 1 addition & 1 deletion tests/specs/run/window/window2.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: Uncaught (in promise) ReferenceError: window is not defined
window.atob
window.atob;
^
at [WILDCARD]window2.js:1:1

Expand Down
2 changes: 1 addition & 1 deletion tests/specs/run/window/window3.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
window.navigator
window.navigator;
2 changes: 1 addition & 1 deletion tests/specs/run/window/window3.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: Uncaught (in promise) ReferenceError: window is not defined
window.navigator
window.navigator;
^
at [WILDCARD]window3.js:1:1

Expand Down
1 change: 0 additions & 1 deletion window1.js

This file was deleted.

1 change: 0 additions & 1 deletion window2.js

This file was deleted.

1 change: 0 additions & 1 deletion window3.js

This file was deleted.