{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/payment-request/issues/813","repository_url":"https://api.github.com/repos/w3c/payment-request","labels_url":"https://api.github.com/repos/w3c/payment-request/issues/813/labels{/name}","comments_url":"https://api.github.com/repos/w3c/payment-request/issues/813/comments","events_url":"https://api.github.com/repos/w3c/payment-request/issues/813/events","html_url":"https://github.com/w3c/payment-request/issues/813","id":384188809,"node_id":"MDU6SXNzdWUzODQxODg4MDk=","number":813,"title":"Should PaymentMethodData be converted at construction time?","user":{"login":"marcoscaceres","id":870154,"node_id":"MDQ6VXNlcjg3MDE1NA==","avatar_url":"https://avatars1.githubusercontent.com/u/870154?v=4","gravatar_id":"","url":"https://api.github.com/users/marcoscaceres","html_url":"https://github.com/marcoscaceres","followers_url":"https://api.github.com/users/marcoscaceres/followers","following_url":"https://api.github.com/users/marcoscaceres/following{/other_user}","gists_url":"https://api.github.com/users/marcoscaceres/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoscaceres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoscaceres/subscriptions","organizations_url":"https://api.github.com/users/marcoscaceres/orgs","repos_url":"https://api.github.com/users/marcoscaceres/repos","events_url":"https://api.github.com/users/marcoscaceres/events{/privacy}","received_events_url":"https://api.github.com/users/marcoscaceres/received_events","type":"User","site_admin":false},"labels":[{"id":686687813,"node_id":"MDU6TGFiZWw2ODY2ODc4MTM=","url":"https://api.github.com/repos/w3c/payment-request/labels/CR-Exit","name":"CR-Exit","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-26T06:18:30Z","updated_at":"2018-11-26T07:12:50Z","closed_at":null,"author_association":"MEMBER","body":"Related to #753 \r\n\r\nGiven the following: \r\n\r\n```JS\r\nvar details = {\r\n  total: {\r\n    label: \"Total\",\r\n    amount: {\r\n      currency: \"USD\",\r\n      value: \"0.00\",\r\n    },\r\n  },\r\n};\r\nnew PaymentRequest(\r\n  [\r\n    { supportedMethods: \"basic-card\", data: { supportedNetworks: \"☠️\" } },\r\n  ],\r\n  details\r\n);\r\n```\r\n\r\nFirefox currently throws, because it tries to do the IDL conversion: \r\n\r\n > TypeError: Fail to convert methodData.data to BasicCardRequest. \r\n\r\nChrome doesn't throw. \r\n\r\nPer spec, Chrome is right... but it not doing the conversion seems not great. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/payment-request/issues/comments/441539742","html_url":"https://github.com/w3c/payment-request/issues/813#issuecomment-441539742","issue_url":"https://api.github.com/repos/w3c/payment-request/issues/813","id":441539742,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTUzOTc0Mg==","user":{"login":"marcoscaceres","id":870154,"node_id":"MDQ6VXNlcjg3MDE1NA==","avatar_url":"https://avatars1.githubusercontent.com/u/870154?v=4","gravatar_id":"","url":"https://api.github.com/users/marcoscaceres","html_url":"https://github.com/marcoscaceres","followers_url":"https://api.github.com/users/marcoscaceres/followers","following_url":"https://api.github.com/users/marcoscaceres/following{/other_user}","gists_url":"https://api.github.com/users/marcoscaceres/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoscaceres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoscaceres/subscriptions","organizations_url":"https://api.github.com/users/marcoscaceres/orgs","repos_url":"https://api.github.com/users/marcoscaceres/repos","events_url":"https://api.github.com/users/marcoscaceres/events{/privacy}","received_events_url":"https://api.github.com/users/marcoscaceres/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T07:12:50Z","updated_at":"2018-11-26T07:12:50Z","author_association":"MEMBER","body":"Checked Safari also (using Apple Pay as PMI), it doesn't throw. \r\n\r\n@rsolomakhin, @aestes, @zouhir, what are your preferences? \r\n\r\n"}}
{"actor":{"display_login":"marcoscaceres"}}