mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Migrate to new constructor operation syntax
This commit is contained in:
parent
9706cd497d
commit
9ce82ea1ae
103 changed files with 659 additions and 413 deletions
|
@ -13,9 +13,9 @@ dictionary ImageEncodeOptions {
|
|||
|
||||
//enum OffscreenRenderingContextId { "2d", "webgl", "webgl2" };
|
||||
|
||||
[Constructor([EnforceRange] unsigned long long width, [EnforceRange] unsigned long long height),
|
||||
Exposed=(Window,Worker)/*, Transferable*/, Pref="dom.offscreen_canvas.enabled"]
|
||||
[Exposed=(Window,Worker)/*, Transferable*/, Pref="dom.offscreen_canvas.enabled"]
|
||||
interface OffscreenCanvas : EventTarget {
|
||||
[Throws] constructor([EnforceRange] unsigned long long width, [EnforceRange] unsigned long long height);
|
||||
attribute /*[EnforceRange]*/ unsigned long long width;
|
||||
attribute /*[EnforceRange]*/ unsigned long long height;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue