RESOLVED FIXED 188303
Return extracted key ids as an optional
https://bugs.webkit.org/show_bug.cgi?id=188303
Summary Return extracted key ids as an optional
Charlie Turner
Reported 2018-08-03 05:17:00 PDT
Return extracted key ids as an optional
Attachments
Patch (11.79 KB, patch)
2018-08-03 05:28 PDT, Charlie Turner
no flags
Patch (12.71 KB, patch)
2018-08-03 06:14 PDT, Charlie Turner
no flags
Patch (15.53 KB, patch)
2018-08-03 07:50 PDT, Charlie Turner
no flags
Patch (16.36 KB, patch)
2018-08-03 08:16 PDT, Charlie Turner
no flags
Patch (12.38 KB, patch)
2018-08-03 08:33 PDT, Charlie Turner
no flags
Patch (12.41 KB, patch)
2018-08-03 08:53 PDT, Charlie Turner
no flags
Patch (12.40 KB, patch)
2018-08-06 04:40 PDT, Charlie Turner
no flags
Charlie Turner
Comment 1 2018-08-03 05:28:57 PDT
Charlie Turner
Comment 2 2018-08-03 06:14:24 PDT
Created attachment 346475 [details] Patch Fix build error reported from iOS bot
Charlie Turner
Comment 3 2018-08-03 07:50:52 PDT
Created attachment 346482 [details] Patch Fix more build errors reported from iOS bot
Charlie Turner
Comment 4 2018-08-03 08:16:02 PDT
Created attachment 346486 [details] Patch Fix more iOS build errors, even though keyIDs() never returns a nullopt, I am still performing extra checking for the absence of a value in case FPS at some point starts handling init data types that do not guarantee key IDs
Charlie Turner
Comment 5 2018-08-03 08:33:13 PDT
Created attachment 346488 [details] Patch It was not necessary to percolate the sentinel complication throughout the FairPlayStreaming module
Charlie Turner
Comment 6 2018-08-03 08:53:22 PDT
Created attachment 346490 [details] Patch More iOS build errors
Darin Adler
Comment 7 2018-08-03 13:49:30 PDT
Comment on attachment 346490 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=346490&action=review > Source/WebCore/testing/MockCDMFactory.cpp:286 > + if (!keyIDs || (keyIDs && keyIDs.value().isEmpty())) { No need to use && here. if (!keyIDs || keyIDs.value().isEmpty()) {
Charlie Turner
Comment 8 2018-08-06 04:40:52 PDT
Created attachment 346624 [details] Patch Move the key ids rather than attempting a copy, which fails with the Vector of Refs, added logical cleanup suggested by Darin.
WebKit Commit Bot
Comment 9 2018-08-06 09:47:28 PDT
Comment on attachment 346624 [details] Patch Clearing flags on attachment: 346624 Committed r234603: <https://trac.webkit.org/changeset/234603>
WebKit Commit Bot
Comment 10 2018-08-06 09:47:30 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 11 2018-08-06 09:48:30 PDT
Note You need to log in before you can comment on or make changes to this bug.