Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Security] Resolve event bubbling of logout + new events in a compiler pass#37368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@wouterj
Copy link
Member

QA
Branch?5.1
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#37292
LicenseMIT
Doc PR-

This PR proposes to create a compiler pass that registers listeners on the mainevent_dispatcher on the firewall-specific event dispatcher during compile time. This allows to still specify listener priorities while listening on a bubbled-up event (instead of a fix moment where the event bubbling occurs). It probably also improves performance, as it doesn't use duplicated event dispatching logic to provide event bubbling.

Nothing changes on the user side. I proposed this as a bugfix, as it fixes the bug mentioned in#37292 (not being able to use listener priorities). I did remove a class, which was introduced in 5.1 and is very internal. I think it's safe, but we can also keep it and remove in master.

@wouterjwouterjforce-pushed theissue-37292/event-bubbling-in-container-pass branch 2 times, most recently from0d0e51f to7649d0fCompareJune 20, 2020 22:55
* This removes duplicate event dispatching logic on event bubbling, which  probably improves performance.* It allows to still specify listener priorities while listening on a  bubbled-up event (instead of a fix moment where the event bubbling occurs)
@wouterjwouterjforce-pushed theissue-37292/event-bubbling-in-container-pass branch from7649d0f tof962c26CompareJune 20, 2020 23:27
@fabpot
Copy link
Member

Thank you@wouterj.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@wouterj@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp