OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 }, | 381 }, |
382 | 382 |
383 set canceled(x) | 383 set canceled(x) |
384 { | 384 { |
385 this._canceled = x; | 385 this._canceled = x; |
386 }, | 386 }, |
387 | 387 |
388 /** | 388 /** |
389 * @return {boolean} | 389 * @return {boolean} |
390 */ | 390 */ |
| 391 get blocked() |
| 392 { |
| 393 return this._blocked; |
| 394 }, |
| 395 |
| 396 set blocked(x) |
| 397 { |
| 398 this._blocked = x; |
| 399 }, |
| 400 |
| 401 /** |
| 402 * @return {boolean} |
| 403 */ |
391 cached: function() | 404 cached: function() |
392 { | 405 { |
393 return (!!this._fromMemoryCache || !!this._fromDiskCache) && !this._tran
sferSize; | 406 return (!!this._fromMemoryCache || !!this._fromDiskCache) && !this._tran
sferSize; |
394 }, | 407 }, |
395 | 408 |
396 setFromMemoryCache: function() | 409 setFromMemoryCache: function() |
397 { | 410 { |
398 this._fromMemoryCache = true; | 411 this._fromMemoryCache = true; |
399 delete this._timing; | 412 delete this._timing; |
400 }, | 413 }, |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1098 this.dispatchEventToListeners(WebInspector.NetworkRequest.Events.EventSo
urceMessageAdded, message); | 1111 this.dispatchEventToListeners(WebInspector.NetworkRequest.Events.EventSo
urceMessageAdded, message); |
1099 }, | 1112 }, |
1100 | 1113 |
1101 replayXHR: function() | 1114 replayXHR: function() |
1102 { | 1115 { |
1103 this.target().networkAgent().replayXHR(this.requestId); | 1116 this.target().networkAgent().replayXHR(this.requestId); |
1104 }, | 1117 }, |
1105 | 1118 |
1106 __proto__: WebInspector.SDKObject.prototype | 1119 __proto__: WebInspector.SDKObject.prototype |
1107 } | 1120 } |
OLD | NEW |