{"action":"closed","issue":{"url":"https://api.github.com/repos/WPO-Foundation/webpagetest/issues/1198","repository_url":"https://api.github.com/repos/WPO-Foundation/webpagetest","labels_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/issues/1198/labels{/name}","comments_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/issues/1198/comments","events_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/issues/1198/events","html_url":"https://github.com/WPO-Foundation/webpagetest/issues/1198","id":365229060,"node_id":"MDU6SXNzdWUzNjUyMjkwNjA=","number":1198,"title":"DOMContentFlushed metric isn't working without custom-metric JS","user":{"login":"stephendonner","id":387249,"node_id":"MDQ6VXNlcjM4NzI0OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/387249?v=4","gravatar_id":"","url":"https://api.github.com/users/stephendonner","html_url":"https://github.com/stephendonner","followers_url":"https://api.github.com/users/stephendonner/followers","following_url":"https://api.github.com/users/stephendonner/following{/other_user}","gists_url":"https://api.github.com/users/stephendonner/gists{/gist_id}","starred_url":"https://api.github.com/users/stephendonner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephendonner/subscriptions","organizations_url":"https://api.github.com/users/stephendonner/orgs","repos_url":"https://api.github.com/users/stephendonner/repos","events_url":"https://api.github.com/users/stephendonner/events{/privacy}","received_events_url":"https://api.github.com/users/stephendonner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-30T14:28:50Z","updated_at":"2018-12-04T21:37:12Z","closed_at":"2018-12-04T21:37:12Z","author_association":"CONTRIBUTOR","body":"@pmeenan hello!  Since https://github.com/WPO-Foundation/wptagent/pull/181/files, I still haven't been able to get ```domContentFlushed``` working[0], unless I add the following JavaScript snippet to the \"Custom Metrics\" field in wpt, which then works[1] (grep for DOMFlushed in the JSON).\r\n\r\n```\r\n[DOMFlushed]\r\nreturn window.performance.timing.timeToDOMContentFlushed;\r\n```\r\n/cc @soulgalore @mstange @yoavweiss @digitarald @onkeltom\r\n\r\n<img width=\"930\" alt=\"screen shot 2018-09-30 at 7 29 47 am\" src=\"https://user-images.githubusercontent.com/387249/46258624-b2d69500-c482-11e8-96ac-6433c38b7bff.png\">\r\n\r\n\r\n[0] https://www.webpagetest.org/result/180930_SM_5f9d631bcef91dacdd70f1bdfd395e27/?f=json\r\n[1] https://www.webpagetest.org/result/180930_C2_339f3d14a82599d85b5001bfbd03d4f6/?f=json"}}
{"actor":{"display_login":"stephendonner"}}