{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/chromium/dom-distiller/pulls/7","id":47296676,"html_url":"https://github.com/chromium/dom-distiller/pull/7","diff_url":"https://github.com/chromium/dom-distiller/pull/7.diff","patch_url":"https://github.com/chromium/dom-distiller/pull/7.patch","issue_url":"https://api.github.com/repos/chromium/dom-distiller/issues/7","number":7,"state":"open","locked":false,"title":"Fix crashes on iOS.","user":{"login":"gnachman","id":427546,"avatar_url":"https://avatars.githubusercontent.com/u/427546?v=3","gravatar_id":"","url":"https://api.github.com/users/gnachman","html_url":"https://github.com/gnachman","followers_url":"https://api.github.com/users/gnachman/followers","following_url":"https://api.github.com/users/gnachman/following{/other_user}","gists_url":"https://api.github.com/users/gnachman/gists{/gist_id}","starred_url":"https://api.github.com/users/gnachman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnachman/subscriptions","organizations_url":"https://api.github.com/users/gnachman/orgs","repos_url":"https://api.github.com/users/gnachman/repos","events_url":"https://api.github.com/users/gnachman/events{/privacy}","received_events_url":"https://api.github.com/users/gnachman/received_events","type":"User","site_admin":false},"body":"Merely reading window.location.href or window.performance will crash a UIWebView on iOS.\r\n\r\nThis PR fixes that by changing window.location.href to document.URL, and allowing the caller to set `distiller_on_ios` to `true` to prevent a reference to `window.performance` in `getTime`, always using `Date.now` on iOS.\r\n","created_at":"2015-10-09T17:12:54Z","updated_at":"2015-10-09T17:12:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5947d7a71323ae2f6dd39032ef9924851be1ada","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chromium/dom-distiller/pulls/7/commits","review_comments_url":"https://api.github.com/repos/chromium/dom-distiller/pulls/7/comments","review_comment_url":"https://api.github.com/repos/chromium/dom-distiller/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chromium/dom-distiller/issues/7/comments","statuses_url":"https://api.github.com/repos/chromium/dom-distiller/statuses/2b9cbb74ad419242e7825478197fb3d36f883ac9","head":{"label":"gnachman:ios_fixes","ref":"ios_fixes","sha":"2b9cbb74ad419242e7825478197fb3d36f883ac9","user":{"login":"gnachman","id":427546,"avatar_url":"https://avatars.githubusercontent.com/u/427546?v=3","gravatar_id":"","url":"https://api.github.com/users/gnachman","html_url":"https://github.com/gnachman","followers_url":"https://api.github.com/users/gnachman/followers","following_url":"https://api.github.com/users/gnachman/following{/other_user}","gists_url":"https://api.github.com/users/gnachman/gists{/gist_id}","starred_url":"https://api.github.com/users/gnachman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnachman/subscriptions","organizations_url":"https://api.github.com/users/gnachman/orgs","repos_url":"https://api.github.com/users/gnachman/repos","events_url":"https://api.github.com/users/gnachman/events{/privacy}","received_events_url":"https://api.github.com/users/gnachman/received_events","type":"User","site_admin":false},"repo":{"id":43969192,"name":"dom-distiller","full_name":"gnachman/dom-distiller","owner":{"login":"gnachman","id":427546,"avatar_url":"https://avatars.githubusercontent.com/u/427546?v=3","gravatar_id":"","url":"https://api.github.com/users/gnachman","html_url":"https://github.com/gnachman","followers_url":"https://api.github.com/users/gnachman/followers","following_url":"https://api.github.com/users/gnachman/following{/other_user}","gists_url":"https://api.github.com/users/gnachman/gists{/gist_id}","starred_url":"https://api.github.com/users/gnachman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnachman/subscriptions","organizations_url":"https://api.github.com/users/gnachman/orgs","repos_url":"https://api.github.com/users/gnachman/repos","events_url":"https://api.github.com/users/gnachman/events{/privacy}","received_events_url":"https://api.github.com/users/gnachman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gnachman/dom-distiller","description":"Distills the DOM","fork":true,"url":"https://api.github.com/repos/gnachman/dom-distiller","forks_url":"https://api.github.com/repos/gnachman/dom-distiller/forks","keys_url":"https://api.github.com/repos/gnachman/dom-distiller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gnachman/dom-distiller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gnachman/dom-distiller/teams","hooks_url":"https://api.github.com/repos/gnachman/dom-distiller/hooks","issue_events_url":"https://api.github.com/repos/gnachman/dom-distiller/issues/events{/number}","events_url":"https://api.github.com/repos/gnachman/dom-distiller/events","assignees_url":"https://api.github.com/repos/gnachman/dom-distiller/assignees{/user}","branches_url":"https://api.github.com/repos/gnachman/dom-distiller/branches{/branch}","tags_url":"https://api.github.com/repos/gnachman/dom-distiller/tags","blobs_url":"https://api.github.com/repos/gnachman/dom-distiller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gnachman/dom-distiller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gnachman/dom-distiller/git/refs{/sha}","trees_url":"https://api.github.com/repos/gnachman/dom-distiller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gnachman/dom-distiller/statuses/{sha}","languages_url":"https://api.github.com/repos/gnachman/dom-distiller/languages","stargazers_url":"https://api.github.com/repos/gnachman/dom-distiller/stargazers","contributors_url":"https://api.github.com/repos/gnachman/dom-distiller/contributors","subscribers_url":"https://api.github.com/repos/gnachman/dom-distiller/subscribers","subscription_url":"https://api.github.com/repos/gnachman/dom-distiller/subscription","commits_url":"https://api.github.com/repos/gnachman/dom-distiller/commits{/sha}","git_commits_url":"https://api.github.com/repos/gnachman/dom-distiller/git/commits{/sha}","comments_url":"https://api.github.com/repos/gnachman/dom-distiller/comments{/number}","issue_comment_url":"https://api.github.com/repos/gnachman/dom-distiller/issues/comments{/number}","contents_url":"https://api.github.com/repos/gnachman/dom-distiller/contents/{+path}","compare_url":"https://api.github.com/repos/gnachman/dom-distiller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gnachman/dom-distiller/merges","archive_url":"https://api.github.com/repos/gnachman/dom-distiller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gnachman/dom-distiller/downloads","issues_url":"https://api.github.com/repos/gnachman/dom-distiller/issues{/number}","pulls_url":"https://api.github.com/repos/gnachman/dom-distiller/pulls{/number}","milestones_url":"https://api.github.com/repos/gnachman/dom-distiller/milestones{/number}","notifications_url":"https://api.github.com/repos/gnachman/dom-distiller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gnachman/dom-distiller/labels{/name}","releases_url":"https://api.github.com/repos/gnachman/dom-distiller/releases{/id}","created_at":"2015-10-09T17:05:37Z","updated_at":"2015-10-09T17:05:44Z","pushed_at":"2015-10-09T17:09:33Z","git_url":"git://github.com/gnachman/dom-distiller.git","ssh_url":"git@github.com:gnachman/dom-distiller.git","clone_url":"https://github.com/gnachman/dom-distiller.git","svn_url":"https://github.com/gnachman/dom-distiller","homepage":null,"size":173804,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chromium:master","ref":"master","sha":"36a509ca42a49285ad4a770b38a8558f102c3337","user":{"login":"chromium","id":30044,"avatar_url":"https://avatars.githubusercontent.com/u/30044?v=3","gravatar_id":"","url":"https://api.github.com/users/chromium","html_url":"https://github.com/chromium","followers_url":"https://api.github.com/users/chromium/followers","following_url":"https://api.github.com/users/chromium/following{/other_user}","gists_url":"https://api.github.com/users/chromium/gists{/gist_id}","starred_url":"https://api.github.com/users/chromium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chromium/subscriptions","organizations_url":"https://api.github.com/users/chromium/orgs","repos_url":"https://api.github.com/users/chromium/repos","events_url":"https://api.github.com/users/chromium/events{/privacy}","received_events_url":"https://api.github.com/users/chromium/received_events","type":"Organization","site_admin":false},"repo":{"id":30000419,"name":"dom-distiller","full_name":"chromium/dom-distiller","owner":{"login":"chromium","id":30044,"avatar_url":"https://avatars.githubusercontent.com/u/30044?v=3","gravatar_id":"","url":"https://api.github.com/users/chromium","html_url":"https://github.com/chromium","followers_url":"https://api.github.com/users/chromium/followers","following_url":"https://api.github.com/users/chromium/following{/other_user}","gists_url":"https://api.github.com/users/chromium/gists{/gist_id}","starred_url":"https://api.github.com/users/chromium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chromium/subscriptions","organizations_url":"https://api.github.com/users/chromium/orgs","repos_url":"https://api.github.com/users/chromium/repos","events_url":"https://api.github.com/users/chromium/events{/privacy}","received_events_url":"https://api.github.com/users/chromium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chromium/dom-distiller","description":"Distills the DOM","fork":false,"url":"https://api.github.com/repos/chromium/dom-distiller","forks_url":"https://api.github.com/repos/chromium/dom-distiller/forks","keys_url":"https://api.github.com/repos/chromium/dom-distiller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chromium/dom-distiller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chromium/dom-distiller/teams","hooks_url":"https://api.github.com/repos/chromium/dom-distiller/hooks","issue_events_url":"https://api.github.com/repos/chromium/dom-distiller/issues/events{/number}","events_url":"https://api.github.com/repos/chromium/dom-distiller/events","assignees_url":"https://api.github.com/repos/chromium/dom-distiller/assignees{/user}","branches_url":"https://api.github.com/repos/chromium/dom-distiller/branches{/branch}","tags_url":"https://api.github.com/repos/chromium/dom-distiller/tags","blobs_url":"https://api.github.com/repos/chromium/dom-distiller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chromium/dom-distiller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chromium/dom-distiller/git/refs{/sha}","trees_url":"https://api.github.com/repos/chromium/dom-distiller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chromium/dom-distiller/statuses/{sha}","languages_url":"https://api.github.com/repos/chromium/dom-distiller/languages","stargazers_url":"https://api.github.com/repos/chromium/dom-distiller/stargazers","contributors_url":"https://api.github.com/repos/chromium/dom-distiller/contributors","subscribers_url":"https://api.github.com/repos/chromium/dom-distiller/subscribers","subscription_url":"https://api.github.com/repos/chromium/dom-distiller/subscription","commits_url":"https://api.github.com/repos/chromium/dom-distiller/commits{/sha}","git_commits_url":"https://api.github.com/repos/chromium/dom-distiller/git/commits{/sha}","comments_url":"https://api.github.com/repos/chromium/dom-distiller/comments{/number}","issue_comment_url":"https://api.github.com/repos/chromium/dom-distiller/issues/comments{/number}","contents_url":"https://api.github.com/repos/chromium/dom-distiller/contents/{+path}","compare_url":"https://api.github.com/repos/chromium/dom-distiller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chromium/dom-distiller/merges","archive_url":"https://api.github.com/repos/chromium/dom-distiller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chromium/dom-distiller/downloads","issues_url":"https://api.github.com/repos/chromium/dom-distiller/issues{/number}","pulls_url":"https://api.github.com/repos/chromium/dom-distiller/pulls{/number}","milestones_url":"https://api.github.com/repos/chromium/dom-distiller/milestones{/number}","notifications_url":"https://api.github.com/repos/chromium/dom-distiller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chromium/dom-distiller/labels{/name}","releases_url":"https://api.github.com/repos/chromium/dom-distiller/releases{/id}","created_at":"2015-01-29T02:48:21Z","updated_at":"2015-10-07T02:47:28Z","pushed_at":"2015-10-09T17:12:54Z","git_url":"git://github.com/chromium/dom-distiller.git","ssh_url":"git@github.com:chromium/dom-distiller.git","clone_url":"https://github.com/chromium/dom-distiller.git","svn_url":"https://github.com/chromium/dom-distiller","homepage":null,"size":173804,"stargazers_count":127,"watchers_count":127,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":3,"forks":15,"open_issues":3,"watchers":127,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chromium/dom-distiller/pulls/7"},"html":{"href":"https://github.com/chromium/dom-distiller/pull/7"},"issue":{"href":"https://api.github.com/repos/chromium/dom-distiller/issues/7"},"comments":{"href":"https://api.github.com/repos/chromium/dom-distiller/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/chromium/dom-distiller/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/chromium/dom-distiller/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chromium/dom-distiller/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/chromium/dom-distiller/statuses/2b9cbb74ad419242e7825478197fb3d36f883ac9"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":3,"changed_files":2}}