feat(zone.js): Monkey patch MessagePort.prototype onproperties (#34610)
Monkey patch `MessagePort.prototype.onmessage` and `MessagePort.prototype.onmessageerror` to make these properties's value(callback function) run in the zone when these value are set. PR Close #34610
This commit is contained in:

committed by
Andrew Kushnir

parent
05d0586223
commit
0f8e710c7c
@ -56,6 +56,7 @@ def karma_test(name, env_srcs, env_deps, env_entry_point, test_srcs, test_deps,
|
||||
"//packages/zone.js/dist:zone-patch-canvas.js",
|
||||
"//packages/zone.js/dist:zone-patch-fetch.js",
|
||||
"//packages/zone.js/dist:zone-patch-resize-observer.js",
|
||||
"//packages/zone.js/dist:zone-patch-message-port.js",
|
||||
"//packages/zone.js/dist:zone-patch-user-media.js",
|
||||
":" + name + "_rollup.umd",
|
||||
]
|
||||
|
Reference in New Issue
Block a user