Commit f0f6240
Expose Event, EventTarget and CustomEvent as globals (#56416)
Summary:
Pull Request resolved: #56416
Registers Event, EventTarget and CustomEvent as global polyfills in `setUpDOM.js`. These are standard Web APIs that DOM nodes need access to.
Removes the Event/EventTarget polyfills from the Fantom test setup since they are now provided globally by setUpDOM.js.
Changelog: [internal]
Marking as internal for now, until we ship to stable, even though this isn't gated. We shouldn't communicate this yet.
Reviewed By: javache
Differential Revision: D100462548
fbshipit-source-id: 3e30be760d4f524ca823ebf1320d9a607abeabf91 parent 2e508b9 commit f0f6240
2 files changed
Lines changed: 12 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
76 | 88 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | 715 | | |
0 commit comments