Search completed in 1.04 seconds.
nsISessionStore
browser/components/
sessionstore/nsi
sessionstore.idlscriptable provides a means for extensions and other code to store data in association with browser
sessions, tabs, and windows.
... 1.0 66 introduced gecko 1.8 inherits from: nsisupports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) in versions of firefox prior to 3.5, the user preference browser.
sessionstore.enabled must be true for these calls to be successful.
... return value the string value that was previously assigned to akey using nsi
sessionstore.settabvalue(), or an empty string if no value is set for that key.
...And 10 more matches
Window.sessionStorage - Web APIs
the read-only
sessionstorage property accesses a session storage object for the current origin.
...
sessionstorage is similar to localstorage; the difference is that while data in localstorage doesn't expire, data in
sessionstorage is cleared when the page session ends.
... opening multiple tabs/windows with the same url creates
sessionstorage for each tab/window.
...And 7 more matches
XRSystem: isSessionSupported() - Web APIs
the xrsystem method is
sessionsupported() returns a promise which resolves to true if the specified webxr session mode is supported by the user's webxr device.
... syntax var issupportedpromise = xr.is
sessionsupported(xrsessionmode) parameters xrsessionmode a domstring specifying the webxr session mode for which support is to be checked.
... exceptions rather than throwing true exceptions, is
sessionsupported() rejects the returned promise, passing to the rejection handler a domexception whose name is one of the following strings.
...And 5 more matches
FC_CloseAllSessions
name fc_closeall
sessions - close all
sessions between an application and a token.
... syntax ck_rv fc_closeall
sessions( ck_slot_id slotid ); parameters slotid [in] the id of the token's slot.
... description fc_closeall
sessions closes all
sessions between an application and the token in the slot with the id slotid.
...And 2 more matches
nsISessionStartup
browser/components/
sessionstore/nsi
sessionstartup.idlscriptable handles the session restore process.
... 1.0 66 introduced gecko 1.8 inherits from: nsisupports last changed in gecko 8.0 (firefox 8.0 / thunderbird 8.0 / seamonkey 2.5) implemented by: @mozilla.org/browser/
sessionstartup;1.
... to use this service, use: var
sessionstartup = components.classes["@mozilla.org/browser/
sessionstartup;1"] .getservice(components.interfaces.nsi
sessionstartup); method overview boolean dorestore(); attributes attribute type description sessiontype unsigned long the type of session being restored; this will be one of the session type constants.
extISessionStorage
this content covers features introduced in thunderbird 3 exti
sessionstorage allows an extension to store data for the life time of the application (e.g.
...exti
sessionstorage is defined in toolkit/components/exthelper/extiapplication.idl.
searchSessions - Archive of obsolete content
« xul reference home search
sessions obsolete since gecko 26 type: space-separated list of session names set to a keyword indicating what type of data to look up for autocomplete.
getSessionStatusAt - Archive of obsolete content
« xul reference home get
sessionstatusat( index ) obsolete since gecko 26 return type: any value listed in nsiautocompletestatus returns the status for the session object with the given index.
Chapter 5: Let's build a Firefox extension - Archive of obsolete content
under the tool menu, the session store submenu contains two items—save session and clear
sessions; in between them is a list of previously saved
sessions that you can restore, most recent first.
... fixme: figure 12: session-management extension interface: the menu as discussed in the part “the session store api”,
sessions are represented as json character strings.
...
sessions are stored in a subdirectory of the profile directory (called “
sessionstore”), with each session stored as a text file in it (figure 13).
...And 29 more matches
Index - Web APIs
2310 mediadeviceinfo.deviceid api, experimental, media, mediadevicesinfo, property, deviceid the deviceid readonly property of the mediadeviceinfo interface returns a domstring that is an identifier for the represented device and is persisted across
sessions.
... 4600 web storage api api, reference, storage, web storage, localstorage,
sessionstorage the web storage api provides mechanisms by which browsers can store key/value pairs, in a much more intuitive fashion than using cookies.
... 4601 local storage with window.localstorage api, guide, offline, storage api, localstorage the window object's window.localstorage property is analogous to
sessionstorage (with the same same-origin rules applied) but it is persistent across
sessions.
...And 7 more matches
Movement, orientation, and motion: A WebXR example - Web APIs
function setupxrbutton() { if (navigator.xr.is
sessionsupported) { navigator.xr.is
sessionsupported(session_type) .then((supported) => { xrbutton.disabled = !supported; }); } else { navigator.xr.supportssession(session_type) .then(() => { xrbutton.disabled = false; }) .catch(() => { xrbutton.disabled = true; }); } } the label of the button gets adjusted in the code that handles actuallys ttarting a...
... async function onxrbuttonclick(event) { if (!xrsession) { navigator.xr.requestsession(session_type) .then(
sessionstarted); } else { await xrsession.end(); if (xrsession) { sessionended(); } } } this begins by looking at the value of xrsession to see if we already have a xrsession object representing an ongoing webxr session.
...if it is, we call
sessionstarted() to begin running the scene in the webxr session.
...And 6 more matches
Session store API - Archive of obsolete content
session store makes it possible for extensions to easily save and restore data across firefox
sessions.
... the session store api is implemented using the nsi
sessionstore interface.
...in other words, it's now possible for
sessions to be restored even without the browser quitting and being relaunched.
...And 5 more matches
Textbox (XPFE autocomplete) - Archive of obsolete content
the
sessions can be set using the search
sessions attribute or by calling the addsession method.
...ableautocomplete, disabled, disablehistory, enablehistory, focused, forcecomplete, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, ignoreblurwhilesearching, inputtooltiptext, label, maxlength, maxrows, minresultsforpopup, minresultsforpopup, nomatch, onchange, onerrorcommand, oninput, onsearchcomplete, ontextcommand, ontextentered, ontextrevert, ontextreverted, open, readonly, search
sessions, showcommentcolumn, showcommentcolumn, showpopup, size, tabindex, tabscrolling, tabscrolling, timeout, type, useraction, value properties accessible, alwaysopenpopup, autofill, autofillaftermatch, completedefaultindex, crop, disableautocomplete, disabled, editable, focused, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, inputfield, issearching, iswaiting, label, max...
...length, maxrows, minresultsforpopup, nomatch, open, popup, popupopen, resultspopup, searchcount, searchparam, search
sessions, selectionend, selectionstart, sessioncount, showcommentcolumn, showpopup, size, tabindex, tabscrolling, textlength, textvalue, timeout, type, useraction, value methods addsession, clearresults, getdefaultsession, getresultat, getresultcount, getresultvalueat, getsession, getsessionbyname, getsessionresultat, get
sessionstatusat, getsessionvalueat, removesession, select, setselectionrange, sync
sessions examples (example needed) attributes accesskey type: character this should be set to a character that is used as a shortcut key.
...And 5 more matches
PKCS11 FAQ
read-only
sessions, read/write
sessions, serial, parallel?
...multipart functions, such as bulk encryption, hashing, and mac functions (for example, c_digest and c_sign) and those that require overlapped operation (c_unwrap, c_decrypt) are handled by creating new
sessions.
... if no new
sessions are available, the one read-only session is used, and the state is saved and restored after each multipart operation.
...And 5 more matches
Index
515 nsidomstorage dom, interfaces, interfaces:scriptable, xpcom, xpcom interface reference,
sessionstorage a dom window's session storage object can be retrieved from the window's
sessionstorage attribute.
... 516 nsidomstorage2 dom, interfaces, globalstorage, localstorage,
sessionstorage the nsidomstorage2 interface represents the storage space used for local storage in the dom.
... 517 nsidomstorageeventobsolete gecko, interfaces, interfaces:scriptable, mozilla, xpcom, xpcom interface reference, globalstorage, localstorage,
sessionstorage when a dom storage event is received, the recipient can check its domain attribute to determine which domain's data store has changed.
...And 5 more matches
nsIDocShell
method overview void add
sessionstorage(in nsiprincipal principal, in nsidomstorage storage); void addstate(in nsivariant adata, in domstring atitle, in domstring aurl, in boolean areplace); void beginrestore(in nsicontentviewer viewer, in boolean top); void createaboutblankcontentviewer(in nsiprincipal aprincipal); void createloadinfo(out nsidocshellloadinfo loadinfo); void detach...
...obsolete since gecko 1.8 nsisimpleenumerator getdocshellenumerator(in long aitemtype, in long adirection); nsidomstorage get
sessionstorageforprincipal(in nsiprincipal principal, in domstring documenturi, in boolean create); nsidomstorage get
sessionstorageforuri(in nsiuri uri, in domstring documenturi); void historypurged(in long numentries); void internalload(in nsiuri auri, in nsiuri areferrer, in nsisupports aowner, in pruint32 aflags, in wstring awindowtarget, in string atypehint, in nsiinputstream apostdatastream, in ns...
... kcharsetfrompreviousloading methods add
sessionstorage() add a webapps session storage object to the docshell.
...And 5 more matches
XRSystem: requestSession() - Web APIs
while only one immersive vr session can be active at a time, multiple inline
sessions can be in progress at once.
...inline
sessions can be presented in either mono or stereo mode, and may or may not have viewer tracking available.
... inline
sessions don't require special hardware and should be avalable on any user agent offering webxr api support.
...And 5 more matches
Index - Archive of obsolete content
297 session store api add-ons, extensions, firefox, guide, obsolete session store makes it possible for extensions to easily save and restore data across firefox
sessions.
...the settings persist across browser
sessions and are stored using the jetpack [simple storage api][].
...the settings persist across browser
sessions and are stored using the jetpack simple storage api.
...And 4 more matches
Introduction to automated testing - Learn web development
the dashboard will provide you details related to how many minutes you have consumed, how many concurrent
sessions are running, your total number of tests to date, and more.
... once you stop the session, you'll return to the manual tests tab, where you'll see an entry for each of the previous manual
sessions you started.
... advanced: the browserstack api browserstack also has a restful api that allows you to programmatically retrieve details of your account plan,
sessions, builds, etc.
...And 4 more matches
PKCS11 Implement
if it runs out of
sessions, it uses the initial session for saves and restores.
... c_closesession the nss calls c_closesession to close
sessions created for bulk encryption.
... c_closeall
sessions the nss may call c_closeall
sessions when it closes down a slot.
...And 4 more matches
Observer Notifications
sessionstore-windows-restored sent by the session restore process to indicate that all initial browser windows have opened.
... topic data description
sessionstore-state-read sent immediately after session store data is read and before it's used.
...
sessionstore-state-finalized sent immediately after the session is restored.
...And 3 more matches
Using the Web Storage API - Web APIs
the two mechanisms within web storage are as follows:
sessionstorage maintains a separate storage area for each given origin that's available for the duration of the page session (as long as the browser is open, including page reloads and restores).
... these mechanisms are available via the window.
sessionstorage and window.localstorage properties (to be more precise, in supporting browsers the window object implements the windowlocalstorage and window
sessionstorage objects, which the localstorage and
sessionstorage properties are members of) — invoking one of these will create an instance of the storage object, through which data items can be set, retrieved, and removed.
... a different storage object is used for the
sessionstorage and localstorage for each origin — they function and are controlled separately.
...And 3 more matches
XRSystem - Web APIs
methods in addition to inheriting methods from its parent interface, eventtarget, the xrsystem interface includes the following methods: is
sessionsupported() returns a promise which resolves to true if the browser supports the given xrsessionmode.
... examples the following example shows how to use both is
sessionsupported() and requestsession().
... if (navigator.xr) { immersivebutton.addeventlistener("click", onbuttonclicked); navigator.xr.is
sessionsupported('immersive-vr') .then((issupported) => { if (issupported) { immersivebutton.disabled = false; } else { immersivebutton.disabled = true; }); } function onbuttonclicked() { if (!xrsession) { navigator.xr.requestsession('immersive-vr') .then(() => { // on
sessionstarted() not shown for reasons of brevity and clarity.
...And 3 more matches
Index - Archive of obsolete content
324 search
sessions xul attributes, xul reference no summary!
... 506 get
sessionstatusat xul methods, xul reference no summary!
... 589 sync
sessions needshelp, xul methods, xul reference no summary!
... 815 search
sessions needshelp, xul properties, xul reference no summary!
Web Storage API - Web APIs
web storage concepts and usage the two mechanisms within web storage are as follows:
sessionstorage maintains a separate storage area for each given origin that's available for the duration of the page session (as long as the browser is open, including page reloads and restores) stores data only for a session, meaning that the data is stored until the browser (or tab) is closed.
... these mechanisms are available via the window.
sessionstorage and window.localstorage properties (to be more precise, in supporting browsers the window object implements the windowlocalstorage and window
sessionstorage objects, which the localstorage and
sessionstorage properties hang off) — invoking one of these will create an instance of the storage object, through which data items can be set, retrieved and removed.
... a different storage object is used for the
sessionstorage and localstorage for each origin — they function and are controlled separately.
... web storage interfaces storage allows you to set, retrieve and remove data for a specific domain and storage type (session or local.) window the web storage api extends the window object with two new properties — window.
sessionstorage and window.localstorage — which provide access to the current domain's session and local storage objects respectively, and a window.onstorage event handler that fires when a storage area changes (e.g.
XRSessionInit - Web APIs
default features immersive
sessions all immersive (both immersive-vr and immersive-ar)
sessions support both the viewer and local reference spaces.
... because immersive
sessions are required to support the local reference space, any request to open an immersive xrsession is required to obtain explicit or implicit user consent.
... inline
sessions all inline webxr
sessions support the viewer reference space.
...by session type, those are: reference space type user consent rquirement feature policy requirement bounded-floor always required xr-spatial-tracking local always required for inline
sessions xr-spatial-tracking local-floor always required xr-spatial-tracking unbounded always required xr-spatial-tracking viewer always required — ...
XRSessionMode - Web APIs
inline
sessions can be presented in either mono or stereo mode, and may or may not have viewer tracking available.
... inline
sessions don't require special hardware and should be avalable on any user agent offering webxr api support.
... usage notes the xrsessionmode type indicates the values that can be specified when calling xr.is
sessionsupported() to determine whether or not the specified session type is supported and available to be used, and by requestsession() to attempt to open a new webxr session.
... the immersive-ar mode supports all the same features and reference spaces that immersive-vr does, since both are immersive
sessions.
The Implementation of the Application Object Model - Archive of obsolete content
changes such as sorting and column ordering must be remembered across application
sessions, and that means that these changes to the intermediate representation of data must be saved.
... statement #5 when a change is made to aggregated data that falls outside of the domain of an existing data source, it must be possible for that change to be persistently remembered by recording the change into a new data source that can then be read in when the data is re-aggregated in future
sessions of the application.
...they simply won't be remembered across
sessions.
sslfnc.html
description if you are writing an application that will use ssl sockets that handshake as a server, you must call ssl_configserversessionidcache to configure additional session caches for server
sessions.
...both caches are used only for
sessions where the program handshakes as a server.
...both caches are used only for
sessions where the program handshakes as a server.
sslintro.html
the client cache is used for all
sessions where the program handshakes as an ssl client.
...the server cache is used for all
sessions where the program handshakes as an ssl server.
...clears all
sessions from the client session cache.
nsICacheService
netwerk/cache/public/nsicacheservice.idlscriptable handles visiting and evicting entries operations along with the creating of cache
sessions and creation of temporary client ids operations for offline caching.
...hence, it is possible to create duplicate cache
sessions.
... entries created by a cache session are invisible to other cache
sessions, unless the cache
sessions are equivalent.
Geometry and reference spaces in WebXR - Web APIs
this is used for environments in which the user can physically move around, and is supported by all instances of xrsession, both immersive and inline, though it's most useful for inline
sessions.
... the compatibility issues that arise may be as fundamental as being unable to support immersive-ar mode (augmented reality
sessions) on a vr-only headset, or may involve a request for one or more required options which cannot be met when attempting to create the xr session.
... xr
sessions are created using the navigator.xr.requestsession() method.
Using HTTP cookies - HTTP
modern apis for client storage are the web storage api (localstorage and
sessionstorage) and indexeddb.
...for example, cookies that persist server-side
sessions don't need to be available to javascript, and should have the httponly attribute.
...the window.
sessionstorage and window.localstorage properties correspond to session and permanent cookies in duration, but have larger storage limits than cookies, and are never sent to a server.
An overview of HTTP - HTTP
but while the core of http itself is stateless, http cookies allow the use of stateful
sessions.
...
sessions using http cookies allows you to link requests with the state of the server.
... this creates
sessions, despite basic http being a state-less protocol.
Tabbed browser - Archive of obsolete content
xul: <menuitem oncommand="myextension.foo(event)" onclick="checkformiddleclick(this, event)" label="click me"/> js: var myextension = { foo: function(event) { openuilink("http://www.example.com", event, false, true); } } opening a url in an on demand tab cu.import("resource://gre/modules/xpcomutils.jsm"); xpcomutils.definelazyservicegetter(this, "g
sessionstore", "@mozilla.org/browser/
sessionstore;1", "nsi
sessionstore"); // create new tab, but don't load the content.
... var url = "https://developer.mozilla.org"; var tab = gbrowser.addtab(null, {relatedtocurrent: true}); g
sessionstore.settabstate(tab, json.stringify({ entries: [ { title: url } ], usertypedvalue: url, usertypedclear: 2, lastaccessed: tab.lastaccessed, index: 1, hidden: false, attributes: {}, image: null })); reusing tabs rather than open a new browser or new tab each and every time one is needed, it is good practice to try to re-use an existing tab which already displays the desired url--if one is already open.
Drag and Drop - Archive of obsolete content
note that drag
sessions can be created from within mozilla itself or from other applications.
... the nsidragservice is responsible for creating drag
sessions when a drag starts, and removing the drag session when the drag is complete.
Methods - Archive of obsolete content
getelementsbyattributens getformattedstring gethtmleditor getindexoffirstvisiblerow getindexofitem getitematindex getnextitem getnotificationbox getnotificationwithvalue getnumberofvisiblerows getpagebyid getpreviousitem getresultat getresultcount getresultvalueat getrowcount getsearchat getselecteditem getsession getsessionbyname getsessionresultat get
sessionstatusat getsessionvalueat getstring goback gobackgroup godown goforward goforwardgroup gohome goto gotoindex goup hidepopup increase increasepage insertitem insertitemat invertselection loadgroup loadonetab loadtabs loaduri loaduriwithflags makeeditable movebyoffset moveto movetoalertposition onsearchcomplete ontextentered ontextreverted ...
...ion removenotification removeprogresslistener removesession removetab removetabsprogresslistener removetransientnotifications replacegroup reset rewind scrollbyindex scrollbypixels scrolltoindex select selectall selectitem selectitemrange selecttabatindex setselectionrange showpane showpopup sizeto startediting stop stopediting swapdocshells sync
sessions timedselect toggleitemselection related dom element methods dom:element.addeventlistener dom:element.appendchild dom:element.comparedocumentposition dom:element.dispatchevent dom:element.getattribute dom:element.getattributenode dom:element.getattributenodens dom:element.getattributens dom:element.getelementsbytagname dom:element.getelementsbytagnamens dom:element.getf...
XBL Inheritance - Archive of obsolete content
<textbox type="autocomplete" search
sessions="history"/> set the type to autocomplete to add the autocomplete feature to an existing textbox.
... set the search
sessions to indicate what type of data to look up.
Visual typescript game engine - Game development
client config if you want web app without any networking then setup: appusenetwork: boolean = false; you want to use communication for multiplayer but you don't want to use server database account
sessions.
... - a command for killing all node.js process for window users : taskkill /im node.exe /f networking multimedia communication: websocketserver running on node.js text-based protocol sip (session initiation protocol) used for signalling and controlling multimedia
sessions.
Introduction to the server side - Learn web development
support for
sessions, support for users and authentication, easy database access, templating libraries, etc.).
... store session/state information server-side programming allows developers to make use of
sessions — basically, a mechanism that allows a server to store information on the current user of a site and send different responses based on that information.
Server-side web frameworks - Learn web development
they provide tools and libraries that simplify common web development tasks, including routing urls to appropriate handlers, interacting with databases, supporting
sessions and user authorization, formatting output (e.g.
... because express is a minimalist web framework it does not incorporate every component that you might want to use (for example, database access and support for users and
sessions are provided through independent libraries).
Storage access policy: Block cookies from trackers
sessionstorage: read and write attempts are permitted.
... network connections: tls
sessions will not be resumed using a session ticket when an https connection is made to an embedded third-party resource that is classified as a tracker.
OS.File for the main thread
example: path manipulation the following snippet obtains the path to file "
sessionstore.js", contained in the user's profile directory.
... let
sessionstore = os.path.join(os.constants.path.profiledir, "
sessionstore.js"); // under linux, this is generally "$home/.firefox/profiles/$profilename/
sessionstore.js" // under macos, this is generally "$home/library/application support/firefox/$profilename/
sessionstore.js" // under windows, this is generally "%appdata%\local\temp\%profilename%"\
sessionstore.js // etc.
Index
the tool does not automatically detect ssl
sessions.
... 230 fc_closeall
sessions nss no summary!
nss tech note8
since nss 1.0, up until nss 3.4, there were two global variables that contained the expected session lifetimes for ssl2 and ssl3
sessions.
... extern pruint32 ssl_sid_timeout; (the ssl2 session lifetime) extern pruint32 ssl3_sid_timeout; (the ssl3 session lifetime) each of these variables applied to both client and server
sessions.
nsICategoryManager
category entries never persist across application
sessions.
...category entries never persist across
sessions.
Responsive Design Mode - Firefox Developer Tools
note: the device you select when in responsive design mode and the orientation (portrait or landscape) is saved between
sessions.
... orientation (portrait or landscape) - this setting persists between
sessions screenshots are saved to firefox's default download location.
MediaDeviceInfo.deviceId - Web APIs
the deviceid readonly property of the mediadeviceinfo interface returns a domstring that is an identifier for the represented device and is persisted across
sessions.
...for private browsing, a different identifier is used that is not persisted across
sessions.
MediaDeviceInfo - Web APIs
properties mediadeviceinfo.deviceidread only returns a domstring that is an identifier for the represented device that is persisted across
sessions.
...it is reset when the user clears cookies (for private browsing, a different identifier is used that is not persisted across
sessions).
MediaTrackConstraints.deviceId - Web APIs
device ids are unique for a given origin, and are guaranteed to be the same across browsing
sessions on the same origin.
... an exception to the rule that device ids are the same across browsing
sessions: private browsing mode will use a different id, and will change it each browsing session.
MediaTrackSettings.deviceId - Web APIs
this id is valid across multiple browsing
sessions for the same origin and is guaranteed to be different for all other origins, so you can safely use it to request the same source be used for multiple
sessions, for example.
... an exception to the rule that device ids are the same across browsing
sessions: private browsing mode will use a different id, and will change it each browsing session.
MediaTrackSettings.groupId - Web APIs
the group id is not usable across multiple browsing
sessions.
... since this property isn't stable across browsing
sessions, its usefulness when calling getusermedia() is generally limited to ensuring that tasks performed during the same browsing session use devices from the same group (or that they don't use devices from the same group).
Using bounded reference spaces - Web APIs
that means you need to change the code that calls requestreferencespace() to ask for a bounded reference space, then if that fails fall back to your backup choice, like this: let xrsession = null; let xrreferencespace = null; let spacetype = null; function on
sessionstarted(session) { xrsession = session; spacetype = "bounded-floor"; xrsession.requestreferencespace(spacetype) .then(onrefspacecreated) .catch(() => { spacetype = "local-floor"; xrsession.requestreferencespace(spacetype) .then(onrefspacecreated) .catch(handleerror); }); } function onrefspacecreated(refspace) { xrsession.updaterenderstate({ baselayer: new xrwebgl...
... it's important, however, to keep in mind that while a local-floor space provides a floor-relative space and is always available for immersive
sessions, it also has significant differences from bounded-floor, so you need to be prepared to handle these differences.
Fundamentals of WebXR - Web APIs
webxr session modes webxr offers support for both augmented reality (ar) and virtual reality (vr)
sessions, using the same api.
... both types of device should be capable of also presenting vr
sessions.
Starting up and shutting down a WebXR session - Web APIs
to find out if a given mode is supported, simply call the xrsystem method is
sessionsupported().
... const immersiveok = await navigator.xr.is
sessionsupported("immersive-vr"); if (immersiveok) { // create and use an immersive vr session } else { // create an inline session instead, or tell the user about the // incompatibility if inline is required } creating and starting the session a webxr session is represented by an xrsession object.
WebXR Device API - Web APIs
using the xrsystem interface, you can create xr
sessions to represent actual ar and/or vr
sessions.
...this guide covers how to create and stop webxr
sessions.
Window.localStorage - Web APIs
the read-only localstorage property allows you to access a storage object for the document's origin; the stored data is saved across browser
sessions.
... localstorage is similar to
sessionstorage, except that while data stored in localstorage has no expiration time, data stored in
sessionstorage gets cleared when the page session ends — that is, when the page is closed.
Window - Web APIs
window.
sessionstorage returns a reference to the session storage object used to store data that may only be accessed by the origin that created it.
... storage fired when a storage area (localstorage or
sessionstorage) has been modified in the context of another document.
XRPermissionDescriptor.mode - Web APIs
inline
sessions can be presented in either mono or stereo mode, and may or may not have viewer tracking available.
... inline
sessions don't require special hardware and should be avalable on any user agent offering webxr api support.
XRRenderState.inlineVerticalFieldOfView - Web APIs
the read-only inlineverticalfieldofview property of the xrrenderstate interface returns the default vertical field of view for "inline"
sessions and null for all immersive
sessions.
... syntax var inlineverticalfieldofview = xrrenderstate.inlineverticalfieldofview; value a number for "inline"
sessions, which represents the default field of view, and null for immersive
sessions.
XRSession.updateRenderState() - Web APIs
this property must not be specified for immersive
sessions, so the value is null by default for immersive
sessions.
... function onxr
sessionstarted(xrsession) { let glcanvas = document.createelement("canvas"); let gl = glcanvas.getcontext("webgl", { xrcompatible: true }); loadwebglresources(); xrsession.updaterenderstate({ baselayer: new xrwebgllayer(xrsession, gl) }); } specifications specification status comment webxr device apithe definition of 'xrsession.updaterenderstate()' in that specific...
HTTP Index - HTTP
2 a typical http session http in client-server protocols, like http,
sessions consist of three phases: 3 an overview of http html, http, overview, webmechanics, l10n:priority http isthe foundation of any data exchange on the web and it is a client-server protocol, which means requests are initiated by the recipient, usually the web browser.
...this policy controls whether navigator.xr.requestsession() can return xrsession that requires spatial tracking and whether user agent can indicate support for
sessions supporting spatial tracking via navigator.xr.is
sessionsupported() and devicechange event on navigator.xr object.
Setting up an extension development environment - Archive of obsolete content
if you are already running a firefox instance without -no-remote, and you attempt to start another instance with -p profilename (but without the -no-remote parameter), that second invocation would ignore its -p profilename parameter, instead opening a new window for the already running instance; sharing all its profile,
sessions etc.
Storage - Archive of obsolete content
simple storage an easy-to-use persistent object data store file access interface for performing file i/o settings settings persist across browser
sessions and are accessible to jetpacks via simple object retrieval and assignment.
Attribute (XUL) - Archive of obsolete content
onwizardcancel onwizardfinish onwizardnext open ordinal orient pack pageid pageincrement pagestep parent parsetype persist persistence phase pickertooltiptext placeholder popup position predicate preference preference-editable primary priority properties querytype readonly ref rel removeelement resizeafter resizebefore rows screenx screeny searchbutton search
sessions searchlabel selected selectedindex seltype setfocus showcaret showcommentcolumn showpopup size sizemode sizetopopup smoothscroll sort sortactive sortdirection sortresource sortresource2 spellcheck src state statedatasource statusbar statustext style subject substate suppressonselect tabindex tabscrolling targets template timeout title toolbarname tooltip toolti...
Property - Archive of obsolete content
rentcontainer palette persist persistence placeholder pmindicator popup popupboxobject popupopen position predicate preferenceelements preferencepanes preferences priority radiogroup readonly readonly ref resource resultspopup scrollboxobject scrollincrement scrollheight scrollwidth searchbutton searchcount searchlabel searchparam search
sessions second secondleadingzero securityui selected selectedbrowser selectedcount selectedindex selecteditem selecteditems selectedpanel selectedtab selectionend selectionstart selstyle seltype sessioncount sessionhistory showcommentcolumn showpopup size smoothscroll spinbuttons src state statusbar statustext stringbundle strings style subject ...
Trees and Templates - Archive of obsolete content
sortactive="true" sortdirection="ascending" sort="rdf:http://home.netscape.com/nc-rdf#name"/> <splitter/> <treecol id="date" label="date" flex="1" sort="rdf:http://home.netscape.com/web-rdf#lastmodifieddate"/> </treecols> persisting column state one additional thing you might want to do is persist which column is currently sorted, so that it is remembered between
sessions.
TCP/IP Security - Archive of obsolete content
transport layer protocols such as ssl are most commonly used to provide security for communications with individual http-based applications, although they are also used to provide protection for communication
sessions of other types of applications such as smtp, point of presence (pop), internet message access protocol (imap), and file transfer protocol (ftp).
Back to the Server: Server-Side JavaScript On The Rise - Archive of obsolete content
as stated earlier, aptana jaxer is built using the mozilla browser engine engine that powers mozilla firefox, which includes spidermonkey as its javascript interpreter, but lots more features beyond ssjs alone such as dom, db, file io, css, server
sessions, e4x, etc...] this is a great advantage to the developer as it presents a consistent server-side and client-side development environment for both browser and server contexts that is centered on open source and web standards.
The "why" of web performance - Learn web development
here's some real-world examples of performance improvements: tokopedia reduced render time from 14s to 2s for 3g connections and saw a 19% increase in visitors, 35% increase in total
sessions, 7% increase in new users, 17% increase in active users and 16% increase in
sessions per user.
Client-Server Overview - Learn web development
the final line contains information about the client-side cookies — you can see in this case the cookie includes an id for managing
sessions (cookie: sessionid=6ynxs23n521lu21b1t136rhbv7ezngie; ...).
Setting up your own test automation environment - Learn web development
rest api calls (again, replace the your-user-name and your-access-key placeholders in the code with your actual user name and access key values): driver.sleep(2000).then(function() { driver.gettitle().then(function(title) { if(title === 'webdriver - google search') { console.log('test passed'); request({uri: "https://your-user-name:your-access-key@www.browserstack.com/automate/
sessions/" + sessionid + ".json", method:"put", form:{"status":"passed","reason":"google results showed correct title"}}); } else { console.log('test failed'); request({uri: "https://your-user-name:your-access-key@www.browserstack.com/automate/
sessions/" + sessionid + ".json", method:"put", form:{"status":"failed","reason":"google results showed wrong title"}}); } }); }); these a...
Limitations of frame scripts
for example: nsi
sessionstore nsiwindowmediator <need more examples> places api the places api can't be used inside a frame script.
Limitations of frame scripts
for example: nsi
sessionstore nsiwindowmediator <need more examples> places api the places api can't be used inside a frame script.
Download
this object is transient, though it can be included in a downloadlist so that it can be managed by the user interface and persisted across
sessions.
DownloadList
a downloadlist object represents a collection of download objects that can be viewed and managed by the user interface, and persisted across
sessions.
nglayout.debug.disable_xul_cache
the xul cache is serialized and saved between mozilla
sessions in the xul fastload file, which saves a “compiled” version of the xul and javascript in a document to disk for faster startup the next time the application runs.
Preference reference
the xul cache is serialized and saved between mozilla
sessions in the xul fastload file, which saves a “compiled” version of the xul and javascript in a document to disk for faster startup the next time the application runs.reader.parse-on-load.force-enabledthe preference reader.parse-on-load.force-enabled controls if the reader mode used in firefox mobile should be enabled independent of the memory available in the device.
Cryptography functions
mxr 3.2 and later pk11_checkuserpassword mxr 3.2 and later pk11_cipherop mxr 3.2 and later pk11_clonecontext mxr 3.2 and later pk11_configurepkcs11 mxr 3.2 and later pk11_convertsessionprivkeytotokenprivkey mxr 3.6 and later pk11_convert
sessionsymkeytotokensymkey mxr 3.6 and later pk11_copytokenprivkeytosessionprivkey mxr 3.11 and later pk11_createcontextbysymkey mxr 3.2 and later pk11_createdigestcontext mxr 3.2 and later pk11_creategenericobject mxr 3.12 and later pk11_createmergelog mxr ...
FC_GetTokenInfo
ulsessioncount: number of
sessions that this application currently has open with the token ulrwsessioncount: number of read/write
sessions that this application currently has open with the token hardwareversion: hardware version number, for example, 8.3 (major=0x08, minor=0x03), which are the version numbers of the certificate and key databases, respectively.
FIPS mode of operation
general-purpose functions fc_getfunctionlist fc_initialize fc_finalize fc_getinfo slot and token management functions fc_getslotlist fc_getslotinfo fc_gettokeninfo fc_waitforslotevent fc_getmechanismlist fc_getmechanisminfo fc_inittoken fc_initpin fc_setpin session management functions fc_opensession fc_closesession fc_closeall
sessions fc_getsessioninfo fc_getoperationstate fc_setoperationstate fc_login fc_logout object management functions these functions manage certificates and keys.
NSS functions
mxr 3.2 and later pk11_checkuserpassword mxr 3.2 and later pk11_cipherop mxr 3.2 and later pk11_clonecontext mxr 3.2 and later pk11_configurepkcs11 mxr 3.2 and later pk11_convertsessionprivkeytotokenprivkey mxr 3.6 and later pk11_convert
sessionsymkeytotokensymkey mxr 3.6 and later pk11_copytokenprivkeytosessionprivkey mxr 3.11 and later pk11_createcontextbysymkey mxr 3.2 and later pk11_createdigestcontext mxr 3.2 and later pk11_creategenericobject mxr 3.12 and later pk11_createmergelog mxr ...
Redis Tips
try this in two separate redis-cli
sessions.
Querying Places
const unsigned short results_as_full_visit = 2 (not yet implemented -- see bug 320831) attribute unsigned short sortingmode attribute autf8string sortingannotation attribute unsigned short resulttype attribute boolean excludeitems attribute boolean excludequeries attribute boolean excludereadonlyfolders attribute boolean expandqueries attribute boolean includehidden attribute boolean show
sessions attribute unsigned long maxresults const unsigned short query_type_history = 0 const unsigned short query_type_bookmarks = 1 const unsigned short query_type_unified = 2 (not yet implemented -- see bug 378798) attribute unsigned short querytype complex queries you can pass one or more nsinavhistoryquery objects to executequeries().
FUEL
objects extiapplication objects extiapplication exticonsole extieventitem extieventlistener extievents extiextension extiextensions extipreference extipreferencebranch exti
sessionstorage fueliapplication objects fueliannotations fueliapplication fuelibookmark fuelibookmarkfolder fuelibookmarkroots fuelibrowsertab fueliwindow xpcom although the fuel application object is preloaded into xul scripts, it is not preloaded into javascript xpcom code.
SMILE
objects extiapplication objects exticonsole extieventitem extieventlistener extievents extiextension extiextensions extipreference extipreferencebranch exti
sessionstorage smileiapplication objects smileibookmarkroots smileiwindow smileibrowsertab smileiapplication xpcom although the extiapplication object is preloaded into xul scripts, it is not preloaded into javascript xpcom code.
STEEL
objects extiapplication objects extiapplication exticonsole extieventitem extieventlistener extievents extiextension extiextensions extipreference extipreferencebranch exti
sessionstorage steeliapplication objects steeliapplication xpcom although the steel steeliapplication object is preloaded into xul scripts, it is not preloaded into javascript xpcom code.
extIApplication
storage readonly attribute exti
sessionstorage the storage object for the application.
extIExtension
storage readonly attribute exti
sessionstorage the storage object for the extension.
nsIContentPrefService2
this parameter relates to private browsing and determines the kind of storage that a method uses, either the usual permanent storage or temporary storage set() aside for private browsing
sessions.
nsIDOMStorage
1.0 66 introduced gecko 1.8.1 inherits from: nsisupports last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) a dom window's session storage object can be retrieved from the window's
sessionstorage attribute.
nsIDOMStorageWindow
sessionstorage nsidomstorage session storage for the current browsing context.
nsIDOMWindow
sessionstorage nsidomstorage session storage for the current browsing context.
nsIMsgIncomingServer
indow amsgwindow, out boolean okayvalue ); parameters apromptstring missing description aprompttitle missing description amsgwindow missing description okayvalue missing description return value missing description exceptions thrown missing exception missing description getunicharattribute() these generic getter / setters, useful for extending mailnews note, these attributes persist across
sessions.
nsIMsgSearchSession
the nsimsgsearchsession interface allows you to create and manipulate search
sessions within thunderbird.
nsISHEntry
example see ns
sessionstore.js for a real example.
nsIURI
this is useful for authentication, managing
sessions, or for checking the origin of an uri to prevent cross-site scripting attacks while using methods such as window.postmessage().
XPCOM Interface Reference
lnsiscreennsiscreenmanagernsiscripterrornsiscripterror2nsiscriptableionsiscriptableinputstreamnsiscriptableunescapehtmlnsiscriptableunicodeconverternsiscrollablensisearchenginensisearchsubmissionnsisecuritycheckedcomponentnsiseekablestreamnsiselectionnsiselection2nsiselection3nsiselectioncontrollernsiselectionimageservicensiselectionprivatensiserversocketnsiserversocketlistenernsiservicemanagernsi
sessionstartupnsi
sessionstorensisimpleenumeratornsismsdatabaseservicensismsrequestmanagernsismsservicensisocketprovidernsisocketproviderservicensisockettransportnsisockettransportservicensisoundnsispeculativeconnectnsistackframensistandardurlnsistreamconverternsistreamlistenernsistringbundlensistringbundleoverridensistringbundleservicensistringenumeratornsistructuredclonecontainernsistylesheetservicensisu...
XPCOM Interface Reference by grouping
nsistringbundleservice security cookies nsicookie nsicookie2 nsicookieacceptdialog nsicookieconsent nsicookiemanager nsicookiemanager2 nsicookiepermission nsicookiepromptservice nsicookieservice nsicookiestorage nsi
sessionstore crypto nsicryptohash filter nsiparentalcontrolsservice nsipermission nsipermissionmanager nsisecuritycheckedcomponent ssl nsisslerrorlistener stream stream ...
Adding items to the Folder Pane
must persist over
sessions text (attribute) the text to display in the tree level (attribute) the level in the tree to display the item at open (rw, attribute) whether or not this container is open children (attribute) an array of child items also conforming to this spec getproperties (function) a call from getrowproperties or getcellproperties for this item will be passed into this function command (funct...
URLs - Plugins
telnet (reference to interactive
sessions) locates an interactive service.
Index - Firefox Developer Tools
however, a library’s abstraction leaks during debugging
sessions when you are forced to step through its stack frames in order to reach your own code.
Using IndexedDB - Web APIs
an intuitive approach to maintaining some information across browser
sessions is to read it from the database when the browser (or a particular page) is opened, update it as the user interacts with the browser, and then save it to the database when the browser (or page) closes.
MediaTrackConstraints.groupId - Web APIs
because of this, there's no use for the group id when calling mediastreamtrack.applyconstraints(), since there is only one possible value, and you can't use it to ensure the same group is used across multiple browsing
sessions when calling getusermedia().
MediaTrackSettings.sampleRate - Web APIs
common values include 44,100 (standard cd audio), 48,000 (standard digital audio), 96,000 (commonly used in audio mastering and post-production), and 192,000 (used for high-resolution audio in professional recording and mastering
sessions).
NavigatorStorage - Web APIs
there are many apis which provide ways for web content to store data on a user's computer, including cookies, the web storage api (window.localstorage and window.
sessionstorage), and indexeddb.
RTCIceCandidate.usernameFragment - Web APIs
this avoids crosstalk among multiple ongoing ice
sessions, but, more importantly, helps secure ice transactions (and all of webrtc by extension) against attacks that might try to inject themselves into an ice exchange.
RTCIceParameters - Web APIs
usage notes the username fragment and password uniquely identify the remote peer for the duration of the ice session, and are used to both ensure security and to avoid crosstalk across multiple ongoing ice
sessions.
Storage.removeItem() - Web APIs
function populatestorage() {
sessionstorage.setitem('bgcolor', 'red');
sessionstorage.setitem('font', 'helvetica');
sessionstorage.setitem('image', 'mycat.png');
sessionstorage.removeitem('image'); } note: to see this used within a real world example, see our web storage demo.
Storage - Web APIs
to manipulate, for instance, the session storage for a domain, a call to window.
sessionstorage is made; whereas for local storage the call is made to window.localstorage.
WebXR application life cycle - Web APIs
call navigator.xr.is
sessionsupported(), specifying the webxr experience mode you want to provide: inline, immersive-vr, or immersive-ar, in order to determine whether or not the type of session you wish to provide is available.
WebXR performance guide - Web APIs
can probably also include stuff from https://github.com/immersive-web/webxr/blob/master/explainer.md#changing-the-field-of-view-for-inline-
sessions managing rendering quality ...
XRPermissionStatus.granted - Web APIs
this is used for environments in which the user can physically move around, and is supported by all instances of xrsession, both immersive and inline, though it's most useful for inline
sessions.
XRReferenceSpace - Web APIs
this is used for environments in which the user can physically move around, and is supported by all instances of xrsession, both immersive and inline, though it's most useful for inline
sessions.
XRReferenceSpaceType - Web APIs
this is used for environments in which the user can physically move around, and is supported by all instances of xrsession, both immersive and inline, though it's most useful for inline
sessions.
XRRenderStateInit - Web APIs
this property must not be specified for immersive
sessions, so the value is null by default for immersive
sessions.
XRRigidTransform.position - Web APIs
example to create a reference space which can be used to place an object at eye level (assuming eye level is 1.5 meters): function on
sessionstarted(xrsession) { xrsession.addeventlistener("end", onsessionended); gl = initgraphics(xrsession); let gllayer = new xrwebgllayer(xrsession, gl); xrsession.updaterenderstate({ baselayer: gllayer }); if (immersivesession) { xrsession.requestreferencespace("bounded-floor").then((refspace) => { refspacecreated(refspace); }).catch(() => { session.requestreferencespac...
XRSession.cancelAnimationFrame() - Web APIs
const xr = navigator.xr; let requesthandle = null; let xrsession = null; if (xr) { xr.is
sessionsupported('immersive-vr') .then((issupported) => { if (issupported) { startxr(); } }); } function framecallback(time, xrframe) { xrsession.requestanimationframe(framecallback); // update and render the frame } async function startxr() { xrsession = xr.requestsession("immersive-vr"); if (xrsession) { stopbutton.onclick = stopxr; requesthandle = xrsession.request...
XRSession.environmentBlendMode - Web APIs
this is used to differentiate between fully-immersive vr
sessions and ar
sessions which render over a pass-through image of the real world, possibly partially transparently.
XRSession.requestAnimationFrame() - Web APIs
note: a real application should check that the device and the user agent support webxr api at all and then that they both support the desired session type via xr.is
sessionsupported().
XRSession.requestReferenceSpace() - Web APIs
this is used for environments in which the user can physically move around, and is supported by all instances of xrsession, both immersive and inline, though it's most useful for inline
sessions.
XRSystem: devicechange event - Web APIs
if (navigator.xr) { navigator.xr.addeventlistener("devicechange", event => { navigator.xr.is
sessionsupported("immersive-vr") .then(immersiveok) => { if (immersiveok) { enablexrbutton.disabled = false; } else { enablexrbutton.disabled = true; } }); }); } when devicechange is received, the handler set up in this code calls the xr method is
sessionsupported() to find out if there's a device available that can handle immersive vr presentations.
Event reference
storage storageevent web storage a storage area (localstorage or
sessionstorage) has changed.
Live streaming web audio and video - Developer guides
rtsp real time streaming protocol (rtsp) controls media
sessions between endpoints and is often used together with real-time transport protocol (rtp) and with real-time control protocol (rtcp) for media stream delivery.
Clear-Site-Data - HTTP
this includes storage mechanisms such as: localstorage (executes localstorage.clear),
sessionstorage (executes
sessionstorage.clear), indexeddb (for each database execute idbfactory.deletedatabase), service worker registrations (for each service worker registration, execute serviceworkerregistration.unregister), appcache, websql databases, filesystem api data, plugin data (flash via npp_clearsitedata).
Feature-Policy: xr-spatial-tracking - HTTP
this policy controls whether navigator.xr.requestsession() can return xrsession that requires spatial tracking and whether user agent can indicate support for
sessions supporting spatial tracking via navigator.xr.is
sessionsupported() and devicechange event on navigator.xr object.
HTTP Public Key Pinning (HPKP) - HTTP
to ensure the authenticity of a server's public key used in tls
sessions, this public key is wrapped into a x.509 certificate which is usually signed by a certificate authority (ca).
A typical HTTP session - HTTP
in client-server protocols, like http,
sessions consist of three phases: the client establishes a tcp connection (or the appropriate connection if the transport layer is not tcp).