{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/performance-timeline/issues/29","labels_url":"https://api.github.com/repos/w3c/performance-timeline/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/w3c/performance-timeline/issues/29/comments","events_url":"https://api.github.com/repos/w3c/performance-timeline/issues/29/events","html_url":"https://github.com/w3c/performance-timeline/pull/29","id":92464315,"number":29,"title":"PerformanceObserver.observe() needs 'target'","user":{"login":"mpb","id":8249221,"avatar_url":"https://avatars.githubusercontent.com/u/8249221?v=3","gravatar_id":"","url":"https://api.github.com/users/mpb","html_url":"https://github.com/mpb","followers_url":"https://api.github.com/users/mpb/followers","following_url":"https://api.github.com/users/mpb/following{/other_user}","gists_url":"https://api.github.com/users/mpb/gists{/gist_id}","starred_url":"https://api.github.com/users/mpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpb/subscriptions","organizations_url":"https://api.github.com/users/mpb/orgs","repos_url":"https://api.github.com/users/mpb/repos","events_url":"https://api.github.com/users/mpb/events{/privacy}","received_events_url":"https://api.github.com/users/mpb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-07-01T19:15:49Z","updated_at":"2015-07-10T20:40:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/w3c/performance-timeline/pulls/29","html_url":"https://github.com/w3c/performance-timeline/pull/29","diff_url":"https://github.com/w3c/performance-timeline/pull/29.diff","patch_url":"https://github.com/w3c/performance-timeline/pull/29.patch"},"body":"PerformanceObserver.observe(options) should really be PerformanceObserver.observe(target, options) , where 'target' is a Performance.\r\nThe API is a little vague otherwise. \r\nNot sure if this means we want to introduce observer.disconnect(target) or just keep observer.disconnect() as a \"disconnect all\" function."},"comment":{"url":"https://api.github.com/repos/w3c/performance-timeline/issues/comments/120516696","html_url":"https://github.com/w3c/performance-timeline/pull/29#issuecomment-120516696","issue_url":"https://api.github.com/repos/w3c/performance-timeline/issues/29","id":120516696,"user":{"login":"igrigorik","id":10652,"avatar_url":"https://avatars.githubusercontent.com/u/10652?v=3","gravatar_id":"","url":"https://api.github.com/users/igrigorik","html_url":"https://github.com/igrigorik","followers_url":"https://api.github.com/users/igrigorik/followers","following_url":"https://api.github.com/users/igrigorik/following{/other_user}","gists_url":"https://api.github.com/users/igrigorik/gists{/gist_id}","starred_url":"https://api.github.com/users/igrigorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrigorik/subscriptions","organizations_url":"https://api.github.com/users/igrigorik/orgs","repos_url":"https://api.github.com/users/igrigorik/repos","events_url":"https://api.github.com/users/igrigorik/events{/privacy}","received_events_url":"https://api.github.com/users/igrigorik/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T20:40:47Z","updated_at":"2015-07-10T20:40:47Z","body":"So, what's the resolution here? \r\n\r\nFWIW, I'm sympathetic to @esprehn's concerns and all for keeping things as simple as possible. The ability to observe multiple contexts with same observer is not critical and may, indeed, introduce some odd implementation edge cases and concerns. Are there any strong objections to keeping it scoped to the Performance object of the context in which the observer is created?"}}