Re: [whatwg/dom] Do not dispatch a trusted event when target and reletedTarget are identical (#336)

rniwa commented on this pull request.



> @@ -1201,6 +1201,9 @@ for discussion).
  <a>relatedTarget</a> against <var>target</var> if <var>event</var>'s <a>relatedTarget</a> is
  non-null, and null otherwise.
 
+ <li><p>If <var>event</var>'s {{Event/isTrusted}} attribute is true and <var>target</var> is
+ <var>relatedTarget</var>, then terminate these steps.

No, I don't think we should be specifying this in the DOM specification. Also, this would affect every UI event dispatch beyond just ones inside shadow trees, and I'm not okay with that.

Please don't merge this.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/336#pullrequestreview-4189255

Received on Friday, 14 October 2016 00:11:37 UTC