From 9204de96a17979fb783fe16d751e014023f08106 Mon Sep 17 00:00:00 2001 From: Hamid Date: Sat, 22 Jun 2019 07:44:38 +0200 Subject: [PATCH] fix: use the correct WTF array to iterate over (#31208) PR Close #31208 --- packages/zone.js/lib/browser/event-target-legacy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zone.js/lib/browser/event-target-legacy.ts b/packages/zone.js/lib/browser/event-target-legacy.ts index 96540c72c8..c409968b24 100644 --- a/packages/zone.js/lib/browser/event-target-legacy.ts +++ b/packages/zone.js/lib/browser/event-target-legacy.ts @@ -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++) {