From fb23c4dcaf239477bf31be74599555b6779b18a3 Mon Sep 17 00:00:00 2001 From: Stephen McGruer Date: Thu, 9 Apr 2020 20:32:47 -0400 Subject: [PATCH] Replace AbstractView with WindowProxy/Window AbstractView is an obsolete term from DOM2[0]. The Gecko implementation of TimeEvent uses WindowProxy and Window instead[1], so this change aligns the spec with that. Fixes https://github.com/w3c/svgwg/issues/775 [0]: https://www.w3.org/TR/DOM-Level-2-Views/views.html#Views-AbstractView [1]: https://github.com/mozilla/gecko-dev/blob/cfd1cc461f1efe0d66c2fdc17c024a203d5a2fd8/dom/webidl/TimeEvent.webidl#L17 --- master/definitions.xml | 1 + specs/animations/master/Overview.html | 17 ++++++++--------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/master/definitions.xml b/master/definitions.xml index 8322cd80..72eb26e2 100644 --- a/master/definitions.xml +++ b/master/definitions.xml @@ -1148,6 +1148,7 @@ + diff --git a/specs/animations/master/Overview.html b/specs/animations/master/Overview.html index 603fe585..7767477a 100644 --- a/specs/animations/master/Overview.html +++ b/specs/animations/master/Overview.html @@ -3294,21 +3294,20 @@

Interface TimeEvent

interface TimeEvent : Event {
 
-  readonly attribute AbstractView view;
+  readonly attribute WindowProxy? view;
   readonly attribute long detail;
 
-  void initTimeEvent(DOMString typeArg, AbstractView viewArg, long detailArg);
+  void initTimeEvent(DOMString typeArg, Window? viewArg, long detailArg);
 };
Attributes:
-
view (readonly AbstractView)
+
view (readonly WindowProxy?)
-
The TimeEvent::view attribute identifies the AbstractView - [DOM2VIEWS] from which the event - was generated.
+
The TimeEvent::view attribute identifies the Window + from which the event was generated.
detail (readonly long)
@@ -3321,7 +3320,7 @@

Interface TimeEvent

Operations:
-
void initTimeEvent(DOMString typeArg, AbstractView viewArg, long detailArg)
+
void initTimeEvent(DOMString typeArg, Window? viewArg, long detailArg)
The TimeEvent::initTimeEvent method is used to initialize the value of a TimeEvent created with document.createEvent(). This @@ -3338,8 +3337,8 @@

Interface TimeEvent

Specifies the event type.
  • -
    AbstractView viewArg
    -
    Specifies the Event's AbstractView.
    +
    Window? viewArg
    +
    Specifies the Event's Window.
  • long detailArg