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

On 22/07/2014 14:13, cathy.chan@nokia.com wrote:
> 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.

Brilliant, thanks Cathy.

Jacob, I do wonder if this should be pointed out somehow on 
http://status.modern.ie/pointerevents (and incidentally, the link to W3C 
is wrong there ... https://github.com/InternetExplorer/Status.IE/issues/115)

P

> - 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
>


-- 
Patrick H. Lauke

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:35:40 UTC