| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 /** | 188 /** |
| 189 * @param {!WebInspector.NetworkRequest} networkRequest | 189 * @param {!WebInspector.NetworkRequest} networkRequest |
| 190 * @param {!NetworkAgent.Request} request | 190 * @param {!NetworkAgent.Request} request |
| 191 */ | 191 */ |
| 192 _updateNetworkRequestWithRequest: function(networkRequest, request) | 192 _updateNetworkRequestWithRequest: function(networkRequest, request) |
| 193 { | 193 { |
| 194 networkRequest.requestMethod = request.method; | 194 networkRequest.requestMethod = request.method; |
| 195 networkRequest.setRequestHeaders(this._headersMapToHeadersArray(request.
headers)); | 195 networkRequest.setRequestHeaders(this._headersMapToHeadersArray(request.
headers)); |
| 196 networkRequest.requestFormData = request.postData; | 196 networkRequest.requestFormData = request.postData; |
| 197 networkRequest.setInitialPriority(request.initialPriority); | 197 networkRequest.setInitialPriority(request.initialPriority); |
| 198 networkRequest.mixedContentType = request.mixedContentType; |
| 198 }, | 199 }, |
| 199 | 200 |
| 200 /** | 201 /** |
| 201 * @param {!WebInspector.NetworkRequest} networkRequest | 202 * @param {!WebInspector.NetworkRequest} networkRequest |
| 202 * @param {!NetworkAgent.Response=} response | 203 * @param {!NetworkAgent.Response=} response |
| 203 */ | 204 */ |
| 204 _updateNetworkRequestWithResponse: function(networkRequest, response) | 205 _updateNetworkRequestWithResponse: function(networkRequest, response) |
| 205 { | 206 { |
| 206 if (response.url && networkRequest.url !== response.url) | 207 if (response.url && networkRequest.url !== response.url) |
| 207 networkRequest.url = response.url; | 208 networkRequest.url = response.url; |
| (...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 target.networkAgent().removeBlockedURL(url); | 763 target.networkAgent().removeBlockedURL(url); |
| 763 }, | 764 }, |
| 764 | 765 |
| 765 __proto__: WebInspector.Object.prototype | 766 __proto__: WebInspector.Object.prototype |
| 766 } | 767 } |
| 767 | 768 |
| 768 /** | 769 /** |
| 769 * @type {!WebInspector.MultitargetNetworkManager} | 770 * @type {!WebInspector.MultitargetNetworkManager} |
| 770 */ | 771 */ |
| 771 WebInspector.multitargetNetworkManager; | 772 WebInspector.multitargetNetworkManager; |
| OLD | NEW |