fix: use the correct WTF array to iterate over (#31208)
PR Close #31208
This commit is contained in:
parent
7c62a8f9ca
commit
9204de96a1
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue