opal / opal-browser

Browser support for Opal.
MIT License
115 stars 36 forks source link

Event::Custom only works with enumerable properties #102

Closed hmdne closed 1 year ago

hmdne commented 2 years ago

It's not possible to read non-enumerable properties, for example ones that TouchEvent has

hmdne commented 2 years ago

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyNames