Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14

This commit is contained in:
WPT Sync Bot 2019-09-19 10:23:35 +00:00
parent 7b653cad7b
commit ba0f5f096a
204 changed files with 4645 additions and 1001 deletions

View file

@ -27,7 +27,7 @@ dictionary SVGBoundingBoxOptions {
interface SVGGraphicsElement : SVGElement {
[SameObject] readonly attribute SVGAnimatedTransformList transform;
DOMRect getBBox(optional SVGBoundingBoxOptions options);
DOMRect getBBox(optional SVGBoundingBoxOptions options = {});
DOMMatrix? getCTM();
DOMMatrix? getScreenCTM();
};
@ -38,8 +38,8 @@ SVGGraphicsElement includes SVGTests;
interface SVGGeometryElement : SVGGraphicsElement {
[SameObject] readonly attribute SVGAnimatedNumber pathLength;
boolean isPointInFill(optional DOMPointInit point);
boolean isPointInStroke(optional DOMPointInit point);
boolean isPointInFill(optional DOMPointInit point = {});
boolean isPointInStroke(optional DOMPointInit point = {});
float getTotalLength();
DOMPoint getPointAtLength(float distance);
};
@ -505,7 +505,7 @@ interface SVGTextContentElement : SVGGraphicsElement {
DOMPoint getEndPositionOfChar(unsigned long charnum);
DOMRect getExtentOfChar(unsigned long charnum);
float getRotationOfChar(unsigned long charnum);
long getCharNumAtPosition(optional DOMPointInit point);
long getCharNumAtPosition(optional DOMPointInit point = {});
void selectSubString(unsigned long charnum, unsigned long nchars);
};

View file

@ -3,15 +3,18 @@
// (https://github.com/tidoust/reffy-reports)
// Source: Reporting API 1 (https://w3c.github.io/reporting/)
[Exposed=Window]
interface ReportBody {
};
[Exposed=Window]
interface Report {
readonly attribute DOMString type;
readonly attribute DOMString url;
readonly attribute ReportBody? body;
};
[Exposed=Window]
interface ReportingObserver {
constructor(ReportingObserverCallback callback, optional ReportingObserverOptions options = {});
void observe();
@ -28,6 +31,7 @@ dictionary ReportingObserverOptions {
typedef sequence<Report> ReportList;
[Exposed=Window]
interface DeprecationReportBody : ReportBody {
readonly attribute DOMString id;
readonly attribute Date? anticipatedRemoval;
@ -37,6 +41,7 @@ interface DeprecationReportBody : ReportBody {
readonly attribute unsigned long? columnNumber;
};
[Exposed=Window]
interface InterventionReportBody : ReportBody {
readonly attribute DOMString id;
readonly attribute DOMString message;
@ -45,6 +50,7 @@ interface InterventionReportBody : ReportBody {
readonly attribute unsigned long? columnNumber;
};
[Exposed=Window]
interface CrashReportBody : ReportBody {
readonly attribute DOMString? reason;
};

View file

@ -23,7 +23,7 @@ interface DocumentTimeline : AnimationTimeline {
interface Animation : EventTarget {
attribute DOMString id;
attribute AnimationEffect? effect;
attribute AnimationTimeline? timeline;
readonly attribute AnimationTimeline? timeline;
attribute double? startTime;
attribute double? currentTime;
attribute double playbackRate;

View file

@ -10,7 +10,7 @@ partial interface Navigator {
[SecureContext, Exposed=Window] interface XR : EventTarget {
// Methods
Promise<void> supportsSession(XRSessionMode mode);
Promise<XRSession> requestSession(XRSessionMode mode, optional XRSessionInit options = {});
[NewObject] Promise<XRSession> requestSession(XRSessionMode mode, optional XRSessionInit options = {});
// Events
attribute EventHandler ondevicechange;
@ -40,7 +40,7 @@ enum XRVisibilityState {
// Methods
void updateRenderState(optional XRRenderStateInit state = {});
Promise<XRReferenceSpace> requestReferenceSpace(XRReferenceSpaceType type);
[NewObject] Promise<XRReferenceSpace> requestReferenceSpace(XRReferenceSpaceType type);
long requestAnimationFrame(XRFrameRequestCallback callback);
void cancelAnimationFrame(long handle);
@ -93,7 +93,7 @@ enum XRReferenceSpaceType {
[SecureContext, Exposed=Window]
interface XRReferenceSpace : XRSpace {
XRReferenceSpace getOffsetReferenceSpace(XRRigidTransform originOffset);
[NewObject] XRReferenceSpace getOffsetReferenceSpace(XRRigidTransform originOffset);
attribute EventHandler onreset;
};