Update Reference.md

This commit is contained in:
Thibault Malbranche 2019-02-01 19:14:07 +01:00 committed by GitHub
parent 2d80402d9f
commit e4b851e01a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -2,8 +2,6 @@
This document lays out the current public properties and methods for the React Native WebView.
> **Security Warning:** Currently, `onMessage` and `postMessage` do not allow specifying an origin. This can lead to cross-site scripting attacks if an unexpected document is loaded within a `WebView` instance. Please refer to the MDN documentation for [`Window.postMessage()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage) for more details on the security implications of this.
## Props Index
- [`source`](Reference.md#source)