The Legacy path is poor shape and hard to maintain and test.
Created attachment 251954 [details] Patch
Comment on attachment 251954 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=251954&action=review Awesome! r=me, with 1 nit > Source/WebInspectorUI/UserInterface/Base/ImageUtilities.js:531 > + generateModernImage(); The contents of this function are now just function foo() {}; foo();. You can drop the "inner function" and just inline it.
Comment on attachment 251954 [details] Patch https://trac.webkit.org/r183579