fix: use the correct WTF array to iterate over (#31208)

PR Close #31208
This commit is contained in:
Hamid 2019-06-22 07:44:38 +02:00 committed by Matias Niemelä
parent 7c62a8f9ca
commit 9204de96a1
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ export function eventTargetLegacyPatch(_global: any, api: _ZonePrivate) {
}
// predefine all task.source string
for (let i = 0; i < WTF_ISSUE_555.length; i++) {
for (let i = 0; i < WTF_ISSUE_555_ARRAY.length; i++) {
const target: any = WTF_ISSUE_555_ARRAY[i];
const targets: any = globalSources[target] = {};
for (let j = 0; j < eventNames.length; j++) {