{"action":"opened","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-webview/issues/230","repository_url":"https://api.github.com/repos/react-native-community/react-native-webview","labels_url":"https://api.github.com/repos/react-native-community/react-native-webview/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-webview/issues/230/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-webview/issues/230/events","html_url":"https://github.com/react-native-community/react-native-webview/issues/230","id":395608461,"node_id":"MDU6SXNzdWUzOTU2MDg0NjE=","number":230,"title":"iframe within webview with wrong src crashes app","user":{"login":"HerrX2000","id":12198197,"node_id":"MDQ6VXNlcjEyMTk4MTk3","avatar_url":"https://avatars2.githubusercontent.com/u/12198197?v=4","gravatar_id":"","url":"https://api.github.com/users/HerrX2000","html_url":"https://github.com/HerrX2000","followers_url":"https://api.github.com/users/HerrX2000/followers","following_url":"https://api.github.com/users/HerrX2000/following{/other_user}","gists_url":"https://api.github.com/users/HerrX2000/gists{/gist_id}","starred_url":"https://api.github.com/users/HerrX2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HerrX2000/subscriptions","organizations_url":"https://api.github.com/users/HerrX2000/orgs","repos_url":"https://api.github.com/users/HerrX2000/repos","events_url":"https://api.github.com/users/HerrX2000/events{/privacy}","received_events_url":"https://api.github.com/users/HerrX2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-03T15:13:58Z","updated_at":"2019-01-03T15:13:58Z","closed_at":null,"author_association":"NONE","body":"When the source of the iframe starts with // instead of https:// it crashes the app with the error massage: [Invalid URL: cannot be empty](https://photos.app.goo.gl/WDYKBpStoJuaKLt4\r\n\r\nThis is an example code:\r\n\r\n> render() {\r\n>     return (\r\n>       <WebView\r\n>         originWhitelist={['*']}\r\n>         javaScriptEnabled={true}\r\n>         source={{\r\n>           html: `<!DOCTYPE html><html><head><meta charset=\"utf-8\"/></head><body>            <iframe width=\"560\" height=\"314\" src=\"//www.youtube.com/embed/BYt8NvgDxYo?feature=share\" allowfullscreen=\"allowfullscreen\"></iframe>`\r\n> \r\n>         }}\r\n>       />\r\n> \r\n>     );\r\n>   }\r\n> }\r\n\r\nSeams like a bug to me.\r\n\r\n"}}
{"actor":{"display_login":"HerrX2000"}}