Browse Source

Update Reference.md

Thibault Malbranche 6 years ago
parent
commit
e4b851e01a
No account linked to committer's email address
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      docs/Reference.md

+ 0
- 2
docs/Reference.md View File

2
 
2
 
3
 This document lays out the current public properties and methods for the React Native WebView.
3
 This document lays out the current public properties and methods for the React Native WebView.
4
 
4
 
5
-> **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.
6
-
7
 ## Props Index
5
 ## Props Index
8
 
6
 
9
 - [`source`](Reference.md#source)
7
 - [`source`](Reference.md#source)