ImageBitmapRenderingContext should be Runtime guarded
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Feb 2018 01:24:49 +0000 (01:24 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Feb 2018 01:24:49 +0000 (01:24 +0000)
https://bugs.webkit.org/show_bug.cgi?id=182665
<rdar://problem/37411410>

Reviewed by Sam Weinig.

Add a flag to ensure the ImageBitmapRenderingContext interface is only
visible when the runtime feature is enabled.

* bindings/js/WebCoreBuiltinNames.h:
* html/canvas/ImageBitmapRenderingContext.idl:

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

Source/WebCore/ChangeLog
Source/WebCore/bindings/js/WebCoreBuiltinNames.h
Source/WebCore/html/canvas/ImageBitmapRenderingContext.idl

index 987ce4c..9d45805 100644 (file)
@@ -1,3 +1,17 @@
+2018-02-09  Dean Jackson  <dino@apple.com>
+
+        ImageBitmapRenderingContext should be Runtime guarded
+        https://bugs.webkit.org/show_bug.cgi?id=182665
+        <rdar://problem/37411410>
+
+        Reviewed by Sam Weinig.
+
+        Add a flag to ensure the ImageBitmapRenderingContext interface is only
+        visible when the runtime feature is enabled.
+
+        * bindings/js/WebCoreBuiltinNames.h:
+        * html/canvas/ImageBitmapRenderingContext.idl:
+
 2018-02-09  Don Olmstead  <don.olmstead@sony.com>
 
         [CMake] Make PAL headers copies
index 1ec1484..1fc49ae 100644 (file)
@@ -82,6 +82,7 @@ namespace WebCore {
     macro(IDBTransaction) \
     macro(IDBVersionChangeEvent) \
     macro(ImageBitmap) \
+    macro(ImageBitmapRenderingContext) \
     macro(InputEvent) \
     macro(IntersectionObserver) \
     macro(IntersectionObserverEntry) \
index dc324d2..572e5f1 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 [
+    EnabledAtRuntime=ImageBitmapOffscreenCanvas,
     Exposed=Window
 ] interface ImageBitmapRenderingContext {
     readonly attribute HTMLCanvasElement canvas;