-
Notifications
You must be signed in to change notification settings - Fork 510
8314212: Crash when loading cnn.com in WebView #1212
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
Conversation
👋 Welcome back jbhaskar! A progress list of the required criteria for merging this PR into |
Webrevs
|
@jaybhaskar I changed the JBS bug title to something more reflective of the problem, so you'll need to edit this PR title to match. /reviewers 2 |
@kevinrushforth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left one question about the fix (and also noted a couple minor formatting issues).
I presume you've tested this on all platforms both with media that produces the error condition, and also verifying that valid media continues to play correctly?
.../javafx.web/src/main/native/Source/WebCore/platform/graphics/java/MediaPlayerPrivateJava.cpp
Outdated
Show resolved
Hide resolved
modules/javafx.web/src/main/native/Source/WebCore/rendering/RenderLayerCompositor.cpp
Outdated
Show resolved
Hide resolved
@HimaBinduMeda Can you be the second reviewer? |
I have tested on mac/Linux/Window cnn page is working fine , no crash observed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look fine. Testing looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good. All my testing is green.
@jaybhaskar This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 7 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
/integrate |
Going to push as commit ddd1f79.
Your commit was automatically rebased without conflicts. |
@jaybhaskar Pushed as commit ddd1f79. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
/backport jfx21u |
@jaybhaskar the backport was successfully created on the branch jaybhaskar-backport-ddd1f796 in my personal fork of openjdk/jfx21u. To create a pull request with this backport targeting openjdk/jfx21u:master, just click the following link: The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:
If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jfx21u:
|
Issue: WCMediaPlayer does not support HTTP live streaming m3u8 format. Giving error com.sun.javafx.webkit.prism.WCMediaPlayerImpl onError WARNING: onError, errCode=0, msg=Unsupported protocol "data"
Solution: Do not invoke the current media time operation in an error state. As the WCMediaPlayer might not be a valid object.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1212/head:pull/1212
$ git checkout pull/1212
Update a local copy of the PR:
$ git checkout pull/1212
$ git pull https://git.openjdk.org/jfx.git pull/1212/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1212
View PR using the GUI difftool:
$ git pr show -t 1212
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1212.diff
Webrev
Link to Webrev Comment