RESOLVED FIXED 212450
[WebInspectorUI] Inconsistent check for WI.ImageUtilities.supportsCanvasPathDebugging
https://bugs.webkit.org/show_bug.cgi?id=212450
Summary [WebInspectorUI] Inconsistent check for WI.ImageUtilities.supportsCanvasPathD...
Yoshiaki Jitsukawa
Reported 2020-05-27 17:54:07 PDT
In RecordContentView.js _updateCanvasPath() should not be called if CanvasPathDebugging is not supported otherwise _updateCanvasPath() tries to access _showPathButtonNavigationItem, which is created only if CanvasPathDebugging is supported, but fails and raises an exception.
Attachments
Patch (2.11 KB, patch)
2020-05-27 18:03 PDT, Yoshiaki Jitsukawa
no flags
Yoshiaki Jitsukawa
Comment 1 2020-05-27 18:03:52 PDT
Devin Rousso
Comment 2 2020-05-27 18:09:59 PDT
Comment on attachment 400414 [details] Patch r=me, good catch!
Yoshiaki Jitsukawa
Comment 3 2020-05-27 18:19:01 PDT
(In reply to Devin Rousso from comment #2) > Comment on attachment 400414 [details] > Patch > > r=me, good catch! Thank you for the prompt review :)
EWS
Comment 4 2020-05-27 18:34:35 PDT
Committed r262230: <https://trac.webkit.org/changeset/262230> All reviewed patches have been landed. Closing bug and clearing flags on attachment 400414 [details].
Radar WebKit Bug Importer
Comment 5 2020-05-27 18:35:15 PDT
Note You need to log in before you can comment on or make changes to this bug.