W3C home > Mailing lists > Public > public-pointer-events@w3.org > July to September 2014

RE: "EXAMPLE 4: Firing an untrusted pointer event from script" not working?

From: <cathy.chan@nokia.com>
Date: Tue, 22 Jul 2014 13:13:29 +0000
To: <redux@splintered.co.uk>, <public-pointer-events@w3.org>
Message-ID: <3dea629f57a1481cae44a579b8e03e02@NOKWDCFIEXCH02P.nnok.nokia.com>
I had the same question and Jacob confirmed that it's an IE11 issue. See https://github.com/w3c/web-platform-tests/pull/1074#issuecomment-48989307.

- Cathy.
________________________________
From: ext Patrick H. Lauke<mailto:redux@splintered.co.uk>
Sent: 7/22/2014 4:28 AM
To: public-pointer-events@w3.org<mailto:public-pointer-events@w3.org>
Subject: "EXAMPLE 4: Firing an untrusted pointer event from script" not working?

Maybe a naive question that shows my lack of JS chops, but: I've been
trying to actually generate pointer events programmatically using code
based on example 4
https://dvcs.w3.org/hg/pointerevents/raw-file/tip/pointerEvents.html#examples
but in IE11, all I get when trying

var event = new PointerEvent(...);

is an "Object doesn't support this action" error.

Is the problem with the example code, or is it a bug/incomplete
implementation in IE11?

Apologies if the answer is obvious...

P
--
Patrick H. Lauke

www.splintered.co.uk<http://www.splintered.co.uk> | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke
Received on Tuesday, 22 July 2014 13:14:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:48:10 UTC