aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/webcore/EventEmitter.cpp
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2023-06-17 19:18:02 -0700
committerGravatar GitHub <noreply@github.com> 2023-06-17 19:18:02 -0700
commit65f1e426849aa705c0fd7578134b8287f10d0176 (patch)
tree134aed84da5b4bf2310a2c8dd6a9f411e9572ba4 /src/bun.js/bindings/webcore/EventEmitter.cpp
parentb0e8f596a2a3a5bd3f70d6d03de35c290d34d35c (diff)
parent065713aeca2ae3013bdf5b3d2f04263459631598 (diff)
downloadbun-jarred/simplify.tar.gz
bun-jarred/simplify.tar.zst
bun-jarred/simplify.zip
Merge branch 'main' into jarred/simplifyjarred/simplify
Diffstat (limited to 'src/bun.js/bindings/webcore/EventEmitter.cpp')
-rw-r--r--src/bun.js/bindings/webcore/EventEmitter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bun.js/bindings/webcore/EventEmitter.cpp b/src/bun.js/bindings/webcore/EventEmitter.cpp
index 4ea10587e..0650d624c 100644
--- a/src/bun.js/bindings/webcore/EventEmitter.cpp
+++ b/src/bun.js/bindings/webcore/EventEmitter.cpp
@@ -171,7 +171,6 @@ Vector<JSObject*> EventEmitter::getListeners(const Identifier& eventType)
// https://dom.spec.whatwg.org/#concept-event-listener-invoke
void EventEmitter::fireEventListeners(const Identifier& eventType, const MarkedArgumentBuffer& arguments)
{
- ASSERT_WITH_SECURITY_IMPLICATION(ScriptDisallowedScope::isEventAllowedInMainThread());
auto* data = eventTargetData();
if (!data)