MediaTime pretty printer can print if time is invalid
Created attachment 380522 [details] Patch
Comment on attachment 380522 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=380522&action=review > Source/WTF/wtf/MediaTime.cpp:598 > + if (isInvalid()) > + builder.appendLiteral(", invalid"); It would be nice to fix MediaTime::toJSONObject as well. Something like: if (isInvalid()) object->setBoolean("invalid"_s, true);
Created attachment 380634 [details] Patch
Created attachment 380635 [details] Patch for landing
Comment on attachment 380635 [details] Patch for landing I'll land this tomorrow in the morning.
Comment on attachment 380635 [details] Patch for landing Clearing flags on attachment: 380635 Committed r251003: <https://trac.webkit.org/changeset/251003>
All reviewed patches have been landed. Closing bug.
<rdar://problem/56184195>