1 function Sys$Net$XMLHttpExecutor$getAllResponseHeaders() {
4 if (arguments.length !== 0) throw Error.parameterCount();
5 if (!this._responseAvailable) {
6 throw Error.invalidOperation(String.format(Sys.Res.cannotCallBeforeResponse, 'getAllResponseHeaders'));
7 }
8 if (!this._xmlHttpRequest) {
9 throw Error.invalidOperation(String.format(Sys.Res.cannotCallOutsideHandler, 'getAllResponseHeaders'));
10 }
11 return this._xmlHttpRequest.getAllResponseHeaders();
12 }