{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/399","repository_url":"https://api.github.com/repos/Microsoft/ChakraCore","labels_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/399/comments","events_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/399/events","html_url":"https://github.com/Microsoft/ChakraCore/pull/399","id":136798153,"number":399,"title":"Invalidate proto caches in the correct script context","user":{"login":"rajatd","id":15348123,"avatar_url":"https://avatars.githubusercontent.com/u/15348123?v=3","gravatar_id":"","url":"https://api.github.com/users/rajatd","html_url":"https://github.com/rajatd","followers_url":"https://api.github.com/users/rajatd/followers","following_url":"https://api.github.com/users/rajatd/following{/other_user}","gists_url":"https://api.github.com/users/rajatd/gists{/gist_id}","starred_url":"https://api.github.com/users/rajatd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajatd/subscriptions","organizations_url":"https://api.github.com/users/rajatd/orgs","repos_url":"https://api.github.com/users/rajatd/repos","events_url":"https://api.github.com/users/rajatd/events{/privacy}","received_events_url":"https://api.github.com/users/rajatd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/ChakraCore/labels/cla-not-required","name":"cla-not-required","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-26T19:57:15Z","updated_at":"2016-02-27T00:53:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/pulls/399","html_url":"https://github.com/Microsoft/ChakraCore/pull/399","diff_url":"https://github.com/Microsoft/ChakraCore/pull/399.diff","patch_url":"https://github.com/Microsoft/ChakraCore/pull/399.patch"},"body":"If the prototype of an object is changed in a different context, we need to invalidate proto inline caches in the script context of the old prototype. We were only invalidating the caches in the current context, but the prototype being changed could have had property loads from it cached in a different context.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.svg\" height=\"40\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/microsoft/chakracore/399)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/comments/189541993","html_url":"https://github.com/Microsoft/ChakraCore/pull/399#issuecomment-189541993","issue_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/399","id":189541993,"user":{"login":"pleath","id":15825988,"avatar_url":"https://avatars.githubusercontent.com/u/15825988?v=3","gravatar_id":"","url":"https://api.github.com/users/pleath","html_url":"https://github.com/pleath","followers_url":"https://api.github.com/users/pleath/followers","following_url":"https://api.github.com/users/pleath/following{/other_user}","gists_url":"https://api.github.com/users/pleath/gists{/gist_id}","starred_url":"https://api.github.com/users/pleath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleath/subscriptions","organizations_url":"https://api.github.com/users/pleath/orgs","repos_url":"https://api.github.com/users/pleath/repos","events_url":"https://api.github.com/users/pleath/events{/privacy}","received_events_url":"https://api.github.com/users/pleath/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T00:53:43Z","updated_at":"2016-02-27T00:53:43Z","body":"In that case, LGTM as is."}}