{"action":"created","comment":{"url":"https://api.github.com/repos/livecode/livecode/pulls/comments/52290010","id":52290010,"diff_hunk":"@@ -818,10 +818,19 @@ - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)\n \t\n \t/* UNCHECKED */ MCCStringClone([request.URL.absoluteString cStringUsingEncoding: NSUTF8StringEncoding], t_url);\n \t\n-\tif (!m_frame_request)\n-\t\tm_instance->OnNavigationBegin(false, t_url);\n+\tif ([NSURLConnection canHandleRequest: request])\n+\t{\n+\t\tif (!m_frame_request)\n+\t\t\tm_instance->OnNavigationBegin(false, t_url);\n \n-\treturn YES;\n+\t\treturn YES;\n+\t}\n+\telse\n+\t{\n+\t\tm_instance->OnNavigationRequestUnhandled(m_frame_request, t_url);\n+\t\t\n+\t\treturn NO;\n+\t}","path":"libbrowser/src/libbrowser_uiwebview.mm","position":19,"original_position":19,"commit_id":"42c2bcf91a1bee23799da71050c64a8299097fca","original_commit_id":"42c2bcf91a1bee23799da71050c64a8299097fca","user":{"login":"peter-b","id":47528,"avatar_url":"https://avatars.githubusercontent.com/u/47528?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-b","html_url":"https://github.com/peter-b","followers_url":"https://api.github.com/users/peter-b/followers","following_url":"https://api.github.com/users/peter-b/following{/other_user}","gists_url":"https://api.github.com/users/peter-b/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-b/subscriptions","organizations_url":"https://api.github.com/users/peter-b/orgs","repos_url":"https://api.github.com/users/peter-b/repos","events_url":"https://api.github.com/users/peter-b/events{/privacy}","received_events_url":"https://api.github.com/users/peter-b/received_events","type":"User","site_admin":false},"body":"Oops, thank you!","created_at":"2016-02-09T10:26:42Z","updated_at":"2016-02-09T10:26:42Z","html_url":"https://github.com/livecode/livecode/pull/3564#discussion_r52290010","pull_request_url":"https://api.github.com/repos/livecode/livecode/pulls/3564","_links":{"self":{"href":"https://api.github.com/repos/livecode/livecode/pulls/comments/52290010"},"html":{"href":"https://github.com/livecode/livecode/pull/3564#discussion_r52290010"},"pull_request":{"href":"https://api.github.com/repos/livecode/livecode/pulls/3564"}}},"pull_request":{"url":"https://api.github.com/repos/livecode/livecode/pulls/3564","id":58431029,"html_url":"https://github.com/livecode/livecode/pull/3564","diff_url":"https://github.com/livecode/livecode/pull/3564.diff","patch_url":"https://github.com/livecode/livecode/pull/3564.patch","issue_url":"https://api.github.com/repos/livecode/livecode/issues/3564","number":3564,"state":"open","locked":false,"title":"[[ Bug 16694 ]] Browser: Add browserUnhandledLoadRequest message","user":{"login":"livecodeian","id":3985900,"avatar_url":"https://avatars.githubusercontent.com/u/3985900?v=3","gravatar_id":"","url":"https://api.github.com/users/livecodeian","html_url":"https://github.com/livecodeian","followers_url":"https://api.github.com/users/livecodeian/followers","following_url":"https://api.github.com/users/livecodeian/following{/other_user}","gists_url":"https://api.github.com/users/livecodeian/gists{/gist_id}","starred_url":"https://api.github.com/users/livecodeian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livecodeian/subscriptions","organizations_url":"https://api.github.com/users/livecodeian/orgs","repos_url":"https://api.github.com/users/livecodeian/repos","events_url":"https://api.github.com/users/livecodeian/events{/privacy}","received_events_url":"https://api.github.com/users/livecodeian/received_events","type":"User","site_admin":false},"body":"Adds the browserUnhandledLoadRequest message, which is sent to the browser widget's script object when the browser is unable to load a URL, typically due to an unrecognised URL scheme.","created_at":"2016-02-05T13:54:07Z","updated_at":"2016-02-09T10:26:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"328ae5d4a90de3295036d9cdede95a0558433981","assignee":null,"milestone":{"url":"https://api.github.com/repos/livecode/livecode/milestones/92","html_url":"https://github.com/livecode/livecode/milestones/8.0.0-dp-15","labels_url":"https://api.github.com/repos/livecode/livecode/milestones/92/labels","id":1546178,"number":92,"title":"8.0.0-dp-15","description":null,"creator":{"login":"livecodeali","id":3985854,"avatar_url":"https://avatars.githubusercontent.com/u/3985854?v=3","gravatar_id":"","url":"https://api.github.com/users/livecodeali","html_url":"https://github.com/livecodeali","followers_url":"https://api.github.com/users/livecodeali/followers","following_url":"https://api.github.com/users/livecodeali/following{/other_user}","gists_url":"https://api.github.com/users/livecodeali/gists{/gist_id}","starred_url":"https://api.github.com/users/livecodeali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livecodeali/subscriptions","organizations_url":"https://api.github.com/users/livecodeali/orgs","repos_url":"https://api.github.com/users/livecodeali/repos","events_url":"https://api.github.com/users/livecodeali/events{/privacy}","received_events_url":"https://api.github.com/users/livecodeali/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":26,"state":"open","created_at":"2016-01-27T12:06:39Z","updated_at":"2016-02-09T09:43:01Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/livecode/livecode/pulls/3564/commits","review_comments_url":"https://api.github.com/repos/livecode/livecode/pulls/3564/comments","review_comment_url":"https://api.github.com/repos/livecode/livecode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/livecode/livecode/issues/3564/comments","statuses_url":"https://api.github.com/repos/livecode/livecode/statuses/42c2bcf91a1bee23799da71050c64a8299097fca","head":{"label":"livecodeian:bugfix-16694","ref":"bugfix-16694","sha":"42c2bcf91a1bee23799da71050c64a8299097fca","user":{"login":"livecodeian","id":3985900,"avatar_url":"https://avatars.githubusercontent.com/u/3985900?v=3","gravatar_id":"","url":"https://api.github.com/users/livecodeian","html_url":"https://github.com/livecodeian","followers_url":"https://api.github.com/users/livecodeian/followers","following_url":"https://api.github.com/users/livecodeian/following{/other_user}","gists_url":"https://api.github.com/users/livecodeian/gists{/gist_id}","starred_url":"https://api.github.com/users/livecodeian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livecodeian/subscriptions","organizations_url":"https://api.github.com/users/livecodeian/orgs","repos_url":"https://api.github.com/users/livecodeian/repos","events_url":"https://api.github.com/users/livecodeian/events{/privacy}","received_events_url":"https://api.github.com/users/livecodeian/received_events","type":"User","site_admin":false},"repo":{"id":9372560,"name":"livecode","full_name":"livecodeian/livecode","owner":{"login":"livecodeian","id":3985900,"avatar_url":"https://avatars.githubusercontent.com/u/3985900?v=3","gravatar_id":"","url":"https://api.github.com/users/livecodeian","html_url":"https://github.com/livecodeian","followers_url":"https://api.github.com/users/livecodeian/followers","following_url":"https://api.github.com/users/livecodeian/following{/other_user}","gists_url":"https://api.github.com/users/livecodeian/gists{/gist_id}","starred_url":"https://api.github.com/users/livecodeian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livecodeian/subscriptions","organizations_url":"https://api.github.com/users/livecodeian/orgs","repos_url":"https://api.github.com/users/livecodeian/repos","events_url":"https://api.github.com/users/livecodeian/events{/privacy}","received_events_url":"https://api.github.com/users/livecodeian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/livecodeian/livecode","description":"","fork":true,"url":"https://api.github.com/repos/livecodeian/livecode","forks_url":"https://api.github.com/repos/livecodeian/livecode/forks","keys_url":"https://api.github.com/repos/livecodeian/livecode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/livecodeian/livecode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/livecodeian/livecode/teams","hooks_url":"https://api.github.com/repos/livecodeian/livecode/hooks","issue_events_url":"https://api.github.com/repos/livecodeian/livecode/issues/events{/number}","events_url":"https://api.github.com/repos/livecodeian/livecode/events","assignees_url":"https://api.github.com/repos/livecodeian/livecode/assignees{/user}","branches_url":"https://api.github.com/repos/livecodeian/livecode/branches{/branch}","tags_url":"https://api.github.com/repos/livecodeian/livecode/tags","blobs_url":"https://api.github.com/repos/livecodeian/livecode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/livecodeian/livecode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/livecodeian/livecode/git/refs{/sha}","trees_url":"https://api.github.com/repos/livecodeian/livecode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/livecodeian/livecode/statuses/{sha}","languages_url":"https://api.github.com/repos/livecodeian/livecode/languages","stargazers_url":"https://api.github.com/repos/livecodeian/livecode/stargazers","contributors_url":"https://api.github.com/repos/livecodeian/livecode/contributors","subscribers_url":"https://api.github.com/repos/livecodeian/livecode/subscribers","subscription_url":"https://api.github.com/repos/livecodeian/livecode/subscription","commits_url":"https://api.github.com/repos/livecodeian/livecode/commits{/sha}","git_commits_url":"https://api.github.com/repos/livecodeian/livecode/git/commits{/sha}","comments_url":"https://api.github.com/repos/livecodeian/livecode/comments{/number}","issue_comment_url":"https://api.github.com/repos/livecodeian/livecode/issues/comments{/number}","contents_url":"https://api.github.com/repos/livecodeian/livecode/contents/{+path}","compare_url":"https://api.github.com/repos/livecodeian/livecode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/livecodeian/livecode/merges","archive_url":"https://api.github.com/repos/livecodeian/livecode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/livecodeian/livecode/downloads","issues_url":"https://api.github.com/repos/livecodeian/livecode/issues{/number}","pulls_url":"https://api.github.com/repos/livecodeian/livecode/pulls{/number}","milestones_url":"https://api.github.com/repos/livecodeian/livecode/milestones{/number}","notifications_url":"https://api.github.com/repos/livecodeian/livecode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/livecodeian/livecode/labels{/name}","releases_url":"https://api.github.com/repos/livecodeian/livecode/releases{/id}","deployments_url":"https://api.github.com/repos/livecodeian/livecode/deployments","created_at":"2013-04-11T14:42:23Z","updated_at":"2014-06-23T12:26:19Z","pushed_at":"2016-02-07T20:58:26Z","git_url":"git://github.com/livecodeian/livecode.git","ssh_url":"git@github.com:livecodeian/livecode.git","clone_url":"https://github.com/livecodeian/livecode.git","svn_url":"https://github.com/livecodeian/livecode","homepage":null,"size":102915,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"livecode:develop","ref":"develop","sha":"7a66f86fcf61398096cd6e637a97ed410f262143","user":{"login":"livecode","id":3985749,"avatar_url":"https://avatars.githubusercontent.com/u/3985749?v=3","gravatar_id":"","url":"https://api.github.com/users/livecode","html_url":"https://github.com/livecode","followers_url":"https://api.github.com/users/livecode/followers","following_url":"https://api.github.com/users/livecode/following{/other_user}","gists_url":"https://api.github.com/users/livecode/gists{/gist_id}","starred_url":"https://api.github.com/users/livecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livecode/subscriptions","organizations_url":"https://api.github.com/users/livecode/orgs","repos_url":"https://api.github.com/users/livecode/repos","events_url":"https://api.github.com/users/livecode/events{/privacy}","received_events_url":"https://api.github.com/users/livecode/received_events","type":"Organization","site_admin":false},"repo":{"id":9334445,"name":"livecode","full_name":"livecode/livecode","owner":{"login":"livecode","id":3985749,"avatar_url":"https://avatars.githubusercontent.com/u/3985749?v=3","gravatar_id":"","url":"https://api.github.com/users/livecode","html_url":"https://github.com/livecode","followers_url":"https://api.github.com/users/livecode/followers","following_url":"https://api.github.com/users/livecode/following{/other_user}","gists_url":"https://api.github.com/users/livecode/gists{/gist_id}","starred_url":"https://api.github.com/users/livecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livecode/subscriptions","organizations_url":"https://api.github.com/users/livecode/orgs","repos_url":"https://api.github.com/users/livecode/repos","events_url":"https://api.github.com/users/livecode/events{/privacy}","received_events_url":"https://api.github.com/users/livecode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/livecode/livecode","description":"","fork":false,"url":"https://api.github.com/repos/livecode/livecode","forks_url":"https://api.github.com/repos/livecode/livecode/forks","keys_url":"https://api.github.com/repos/livecode/livecode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/livecode/livecode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/livecode/livecode/teams","hooks_url":"https://api.github.com/repos/livecode/livecode/hooks","issue_events_url":"https://api.github.com/repos/livecode/livecode/issues/events{/number}","events_url":"https://api.github.com/repos/livecode/livecode/events","assignees_url":"https://api.github.com/repos/livecode/livecode/assignees{/user}","branches_url":"https://api.github.com/repos/livecode/livecode/branches{/branch}","tags_url":"https://api.github.com/repos/livecode/livecode/tags","blobs_url":"https://api.github.com/repos/livecode/livecode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/livecode/livecode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/livecode/livecode/git/refs{/sha}","trees_url":"https://api.github.com/repos/livecode/livecode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/livecode/livecode/statuses/{sha}","languages_url":"https://api.github.com/repos/livecode/livecode/languages","stargazers_url":"https://api.github.com/repos/livecode/livecode/stargazers","contributors_url":"https://api.github.com/repos/livecode/livecode/contributors","subscribers_url":"https://api.github.com/repos/livecode/livecode/subscribers","subscription_url":"https://api.github.com/repos/livecode/livecode/subscription","commits_url":"https://api.github.com/repos/livecode/livecode/commits{/sha}","git_commits_url":"https://api.github.com/repos/livecode/livecode/git/commits{/sha}","comments_url":"https://api.github.com/repos/livecode/livecode/comments{/number}","issue_comment_url":"https://api.github.com/repos/livecode/livecode/issues/comments{/number}","contents_url":"https://api.github.com/repos/livecode/livecode/contents/{+path}","compare_url":"https://api.github.com/repos/livecode/livecode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/livecode/livecode/merges","archive_url":"https://api.github.com/repos/livecode/livecode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/livecode/livecode/downloads","issues_url":"https://api.github.com/repos/livecode/livecode/issues{/number}","pulls_url":"https://api.github.com/repos/livecode/livecode/pulls{/number}","milestones_url":"https://api.github.com/repos/livecode/livecode/milestones{/number}","notifications_url":"https://api.github.com/repos/livecode/livecode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/livecode/livecode/labels{/name}","releases_url":"https://api.github.com/repos/livecode/livecode/releases{/id}","deployments_url":"https://api.github.com/repos/livecode/livecode/deployments","created_at":"2013-04-10T00:15:57Z","updated_at":"2016-01-28T15:54:15Z","pushed_at":"2016-02-09T10:04:48Z","git_url":"git://github.com/livecode/livecode.git","ssh_url":"git@github.com:livecode/livecode.git","clone_url":"https://github.com/livecode/livecode.git","svn_url":"https://github.com/livecode/livecode","homepage":null,"size":137603,"stargazers_count":107,"watchers_count":107,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":88,"mirror_url":null,"open_issues_count":58,"forks":88,"open_issues":58,"watchers":107,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/livecode/livecode/pulls/3564"},"html":{"href":"https://github.com/livecode/livecode/pull/3564"},"issue":{"href":"https://api.github.com/repos/livecode/livecode/issues/3564"},"comments":{"href":"https://api.github.com/repos/livecode/livecode/issues/3564/comments"},"review_comments":{"href":"https://api.github.com/repos/livecode/livecode/pulls/3564/comments"},"review_comment":{"href":"https://api.github.com/repos/livecode/livecode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/livecode/livecode/pulls/3564/commits"},"statuses":{"href":"https://api.github.com/repos/livecode/livecode/statuses/42c2bcf91a1bee23799da71050c64a8299097fca"}}}}