MCPcopy Index your code
hub / github.com/angular/angular / func

Function func

packages/zone.js/test/browser/XMLHttpRequest.spec.ts:481–486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

479
480 it('should not throw error when get XMLHttpRequest.prototype.onreadystatechange the first time', function () {
481 const func = function () {
482 testZone.run(function () {
483 const req = new XMLHttpRequest();
484 req.onreadystatechange;
485 });
486 };
487 expect(func).not.toThrow();
488 });
489

Callers

nothing calls this directly

Calls 1

runMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…