Index: core/html/ImageData.idl |
diff --git a/core/html/ImageData.idl b/core/html/ImageData.idl |
index 107ce0b77b38f2f6fa1bfcf68f633e2252c2bfee..f6274b416126382b2f030157546c163041cc7087 100644 |
--- a/core/html/ImageData.idl |
+++ b/core/html/ImageData.idl |
@@ -26,18 +26,19 @@ |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata |
+// https://html.spec.whatwg.org/#dom-imagedata |
[ |
- Constructor(unsigned long width, unsigned long height), |
- Constructor(Uint8ClampedArray data, unsigned long width, [Default=Undefined] optional unsigned long height), |
- Custom=Wrap, |
+ TypeChecking=Interface, |
+ Constructor(unsigned long sw, unsigned long sh), |
+ Constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh), |
Exposed=(Window,Worker), |
RaisesException=Constructor, |
- WillBeGarbageCollected, |
+ GarbageCollected, |
] interface ImageData { |
+ // TODO(philipj): width/height should be unsigned long. |
readonly attribute long width; |
readonly attribute long height; |
- |
- [DartCustom=New] readonly attribute Uint8ClampedArray data; |
+ // TODO(philipj): Expose data. |
+ // readonly attribute Uint8ClampedArray data; |
}; |