{"action":"opened","issue":{"url":"https://api.github.com/repos/devtools-html/debugger.html/issues/626","repository_url":"https://api.github.com/repos/devtools-html/debugger.html","labels_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/626/comments","events_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/626/events","html_url":"https://github.com/devtools-html/debugger.html/issues/626","id":174059629,"number":626,"title":"Hovering over a function-valued variable should give a link to the function definition","user":{"login":"bzbarsky","id":1457979,"avatar_url":"https://avatars.githubusercontent.com/u/1457979?v=3","gravatar_id":"","url":"https://api.github.com/users/bzbarsky","html_url":"https://github.com/bzbarsky","followers_url":"https://api.github.com/users/bzbarsky/followers","following_url":"https://api.github.com/users/bzbarsky/following{/other_user}","gists_url":"https://api.github.com/users/bzbarsky/gists{/gist_id}","starred_url":"https://api.github.com/users/bzbarsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzbarsky/subscriptions","organizations_url":"https://api.github.com/users/bzbarsky/orgs","repos_url":"https://api.github.com/users/bzbarsky/repos","events_url":"https://api.github.com/users/bzbarsky/events{/privacy}","received_events_url":"https://api.github.com/users/bzbarsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-30T16:04:11Z","updated_at":"2016-08-30T16:04:11Z","closed_at":null,"body":"Consider this testcase:\r\n\r\n    <script>\r\n      function myFunction() {\r\n      }\r\n      window.addEventListener(\"foo\", myFunction);\r\n    </script>\r\n\r\nLoad it in Firefox, breakpoint on line 4 (the addEventListener call), reload.  While stopped at the breakpoint hover over the second argument to addEventListener.\r\n\r\nI see a popup that shows various information about the function (properties, scope, etc).  What it doesn't have is a nice clickable link to the function definition.  Chrome's developer tools do have such a link in this situation.\r\n\r\nThe necessary info (file/line) should be extractable from the function object via its JSScript...."}}
{"actor":{"display_login":"bzbarsky"}}