commit | 20a443ce6dd653ce3259782667598f9b87211e5d | [log] [tgz] |
---|---|---|
author | Yuki Yamada <yukiy@google.com> | Mon Sep 10 02:27:07 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Sep 10 02:27:07 2018 |
tree | 14a6357a36d56452db09ccefd708262d7845885f | |
parent | 8a2c335368664b66cbb29fc739bb864dfd37b4a6 [diff] |
Reland: Split implementation of EventListener and EventHandler This reverts commit 9f87a1ee823c8bf185dfdde265e457c2cc668191. https://chromium-review.googlesource.com/c/chromium/src/+/1212202 Regarding to crbug.com/881688 : This CL adds the check for if listener is empty or not before calling it, but it should not be empty at that time. This is because listener object could be collected prematurally by garbage collection. This will be fixed after unified GC is launched, or wrapper-tracing is applied appropriately to all the EventTarget (some of EventTargets need to be ActiveScriptWrappable). Bug: 872138, 881688, 878658, 606900, 849236 Change-Id: I9b224e0d261e1567c4c4f7778bd0d6044b7f6202 Reviewed-on: https://chromium-review.googlesource.com/1212376 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Hayato Ito <hayato@chromium.org> Reviewed-by: Hitoshi Yoshida <peria@chromium.org> Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Commit-Queue: Yuki Yamada <yukiy@google.com> Cr-Commit-Position: refs/heads/master@{#589820}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .