Summary: | MediaPlayer::characteristicChanged() is not called when new tracks are found in SourceBufferPrivateAVFObjC | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ada Chan <adachan> | ||||||||||||
Component: | Media | Assignee: | Jer Noble <jer.noble> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | adachan, aestes, calvaris, commit-queue, eric.carlson, glenn, jer.noble, philipj, sergio | ||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Attachments: |
|
Description
Ada Chan
2014-10-08 12:31:07 PDT
Created attachment 239491 [details]
Patch
Comment on attachment 239491 [details]
Patch
No regression test possible?
(In reply to comment #2) > (From update of attachment 239491 [details]) > No regression test possible? A TestWebKitAPI unit test should be possible. I'm working on one now. Created attachment 239668 [details]
Patch for landing
Created attachment 239680 [details]
Patch
Also unregister for availability changes when the page is hidden (e.g., when in a background tab).
Created attachment 239701 [details]
Patch
(In reply to comment #6) > Created an attachment (id=239701) [details] > Patch I think you meant to attach this to bug 137633. Committed r174652: <http://trac.webkit.org/changeset/174652> Looks like the new API test is timing out on both the Mavericks and Mountain Lion bots. For example: https://build.webkit.org/builders/Apple%20Mavericks%20Debug%20WK1%20%28Tests%29/builds/8217/steps/run-api-tests/logs/stdio Oof. MSE is only enabled on Yosemite. Reopening to attach new patch. Created attachment 239744 [details]
Follow up patch
Comment on attachment 239744 [details] Follow up patch View in context: https://bugs.webkit.org/attachment.cgi?id=239744&action=review > Tools/TestWebKitAPI/Tests/WebKit2/WKPageIsPlayingAudio.cpp:58 > + EXPECT_TRUE(JSValueIsBoolean(scriptContext, resultValue)); Won't this cause the test to fail on unsupported platforms? Comment on attachment 239744 [details] Follow up patch View in context: https://bugs.webkit.org/attachment.cgi?id=239744&action=review >> Tools/TestWebKitAPI/Tests/WebKit2/WKPageIsPlayingAudio.cpp:58 >> + EXPECT_TRUE(JSValueIsBoolean(scriptContext, resultValue)); > > Won't this cause the test to fail on unsupported platforms? Oh never mind. Sigh. IsBoolean != ToBoolean. Comment on attachment 239744 [details] Follow up patch Clearing flags on attachment: 239744 Committed r174667: <http://trac.webkit.org/changeset/174667> All reviewed patches have been landed. Closing bug. |