Search completed in 1.11 seconds.
Implementing Download Resuming
this document describes how an embedder or other gecko/necko-using application can implement download
resuming.
... the interface
resuming is done using the nsiresumablechannel interface.
...
resuming a download in order to resume a download, you should create a channel as usual (using nsiioservice).
...And 2 more matches
Bytecode Descriptions
later, when
resuming execution, rval, gen and resumekind will receive the values passed in by jsop::resume.
...it's treated as jump target op so that the baseline interpreter can efficiently restore the frame's interpretericentry when
resuming a generator.
...when
resuming execution, rval2, gen and resumekind receive the values passed in by jsop::resume.
nsIResumableChannel
netwerk/base/public/nsiresumablechannel.idlscriptable this interface is meant to be implemented by the channels that support
resuming broken downloads (for example necko's html and ftp channels).
... resumeat() prepare this channel for
resuming.
... see also implementing download
resuming ...
HTTP conditional requests - HTTP
such requests can be useful to validate the content of a cache, and sparing a useless control, to verify the integrity of a document, like when
resuming a download, or when preventing to lose updates when uploading or modifying a document on the server.
... comparing versions of the same resource is a bit tricky: depending on the context, there are two kinds of equality checks: strong validation is used when byte to byte identity is expected, for example when
resuming a download.
...for caching or
resuming downloads, the only work required for webmasters is to configure the server correctly; setting correct etags in some environments can be tricky.
platform/xpcom - Archive of obsolete content
for example, this subclass implements the nsirequest interface: var { class } = require('sdk/core/heritage'); var { unknown } = require('sdk/platform/xpcom'); var request = class({ extends: unknown, interfaces: [ 'nsirequest' ], initialize: function initialize() { this.pending = false; }, ispending: function() { return this.pending; }, resume: function() { console.log('
resuming...'); }, suspend: function() { console.log('suspending...'); }, cancel: function() { console.log('canceling...'); } }); this component definition: specifies that we support nsirequest using the interfaces property.
Index - Archive of obsolete content
423 download manager improvements in firefox 3 download manager, firefox 3 firefox 3 offers improvements to the download manager that allow multiple progress listeners, use of the storage api for data management, download
resuming, and more.
PR_Wait
resuming from the wait is merely an opportunity to evaluate the expression, not an assertion that the expression is true.
Web Replay
there is an exception to this, for scripts and script source objects; debug objects for these will continue to hold the same referent after
resuming or rewinding the replaying process.
nsIRadioInterfaceLayer
speakerenabled bool constants call state constants constant value description call_state_unknown 0 call_state_dialing 1 call_state_alerting 2 call_state_busy 3 call_state_connecting 4 call_state_connected 5 call_state_holding 6 call_state_held 7 call_state_
resuming 8 call_state_disconnecting 9 call_state_disconnected 10 call_state_incoming 11 datacall_state_unknown 0 datacall_state_connecting 1 datacall_state_connected 2 datacall_state_disconnecting 3 datacall_state_disconnected 4 call_state_ringing 2 obsolete since gecko 14.0 methods answercall() void answercall( in unsigned long callindex ); parameters callindex ...
Mozilla
implementing download
resuming this document describes how an embedder or other gecko/necko-using application can implement download
resuming.
Credential Management API - Web APIs
this give users capabilities such as seeing the federated account they used to sign on to a site, or
resuming a session without the explicit sign-in flow of an expired session.
Index - Web APIs
this give users capabilities such as seeing the federated account they used to sign on to a site, or
resuming a session without the explicit sign-in flow of an expired session.
Event reference
escriptexecute menu events dommenuitemactive dommenuiteminactive window events close popup events popuphidden popuphiding popupshowing popupshown tab events visibilitychange battery events chargingchange chargingtimechange dischargingtimechange levelchange call events alerting busy callschanged cfstatechange connecting dialing disconnected disconnecting error held, holding incoming
resuming statechange voicechange sensor events compassneedscalibration devicemotion deviceorientation orientationchange smartcard events icccardlockerror iccinfochange smartcard-insert smartcard-remove stkcommand stksessionend cardstatechange sms and ussd events delivered received sent ussdreceived frame events mozbrowserclose mozbrowsercontextmenu mozbrowsererror mozbrowsericonchange mozbrowserlo...
HTTP Index - HTTP
such requests can be useful to validate the content of a cache, and sparing a useless control, to verify the integrity of a document, like when
resuming a download, or when preventing to lose updates when uploading or modifying a document on the server.
HTTP range requests - HTTP
partial content content-type: multipart/byteranges; boundary=3d6b6a416f9b5 content-length: 282 --3d6b6a416f9b5 content-type: text/html content-range: bytes 0-50/1270 <!doctype html> <html> <head> <title>example do --3d6b6a416f9b5 content-type: text/html content-range: bytes 100-150/1270 eta http-equiv="content-type" content="text/html; c --3d6b6a416f9b5-- conditional range requests when
resuming to request more parts of a resource, you need to guarantee that the stored resource has not been modified since the last fragment has been received.
await - JavaScript
after the await defers the continuation of its function, if this is the first await executed by the function, immediate execution also continues by returning to the function's caller a pending promise for the completion of the await's function and
resuming execution of that caller.
async function - JavaScript
await expressions suspend progress through an async function, yielding control and subsequently
resuming progress only when an awaited promise-based asynchronous operation is either fulfilled or rejected.