Search completed in 1.88 seconds.
nsIDOMMozNetworkStatsManager
you can test for the presence of the service as follows, for example: if ("moznetworkstats" in navigator) { /* networkstats is available */ } else { alert("i'm sorry, but networkstats services are not supported."); } method overview nsidom
domrequest getsamples(in nsisupports network, in jsval start, in jsval end, [optional] in jsval options /* networkstatsgetoptions */); nsidom
domrequest addalarm(in nsisupports network, in long threshold, [optional] in jsval options /* networksta...
...tsalarmoptions */); nsidom
domrequest getallalarms([optional] in nsisupports network); nsidom
domrequest removealarms([optional] in long alarmid); nsidom
domrequest clearstats(in nsisupports network); nsidom
domrequest clearallstats(); nsidom
domrequest getavailablenetworks(); nsidom
domrequest getavailableservicetypes(); attributes attribute type description samplerate long minimum time in milliseconds between samples stored in the database.
... nsidom
domrequest getsamples(in nsisupports network, in jsval start, in jsval end, [optional] in jsval options /* networkstatsgetoptions */); parameters network the origin of the data.
...And 16 more matches
HTMLIFrameElement.purgeHistory()
syntax there is a
domrequest version and a promise version: var my
domrequest = instanceofhtmliframeelement.purgehistory(); instanceofhtmliframeelement.purgehistory().then(function() { ...
... }); returns either a
domrequest object that returns an onsuccess handler if the history is deleted, or an onerror handler if not.
... examples
domrequest: var browser = document.queryselector('iframe'); var request = browser.purgehistory(); request.onsuccess = function() { console.log('history deleted!'); } request.onerror = function() { console.error(this.error.name); } promise: var browser = document.queryselector('iframe'); browser.purgehistory().then(function() { console.log('history deleted!'); }, function(error) { console.error(this.error.name); }); specification not part of any specification.
FileRequest - Web APIs
summary the filerequest interface extends the
domrequest interface to provide some extra properties necessary for the lockedfile objects.
... the filerequest interface also inherits from the
domrequest interface.
HTMLIFrameElement.download()
syntax var instanceof
domrequest = instanceofhtmliframeelement.download(url, options); returns a
domrequest for handling the download request.
HTMLIFrameElement.executeScript()
syntax var my
domrequest = instanceofhtmliframeelement.executescript(script, options); return value a
domrequest object that returns an onsuccess handler if the script is successfully executed against the loaded content, or an onerror handler if not.
HTMLIFrameElement.getScreenshot()
syntax var instanceof
domrequest = instanceofhtmliframeelement.getscreenshot(maxwidth, maxheight, mimetype); returns a
domrequest for handling the screenshot request.
HTMLIFrameElement.getStructuredData()
syntax var instanceof
domrequest = instanceofhtmliframeelement.getstructureddata(); returns a
domrequest to handle the getstructureddata() request's success and error cases.
HTMLIFrameElement.getVisible()
syntax instanceof
domrequest = instanceofhtmliframeelement.getvisible(); returns a
domrequest object to handle the getvisible() request's success and error cases.
Browser API
browser api methods removed in firefox 65 in firefox 65, several of the mozilla browser api methods were removed in an effort to cut down on
domrequest usage in the browser, and remove the parts of the browser api that are no longer needed (it is used only by the firefox devtools at this point).
Services.jsm
s nsicontentprefservice content preferences service cookies nsicookiemanager2 cookie manager 2 service cpmm nsimessagesender child process message manager4 crashmanager crashmanager.jsm dirsvc nsidirectoryservice nsiproperties directory service domstoragemanager nsidomstoragemanager dom storage manager
domrequest nsi
domrequestservice
domrequest service downloads nsidownloadmanager download manager droppedlinkhandler nsidroppedlinkhandler dropped link handler service els nsieventlistenerservice event listener service etld nsieffectivetldservice effectivetld service focus nsifocusmanager focus manager io nsiioservic...
FileHandle API - Web APIs
such an object is basically a
domrequest with an extra power: it allows to monitor the progress of an operation.
Index - Web APIs
1357 filerequest api, dom, files, interface, non-standard, reference, référence(2) the filerequest interface extends the
domrequest interface to provide some extra properties necessary for the lockedfile objects.
Functions and classes available to Web Workers - Web APIs
48 (48) (yes) (yes) (yes)
domrequest and domcursor respectively, these objects represents an ongoing operation (with listeners for reacting to the operation completely successfully, or failing, for example), and an ongoing operation over a list of results.