From 84e82512b2b88cdaa508f06a48fac911479d4092 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Sun, 14 Apr 2019 00:39:40 +0900 Subject: [PATCH] remove createTouch* APIs --- baselines/dom.generated.d.ts | 2 -- inputfiles/idl/Touch Events.widl | 9 +-------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 45b0b82e2..384af0d72 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -4543,8 +4543,6 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par * @param data String that specifies the nodeValue property of the text node. */ createTextNode(data: string): Text; - createTouch(view: WindowProxy, target: EventTarget, identifier: number, pageX: number, pageY: number, screenX: number, screenY: number): Touch; - createTouchList(...touches: Touch[]): TouchList; /** * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document. * @param root The root element or node to start traversing on. diff --git a/inputfiles/idl/Touch Events.widl b/inputfiles/idl/Touch Events.widl index d15511f6c..322b8966d 100644 --- a/inputfiles/idl/Touch Events.widl +++ b/inputfiles/idl/Touch Events.widl @@ -62,16 +62,9 @@ interface TouchEvent : UIEvent { readonly attribute boolean shiftKey; }; -partial interface GlobalEventHandlers { +partial interface mixin GlobalEventHandlers { attribute EventHandler ontouchstart; attribute EventHandler ontouchend; attribute EventHandler ontouchmove; attribute EventHandler ontouchcancel; }; - -partial interface Document { - // Deprecated in this specification - Touch createTouch (WindowProxy view, EventTarget target, long identifier, double pageX, double pageY, double screenX, double screenY); - // Deprecated in this specification - TouchList createTouchList (Touch... touches); -};