RESOLVED FIXED 224351
Safari unit tests sometimes fail an ASSERTion in IOSurface.mm's optionsFor32BitSurface()
https://bugs.webkit.org/show_bug.cgi?id=224351
Summary Safari unit tests sometimes fail an ASSERTion in IOSurface.mm's optionsFor32B...
Tim Horton
Reported 2021-04-08 17:46:30 PDT
Safari unit tests sometimes fail an ASSERTion in IOSurface.mm's optionsFor32BitSurface()
Attachments
Patch (5.29 KB, patch)
2021-04-08 17:46 PDT, Tim Horton
no flags
Patch (5.26 KB, patch)
2021-04-08 18:16 PDT, Tim Horton
no flags
Tim Horton
Comment 1 2021-04-08 17:46:49 PDT
Tim Horton
Comment 2 2021-04-08 17:46:52 PDT
Wenson Hsieh
Comment 3 2021-04-08 18:00:25 PDT
Comment on attachment 425565 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425565&action=review > Source/WebCore/platform/graphics/cocoa/IOSurface.mm:209 > + ASSERT(size.width()); > + ASSERT(size.height()); Nit - perhaps just `ASSERT(!size.isEmpty());` would be cleaner?
Tim Horton
Comment 4 2021-04-08 18:06:58 PDT
(In reply to Wenson Hsieh from comment #3) > Comment on attachment 425565 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=425565&action=review > > > Source/WebCore/platform/graphics/cocoa/IOSurface.mm:209 > > + ASSERT(size.width()); > > + ASSERT(size.height()); > > Nit - perhaps just `ASSERT(!size.isEmpty());` would be cleaner? Sure, that ... seems like the obvious thing to do, in hindsight.
Tim Horton
Comment 5 2021-04-08 18:16:07 PDT
EWS
Comment 6 2021-04-08 18:49:09 PDT
Committed r275737 (236324@main): <https://commits.webkit.org/236324@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425566 [details].
Note You need to log in before you can comment on or make changes to this bug.