docs(security): mark the various DomAdapters as unsafe. (#10868)

Part of #8511.
This commit is contained in:
Martin Probst
2016-08-17 13:42:18 -07:00
committed by Kara
parent 4829fbb95c
commit 3009be8d6e
4 changed files with 15 additions and 0 deletions

View File

@ -64,6 +64,9 @@ var _chromeNumKeyPadMap = {
/**
* A `DomAdapter` powered by full browser DOM APIs.
*
* @security Tread carefully! Interacting with the DOM directly is dangerous and
* can introduce XSS risks.
*/
/* tslint:disable:requireParameterType */
export class BrowserDomAdapter extends GenericBrowserDomAdapter {