Skip to content

Update the default sandbox - #956

Merged
mansona merged 4 commits into
ember-fastboot:masterfrom
NullVoxPopuli:nvp/update-default-sandbox
Sep 10, 2026
Merged

mansona merged 4 commits into
ember-fastboot:masterfrom
NullVoxPopuli:nvp/update-default-sandbox

Conversation

@NullVoxPopuli

Copy link
Copy Markdown
Contributor

People run in to this stuff missing all the time.

We should provide this stuff out of the box.

@NullVoxPopuli

Copy link
Copy Markdown
Contributor Author

Lints are failing, but also, the project isn't set up for tooling to support node 16... so... 🤷

@mansona
mansona force-pushed the nvp/update-default-sandbox branch from c91f70e to c966eeb Compare September 10, 2026 22:38
@mansona

mansona commented Sep 10, 2026

Copy link
Copy Markdown
Member

turns out that 3 of the new globals you added (document, MutationObserver, and ResizeObserver) are not available to us in node (because they just don't make any sense)

I removed Navigator too because that was added in a very very limited capacity in Node 21 and a) we still support Node 20 for now and b) we should discuss if we want to add this because of its limitations in a separate PR 👍

@mansona mansona mentioned this pull request Sep 10, 2026
@mansona
mansona merged commit e3b0626 into ember-fastboot:master Sep 10, 2026
82 checks passed
@github-actions github-actions Bot mentioned this pull request Sep 10, 2026
@NullVoxPopuli

Copy link
Copy Markdown
Contributor Author

more reason fastboot's whole current approach is bad.

It's perfectly reasonable for these things to exist at app boot

@NullVoxPopuli
NullVoxPopuli deleted the nvp/update-default-sandbox branch September 10, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants