MCPcopy Create free account
hub / github.com/angular/dev-infra / close

Method close

github-actions/browserstack/set-browserstack-env.js:19034–19041  ·  view source on GitHub ↗

* Closes the connection, if any, and sets the readyState attribute to * CLOSED.

()

Source from the content-addressed store, hash-verified

19032 if (this.checkBOM) {
19033 if (this.handleBOM()) {
19034 callback();
19035 return;
19036 }
19037 }
19038 while (this.hasCurrentByte()) {
19039 const byte = this.currentByte();
19040 if (this.eventEndCheck) {
19041 if (this.crlfCheck) {
19042 if (byte === LF) {
19043 this.crlfCheck = false;
19044 this.consumeCurrentByte();

Callers

nothing calls this directly

Calls 3

__privateGetFunction · 0.70
__privateSetFunction · 0.70
abortMethod · 0.45

Tested by

no test coverage detected