{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webrtc-pc/issues/275","labels_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/275/comments","events_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/275/events","html_url":"https://github.com/w3c/webrtc-pc/issues/275","id":103087800,"number":275,"title":"RTCStatsReport seems broken","user":{"login":"jan-ivar","id":3136226,"avatar_url":"https://avatars.githubusercontent.com/u/3136226?v=3","gravatar_id":"","url":"https://api.github.com/users/jan-ivar","html_url":"https://github.com/jan-ivar","followers_url":"https://api.github.com/users/jan-ivar/followers","following_url":"https://api.github.com/users/jan-ivar/following{/other_user}","gists_url":"https://api.github.com/users/jan-ivar/gists{/gist_id}","starred_url":"https://api.github.com/users/jan-ivar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jan-ivar/subscriptions","organizations_url":"https://api.github.com/users/jan-ivar/orgs","repos_url":"https://api.github.com/users/jan-ivar/repos","events_url":"https://api.github.com/users/jan-ivar/events{/privacy}","received_events_url":"https://api.github.com/users/jan-ivar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-25T18:28:42Z","updated_at":"2015-08-26T06:21:57Z","closed_at":null,"body":"[RTCStatsReport](http://w3c.github.io/webrtc-pc/#idl-def-RTCStatsReport) is defined as:\r\n\r\n    interface RTCStatsReport {\r\n      getter RTCStats (DOMString id);\r\n    };\r\n\r\nFrom my understanding of WebIDL, dictionaries produced by this getter will contain `timestamp`, `type` and `id`, and *no other members*.\r\n\r\nSince the intent here is to return dictionaries *derived* from `RTCStats`, I think it needs to be:\r\n\r\n    interface RTCStatsReport {\r\n      getter object (DOMString id);\r\n    };\r\n\r\n@bzbarsky, is that right?"},"comment":{"url":"https://api.github.com/repos/w3c/webrtc-pc/issues/comments/134854789","html_url":"https://github.com/w3c/webrtc-pc/issues/275#issuecomment-134854789","issue_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/275","id":134854789,"user":{"login":"annevk","id":1544111,"avatar_url":"https://avatars.githubusercontent.com/u/1544111?v=3","gravatar_id":"","url":"https://api.github.com/users/annevk","html_url":"https://github.com/annevk","followers_url":"https://api.github.com/users/annevk/followers","following_url":"https://api.github.com/users/annevk/following{/other_user}","gists_url":"https://api.github.com/users/annevk/gists{/gist_id}","starred_url":"https://api.github.com/users/annevk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annevk/subscriptions","organizations_url":"https://api.github.com/users/annevk/orgs","repos_url":"https://api.github.com/users/annevk/repos","events_url":"https://api.github.com/users/annevk/events{/privacy}","received_events_url":"https://api.github.com/users/annevk/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T06:21:57Z","updated_at":"2015-08-26T06:21:57Z","body":"What is wrong with `RTCStats`? Derived from means they're still the same type. Using `getter` however is problematic actually. That should really be `legacygetter` in IDL, but that hasn't been fixed yet."}}