Web Inspector: Canvas: enable WebGL2 for inspector page
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Apr 2019 16:34:21 +0000 (16:34 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Apr 2019 16:34:21 +0000 (16:34 +0000)
commit8df9eab8c38077aad9b16ca5d204afa47dcdc42a
tree5e3423e014edcab567d722660dd709f320c94c8e
parentd979bc0c5800bf6cf56b748c606085700c2226a1
Web Inspector: Canvas: enable WebGL2 for inspector page
https://bugs.webkit.org/show_bug.cgi?id=196932
<rdar://problem/49916213>

Reviewed by Timothy Hatcher.

Source/WebInspectorUI:

* UserInterface/Models/RecordingAction.js:
(WI.RecordingAction._prototypeForType):
(WI.RecordingAction.prototype.process.getContent):
Add additional checks for `ImageBitmapRenderingContext` and `WebGLRenderingContext`.

Source/WebKit:

* WebProcess/WebPage/WebInspectorUI.cpp:
(WebKit::WebInspectorUI::WebInspectorUI):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/RecordingAction.js
Source/WebKit/ChangeLog
Source/WebKit/WebProcess/WebPage/WebInspectorUI.cpp