polyfills icon indicating copy to clipboard operation
polyfills copied to clipboard

CERegistry.define use typeof instead instanceof

Open cronon opened this issue 5 years ago • 3 comments

element definition may come from another realm or Function or Object globals may be sandboxed like in jsdom

original PR https://github.com/webcomponents/custom-elements/pull/180

fixes https://github.com/webcomponents/polyfills/issues/105

Reference Issue

cronon avatar Jan 20 '20 13:01 cronon

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 04 '21 01:02 stale[bot]

@stale, well the problem still exists here. Although if I'm not mistaken couple of months ago jsdom started to support Custom Elements by themselves

cronon avatar Feb 10 '21 09:02 cronon

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 12 '22 05:11 stale[bot]