-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix the polyfill for JSDOM #9
Comments
Update on this: I tried 2 things.
|
Update on 2: it seems the JSDOM env for Scala.js already disables that security measure. So, my implementation of the polyfill is broken then or something else weird is going on. |
Also worth nothing that the |
Wtf… Seriously? |
How is it that we don't have access to |
IDK, they do some sandboxing to make the global scope behave like a browser scope. However, the README alludes to someway to access Node:
I'm just not clever enough to see how. |
🙃 Let's keep this issue and maybe mark it help wanted? Who knows, inspiration may strike. In the meantime, I can disable the clamping test for only JSDOM so we can run it in the other environments. |
I think that's the right approach. |
Yeah it actually just doesn't work:
"without clamping"
If we can fix this, we can uncomment the assertion which ensures that we're actually not being clamped.
The text was updated successfully, but these errors were encountered: