Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Simplify logging code for compatibility with webpack-terser-plugin #5050

Merged
merged 1 commit into from
Mar 3, 2023

Conversation

theodab
Copy link
Contributor

@theodab theodab commented Mar 3, 2023

This removes some workarounds that were in the logging code for the sake of Internet Explorer. We no longer support IE, so those workarounds are no longer necessary.

Closes #5032

This removes some workarounds that were in the logging code for the
sake of Internet Explorer. We no longer support IE, so those
workarounds are no longer necessary.

Issue shaka-project#5032
@theodab theodab added the type: code health A code health issue label Mar 3, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2023

Incremental code coverage: 100.00%

@joeyparrish joeyparrish changed the title feat(logging): Simplify log code. fix: Simplify logging code for compatibility with webpack-terser-plugin Mar 3, 2023
@joeyparrish joeyparrish merged commit 6944976 into shaka-project:main Mar 3, 2023
@theodab theodab deleted the terserBranch branch March 4, 2023 10:39
joeyparrish added a commit to joeyparrish/shaka-player that referenced this pull request Mar 7, 2023
joeyparrish added a commit to joeyparrish/shaka-player that referenced this pull request Mar 7, 2023
PR shaka-project#5050 unboxed the console log methods, which broke logging on
Tizen.  This change was never released.

This fixes the issue by using arrow functions to prevent unboxing.
joeyparrish added a commit that referenced this pull request Mar 7, 2023
PR #5050 unboxed the console log methods, which broke logging on Tizen.
This change was never released.

This fixes the issue by using arrow functions to prevent unboxing.
joeyparrish pushed a commit that referenced this pull request Apr 26, 2023
This removes some workarounds that were in the logging code for the sake
of Internet Explorer. We no longer support IE, so those workarounds are
no longer necessary.

Closes #5032
joeyparrish added a commit that referenced this pull request Apr 26, 2023
PR #5050 unboxed the console log methods, which broke logging on Tizen.
This change was never released.

This fixes the issue by using arrow functions to prevent unboxing.
joeyparrish pushed a commit that referenced this pull request Apr 26, 2023
This removes some workarounds that were in the logging code for the sake
of Internet Explorer. We no longer support IE, so those workarounds are
no longer necessary.

Closes #5032
joeyparrish added a commit that referenced this pull request Apr 26, 2023
PR #5050 unboxed the console log methods, which broke logging on Tizen.
This change was never released.

This fixes the issue by using arrow functions to prevent unboxing.
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: code health A code health issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

webpack-terser-plugin slices console calls and shaka crashes
2 participants