@@ -1397,11 +1397,11 @@ interface mixin CanvasDrawImage {
1397
1397
1398
1398
interface mixin CanvasImageData {
1399
1399
// pixel manipulation
1400
- ImageData createImageData(long sw, long sh);
1400
+ ImageData createImageData([EnforceRange] long sw, [EnforceRange] long sh);
1401
1401
ImageData createImageData(ImageData imagedata);
1402
- ImageData getImageData(long sx, long sy, long sw, long sh);
1403
- undefined putImageData(ImageData imagedata, long dx, long dy);
1404
- undefined putImageData(ImageData imagedata, long dx, long dy, long dirtyX, long dirtyY, long dirtyWidth, long dirtyHeight);
1402
+ ImageData getImageData([EnforceRange] long sx, [EnforceRange] long sy, [EnforceRange] long sw, [EnforceRange] long sh);
1403
+ undefined putImageData(ImageData imagedata, [EnforceRange] long dx, [EnforceRange] long dy);
1404
+ undefined putImageData(ImageData imagedata, [EnforceRange] long dx, [EnforceRange] long dy, [EnforceRange] long dirtyX, [EnforceRange] long dirtyY, [EnforceRange] long dirtyWidth, [EnforceRange] long dirtyHeight);
1405
1405
};
1406
1406
1407
1407
enum CanvasLineCap { "butt", "round", "square" };
@@ -1440,8 +1440,8 @@ interface mixin CanvasPath {
1440
1440
undefined bezierCurveTo(unrestricted double cp1x, unrestricted double cp1y, unrestricted double cp2x, unrestricted double cp2y, unrestricted double x, unrestricted double y);
1441
1441
undefined arcTo(unrestricted double x1, unrestricted double y1, unrestricted double x2, unrestricted double y2, unrestricted double radius);
1442
1442
undefined rect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
1443
- undefined arc(unrestricted double x, unrestricted double y, unrestricted double radius, unrestricted double startAngle, unrestricted double endAngle, optional boolean anticlockwise = false);
1444
- undefined ellipse(unrestricted double x, unrestricted double y, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation, unrestricted double startAngle, unrestricted double endAngle, optional boolean anticlockwise = false);
1443
+ undefined arc(unrestricted double x, unrestricted double y, unrestricted double radius, unrestricted double startAngle, unrestricted double endAngle, optional boolean counterclockwise = false);
1444
+ undefined ellipse(unrestricted double x, unrestricted double y, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation, unrestricted double startAngle, unrestricted double endAngle, optional boolean counterclockwise = false);
1445
1445
};
1446
1446
1447
1447
[Exposed=(Window,Worker)]
@@ -2027,48 +2027,6 @@ interface mixin NavigatorCookies {
2027
2027
readonly attribute boolean cookieEnabled;
2028
2028
};
2029
2029
2030
- interface mixin NavigatorPlugins {
2031
- [SameObject] readonly attribute PluginArray plugins;
2032
- [SameObject] readonly attribute MimeTypeArray mimeTypes;
2033
- boolean javaEnabled();
2034
- };
2035
-
2036
- [Exposed=Window,
2037
- LegacyUnenumerableNamedProperties]
2038
- interface PluginArray {
2039
- undefined refresh(optional boolean reload = false);
2040
- readonly attribute unsigned long length;
2041
- getter Plugin? item(unsigned long index);
2042
- getter Plugin? namedItem(DOMString name);
2043
- };
2044
-
2045
- [Exposed=Window,
2046
- LegacyUnenumerableNamedProperties]
2047
- interface MimeTypeArray {
2048
- readonly attribute unsigned long length;
2049
- getter MimeType? item(unsigned long index);
2050
- getter MimeType? namedItem(DOMString name);
2051
- };
2052
-
2053
- [Exposed=Window,
2054
- LegacyUnenumerableNamedProperties]
2055
- interface Plugin {
2056
- readonly attribute DOMString name;
2057
- readonly attribute DOMString description;
2058
- readonly attribute DOMString filename;
2059
- readonly attribute unsigned long length;
2060
- getter MimeType? item(unsigned long index);
2061
- getter MimeType? namedItem(DOMString name);
2062
- };
2063
-
2064
- [Exposed=Window]
2065
- interface MimeType {
2066
- readonly attribute DOMString type;
2067
- readonly attribute DOMString description;
2068
- readonly attribute DOMString suffixes; // comma-separated
2069
- readonly attribute Plugin enabledPlugin;
2070
- };
2071
-
2072
2030
[Exposed=(Window,Worker), Serializable, Transferable]
2073
2031
interface ImageBitmap {
2074
2032
readonly attribute unsigned long width;
@@ -2396,10 +2354,6 @@ interface HTMLMarqueeElement : HTMLElement {
2396
2354
[CEReactions] attribute unsigned long vspace;
2397
2355
[CEReactions] attribute DOMString width;
2398
2356
2399
- attribute EventHandler onbounce;
2400
- attribute EventHandler onfinish;
2401
- attribute EventHandler onstart;
2402
-
2403
2357
undefined start();
2404
2358
undefined stop();
2405
2359
};
@@ -2678,3 +2632,42 @@ interface External {
2678
2632
undefined AddSearchProvider();
2679
2633
undefined IsSearchProviderInstalled();
2680
2634
};
2635
+
2636
+ interface mixin NavigatorPlugins {
2637
+ [SameObject] readonly attribute PluginArray plugins;
2638
+ [SameObject] readonly attribute MimeTypeArray mimeTypes;
2639
+ boolean javaEnabled();
2640
+ };
2641
+
2642
+ [Exposed=Window]
2643
+ interface PluginArray {
2644
+ undefined refresh();
2645
+ readonly attribute unsigned long length;
2646
+ getter object? item(unsigned long index);
2647
+ object? namedItem(DOMString name);
2648
+ };
2649
+
2650
+ [Exposed=Window]
2651
+ interface MimeTypeArray {
2652
+ readonly attribute unsigned long length;
2653
+ getter object? item(unsigned long index);
2654
+ object? namedItem(DOMString name);
2655
+ };
2656
+
2657
+ [Exposed=Window]
2658
+ interface Plugin {
2659
+ readonly attribute undefined name;
2660
+ readonly attribute undefined description;
2661
+ readonly attribute undefined filename;
2662
+ readonly attribute undefined length;
2663
+ getter undefined item(unsigned long index);
2664
+ undefined namedItem(DOMString name);
2665
+ };
2666
+
2667
+ [Exposed=Window]
2668
+ interface MimeType {
2669
+ readonly attribute undefined type;
2670
+ readonly attribute undefined description;
2671
+ readonly attribute undefined suffixes;
2672
+ readonly attribute undefined enabledPlugin;
2673
+ };
0 commit comments