Title: [275153] trunk/Source/WebCore
- Revision
- 275153
- Author
- jer.no...@apple.com
- Date
- 2021-03-28 18:20:02 -0700 (Sun, 28 Mar 2021)
Log Message
[Cocoa] Exception thrown from -setShouldProvideMediaDataForTrackID:
https://bugs.webkit.org/show_bug.cgi?id=223859
<rdar://75936746>
Reviewed by Eric Carlson.
Protect against undocumented exceptions thrown from -setShouldProvideMediaDataForTrackID:.
* platform/graphics/avfoundation/objc/SourceBufferParserAVFObjC.mm:
(WebCore::SourceBufferParserAVFObjC::setShouldProvideMediaDataForTrackID):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (275152 => 275153)
--- trunk/Source/WebCore/ChangeLog 2021-03-28 23:32:03 UTC (rev 275152)
+++ trunk/Source/WebCore/ChangeLog 2021-03-29 01:20:02 UTC (rev 275153)
@@ -1,3 +1,16 @@
+2021-03-28 Jer Noble <jer.no...@apple.com>
+
+ [Cocoa] Exception thrown from -setShouldProvideMediaDataForTrackID:
+ https://bugs.webkit.org/show_bug.cgi?id=223859
+ <rdar://75936746>
+
+ Reviewed by Eric Carlson.
+
+ Protect against undocumented exceptions thrown from -setShouldProvideMediaDataForTrackID:.
+
+ * platform/graphics/avfoundation/objc/SourceBufferParserAVFObjC.mm:
+ (WebCore::SourceBufferParserAVFObjC::setShouldProvideMediaDataForTrackID):
+
2021-03-28 Sam Weinig <wei...@apple.com>
Remove ENABLE_INDEXED_DATABASE & ENABLE_INDEXED_DATABASE_IN_WORKERS, it seems like it is on for all ports
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferParserAVFObjC.mm (275152 => 275153)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferParserAVFObjC.mm 2021-03-28 23:32:03 UTC (rev 275152)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferParserAVFObjC.mm 2021-03-29 01:20:02 UTC (rev 275153)
@@ -228,7 +228,9 @@
void SourceBufferParserAVFObjC::setShouldProvideMediaDataForTrackID(bool should, uint64_t trackID)
{
+ BEGIN_BLOCK_OBJC_EXCEPTIONS
[m_parser setShouldProvideMediaData:should forTrackID:trackID];
+ END_BLOCK_OBJC_EXCEPTIONS
}
bool SourceBufferParserAVFObjC::shouldProvideMediadataForTrackID(uint64_t trackID)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes