fix(platform-browser): run BLACK_LISTED_EVENTS outside of ngZone (#18993)

PR Close #18993
This commit is contained in:
JiaLi.Passion
2017-09-02 02:30:37 +09:00
committed by Miško Hevery
parent ed1175f27e
commit d52f42688a
4 changed files with 186 additions and 7 deletions

9
test-events.js Normal file
View File

@ -0,0 +1,9 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Zone[Zone.__symbol__('BLACK_LISTED_EVENTS')] = ['scroll'];