{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/respec/issues/361","labels_url":"https://api.github.com/repos/w3c/respec/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/w3c/respec/issues/361/comments","events_url":"https://api.github.com/repos/w3c/respec/issues/361/events","html_url":"https://github.com/w3c/respec/issues/361","id":50090087,"number":361,"title":"Support maplike declarations","user":{"login":"ddorwin","id":9738764,"avatar_url":"https://avatars.githubusercontent.com/u/9738764?v=3","gravatar_id":"","url":"https://api.github.com/users/ddorwin","html_url":"https://github.com/ddorwin","followers_url":"https://api.github.com/users/ddorwin/followers","following_url":"https://api.github.com/users/ddorwin/following{/other_user}","gists_url":"https://api.github.com/users/ddorwin/gists{/gist_id}","starred_url":"https://api.github.com/users/ddorwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddorwin/subscriptions","organizations_url":"https://api.github.com/users/ddorwin/orgs","repos_url":"https://api.github.com/users/ddorwin/repos","events_url":"https://api.github.com/users/ddorwin/events{/privacy}","received_events_url":"https://api.github.com/users/ddorwin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/w3c/respec/milestones/2","html_url":"https://github.com/w3c/respec/milestones/3.2","labels_url":"https://api.github.com/repos/w3c/respec/milestones/2/labels","id":133247,"number":2,"title":"3.2","description":null,"creator":{"login":"darobin","id":38491,"avatar_url":"https://avatars.githubusercontent.com/u/38491?v=3","gravatar_id":"","url":"https://api.github.com/users/darobin","html_url":"https://github.com/darobin","followers_url":"https://api.github.com/users/darobin/followers","following_url":"https://api.github.com/users/darobin/following{/other_user}","gists_url":"https://api.github.com/users/darobin/gists{/gist_id}","starred_url":"https://api.github.com/users/darobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darobin/subscriptions","organizations_url":"https://api.github.com/users/darobin/orgs","repos_url":"https://api.github.com/users/darobin/repos","events_url":"https://api.github.com/users/darobin/events{/privacy}","received_events_url":"https://api.github.com/users/darobin/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":26,"state":"open","created_at":"2012-06-18T15:37:39Z","updated_at":"2015-01-25T07:44:27Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2014-11-25T22:01:34Z","updated_at":"2015-03-05T04:18:30Z","closed_at":null,"body":"ReSpec fails with many errors and warnings when using the new maplike declaration (http://heycam.github.io/webidl/#idl-maplike) in an interface. The same is true for setlike.\r\n\r\nFor example:\r\n  `<dt>readonly maplike &ltlong, DOMString&gt</dt>`\r\n  `<dt>maplike &ltlong, DOMString&gt</dt>`\r\n\r\nAt a minimum, the above syntax should add the declaration in the interface's IDL. A bonus would be to provide information about the additional methods."},"comment":{"url":"https://api.github.com/repos/w3c/respec/issues/comments/77303996","html_url":"https://github.com/w3c/respec/issues/361#issuecomment-77303996","issue_url":"https://api.github.com/repos/w3c/respec/issues/361","id":77303996,"user":{"login":"yutakahirano","id":5187874,"avatar_url":"https://avatars.githubusercontent.com/u/5187874?v=3","gravatar_id":"","url":"https://api.github.com/users/yutakahirano","html_url":"https://github.com/yutakahirano","followers_url":"https://api.github.com/users/yutakahirano/followers","following_url":"https://api.github.com/users/yutakahirano/following{/other_user}","gists_url":"https://api.github.com/users/yutakahirano/gists{/gist_id}","starred_url":"https://api.github.com/users/yutakahirano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yutakahirano/subscriptions","organizations_url":"https://api.github.com/users/yutakahirano/orgs","repos_url":"https://api.github.com/users/yutakahirano/repos","events_url":"https://api.github.com/users/yutakahirano/events{/privacy}","received_events_url":"https://api.github.com/users/yutakahirano/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T04:18:30Z","updated_at":"2015-03-05T04:18:30Z","body":"Thank you for the feedback.\r\n\r\n> That text should probably be ignored or...\r\n\r\nI need it, because I want to describe the key value of a maplike<DOMString, V>, as in the example. Just DOMString is not enough.\r\n\r\n> ...inserted into the main section.\r\n\r\nI created a [branch] (https://github.com/yutakahirano/respec/tree/maplike-update) to update the description. What do you think about it?\r\n\r\n> I would also be nice to add something like the following from the EME spec:\r\n\r\n>> The readonly maplike declaration adds entries, forEach, get, has, keys, values, @@iterator methods and a size getter.\r\n\r\nI added the description in the branch but I'm not sure if it should be inserted automatically or by hand (by each spec author)."}}