Summary: | MediaTime pretty printer can print if time is invalid | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Xabier Rodríguez Calvar <calvaris> | ||||||||
Component: | New Bugs | Assignee: | Xabier Rodríguez Calvar <calvaris> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | benjamin, cdumez, cmarcelo, commit-queue, dbates, eric.carlson, ews-watchlist, glenn, iamluispureevil, jer.noble, philipj, philn, sergio, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Xabier Rodríguez Calvar
2019-10-09 02:15:23 PDT
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. |