{"action":"closed","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/1294","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/1294/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/1294/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/1294/events","html_url":"https://github.com/Polymer/polymer/issues/1294","id":61685016,"number":1294,"title":"[0.8] `readOnly` property without `notify` will not be `readOnly`","user":{"login":"cdata","id":240083,"avatar_url":"https://avatars.githubusercontent.com/u/240083?v=3","gravatar_id":"","url":"https://api.github.com/users/cdata","html_url":"https://github.com/cdata","followers_url":"https://api.github.com/users/cdata/followers","following_url":"https://api.github.com/users/cdata/following{/other_user}","gists_url":"https://api.github.com/users/cdata/gists{/gist_id}","starred_url":"https://api.github.com/users/cdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdata/subscriptions","organizations_url":"https://api.github.com/users/cdata/orgs","repos_url":"https://api.github.com/users/cdata/repos","events_url":"https://api.github.com/users/cdata/events{/privacy}","received_events_url":"https://api.github.com/users/cdata/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Polymer/polymer/labels/p2","name":"p2","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"kevinpschaaf","id":1354932,"avatar_url":"https://avatars.githubusercontent.com/u/1354932?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinpschaaf","html_url":"https://github.com/kevinpschaaf","followers_url":"https://api.github.com/users/kevinpschaaf/followers","following_url":"https://api.github.com/users/kevinpschaaf/following{/other_user}","gists_url":"https://api.github.com/users/kevinpschaaf/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinpschaaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinpschaaf/subscriptions","organizations_url":"https://api.github.com/users/kevinpschaaf/orgs","repos_url":"https://api.github.com/users/kevinpschaaf/repos","events_url":"https://api.github.com/users/kevinpschaaf/events{/privacy}","received_events_url":"https://api.github.com/users/kevinpschaaf/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-03-14T19:45:41Z","updated_at":"2015-05-22T18:13:54Z","closed_at":"2015-05-22T18:13:54Z","body":"If a property `foo` is `readOnly` but does not `notify`, a `_setFoo` setter is not created, and the `foo` property will be directly settable.\r\n\r\nRelatedly, considering the following contrived element:\r\n\r\n```html\r\n<link rel=\"import\" href=\"../polymer/polymer.html\">\r\n<script>\r\n  Polymer({\r\n    is: 'test-el',\r\n\r\n    properties: {\r\n      foo: {\r\n        readOnly: true,\r\n        value: function() {\r\n          console.log('The foo setter is:', typeof this._setFoo);\r\n        }\r\n      },\r\n\r\n      bar: {\r\n        readOnly: true,\r\n        notify: true,\r\n        value: function() {\r\n          console.log('The bar setter is:', typeof this._setBar);\r\n        }\r\n      }\r\n    }\r\n  })\r\n</script>\r\n```\r\n\r\nThe console output is:\r\n\r\n```\r\nThe foo setter is: undefined\r\nThe bar setter is: function\r\n```"}}