{"action":"created","issue":{"url":"https://api.github.com/repos/paulmillr/es6-shim/issues/370","labels_url":"https://api.github.com/repos/paulmillr/es6-shim/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/paulmillr/es6-shim/issues/370/comments","events_url":"https://api.github.com/repos/paulmillr/es6-shim/issues/370/events","html_url":"https://github.com/paulmillr/es6-shim/issues/370","id":115868183,"number":370,"title":"RegExp.prototype.flags cannot be read in Chrome Canary","user":{"login":"fizker","id":736545,"avatar_url":"https://avatars.githubusercontent.com/u/736545?v=3","gravatar_id":"","url":"https://api.github.com/users/fizker","html_url":"https://github.com/fizker","followers_url":"https://api.github.com/users/fizker/followers","following_url":"https://api.github.com/users/fizker/following{/other_user}","gists_url":"https://api.github.com/users/fizker/gists{/gist_id}","starred_url":"https://api.github.com/users/fizker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fizker/subscriptions","organizations_url":"https://api.github.com/users/fizker/orgs","repos_url":"https://api.github.com/users/fizker/repos","events_url":"https://api.github.com/users/fizker/events{/privacy}","received_events_url":"https://api.github.com/users/fizker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-09T12:32:36Z","updated_at":"2015-11-09T20:33:08Z","closed_at":null,"body":"One of the shims adds a getter for `RegExp.prototype.flags`, and guards against overriding the native by reading the current value.\r\n\r\nBut reading `RegExp.prototype.flags` throws an error in Chrome Canary (48.0.2559.0): `Uncaught TypeError: RegExp.prototype.global getter called on non-RegExp object`.\r\n\r\nNote: Chrome Canary requires the `Experimental JavaScript` flag to be enabled before exposing `RegExp.prototype.flags`."},"comment":{"url":"https://api.github.com/repos/paulmillr/es6-shim/issues/comments/155184830","html_url":"https://github.com/paulmillr/es6-shim/issues/370#issuecomment-155184830","issue_url":"https://api.github.com/repos/paulmillr/es6-shim/issues/370","id":155184830,"user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T20:33:08Z","updated_at":"2015-11-09T20:33:08Z","body":"ha, touché. i haven't yet updated things to pass in Chrome Canary. Thanks for the PR."}}