You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
547 B

'use strict';
/**
* @license Angular
* (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT
*/
// packages/zone.js/lib/browser/message-port.js
function patchMessagePort(Zone2) {
Zone2.__load_patch("MessagePort", (global, Zone3, api) => {
const MessagePort = global["MessagePort"];
if (typeof MessagePort !== "undefined" && MessagePort.prototype) {
api.patchOnProperties(MessagePort.prototype, ["message", "messageerror"]);
}
});
}
// packages/zone.js/lib/browser/rollup-message-port.js
patchMessagePort(Zone);