fix(platform-browser): prevent clobbered elements from freezing the browser

see
4f69d38f09
This commit is contained in:
Victor Berchet
2017-03-14 17:15:46 -07:00
committed by Chuck Jazdzewski
parent 52bbc9baf4
commit a4076c70cc
6 changed files with 58 additions and 5 deletions

View File

@ -52,6 +52,7 @@ export abstract class DomAdapter {
/** @internal */
_attrToPropMap: {[key: string]: string};
abstract contains(nodeA: any, nodeB: any): boolean;
abstract parse(templateHtml: string): any;
abstract querySelector(el: any, selector: string): any;
abstract querySelectorAll(el: any, selector: string): any[];