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

[ErrorHandler] Prevent conflicts with WebProfilerBundle’s JavaScript#50213

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

Merged
fabpot merged 1 commit intosymfony:5.4fromMatTheCat:ticket_50108
May 5, 2023

Conversation

@MatTheCat
Copy link
Contributor

@MatTheCatMatTheCat commentedMay 2, 2023
edited
Loading

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#50108
LicenseMIT
Doc PRN/A

ErrorHandler’sexception.js and WebProfilerBundle’sbase_js.html.twig both expose a globalSfjs variable, which create conflicts (see linked issue e.g.).

As the exception page

  • does not make use ofSfjs
  • is not extensible

I updatedexception.js to not create any global scope variable. I also removedDOMContentLoaded listeners as the script is run inline at the end of the document.

This PR stems from#48037.
Hiding whitespaces will produce a much more readable diff.

Copy link
Member

@ycerutoyceruto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGMT, thanks!

@fabpot
Copy link
Member

Thank you@MatTheCat.

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

Reviewers

@ycerutoycerutoyceruto approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

4 participants

@MatTheCat@fabpot@yceruto@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp