| /yui3/src/io/tests/js/ |
| H A D | timeout-tests.js | 1 YUI.add('timeout-tests', function(Y) { 4 var timeout = function(id, o) { 6 Y.Assert.areSame('timeout', o.statusText); 14 complete: timeout, 15 failure: timeout 31 io._evt('complete', { id: 0, e: 'timeout' }, cfg1);
|
| /yui3/build/io-nodejs/ |
| H A D | io-nodejs-debug.js | 87 if (config.timeout) { 88 rconf.timeout = config.timeout; 100 config.notify(((err.code === 'ETIMEDOUT') ? 'timeout' : 'failure'), transaction, config);
|
| /yui3/src/io/js/ |
| H A D | io-nodejs.js | 85 if (config.timeout) { 86 rconf.timeout = config.timeout; 98 config.notify(((err.code === 'ETIMEDOUT') ? 'timeout' : 'failure'), transaction, config);
|
| H A D | io-base.js | 63 * Object that stores timeout values for any transaction with a defined 64 * "timeout" configuration property. 429 * Starts timeout count if the configuration object has a defined 430 * timeout property. 435 * @param {Object} timeout Timeout in milliseconds. 437 _startTimeout: function(transaction, timeout) { 441 io._abort(transaction, 'timeout'); 442 }, timeout); 446 * Clears the timeout interval started by _startTimeout(). 498 if (config.timeout) { [all...] |
| H A D | io-upload-iframe.js | 136 * Starts timeout count if the configuration object 137 * has a defined timeout property. 151 o.statusText = 'timeout'; 154 Y.log('Transaction ' + o.id + ' timeout.', 'info', 'io'); 155 }, c.timeout); 159 * Clears the timeout interval started by _startUploadTimeout(). 187 if (c.timeout) { 243 // Start polling if a callback is present and the timeout 245 if (c.timeout) { 247 Y.log('Transaction timeout starte [all...] |
| /yui3/src/async-queue/tests/ |
| H A D | async-queue-tests.js | 6 Y.AsyncQueue.defaults.timeout = -1; 66 timeout : 10 133 timeout: 10 219 timeout: 10 256 timeout : 10 286 // Test during timeout 314 timeout: 10 376 timeout: 10 476 { fn: function () { results += 'D'; }, iterations: 3, timeout: 10 }, 510 timeout [all...] |
| /yui3/build/jsonp/ |
| H A D | jsonp-debug.js | 25 * <li>timeout - function handler for transactions that timeout</li> 29 * <li>timeout - the number of milliseconds to wait before giving up</li> 64 * request times out and there is a timeout handler and success 77 * request times out and there is a timeout handler and success 200 onTimeout : wrap(config.on.timeout, true), 201 timeout : config.timeout,
|
| /yui3/src/async-queue/tests/src/ |
| H A D | async-queue.js | 4 Y.AsyncQueue.defaults.timeout = -1; 64 timeout : 10 131 timeout: 10 217 timeout: 10 254 timeout : 10 284 // Test during timeout 312 timeout: 10 374 timeout: 10 474 { fn: function () { results += 'D'; }, iterations: 3, timeout: 10 }, 508 timeout [all...] |
| /yui3/src/async-queue/js/ |
| H A D | async-queue.js | 22 * <li><code>timeout</code> -- Millisecond delay before executing callbackFn. 60 * <li><code>timeout</code>: 10 (10ms between callbacks)</li> 71 timeout : 10, 224 cont = (callback.timeout < 0) ? 271 this._running = Y.later(callback.timeout, this, function () { 345 * clears the timeout for the pending callback. Paused queue can be
|
| /yui3/src/io/as/com/yui/util/ |
| H A D | io.as | 60 case "timeout": 61 timer = new Timer(cfg.timeout, 1); 77 httpTimeout = function(e:TimerEvent):void { timeout(e, o.id); }; 131 dispatch([e is TimerEvent ? 'timeout' : 'failure', o]); 154 private function timeout(e:TimerEvent, id:uint):void { function 156 dispatch(['timeout', { id: id }]);
|
| /yui3/src/jsonp/js/ |
| H A D | jsonp.js | 23 * <li>timeout - function handler for transactions that timeout</li> 27 * <li>timeout - the number of milliseconds to wait before giving up</li> 62 * request times out and there is a timeout handler and success 75 * request times out and there is a timeout handler and success 198 onTimeout : wrap(config.on.timeout, true), 199 timeout : config.timeout,
|
| /yui3/build/async-queue/ |
| H A D | async-queue-debug.js | 24 * <li><code>timeout</code> -- Millisecond delay before executing callbackFn. 62 * <li><code>timeout</code>: 10 (10ms between callbacks)</li> 73 timeout : 10, 226 cont = (callback.timeout < 0) ? 273 this._running = Y.later(callback.timeout, this, function () { 347 * clears the timeout for the pending callback. Paused queue can be
|
| /yui3/src/pjax/js/ |
| H A D | pjax.js | 146 timeout : this.get('timeout'), 318 timeout occurs, the `error` event will be fired. 320 @attribute timeout 325 timeout: {
|
| /yui3/build/get-nodejs/ |
| H A D | get-debug.js | 86 timeout: self.timeout
|
| /yui3/build/pjax/ |
| H A D | pjax-debug.js | 148 timeout : this.get('timeout'), 320 timeout occurs, the `error` event will be fired. 322 @attribute timeout 327 timeout: {
|
| /yui3/build/event-valuechange/ |
| H A D | event-valuechange-debug.js | 120 Restarts the inactivity timeout for the specified node. 140 // If we don't see any changes within the timeout period (10 seconds by 142 vcData.timeout = setTimeout(function () { 143 Y.log('timeout: #' + node.get('id'), 'info', 'event-valuechange'); 244 Clears the inactivity timeout for the specified node, if any. 254 clearTimeout(vcData.timeout); 255 delete vcData.timeout;
|
| /yui3/build/io-upload-iframe/ |
| H A D | io-upload-iframe-debug.js | 138 * Starts timeout count if the configuration object 139 * has a defined timeout property. 153 o.statusText = 'timeout'; 156 Y.log('Transaction ' + o.id + ' timeout.', 'info', 'io'); 157 }, c.timeout); 161 * Clears the timeout interval started by _startUploadTimeout(). 189 if (c.timeout) { 245 // Start polling if a callback is present and the timeout 247 if (c.timeout) { 249 Y.log('Transaction timeout starte [all...] |
| /yui3/src/get/js/ |
| H A D | get-nodejs.js | 84 timeout: self.timeout
|
| /yui3/build/io-base/ |
| H A D | io-base-debug.js | 65 * Object that stores timeout values for any transaction with a defined 66 * "timeout" configuration property. 431 * Starts timeout count if the configuration object has a defined 432 * timeout property. 437 * @param {Object} timeout Timeout in milliseconds. 439 _startTimeout: function(transaction, timeout) { 443 io._abort(transaction, 'timeout'); 444 }, timeout); 448 * Clears the timeout interval started by _startTimeout(). 500 if (config.timeout) { [all...] |
| /yui3/src/event-valuechange/js/ |
| H A D | event-valuechange.js | 118 Restarts the inactivity timeout for the specified node. 138 // If we don't see any changes within the timeout period (10 seconds by 140 vcData.timeout = setTimeout(function () { 141 Y.log('timeout: #' + node.get('id'), 'info', 'event-valuechange'); 242 Clears the inactivity timeout for the specified node, if any. 252 clearTimeout(vcData.timeout); 253 delete vcData.timeout;
|
| /yui3/src/jsonp/tests/ |
| H A D | jsonp-tests.js | 312 name : "timeout", 314 "timeout should not flush the global proxy": function () { 319 timeout: 1000, 322 //console.log(Y.Object.keys(YUI.Env.JSONP), "timeout should not flush the global proxy"); 324 Y.Assert.fail("Success callback executed after timeout"); 327 timeout: function () { 328 //console.log(Y.Object.keys(YUI.Env.JSONP), "timeout should not flush the global proxy (timeout)"); 353 // and clear the wait() timeout, so having another resume() here 369 "timeout shoul [all...] |
| /yui3/src/jsonp/tests/src/ |
| H A D | jsonp.js | 310 name : "timeout", 312 "timeout should not flush the global proxy": function () { 317 timeout: 1000, 320 //console.log(Y.Object.keys(YUI.Env.JSONP), "timeout should not flush the global proxy"); 322 Y.Assert.fail("Success callback executed after timeout"); 325 timeout: function () { 326 //console.log(Y.Object.keys(YUI.Env.JSONP), "timeout should not flush the global proxy (timeout)"); 351 // and clear the wait() timeout, so having another resume() here 367 "timeout shoul [all...] |
| /yui3/src/datasource/tests/src/ |
| H A D | datasource-io.js | 60 timeout: 1 64 Assert.areSame(1, config.timeout); 81 Assert.isObject(e.error, "Expected error from timeout.");
|
| /yui3/src/datasource/tests/ |
| H A D | datasource-io-tests.js | 62 timeout: 1 66 Assert.areSame(1, config.timeout); 83 Assert.isObject(e.error, "Expected error from timeout.");
|
| /yui3/build/get/ |
| H A D | get-debug.js | 130 @property {Number} [options.timeout] Number of milliseconds to wait before 131 aborting a transaction. When a timeout occurs, the `onTimeout` callback 133 there is no timeout. 331 timeout : 5000 410 timeout : 5000 883 if (self.options.timeout) { 886 }, self.options.timeout); 1129 // fail after a timeout to avoid blocking the transaction queue. 1131 cssTimeout = setTimeout(onError, req.timeout || 3000); 1168 // A poll timeout i [all...] |