[Cocoa] Hang in WebM format reader when loading content from https://powerrangers.fandom.com/
<rdar://77645877>
Created attachment 429371 [details] Patch
Created attachment 429375 [details] Patch for landing
Immediately after the lines that query these properties are queries for other properties. The hangs cannot most likely be solved like this. Bug 226217 should contain the general purpose test case to solve.
(In reply to Kimmo Kinnunen from comment #4) > Immediately after the lines that query these properties are queries for > other properties. The hangs cannot most likely be solved like this. The only property we support querying for is `kMTPluginFormatReaderProperty_Duration`, so with this patch, regardless of what property they query for, unless it's Duration, we won't block.
(In reply to Jer Noble from comment #5) > The only property we support querying for is > `kMTPluginFormatReaderProperty_Duration`, so with this patch, regardless of > what property they query for, unless it's Duration, we won't block. I mean: track array blocks, stuff inside tracks block...
Created attachment 430020 [details] Patch for landing
(In reply to Kimmo Kinnunen from comment #6) > (In reply to Jer Noble from comment #5) > > The only property we support querying for is > > `kMTPluginFormatReaderProperty_Duration`, so with this patch, regardless of > > what property they query for, unless it's Duration, we won't block. > > I mean: track array blocks, stuff inside tracks block... Right, we have to systematically remove sources of deadlocks; this is just one of them.
Committed r278223 (238261@main): <https://commits.webkit.org/238261@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 430020 [details].