(url)
| 4871 | isJavaScriptProtocol = |
| 4872 | /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i; |
| 4873 | function sanitizeURL(url) { |
| 4874 | return isJavaScriptProtocol.test("" + url) |
| 4875 | ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" |
| 4876 | : url; |
| 4877 | } |
| 4878 | var currentReplayingEvent = null; |
| 4879 | function getEventTarget(nativeEvent) { |
| 4880 | nativeEvent = nativeEvent.target || nativeEvent.srcElement || window; |
no outgoing calls
no test coverage detected
searching dependent graphs…