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: Issue with compiler minifying webOS device properties #6558

Merged
merged 1 commit into from
May 8, 2024

Conversation

avelad
Copy link
Member

@avelad avelad commented May 8, 2024

Fixes #6533

The original author is: @stuartflanagan
The original PR is: #6554

@avelad avelad added type: bug Something isn't working correctly priority: P1 Big impact or workaround impractical; resolve before feature release platform: WebOS Issues affecting WebOS labels May 8, 2024
@avelad avelad added this to the v4.9 milestone May 8, 2024
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 0.00%

Copy link

@stuartflanagan stuartflanagan left a comment

Choose a reason for hiding this comment

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

Looks good thank you @avelad

@avelad avelad merged commit 61ce88b into shaka-project:main May 8, 2024
21 checks passed
avelad added a commit that referenced this pull request May 8, 2024
@@ -684,8 +684,8 @@ shaka.util.Platform = class {
/** @type {{screenWidth: number, screenHeight: number}} */(
JSON.parse(window.PalmSystem.deviceInfo));
// WebOS has always been able to do 1080p. Assume a 1080p limit.
maxResolution.width = Math.max(1920, deviceInfo.screenWidth);
maxResolution.height = Math.max(1080, deviceInfo.screenHeight);
maxResolution.width = Math.max(1920, deviceInfo['screenWidth']);
Copy link
Contributor

Choose a reason for hiding this comment

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

😮 Can someone explain why?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks...

@avelad avelad deleted the webos-fix branch May 8, 2024 14:48
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Jul 7, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Jul 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform: WebOS Issues affecting WebOS priority: P1 Big impact or workaround impractical; resolve before feature release status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

webOS 4032 error in compiled version but not debug version
5 participants