.
<rdar://65747521>
Created attachment 404870 [details] Patch
Comment on attachment 404870 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404870&action=review r=me > LayoutTests/inspector/canvas/memory.html:59 > + InspectorTest.expectGreaterThan(event.target.memoryCost, isNaN(initialMemoryCost) ? 0 : initialMemoryCost, "Memory cost should increase upon initially resizing canvas."); NIT: this shouldn't be `NaN`, but I suppose it couldn't hurt to check
Comment on attachment 404870 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404870&action=review >> LayoutTests/inspector/canvas/memory.html:59 >> + InspectorTest.expectGreaterThan(event.target.memoryCost, isNaN(initialMemoryCost) ? 0 : initialMemoryCost, "Memory cost should increase upon initially resizing canvas."); > > NIT: this shouldn't be `NaN`, but I suppose it couldn't hurt to check It.. is. see expected results for the first test case.
Committed r264683: <https://trac.webkit.org/changeset/264683> All reviewed patches have been landed. Closing bug and clearing flags on attachment 404870 [details].