User:Roc/WorkerCanvasProposal: Difference between revisions

Line 3: Line 3:
  [Constructor(unsigned long width, unsigned long height)]
  [Constructor(unsigned long width, unsigned long height)]
  interface WorkerCanvas {
  interface WorkerCanvas {
   readonly attribute unsigned long width;
   attribute unsigned long width;
   readonly attribute unsigned long height;
   attribute unsigned long height;
  void resize(unsigned long width, unsigned long height);
   RenderingContext? getContext(DOMString contextId, any... arguments);  
   RenderingContext? getContext(DOMString contextId, any... arguments);  
   void toBlob(FileCallback? _callback, optional DOMString type, any... arguments);
   void toBlob(FileCallback? _callback, optional DOMString type, any... arguments);
1,295

edits