{"action":"created","issue":{"url":"https://api.github.com/repos/tmpvar/jsdom/issues/1563","repository_url":"https://api.github.com/repos/tmpvar/jsdom","labels_url":"https://api.github.com/repos/tmpvar/jsdom/issues/1563/labels{/name}","comments_url":"https://api.github.com/repos/tmpvar/jsdom/issues/1563/comments","events_url":"https://api.github.com/repos/tmpvar/jsdom/issues/1563/events","html_url":"https://github.com/tmpvar/jsdom/issues/1563","id":165455308,"number":1563,"title":"event.path is undefined","user":{"login":"amsul","id":685051,"avatar_url":"https://avatars.githubusercontent.com/u/685051?v=3","gravatar_id":"","url":"https://api.github.com/users/amsul","html_url":"https://github.com/amsul","followers_url":"https://api.github.com/users/amsul/followers","following_url":"https://api.github.com/users/amsul/following{/other_user}","gists_url":"https://api.github.com/users/amsul/gists{/gist_id}","starred_url":"https://api.github.com/users/amsul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amsul/subscriptions","organizations_url":"https://api.github.com/users/amsul/orgs","repos_url":"https://api.github.com/users/amsul/repos","events_url":"https://api.github.com/users/amsul/events{/privacy}","received_events_url":"https://api.github.com/users/amsul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T01:08:49Z","updated_at":"2016-07-14T01:16:25Z","closed_at":null,"body":"Events dispatched through jsdom seem to be missing the `path` property: https://dom.spec.whatwg.org/#event-path\r\n\r\n> An event has an associated path. A path is a list of tuples, each of which consists of an item (an EventTarget object) and a target (null or an EventTarget object). A tuple is formatted as (item, target). A path is initially the empty list.\r\n\r\nNot quite sure what it would require to support this, but if you could give me some pointers, I can attempt an implementation.\r\n\r\nIs there any other API jsdom provides that would help determine the path an event is bubbling through?"},"comment":{"url":"https://api.github.com/repos/tmpvar/jsdom/issues/comments/232531213","html_url":"https://github.com/tmpvar/jsdom/issues/1563#issuecomment-232531213","issue_url":"https://api.github.com/repos/tmpvar/jsdom/issues/1563","id":232531213,"user":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T01:16:25Z","updated_at":"2016-07-14T01:16:25Z","body":"There is no event.path property. The part of the spec you quote is just defining the concept of an event path.\r\n\r\nThere is a composedPath() method: https://dom.spec.whatwg.org/#dom-event-composedpath\r\n\r\nHowever, this is not implemented in any browsers yet, so I'm not sure jsdom should go first there. But a pull request would be accepted if it had enough tests.\r\n\r\n> Is there any other API jsdom provides that would help determine the path an event is bubbling through?\r\n\r\nHow would you figure this out in a browser today?"}}
{"actor":{"display_login":"domenic"}}