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

document.all is undefined #3028

Open
omarsy opened this issue Aug 18, 2020 · 1 comment
Open

document.all is undefined #3028

omarsy opened this issue Aug 18, 2020 · 1 comment

Comments

@omarsy
Copy link

omarsy commented Aug 18, 2020

Basic info:

  • Node.js version: v12.16.1
  • jsdom version:16.4.0

Minimal reproduction case

When I try to get document.all in jsdom that returns me 'undefined' or in the browser it returns me HTMLAllCollection

The link to reproduce the issue: https://repl.it/@omarsy1/BothRosyScience#index.js

@ExE-Boss
Copy link
Contributor

ExE-Boss commented Aug 19, 2020

Implementing this correctly will be difficult, as it will require a native Node module to create a Proxy with the [[IsHTMLDDA]] internal slot.

It will also require a way to specify custom Proxy constructors in WebIDL2JS.

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

No branches or pull requests

2 participants