jsdom icon indicating copy to clipboard operation
jsdom copied to clipboard

Implement `document.all`

Open omarsy opened this issue 5 years ago • 1 comments

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

omarsy avatar Aug 18 '20 12:08 omarsy

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.

ExE-Boss avatar Aug 19 '20 10:08 ExE-Boss