This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
tests/unit/event_core.js: bracket prototype modifications and remove attached handlers #7012
Open
Description
The scope of this issue is is as follows:
- Some prototypes are overridden in the file, but the overrides remain across modules. Instead, the overrides should be applied at setup() and removed at teardown().
- There are many places in the file where event handlers are attached using .bind(), when .one() would suffice. There are also instances where event handlers are attached while they are not expected to fire. In those cases they should be explicitly detached.
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity