Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ensure CSS support is checked more robustly (#42)
Noticed this while debugging tests in sentry-javascript. it seems jsdom has a weird support for `CSSMediaRule`, where it is defined but if you look at `CSSMediaRule.prototype` it is: ``` CSSRule { parentRule: null, parentStyleSheet: null, constructor: [Function: CSSMediaRule], type: 4 } ``` I guess maybe similar issues have triggered some of the errors we've seen in the past.
- Loading branch information