Web Inspector: REGRESSION (r228349): ImageBitmap builtin is now runtime guarded
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Feb 2018 22:58:50 +0000 (22:58 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Feb 2018 22:58:50 +0000 (22:58 +0000)
https://bugs.webkit.org/show_bug.cgi?id=183056
<rdar://problem/37799067>

Reviewed by Joseph Pecoraro.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@228937 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/WebProcess/WebPage/WebInspectorUI.cpp

index de3b94a..e35170e 100644 (file)
@@ -1,3 +1,14 @@
+2018-02-22  Matt Baker  <mattbaker@apple.com>
+
+        Web Inspector: REGRESSION (r228349): ImageBitmap builtin is now runtime guarded
+        https://bugs.webkit.org/show_bug.cgi?id=183056
+        <rdar://problem/37799067>
+
+        Reviewed by Joseph Pecoraro.
+
+        * WebProcess/WebPage/WebInspectorUI.cpp:
+        (WebKit::WebInspectorUI::WebInspectorUI):
+
 2018-02-22  Youenn Fablet  <youenn@apple.com>
 
         Caches::initialize should call all pending initialization callbacks in case of error
index e326b47..7626ea1 100644 (file)
@@ -50,6 +50,7 @@ WebInspectorUI::WebInspectorUI(WebPage& page)
     , m_frontendAPIDispatcher(page)
 {
     RuntimeEnabledFeatures::sharedFeatures().setInspectorAdditionsEnabled(true);
+    RuntimeEnabledFeatures::sharedFeatures().setImageBitmapOffscreenCanvasEnabled(true);
 }
 
 void WebInspectorUI::establishConnection(IPC::Attachment encodedConnectionIdentifier, uint64_t inspectedPageIdentifier, bool underTest, unsigned inspectionLevel)