{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/4457","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/4457/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/4457/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/4457/events","html_url":"https://github.com/ampproject/amphtml/issues/4457","id":170536939,"number":4457,"title":"Let viewer tell runtime if it has capability for \"cid\" storage","user":{"login":"lannka","id":8496897,"avatar_url":"https://avatars.githubusercontent.com/u/8496897?v=3","gravatar_id":"","url":"https://api.github.com/users/lannka","html_url":"https://github.com/lannka","followers_url":"https://api.github.com/users/lannka/followers","following_url":"https://api.github.com/users/lannka/following{/other_user}","gists_url":"https://api.github.com/users/lannka/gists{/gist_id}","starred_url":"https://api.github.com/users/lannka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lannka/subscriptions","organizations_url":"https://api.github.com/users/lannka/orgs","repos_url":"https://api.github.com/users/lannka/repos","events_url":"https://api.github.com/users/lannka/events{/privacy}","received_events_url":"https://api.github.com/users/lannka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ampproject/amphtml/labels/FixIt","name":"FixIt","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"lannka","id":8496897,"avatar_url":"https://avatars.githubusercontent.com/u/8496897?v=3","gravatar_id":"","url":"https://api.github.com/users/lannka","html_url":"https://github.com/lannka","followers_url":"https://api.github.com/users/lannka/followers","following_url":"https://api.github.com/users/lannka/following{/other_user}","gists_url":"https://api.github.com/users/lannka/gists{/gist_id}","starred_url":"https://api.github.com/users/lannka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lannka/subscriptions","organizations_url":"https://api.github.com/users/lannka/orgs","repos_url":"https://api.github.com/users/lannka/repos","events_url":"https://api.github.com/users/lannka/events{/privacy}","received_events_url":"https://api.github.com/users/lannka/received_events","type":"User","site_admin":false},"assignees":[{"login":"lannka","id":8496897,"avatar_url":"https://avatars.githubusercontent.com/u/8496897?v=3","gravatar_id":"","url":"https://api.github.com/users/lannka","html_url":"https://github.com/lannka","followers_url":"https://api.github.com/users/lannka/followers","following_url":"https://api.github.com/users/lannka/following{/other_user}","gists_url":"https://api.github.com/users/lannka/gists{/gist_id}","starred_url":"https://api.github.com/users/lannka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lannka/subscriptions","organizations_url":"https://api.github.com/users/lannka/orgs","repos_url":"https://api.github.com/users/lannka/repos","events_url":"https://api.github.com/users/lannka/events{/privacy}","received_events_url":"https://api.github.com/users/lannka/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ampproject/amphtml/milestones/9","html_url":"https://github.com/ampproject/amphtml/milestones/Next","labels_url":"https://api.github.com/repos/ampproject/amphtml/milestones/9/labels","id":1621302,"number":9,"title":"Next","description":"This milestone collects issues we plan to work on soon.","creator":{"login":"rudygalfi","id":3888212,"avatar_url":"https://avatars.githubusercontent.com/u/3888212?v=3","gravatar_id":"","url":"https://api.github.com/users/rudygalfi","html_url":"https://github.com/rudygalfi","followers_url":"https://api.github.com/users/rudygalfi/followers","following_url":"https://api.github.com/users/rudygalfi/following{/other_user}","gists_url":"https://api.github.com/users/rudygalfi/gists{/gist_id}","starred_url":"https://api.github.com/users/rudygalfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudygalfi/subscriptions","organizations_url":"https://api.github.com/users/rudygalfi/orgs","repos_url":"https://api.github.com/users/rudygalfi/repos","events_url":"https://api.github.com/users/rudygalfi/events{/privacy}","received_events_url":"https://api.github.com/users/rudygalfi/received_events","type":"User","site_admin":false},"open_issues":67,"closed_issues":33,"state":"open","created_at":"2016-03-04T00:12:33Z","updated_at":"2016-08-11T19:08:09Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-08-10T22:48:51Z","updated_at":"2016-08-12T17:39:57Z","closed_at":null,"body":"When iframed, right now the runtime blindly assume the viewer can persist cid for it, which might not be true. Ideally, runtime should communicate with viewer via the [hasCapability API](https://github.com/ampproject/amphtml/blob/fe63400cb62cd132ae279357e6d546fbd9d0010c/src/service/viewer-impl.js#L417), which requires viewer to write the URL fragment accordingly.\r\n\r\n@dvoytenko "},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/239511744","html_url":"https://github.com/ampproject/amphtml/issues/4457#issuecomment-239511744","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/4457","id":239511744,"user":{"login":"ericfs","id":851850,"avatar_url":"https://avatars.githubusercontent.com/u/851850?v=3","gravatar_id":"","url":"https://api.github.com/users/ericfs","html_url":"https://github.com/ericfs","followers_url":"https://api.github.com/users/ericfs/followers","following_url":"https://api.github.com/users/ericfs/following{/other_user}","gists_url":"https://api.github.com/users/ericfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfs/subscriptions","organizations_url":"https://api.github.com/users/ericfs/orgs","repos_url":"https://api.github.com/users/ericfs/repos","events_url":"https://api.github.com/users/ericfs/events{/privacy}","received_events_url":"https://api.github.com/users/ericfs/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T17:39:57Z","updated_at":"2016-08-12T17:39:57Z","body":"Full list that I am aware of:\r\n`cid`\r\n`csi` (should be renamed)\r\n`dialog`\r\n`development`\r\n`history`\r\n`log`\r\n`p2r`\r\n`signin`\r\n`storage`\r\n`webview`\r\n\r\nThose are all boolean, but I'm not sure if they all make sense in `cap` or not."}}
{"actor":{"display_login":"ericfs"}}