Search completed in 1.40 seconds.
1435 results for "associate":
Your results are loading. Please wait...
Index - Web APIs
WebAPIIndex
80 animation.timeline api, animation, experimental, property, reference, web animations, timeline, web animations api the animation.timeline property of the animation interface returns or sets the timeline associated with this animation.
... 88 animationevent.animationname api, animationevent, cssom, experimental, property, reference, web animations the animationevent.animationname read-only property is a domstring containing the value of the animation-name css property associated with the transition.
...this will be unresolved if the animation was not associated with a timeline at the time the event was generated or if the associated timeline was inactive.
...And 182 more matches
Index
if so, return the associated jsprotokey.
... 110 jsfunctionspec jsapi reference, spidermonkey jsfunctionspec defines the attributes for a single js function to associate with an object.
... 122 jsidarray jsapi reference, spidermonkey jsidarray is used to hold ids for enumerated properties associated with an object.
...And 21 more matches
Index
once the application is done with a handle, it should be released, allowing nss to free the associated resources.
...(however, it's also possible to use nss functionality to create a self-signed certificate, which, however, usually won't be trusted by other parties.) once received, it's sufficient to tell nss to import such a new certificate into the nss database, and nss will automatically perform a lookup of the embedded public key, be able to find the associated private key, and subsequently be able to treat it as a personal certificate.
...an arena is requested once processing of a task starts, and all memory allocations that are logically associated to that task are requested from the associated arena.
...And 18 more matches
CSSCounterStyleRule - Web APIs
csscounterstylerule.name is a domstring object that contains the serialization of the <counter-style-name> defined for the associated rule.
... csscounterstylerule.system is a domstring object that contains the serialization of the system descriptor defined for the associated rule.
... if the descriptor was not specified in the associated rule, the attribute returns an empty string.
...And 18 more matches
Index
MozillaTechXPCOMIndex
38 components.utils.getglobalforobject add-ons, developing mozilla, extensions, javascript, xpcom:language bindings, xpconnect this method is used to determine the global object with which an object is associated.
...in fact, virtually all of the functionality that you associate with a browser - navigation, window management, managing cookies, bookmarks, security, searching, rendering, and other features - is defined in xpcom components and accessed by means of those component interfaces.
...each action can be performed or queried for a name, description or associated key bindings.
...And 15 more matches
Index - Archive of obsolete content
each key generation will be associated with its own request.
... 617 installer prism the installer should configure the os to associate *.webapp files with prism.
... 636 space manager high level design gecko the space manager and associated classes and structures are used by block and line layout to manage rectangular regions that are occupied and available, for correct handling of floated elements and the elements that flow around them.
...And 11 more matches
nsINavBookmarkObserver
aguid the unique id associated with the item.
... aparentguid the unique id associated with the item's parent.
... aguid the unique id associated with the item.
...And 10 more matches
Space Manager Detailed Design - Archive of obsolete content
*/ class nsspacemanager { public: nsspacemanager(nsipresshell* apresshell, nsiframe* aframe); ~nsspacemanager(); void* operator new(size_t asize); void operator delete(void* aptr, size_t asize); static void shutdown(); /* * get the frame that's associated with the space manager.
...must not be null * @param aunavailablespace the bounding rect of the unavailable space * @return ns_ok if successful * ns_error_failure if there is already a region tagged with aframe */ nsresult addrectregion(nsiframe* aframe, const nsrect& aunavailablespace); /** * resize the rectangular region associated with aframe by the specified * deltas.
... * returns ns_ok if successful, ns_error_invalid_arg if there is no region * tagged with aframe */ enum affectededge {leftedge, rightedge}; nsresult resizerectregion(nsiframe* aframe, nscoord adeltawidth, nscoord adeltaheight, affectededge aedge = rightedge); /** * offset the region associated with aframe by the specified amount.
...And 9 more matches
Popup Menus - Archive of obsolete content
however, you should always put an id attribute on the menupopup as it is used to associate the popup with an element.
...to do this we need to associate the popup with an element where it should appear.
... to associate the popup with an element, you add one of three attributes to the element.
...And 9 more matches
sslfnc.html
enabled a pointer to the default value associated with the cipher specified in the cipher parameter.
... enabled a pointer to the default value associated with the cipher specified in the cipher parameter.
...for example, communicator uses the parameter to pass information about which window is associated with the modal dialog box requesting the password from the user.
...And 9 more matches
context-menu - Archive of obsolete content
if you register a listener function for this event and it returns true, the menu item associated with the listener's content script is shown in the menu.
...to communicate to the menu item associated with the content script, the content script can call the postmessage function attached to the global self object, passing it some json-able data.
...recall that your content scripts can listen for the "context" event and if your listeners return true, the items associated with the content scripts are shown in the menu.
...And 8 more matches
Deferred
methods resolve() fulfills the associated promise with the specified value, or propagates the state of an existing promise.
... if the associated promise has already been resolved, either to a value, a rejection, or another promise, this method does nothing.
... note: this function is bound to its associated promise when promise.defer() is called, and can be called with any value of this.
...And 8 more matches
nsIFaviconService
this will be null if we have this uri but have no data associated with it.
... return value returns the uri of the favicon associated with that page.
... afaviconuri uri of the favicon to associate with the page.
...And 8 more matches
nsIHttpServer
* * @param callback * an asynchronous callback used to notify the user when this server is * stopped and all pending requests have been fully served * @throws ns_error_null_pointer * if callback is null * @throws ns_error_unexpected * if this server is not running */ void stop(in nsihttpserverstoppedcallback callback); /** * associates the local file represented by the string file with all requests * which match request.
...se further overridden by another, deeper path registered with * another directory); if null, any current mapping for the given path is * removed * @throws ns_error_invalid_arg * if dir is non-null and does not exist or is not a directory, or if path * does not begin with and end with a forward slash */ void registerdirectory(in string path, in nsifile dir); /** * associates files with the given extension with the given content-type when * served by this server, in the absence of any file-specific information * about the desired content-type.
...*/ readonly attribute nsihttpserveridentity identity; /** * retrieves the string associated with the given key in this, for the given * path's saved state.
...And 8 more matches
nsINavBookmarksService
this method retrieves the uri associated with the given keyword.
... return value returns a nsiuri representing the uri associated with the given keyword.
... this method associates the given keyword with the given bookmark.
...And 7 more matches
nsIWebProgressListener
uriloader/base/nsiwebprogresslistener.idlscriptable this interface is implemented by clients wishing to listen in on the progress associated with the loading of asynchronous requests in the context of a nsiwebprogress instance as well as any child nsiwebprogress instances.
... a document request does not complete until all requests associated with the loading of its corresponding document have completed.
...as such, there is no actual network activity associated with this request, and any modifications made to the document or presentation when it was originally loaded will still be present.
...And 7 more matches
<input>: The Input (Form Input) element - HTML: Hypertext Markup Language
WebHTMLElementinput
this table is followed by a list describing each attribute in greater detail, along with which input types they are associated with.those that are common to most or all input types are defined in greater detail below.
...trol when the page is loaded capture file media capture input method in file upload controls checked radio, checkbox whether the command or control is checked dirname text, search name of form field to use for sending the element's directionality in form submission disabled all whether the form control is disabled form all associates the control with a form element formaction image, submit url to use for form submission formenctype image, submit form data set encoding type to use for form submission formmethod image, submit http method to use for form submission formnovalidate image, submit bypass form control validation for form submission formtarget im...
... form a string specifying the <form> element with which the input is associated (that is, its form owner).
...And 7 more matches
Space Manager High Level Design - Archive of obsolete content
overview the space manager and associated classes and structures are used by block and line layout to manage rectangular regions that are occupied and available, for correct handling of floated elements and the elements that flow around them.
...the primary classes that interact with the space manager are: nsblockreflowstate nsblockframe nsboxtoblockadaptor the general interaction model is to create a space manager for a block frame in the context of a reflow, and to associate it with the blockreflowstate so it is passed down to child frames' reflow methods.
... bandrect: keeps the bounds of a band, along with the frames associated with the band.
...And 6 more matches
Promise
a fulfillment value becomes permanently associated with the promise.
... a rejection reason becomes permanently associated with the promise.
... resolving functions resolve() fulfills the associated promise with the specified value, or propagates the state of an existing promise.
...And 6 more matches
nsIPrincipal
boolean subsumes(in nsiprincipal other); attributes attribute type description certificate nsisupports the certificate associated with this principal, if any.
...throws if there is no certificate associated with this principal.
...throws if there is no certificate associated with this principal.
...And 6 more matches
Introduction to NSPR
in such situations, each virtual processor will have some number of local threads associated with it, though exactly which local threads and how many may vary over time.
... in nspr, a mutual exclusion lock (or mutex) of type prlock controls locking, and associated condition variables of type prcondvar communicate changes in state among threads.
... when a programmer associates a mutex with an arbitrary collection of data, the mutex provides a protective monitor around the data.
...And 5 more matches
NSS tools : signtool
t] ] [[-m metafile] ] [[-x name] ] [[-f filename] ] [[-t|--token tokenname] ] [[-e extension] ] [[-o] ] [[-z] ] [[-x] ] [[--outfile] ] [[--verbose value] ] [[--norecurse] ] [[--leavearc] ] [[-j directory] ] [[-z jarfile] ] [[-o] ] [[-p password] ] [directory-tree] [archive] description the signing tool, signtool, creates digital signatures and uses a java archive (jar) file to associate the signatures with files in a directory.
...to help address some of these problems, you can associate digital signatures with the files in a jar archive.
... digital signatures allow ssl-enabled clients to perform two important operations: * confirm the identity of the individual, company, or other entity whose digital signature is associated with the files * check whether the files have been tampered with since being signed if you have a signing certificate, you can use netscape signing tool to digitally sign files and package them as a jar file.
...And 5 more matches
Places utilities for JavaScript
load_in_sidebar_anno - this annotation is associated with bookmarks or items that should load in the sidebar automatically.
... lmanno_feeduri - need to clarify here too, but i think for each livemark, there is an bookmark which contains an annotation storing the associated feed uri.
... lmanno_siteuri - need to clarify here, but i think for each livemark, there is an bookmark which contains an annotation storing the associated site uri.
...And 5 more matches
mozIAsyncFavicons
getfavicondataforpage() retrieves the favicon uri and data associated to the given page, if any.
...the auri parameter will be the favicon uri, or null when no favicon is associated with the page or an error occurred while fetching it.
...however, if no favicon data is currently associated with the favicon uri, adatalen will be 0, adata will be an empty array, and amimetype will be an empty string.
...And 5 more matches
<button>: The Button element - HTML: Hypertext Markup Language
WebHTMLElementbutton
content categories flow content, phrasing content, interactive content, listed, labelable, and submittable form-associated element, palpable content.
... form html5 the <form> element to associate the button with (its form owner).
...(if this attribute is not set, the <button> is associated with its ancestor <form> element, if any.) this attribute lets you associate <button> elements to <form>s anywhere in the document, not just inside a <form>.
...And 5 more matches
<label> - HTML: Hypertext Markup Language
WebHTMLElementlabel
associating a <label> with an <input> element offers some major advantages: the label text is not only visually associated with its corresponding text input; it is programmatically associated with it too.
... you can click the associated label to focus/activate the input, as well as the input itself.
... to associate the <label> with an <input> element, you need to give the <input> an id attribute.
...And 5 more matches
Basic native form controls - Learn web development
the hidden input type should not have an associated label.
... checkable items: checkboxes and radio buttons checkable items are controls whose state you can change by clicking on them or their associated labels.
...the associated <label> is generally placed immediately after the radio button or checkbox, with the instructions for the group of radio button or checkboxes generally being the content of the <legend>.
...And 4 more matches
Deferred
methods resolve() fulfills the associated promise with the specified value, or propagates the state of an existing promise.
... if the associated promise has already been resolved, either to a value, a rejection, or another promise, this method does nothing.
... note: calling this method with a pending promise as the avalue argument, and then calling it again with another value before the promise is resolved or rejected, will have no effect the second time, as the associated promise is already resolved to the pending promise value as its resolution.
...And 4 more matches
RTCPeerConnection.addTrack() - Web APIs
the associated receiver is muted (indicating that it is not able to deliver packets) until and unless one or more streams are added to the receiver by the remote peer.
...compatible reusable rtcrtpsender instances meet these criteria: there is no track already associated with the sender.
... the rtcrtptransceiver associated with the sender has a rtcrtpreceiver whose track property specifies a mediastreamtrack whose kind is the same as the kind of the track parameter specified when calling rtcpeerconnection.addtrack().
...And 4 more matches
RTCPeerConnection - Web APIs
however, browsers are not required to provide any default ice servers at all.iceconnectionstate read only the read-only property rtcpeerconnection.iceconnectionstate returns an enum of type rtciceconnectionstate which state of the ice agent associated with the rtcpeerconnection.icegatheringstate read only the read-only property rtcpeerconnection.icegatheringstate returns an enum of type rtcicegatheringstate that describes connection's ice gathering state.
...such an event is sent when the associated identity provider (idp) encounters an error while generating an identity assertion.onidpvalidationerror the rtcpeerconnection.onidpvalidationerror event handler is a property containing the code to execute whent the idpvalidationerror event, of type rtcidentityerrorevent, is received by this rtcpeerconnection.
... such an event is sent when the associated identity provider (idp) encounters an error while validating an identity assertion.onnegotiationneeded the rtcpeerconnection interface's onnegotiationneeded property is an eventlistener which specifies a function which is called to handle the negotiationneeded event when it occurs on an rtcpeerconnection instance.
...And 4 more matches
ARIA annotations - Accessibility
below we'll introduce the new features associated with aria annotations, and have a look at some code examples that show them in action.
... associating annotated elements with their details there are a number of different ways in which you can associate ui features with text labels or descriptions for accessibility purposes.
... aria-describedby="" works the same as aria-labelledby="", but is used when you want to associate the element with a more detailed description, rather than a short label.
...And 4 more matches
SVG documentation index - SVG: Scalable Vector Graphics
WebSVGIndex
28 attributetype deprecated, needscompattable, svg, svg attribute the attributetype attribute specifies the namespace in which the target attribute and its associated values are defined.
... 41 clip-path svg, svg attribute the clip-path presentation attribute defines or associates a clipping path with the element it is related to.
... 120 keysplines svg, svg attribute the keysplines attribute defines a set of bézier curve control points associated with the keytimes list, defining a cubic bézier function that controls interval pacing.
...And 4 more matches
Content Processes - Archive of obsolete content
a content process was supposed to run all the code associated with a single tab.
... conversely, an add-on process was supposed to run all the code associated with a single add-on.
... each event emitter has two associated emit functions.
...And 3 more matches
Menus - Archive of obsolete content
menu_filepopup the menupopup associated with the 'file' menu.
... menu_editpopup the menupopup associated with the 'edit' menu.
... menu_viewpopup the menupopup associated with the 'view' menu.
...And 3 more matches
Menus - Archive of obsolete content
a menuitem is associated with a command to carry out.
...this is the manner in which an action can be associated with the menuitem.
... for instance, the action associated with a open menuitem might be to open a file picker to select a file to open.
...And 3 more matches
Index - MDN Web Docs Glossary: Definitions of Web-related terms
68 certificate authority cryptography, glossary, security a certificate authority (ca) is an organization that signs digital certificates and their associated public keys.
...dns maintains a list of domain names along with the resources, such as ip addresses, that are associated with them.
... 192 hpkp glossary, security http public key pinning (hpkp) is a security feature that tells a web client to associate a specific cryptographic public key with a certain web server to decrease the risk of mitm attacks with forged certificates.
...And 3 more matches
How to structure a web form - Learn web development
if you do so, by default that control has nothing to do with any form unless you associate it with a form using the form attribute.
...take this example, which we saw in the previous article: <label for="name">name:</label> <input type="text" id="name" name="user_name"> with the <label> associated correctly with the <input> via its for attribute (which contains the <input> element's id attribute), a screenreader will read out something like "name, edit text".
... there is another way to associate a form control with a label — nest the form control within the <label>, implicitly associating it.
...And 3 more matches
Listening to events on all tabs
arequest the nsirequest object representing the associated request.
... arequest the nsirequest object representing the associated request.
... acurtotalprogress the current progress for all requests associated with webprogress.
...And 3 more matches
SourceMap.jsm
file: the generated filename this source map is associated with.
... new sourcemapgenerator(startofsourcemap) to create a new one, you must pass an object with the following properties: file: the filename of the generated source that this source map is associated with.
... sourcenode sourcenodes provide a way to abstract over interpolating and/or concatenating snippets of generated javascript source code, while maintaining the line and column information associated between those snippets and the original source code.
...And 3 more matches
Cached Monitors
unlike a plain monitor, a cached monitor is associated with the address of a protected object, and the association is maintained only while the protection is needed.
... this arrangement allows a cached monitor to be associated with another object without preallocating a monitor for all objects.
... cached monitors functions cached monitors allow the client to associate monitoring protection and state change synchronization in a lazy fashion.
...And 3 more matches
ssltyp.html
sibuffer, sicleardatabuffer, sicipherdatabuffer, sidercertbuffer, siencodedcertbuffer, sidernamebuffer, siencodednamebuffer, siasciinamestring, siasciistring, sideroid } secitemtype; typedef struct secitemstr secitem; struct secitemstr { secitemtype type; unsigned char *data; unsigned int len; }; description a secitem structure can be used to associate your own data with an ssl socket.
... managing secitem memory these functions are available for managing the memory associated with secitem structures and the structures to which they point.
... secitem_freeitem secitem_zfreeitem secitem_freeitem frees the memory associated with a secitem structure.
...And 3 more matches
mozIThirdPartyUtil
therefore, both the channel's uri and each level in the window hierarchy associated with the channel is tested.
...boolean isthirdpartychannel( in nsichannel achannel, in nsiuri auri optional ); parameters achannel the channel associated with the load.
... return value true if auri is third party with respect to the channel uri or any of the uris associated with the same-type window hierarchy of the channel.
...And 3 more matches
nsIAccessibleEvent
inherits from: nsisupports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) attributes attribute type description accessible nsiaccessible the nsiaccessible associated with the event.
... domnode nsidomnode the nsidomnode associated with the event.
... event_hyperlink_number_of_anchors_changed 0x0052 0x004e the number of anchors associated with this hyperlink object has changed.
...And 3 more matches
SharedWorkerGlobalScope - Web APIs
some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the javascript reference.
... workerglobalscope.console read only returns the console associated with the worker.
... workerglobalscope.location read only returns the workerlocation associated with the worker.
...And 3 more matches
WorkerGlobalScope - Web APIs
workers have no browsing context; this scope contains the information usually conveyed by window objects — in this case event handlers, the console or the associated workernavigator object.
... standard properties workerglobalscope.navigator read only returns the workernavigator associated with the worker.
... workerglobalscope.location read only returns the workerlocation associated with the worker.
...And 3 more matches
Closures - JavaScript
practical closures closures are useful because they let you associate data (the lexical environment) with a function that operates on that data.
... this has obvious parallels to object-oriented programming, where objects allow you to associate data (the object's properties) with one or more methods.
... using closures in this way provides benefits that are normally associated with object-oriented programming.
...And 3 more matches
Details of the object model - JavaScript
in addition, any object can be associated as the prototype for another object, allowing the second object to share the first object's properties.
... javascript implements inheritance by allowing you to associate a prototypical object with any constructor function.
... construct an object hierarchy by assigning an object as the prototype associated with a constructor function.
...And 3 more matches
platform/xpcom - Archive of obsolete content
the logger itself is implemented by subclassing the unknown class, then we create a service which associates the logger's constructor with its contract id.
... factorybyid(id) given a class id, this function returns the associated factory or service.
... factorybycontract(contract) given a contract id this function returns the associated factory or service.
...And 2 more matches
Tabbed browser - Archive of obsolete content
note that some http requests aren't associated with a tab; for example, rss feed updates, extension manager requests, xhr requests from xpcom components, etc.
...2) { loadcontext = null; //this is a problem i dont know why it would get here } } /*end do not edit here*/ /*start - do all your edits below here*/ var url = ohttp.uri.spec; //can get url without needing loadcontext if (loadcontext) { var contentwindow = loadcontext.associatedwindow; //this is the html window of the page that just loaded //adomwindow this is the firefox window holding the tab var adomwindow = contentwindow.top.queryinterface(ci.nsiinterfacerequestor).getinterface(ci.nsiwebnavigation).queryinterface(ci.nsidocshelltreeitem).roottreeitem.queryinterface(ci.nsiinterfacerequestor).getinterface(ci.nsidomwindow); ...
....style.fontcolor = 'red'; var browser = atab.linkedbrowser; //this is the browser within the tab //this is what the example in the previous section gives //end getting other useful stuff } else { components.utils.reporterror('exception: load context not found!!'); //this is likely no big deal as the channel proably has no associated window, ie: the channel was loading some resource.
...And 2 more matches
MenuItems - Archive of obsolete content
adding shortcut keys to menu items a shortcut key may be associated with a menu item.
... <keyset> <key id="open-key" modifiers="accel" key="o"/> <key id="close-key" modifiers="accel" key="c"/> </keyset> <menubar> <menu label="view"> <menupopup> <menuitem label="open" key="open-key"/> <menuitem label="close" key="close-key"/> </menupopup> </menu> </menubar> the two menuitems are associated with a key using the key attribute.
...you might do this if the key associated with the item changes, for instance a list of open windows displayed on a window menu.
...And 2 more matches
Textbox (XPFE autocomplete) - Archive of obsolete content
for the url history, the comment column will contain the page titles associated with each url.
...for the url history, the comment column will contain the page titles associated with each url.
... value type: string the string attribute allows you to associate a data value with an element.
...And 2 more matches
HTML: A good basis for accessibility - Learn web development
there is nothing in the above example to associate the label unambiguously with the form input and make it clear how to fill it in if you cannot see it.
... if you access this with some screen readers, you may only be given a description along the lines of "edit text." the following is a much better example: <div> <label for="name">fill in your name:</label> <input type="text" id="name" name="name"> </div> with code like this, the label will be clearly associated with the input; the description will be more like "fill in your name: edit text." as an added bonus, in most browsers associating a label with a form input means that you can click the label to select or activate the form element.
...very simple markup, for example: <table> <tr> <td>name</td> <td>age</td> <td>gender</td> </tr> <tr> <td>gabriel</td> <td>13</td> <td>male</td> </tr> <tr> <td>elva</td> <td>8</td> <td>female</td> </tr> <tr> <td>freida</td> <td>5</td> <td>female</td> </tr> </table> but this has problems — there is no way for a screen reader user to associate rows or columns together as groupings of data.
...And 2 more matches
HTML: A good basis for accessibility - Learn web development
there is nothing in the above example to associate the label unambiguously with the form input and make it clear how to fill it in if you cannot see it.
... if you access this with some screen readers, you may only be given a description along the lines of "edit text." the following is a much better example: <div> <label for="name">fill in your name:</label> <input type="text" id="name" name="name"> </div> with code like this, the label will be clearly associated with the input; the description will be more like "fill in your name: edit text." as an added bonus, in most browsers associating a label with a form input means that you can click the label to select or activate the form element.
...very simple markup, for example: <table> <tr> <td>name</td> <td>age</td> <td>gender</td> </tr> <tr> <td>gabriel</td> <td>13</td> <td>male</td> </tr> <tr> <td>elva</td> <td>8</td> <td>female</td> </tr> <tr> <td>freida</td> <td>5</td> <td>female</td> </tr> </table> but this has problems — there is no way for a screen reader user to associate rows or columns together as groupings of data.
...And 2 more matches
Practical positioning examples - Learn web development
a class of active is set on the tab that was clicked on — remember from earlier that this class has an associated rule in the css that sets the same color and background-color on the tab as the panels are styled with.
... a class of active-panel is set on the panel that corresponds to the tab that was clicked on — remember from earlier that this class has an associated rule in the css that sets its z-index to 1, making it appear over the top of the other panels.
... </aside> to start with here we've got a <label> element and an <input> element — <label> elements are normally used to associate a text label with a form element for accessibility purposes (allowing a screen user to see what description goes with what form element).
...And 2 more matches
Test your skills: Other controls - Learn web development
associate it semantically with the provided "comment" label.
... associate it semantically with the provided "comment" label.
...however, this time we want to do things differently: create a basic text input that is semantically associated with the provided label.
...And 2 more matches
Application cache implementation overview
when matching fallback namespace, the associated fallback entry for it is remembered.
...when the url in the manifest attribute of the html tag is identical to the manifest url the channel's nsiapplicationcache object belongs to and, the channel's loadedfromapplicationcache flag is set, the document is associated with that nsiapplicationcache object and an update attempt for the manifest is scheduled after the document completely loads.
...this is the same document object that is associated the nsiapplicationcache object during the “cache selection algorithm” in nscontentsink::processofflinemanifest() described in “associating the top level document with offline cache” chapter above.
...And 2 more matches
PopupNotifications.jsm
getnotification() retrieve a notification object associated with the browser/id pair.
... notification show( browser, id, message, anchorid, mainaction, secondaryactions, options ); parameters browser the xul <xul:browser> element with which the notification is associated.
... this must not be null; you can, however, simply specify gbrowser.selectedbrowser to associate it with the current tab.
...And 2 more matches
Threads
pr_attachthread associates a prthread object with an existing native thread.
... pr_detachthread disassociates a prthread object from a native thread.
...after a thread has been created, you can get and set its priority with these functions: pr_getthreadpriority pr_setthreadpriority controlling per-thread private data you can use these functions to associate private data with each of the threads in a process: pr_newthreadprivateindex allocates a unique index.
...And 2 more matches
An overview of NSS Internals
once the application is done with a handle, it should be released, allowing nss to free the associated resources.
...(however, it's also possible to use nss functionality to create a self-signed certificate, which, however, usually won't be trusted by other parties.) once received, it's sufficient to tell nss to import such a new certificate into the nss database, and nss will automatically perform a lookup of the embedded public key, be able to find the associated private key, and subsequently be able to treat it as a personal certificate.
...an arena is requested once processing of a task starts, and all memory allocations that are logically associated to that task are requested from the associated arena.
...And 2 more matches
JS_ClearContextThread
js_setcontextthread returns the thread id of the thread previously associated with this context.
... when the function is used properly, the return value is always zero, indicating that no thread was previously associated with the context.
...it returns the thread id of the last thread to be associated with this context.
...And 2 more matches
nsIComponentRegistrar
component files must have an associated loader and export the required symbols which this loader defines.
...if afactory is null, the contract will be associated with a previously registered classid.
...this file must have an associated loader and export the required symbols, which the loader specifies.
...And 2 more matches
DedicatedWorkerGlobalScope - Web APIs
some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the javascript reference.
... workerglobalscope.console read only returns the console associated with the worker.
... workerglobalscope.location read only returns the workerlocation associated with the worker.
...And 2 more matches
RTCRtpStreamStats - Web APIs
standard fields included for all media types codecid a domstring which uniquely identifies the object which was inspected to produce the rtccodecstats object associated with this rtp stream.
... kind a domstring whose value is "audio" if the associated mediastreamtrack is audio-only or "video" if the track contains video.
... trackid a domstring which uniquely identifies the rtcmediastreamtrackstats object representing the associated mediastreamtrack.
...And 2 more matches
Service Worker API - Web APIs
it takes the form of a javascript file that can control the web-page/site that it is associated with, intercepting and modifying navigation and resource requests, and caching resources in a very granular fashion to give you complete control over how your app behaves in certain situations (the most obvious one being when the network is not available).
...the point where this event fires is generally a good time to clean up old caches and other things associated with the previous version of your service worker.
... navigator.serviceworker returns a serviceworkercontainer object, which provides access to registration, removal, upgrade, and communication with the serviceworker objects for the associated document.
...And 2 more matches
Window - Web APIs
WebAPIWindow
the window interface is home to a variety of functions, namespaces, objects, and constructors which are not necessarily directly associated with the concept of a user interface window.
... window.screen read only returns a reference to the screen object associated with the window.
... properties implemented from elsewhere windoworworkerglobalscope.caches read only returns the cachestorage object associated with the current context.
...And 2 more matches
Using the aria-labelledby attribute - Accessibility
in addition to form elements, you can use the aria-labelledby attribute to associate static text with widgets, groups of elements, panes, regions that have a heading, definitions, and other types of objects.
...al label and by the label for the group: <div id="mybillingid">billing</div> <div> <div id="mynameid">name</div> <input type="text" aria-labelledby="mybillingid mynameid"/> </div> <div> <div id="myaddressid">address</div> <input type="text" aria-labelledby="mybillingid myaddressid"/> </div> example 2: associating headings with regions in the example below, header elements are associated with the content they head.
...</div> example 3: radio groups in the example below, the container of a radiogroup is associated with its label using the aria-labelledby attribute: <div id="radio_label">my radio label</div> <ul role="radiogroup" aria-labelledby="radio_label"> <li role="radio">item #1</li> <li role="radio">item #2</li> <li role="radio">item #3</li> </ul> example 4: dialog label in the example below, the header element that labels the dialog is referred to by the aria-labelledby attribute: <div role="dialog" aria-labelledby="dialogheader"> <h2 id="...
...And 2 more matches
HTML documentation index - HTML: Hypertext Markup Language
WebHTMLIndex
property values are either a string or a url and can be associated with a very wide range of elements including <audio>, <embed>, <iframe>, <img>, <link>, <object>, <source> , <track>, and <video>.
... 23 itemref attribute, global attribute, html, html microdata, microdata, reference properties that are not descendants of an element with the itemscope attribute can be associated with an item using the global attribute itemref.
... 24 itemscope attribute, global attribute, html, html microdata, microdata, reference itemscope is a boolean global attribute that defines the scope of associated metadata.
...And 2 more matches
Control flow and error handling - JavaScript
if a match is found, the program executes the associated statement.
...ment looks like this: switch (expression) { case label_1: statements_1 [break;] case label_2: statements_2 [break;] … default: statements_def [break;] } javascript evaluates the above switch statement as follows: the program first looks for a case clause with a label matching the value of expression and then transfers control to that clause, executing the associated statements.
... if no matching label is found, the program looks for the optional default clause: if a default clause is found, the program transfers control to that clause, executing the associated statements.
...And 2 more matches
switch - JavaScript
the switch statement evaluates an expression, matching the expression's value to a case clause, and executes statements associated with that case, as well as statements in cases that follow the matching case.
...it then looks for the first case clause whose expression evaluates to the same value as the result of the input expression (using the strict comparison, ===) and transfers control to that clause, executing the associated statements.
... (if multiple cases match the provided value, the first case that matches is selected, even if the cases are not equal to each other.) if no matching case clause is found, the program looks for the optional default clause, and if found, transfers control to that clause, executing the associated statements.
...And 2 more matches
Private Properties - Archive of obsolete content
before explaining how weakmaps work, the following looks at how ordinary objects can be used as hash maps, by creating a simple image cache: let images = {}; function getimage(name) { let image = images[name]; if (!image) { image = loadimage(name); images[name] = image; } return image; } now suppose there's a need to associate a thumbnail with each image.
...to make the above code work, a unique identifier must be associated with each image and override its tostring method.
... from weakmap to namespace in the previous section, a separate weakmap was used to associate each private property with an object.
...rnal(this).x = x; internal(this).y = y; } point.prototype.getx = function () { return internal(this).x; }; point.prototype.setx = function (x) { internal(this).x = x; }; point.prototype.gety = function () { return internal(this).y; }; point.prototype.sety = function () { internal(this).y = y; }; as a final note, the function ns returns a namespace that uses the namespace associated with the prototype of the object as its prototype.
Adding windows and dialogs - Archive of obsolete content
all you need to do is define which buttons you'll need and the actions associated with them.
...you'll see that you can choose from a wide variety of buttons, associate any action you need to them, override their labels, and even add completely customized extra buttons.
...the only constant rule is that clicking on ok and cancel will close the dialog unless your associated function returns false.
...it is frequently used with the caption element to associate the grouped elements with a title.
Session store API - Archive of obsolete content
firefox 3 note in firefox 3 and later, if you need to detect when a tab is about to be closed so that you can update data associated with the tab before it is closed, you can watch for the "sstabclosing" event, which is sent to the tab.
... saving a value with a tab the following code will attach a key/value pair to a tab, so that when the tab is restored, that pair is still associated with it.
... fetching a saved value you can fetch a value associated with a tab at any time (whether the tab is in the process of being restored or not), using code similar to the following: var ss = components.classes["@mozilla.org/browser/sessionstore;1"] .getservice(components.interfaces.nsisessionstore); var currenttab = gbrowser.selectedtab; var retrieveddata = ss.gettabvalue(currenttab, "key-name-here"); after this code executes, the v...
... deleting a value associated with a tab to delete a value from a tab, you can use code similar to the following: var ss = components.classes["@mozilla.org/browser/sessionstore;1"] .getservice(components.interfaces.nsisessionstore); var currenttab = gbrowser.selectedtab; ss.deletetabvalue(currenttab, "key-name-here"); remarks the window value save and restore functions work exactly like the tab-based functions by similar names.
XUL accessibility guidelines - Archive of obsolete content
the recommended way of fixing this is that all functionality associated with a toolbar be duplicated elsewhere in the application, such as in a menu item or context menu.
... mouse dependent scripting functionality associated with mouse events such as onmouseover, onmousemove, and ondrag can only be activated with the use of the mouse.
... <dialog id="print_dialog" title="print" ...> <window id="mywindow" title="my application" ...> <wizard id="reg_window" title="register your software" ...> form labels labels are not automatically associated to form elements.
... form labels every form element has an associated label and radiobuttons are encapsulated in a groupbox.
menuitem - Archive of obsolete content
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
... labelelement type: label element the label element associated with the control.
...this property will be null when no label is associated with the control.
menuseparator - Archive of obsolete content
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
... labelelement type: label element the label element associated with the control.
...this property will be null when no label is associated with the control.
Index - Learn web development
54 introducing asynchronous javascript beginner, codingscripting, guide, introducing, javascript, learn, promises, async, asynchronous, await, callbacks in this article we briefly recap the problems associated with synchronous javascript, and take a first look at some of the different asynchronous techniques you'll encounter, showing how they can help us solve such problems.
... 163 styling lists article, beginner, css, guide, styling, text, bullets, lists lists are relatively easy to get the hang of styling once you know a few associated basic principles and specific properties.
...dictionaries and glossaries formally associate keywords with one or more descriptions, as in this case: 255 tips for authoring fast-loading html pages advanced, guide, html, needsupdate, performance, web, web performance these tips are based on common knowledge and experimentation.
... 257 using data attributes custom data attributes, example, guide, html, html5, web html5 is designed with extensibility in mind for data that should be associated with a particular element but need not have any defined meaning.
Aprender y obtener ayuda - Learn web development
different learning methods it is interesting to consider that there are two main ways in which your brain learns things — focused and diffuse learning: focused learning is what you might more traditionally associate with academic subjects.
...for example: materials i need: a computer internet access pens and paper knowledge i need: how to use html, css, javascript, and associated tools and best practices to build web sites and web applications (we can definitely help you with this one!).
... effective problem solving there is no one effective way to solve all problems (and learn all things) associated with web design and development, but there are some general bits of advice that will serve you well in most cases.
...if you are stuck, then it is good to re-read the associated articles to see if you missed anything.
Accessibility/LiveRegionDevGuide
event types the table for web page mutation event types lists the two major event types associated with live regions, namely text-changed and object changed events.
...the text associated with an at-spi text changed event is directly in the event object.
... live properties this table describe the object attributes associated with a live region event.
...the text offsets associated with a text changed event are used when supporting this property.
Nonblocking IO In NSPR
in nspr, blocking sockets on nt are associated with an i/o completion port.
... once associated with an i/o completion port, we can't disassociate the socket from the i/o completion port.
... i have seen some strange problems with using a nonblocking socket associated with an i/o completion port.
...so at that point we must determine whether to associate the socket with the i/o completion or not, and that decision cannot be changed later.
Monitors
monitor type monitor functions with a mutex of type prlock, a single thread may enter the monitor only once before it exits, and the mutex can have multiple associated condition variables.
... unlike a mutex of type prlock, a mutex of type prmonitor has a single, implicitly associated condition variable that may be used to facilitate synchronization of threads with the change in state of monitored data.
... pr_entermonitor enters the lock associated with a specified monitor.
... pr_exitmonitor decrements the entry count associated with a specified monitor.
PR_CEnterMonitor
enters the lock associated with a cached monitor.
... returns the function returns one of the following values: if successful, the function returns a pointer to the prmonitor associated with the value specified in the address parameter.
... description pr_centermonitor uses the value specified in the address parameter to find a monitor in the monitor cache, then enters the lock associated with the monitor.
... if no match is found, an available monitor is associated with the address and the monitor's entry count is incremented (so it has a value of one).
PR_GetUniqueIdentity
syntax #include <prio.h> prdescidentity pr_getuniqueidentity(const char *layer_name); parameter the function has the following parameter: layer_name the string associated with the creation of a layer's identity.
... returns the function returns one of the following values: if successful, the prdescidentity for the layer associated with the string specified in the layer named layer_name.
... description a string may be associated with a layer when the layer is created.
... pr_getuniqueidentity allocates a unique layer identity and associates it with the string.
PKCS11 FAQ
MozillaProjectsNSSPKCS11FAQ
therefore, each user certificate must have some label associated with it.
... pkcs #11 certificates that have private keys associated with them are are loaded into the temporary database (in memory) and marked as user certificates.
... all other certificates in the module are loaded into the temporary database with no special trust bits associated with them.
... nss applications detect card insertion and deletion by means of polling to determine whether the card is still in the slot and whether the open session associated with that card is still valid, or by waiting on the c_waitforslotevent call.
NSS tools : certutil
when you delete keys, be sure to also remove any certificates associated with those keys from the certificate database, by using -d.
... note that the output of the -l option may include "u" flag, which means that there is a private key associated with the certificate.
...this extension supports the identification of a particular certificate, from among multiple certificates associated with one subject name, as the correct issuer of a certificate.
...this extension identifies the url of a certificate's associated certificate revocation list (crl).
NSS Tools certutil
when you delete keys, be sure to also remove any certificates associated with those keys from the certificate database, by using -d.
...this extension supports the identification of a particular certificate, from among multiple certificates associated with one subject name, as the correct issuer of a certificate.
...this extension identifies the url of a certificate's associated certificate revocation list (crl).
...se: listing all certificates or a named certificate: validating a certificate: modifying a certificate's trust attribute: displaying a list of the options and arguments used by the certificate database tool: examples creating a new certificate database this example creates a new certificate database (cert8.db file) in the specified directory: certutil -n -d certdir you must generate the associated key3.db and secmod.db files by using the key database tool or other tools.
Tracing JIT
a fragmento owns its associated fragments.
...a fragment's code is stored in a set of associated pages and guardrecords allocated from the fragment's owning fragmento.
... in the spidermonkey tracing jit there is only ever one assembler active at a time, associated with the currently active fragmento.
...the associated fragment is placed in the monitor's fragment table and the monitor returns to monitoring mode, with a high likelihood of immediately transitioning to executing mode on the next bytecode interpreted.
JSAPI User Guide
if your application creates multiple runtimes, the application may need to know which runtime a context is associated with.
... use js_setcontextprivate and js_getcontextprivate to associate application-specific data with a context.
... providing private data for objects like contexts, you can associate large quantities of data with an object without having to store the data in the object itself.
... to create private data and associate it with an object: establish the private data as you would a normal c void pointer variable.
JS::IdentifyStandardInstance
if so, return the associated jsprotokey.
...if so, return the associated jsprotokey.
...if so, return the associated jsprotokey.
...if so, return the associated jsprotokey.
JS_CompileUTF8FileHandle
obj jsobject * object with which the script is associated.
... filename const char * filename to associate with the compiled script.
... principals jsprincipals * (only in js_compileutf8filehandleforprincipals) the security principals to associate with the new script, or null.
... if principals is non-null, it points to a jsprincipals object that is associated with the new script and any functions it creates.
Web Replay
even if the associated js object has not been destroyed yet during the replay, it will never be used again because at this point in the recording it has been finalized.
... some locks which are associated with non-deterministic components are not recorded, such as the js gc and helper threads locks.
... this is done in code associated with the non-deterministic components, such as during gc or ion compilation, to help track down behaviors that should go unrecorded.
... note that while this could potentially be a big drag on performance during both replay and recording, many of the hottest atomics (refcounts, gc counters, and so forth) are associated with non-deterministic components and are not recorded.
History Service Design
each visit is associated with a favicon, to allow for better recognizability and groupable by common timeframes or domains.
... storing pages and visits pages (intended as uris) are stored into a table shared by both history and bookmarks, every url is unique in this table and is associated with a place id, commonly used as the foreign key on other tables.
... an implementer working on a ui can then associate a viewer with the result, so that it will be notified when the result tree changes.
...actually pages and visits are expired: on page added (lazily) on idle on shutdown expiration of pages happens when a page is no more referenced, so there are no more visits, nor bookmarks associated with it.
Using the Places keywords API
a keyword can only be associated to a given url, it's not possible to associate the same keyword with multiple urls (doing so will just update the url it's pointing to).
... each keyword can be associated with post data, in such a case a post action will be executed when the given url is selected from the awesomebar.
...it has the following properties: keyword: string representing the keyword url: either a url or spec represeting the url to associate to postdata: optional post data string.
...specifying only an url, will fetch all the keywords associated to such an url.
Using the Places livemark service
determine whether a folder is a livemark you can use the nsilivemarkservice.islivemark() method to determine whether or not a given folder is a livemark container: if (livemarkservice.islivemark(folderid)) { // it's a livemark } else { // it's not a livemark } accessing the container's site uri the nsilivemarkservice.getsiteuri() method lets you obtain the nsiuri of the website associated with a livemark container.
...nsilivemarkservice.setsiteuri() sets the uri of the website associated with a livemark container.
... accessing a livemark's feed uri nsilivemarkservice.getfeeduri() gets the uri of the syndication feed associated with a livemark container.
... nsilivemarkservice.setfeeduri() sets the uri of feed associated with a livemark container.
nsIAccessible
description accessible description -- long text associated with this node.
... role enumerated accessible role for the associated element.
... help help text associated with node.
... numactions the number of accessible actions associated with this accessible.
nsICookieService
methods getcookiestring() get the complete cookie string associated with the uri.
... getcookiestringfromhttp() get the complete cookie string associated with the uri.
... setcookiestring() set the cookie string associated with the uri.
... setcookiestringfromhttp() set the cookie string and expires associated with the uri.
nsIDOMStorage
a key may only exist once within a storage object, and only one value may be associated with a particular key.
... keys are stored in a particular order with the condition that this order not change by merely changing the value associated with a key, but the order may change when a key is added or removed.
...if the key does not already exist, a new key is added, associated with the specified value.
...data the data to associate with the specified key.
nsIDOMWindowUtils
layermanagertype astring what type of layer manager the widget associated with this window is using.
...throws an error if there is no widget associated with this window.
...it's associated with the dom window which is associated with the instance of nsidomwindowutils.
... getdocumentmetadata() function to get metadata associated with the window's current document.
nsIDocShell
aurl the url associated with the new history entry.
...native code only!firepagehidenotification notify the associated content viewer and all child docshells that they are about to be hidden.
...notify the associated content viewer and all child docshells that they are about to be unloaded.
... setcurrenturi() for editors and suchlike who wish to change the uri associated with the document.
nsILivemarkService
getfeeduri() this method retrieves the uri of the syndication feed associated with a livemark container.
... getsiteuri() this method retrieves the uri of the website associated with a livemark container.
... setfeeduri() this method sets the uri of the feed associated with a livemark container.
... setsiteuri() this method sets the uri of the website associated with a livemark container.
nsINavHistoryObserver
aguid the unique id associated with the page.
... aguid the unique id associated with the page.
... aguid the unique id associated with the page.
... aguid the unique id associated with the page.
nsIScriptError
prior to that release, if you wanted to associate an outer window with a script error, you had to use nsiscripterror2 instead.
... innerwindowid unsigned long long the inner window id with which the error is associated.
... outerwindowid unsigned long long the window id with which the error is associated.
... innerwindowid the id of the inner window associated with the error.
nsIScriptError2
js/src/xpconnect/idl/nsiscripterror.idlscriptable represents javascript errors and warnings for use by the console service; augments nsiscripterror by adding a way to initialize the error with the window id of the outer window with which the error is associated.
... method overview void initwithwindowid(in wstring message, in wstring sourcename, in wstring sourceline, in pruint32 linenumber, in pruint32 columnnumber, in pruint32 flags, in string category, in unsigned long long innerwindowid); attributes attribute type description innerwindowid unsigned long long the inner window id with which the error is associated.
... outerwindowid unsigned long long the window id with which the error is associated.
... innerwindowid the id of the inner window associated with the error.
WebIDL bindings
the idea is that walking the getparentobject chain will eventually get you to a window, so that every webidl object is associated with a particular window.
...returning null from getparentobject is allowed in situations in which it's ok to associate the resulting object with a random global object for security purposes; this is not usually ok for things that are exposed to web content.
...this allows the js implementation to know which content window it's associated with.
... when throwing because a specification requires an exception, you need to create the exception from the window your webidl object is associated with (the one that was passed to your init method).
Streams - Plugins
streams are objects that represent urls and the data they contain, or data sent by a plug-in without an associated url.
... although a single stream is associated with one specific instance of a plug-in, a plug-in can have more than one stream object per instance.
...each stream has an associated mime type identifying the format of the data in the stream.
...the plug-in can store private data associated with the stream in stream->pdata.
Index - Firefox Developer Tools
each debugger.frame instance representing a debuggee frame has an associated environment object describing the variables in scope in that frame; and each debugger.object instance representing a debuggee function has an environment object representing the environment the function has closed over.
... 129 set a conditional breakpoint conditional, debugger, debugging, devtools, developer tools, firefox, guide, javascript debugging, tools, wm, breakpoint a normal breakpoint is just associated with a line: when the program reaches that line, the debugger pauses.
... a conditional breakpoint also has a condition associated with it, which is represented as an expression.
... 137 source map errors debugger, debugging, dev tools, reference, source maps, tools source maps are json files providing a way to associate transformed sources, as seen by the browser, with their original sources, as written by the developer.
AnimationEffect.getComputedTiming() - Web APIs
return value a computedeffecttiming dictionary object, which contains the following properties: endtime the end time of the animation in milliseconds from the animation's start (if the keyframeeffect is associated with an animation).
...if the keyframeeffect is not associated with an animation, its value is null.
...returns null if the animation is not running or its keyframeeffect isn't associated with an animation.
...returns null if the animation is not running or its keyframeeffect isn't associated with an animation.
AudioContext - Web APIs
audiocontext.createmediaelementsource() creates a mediaelementaudiosourcenode associated with an htmlmediaelement.
... audiocontext.createmediastreamsource() creates a mediastreamaudiosourcenode associated with a mediastream representing an audio stream which may come from the local computer microphone or other sources.
... audiocontext.createmediastreamdestination() creates a mediastreamaudiodestinationnode associated with a mediastream representing an audio stream which may be stored in a local file or sent to another computer.
... audiocontext.createmediastreamtracksource() creates a mediastreamtrackaudiosourcenode associated with a mediastream representing an media stream track.
AudioWorkletNode - Web APIs
it has an associated audioworkletprocessor, which does the actual audio processing in a web audio rendering thread.
... audioworkletnode.port read only returns a messageport used for bidirectional communication between the node and its associated audioworkletprocessor.
...you can then use their values in the associated audioworkletprocessor.
... event handlers audioworkletnode.onprocessorerror fired when an error is thrown in associated audioworkletprocessor.
DataTransfer - Web APIs
methods standard methods datatransfer.cleardata() remove the data associated with a given type.
...if the type is empty or not specified, the data associated with all types is removed.
... deprecated methods datatransfer.mozcleardataat() removes the data associated with the given format for an item at the specified index.
... datatransfer.mozgetdataat() retrieves the data associated with the given format for an item at the specified index, or null if it does not exist.
HTMLSelectElement - Web APIs
only one form-associated element in a document can have this attribute specified.
... htmlselectelement.formread only an htmlformelement referencing the form that this element is associated with.
... if the element is not associated with of a <form> element, then it returns null.
... htmlselectelement.labelsread only a nodelist of <label> elements associated with the element.
Drag Operations - Web APIs
when a drag occurs, data must be associated with the drag which identifies what is being dragged.
... for example, when dragging the selected text within a textbox, the data associated with the drag data item is the text itself.
...if the type is not specified, the data associated with all types is removed.
... the following example returns the data associated with the best-supported format: function dodrop(event) { const supportedtypes = ["application/x-moz-file", "text/uri-list", "text/plain"]; const types = event.datatransfer.types.filter(type => supportedtypes.includes(type)); if (types.length) { const data = event.datatransfer.getdata(types[0]); } event.preventdefault(); } finishing a drag once the drag is complete, a dragend ev...
MediaKeySession - Web APIs
closing a session means that licenses and keys associated with it are no longer valid for decrypting media data.
... mediakeysession.sessionid read only contains a unique string generated by the cdm for the current media object and its associated keys or licenses.
... methods mediakeysession.close() returns a promise after notifying the current media session is no longer needed and that the cdm should release any resources associated with this object and close it.
... mediakeysession.remove() returns a promise after removing any session data associated with the current object.
RTCRtpTransceiver - Web APIs
an rtcrtptransceiver is associated with an m-line if its mid is non-null; otherwise it's considered disassociated.
... mid read only the media id of the m-line associated with this transceiver.
...this field is null if neither a local or remote description has been applied, or if its associated m-line is rejected by either a remote offer or any answer.
...the associated sender stops sending data, and the associated receiver likewise stops receiving and decoding incoming data.
Response - Web APIs
WebAPIResponse
properties response.headers read only the headers object associated with the response.
... response.trailers a promise resolving to a headers object, associated with the response with response.headers for values of the http trailer header.
... response.error() returns a new response object associated with a network error.
...the fetch() call returns a promise, which resolves to the response object associated with the resource fetch operation.
SVGAngle - Web APIs
WebAPISVGAngle
an svgangle object can be associated with a particular element.
... the associated element is used to determine which element's content attribute to update if the object reflects an attribute.
... unless otherwise described, an svgangle object is not associated with any element.
... methods newvaluespecifiedunits reset the value as a number with an associated unittype, thereby replacing the values for all of the attributes on the object.
ServiceWorkerContainer - Web APIs
it returns a promise that will never reject, and which waits indefinitely until the serviceworkerregistration associated with the current page has an serviceworkerregistration.active worker.
... events controllerchange occurs when the document's associated serviceworkerregistration acquires a new active worker.
... error fired whenever an error occurs in the associated service workers.
... serviceworkercontainer.getregistrations() returns all serviceworkerregistration objects associated with a serviceworkercontainer in an array.
Streams API concepts - Web APIs
some of the concepts and terminology associated with streams might be new to you — this article explains all you need to know.
... there is also a construct you’ll use called a controller — each reader has an associated controller that allows you to control the stream (for example, to cancel it if wished).
...you can use whatever code you like to produce the chunks ready for writing; the writer plus the associated code is called a producer.
... there is also a construct you’ll use called a controller — each writer has an associated controller that allows you to control the stream (for example, to abort it if wished).
URLSearchParams - Web APIs
urlsearchparams.delete() deletes the given search parameter, and its associated value, from the list of all search parameters.
... urlsearchparams.get() returns the first value associated with the given search parameter.
... urlsearchparams.getall() returns all the values associated with a given search parameter.
... urlsearchparams.set() sets the value associated with a given search parameter to the given value.
VideoPlaybackQuality - Web APIs
droppedvideoframes read only an unsigned long giving the number of video frames dropped since the creation of the associated htmlvideoelement.
... totalvideoframes read only an unsigned long giving the number of video frames created and dropped since the creation of the associated htmlvideoelement.
... obsolete properties corruptedvideoframes read only an unsigned long giving the number of video frames corrupted since the creation of the associated htmlvideoelement.
... totalframedelay read only a double containing the sum of the frame delay since the creation of the associated htmlvideoelement.
WebRTC Statistics API - Web APIs
rtcinboundrtpstreamstats rtcreceivedrtpstreamstats rtcrtpstreamstats rtcstats local-candidate statistics about a local ice candidate associated with the connection's rtcicetransports.
... rtcpeerconnectionstats rtcstats receiver statistics related to a specific rtcrtpreceiver and the media associated with that receiver.
... rtcaudioreceiverstats or rtcvideoreceiverstats rtcaudiohandlerstats or rtcvideohandlerstats rtcmediahandlerstats rtcstats remote-candidate statistics about a remote ice candidate associated with the connection's rtcicetransports.
... rtcsctptransportstats rtcstats sender statistics related to a specific rtcrtpsender and the media associated with that sender.
ARIA live regions - Accessibility
aria-controls: the aria-controls=[idlist] is used to associate a control with the regions that it controls.
... regions are identified just like an id in a div, and multiple regions can be associated with a control using a space, e.g.
... aria-labelledby: the aria-labelledby=[idlist] is used to associate a region with its labels, similar to aria-controls but instead associating labels to the region.
... aria-describedby: the aria-describedby=[idlist] is used to associate a region with its descriptions, similar to aria-controls but instead associating descriptions to the region and description identifiers are separated with a space.
ARIA: tab role - Accessibility
the aria tab role indicates an interactive element inside a tablist that, when activated, displays its associated tabpanel.
... <button role="tab" aria-selected="true" aria-controls="tabpanel-id" id="tab-id">tab label</button> description an element with the tab role controls the visibility of an associated element with the tabpanel role.
... associated roles and attributes aria-selected boolean aria-controls id of element with tabpanel role id content keyboard interaction key action tab when focus is outside of the tablist moves focus to the active tab.
... if focus is on the active tab moves focus to the next element in the keyboard focus order, ideally the active tab's associated tabpanel.
Basic form hints - Accessibility
when implementing forms using traditional html form-related elements, it is important to provide labels for controls, and explicitly associate a label with its control.
...note that each <input> element has an id, and each <label> element has a for attribute, indicating the id of the associated <input>.
...tation" src="radio-unchecked.gif" /> thai </li> <li id="r2" tabindex="-1" role="radio" aria-checked="false"> <img role="presentation" src="radio-unchecked.gif" /> subway </li> <li id="r3" tabindex="0" role="radio" aria-checked="true"> <img role="presentation" src="radio-checked.gif" /> radio maria </li> </ul> describing with aria form controls sometimes have a description associated with them, in addition to the label.
... aria provides the aria-describedby attribute to directly associate the description with the control.
<select>: The HTML Select element - HTML: Hypertext Markup Language
WebHTMLElementselect
it is given an id attribute to enable it to be associated with a <label> for accessibility purposes, as well as a name attribute to represent the name of the associated data point submitted to the server.
... form the <form> element to associate the <select> with (its form owner).
...(if this attribute is not set, the <select> is associated with its ancestor <form> element, if any.) this attribute lets you associate <select> elements to <form>s anywhere in the document, not just inside a <form>.
... technical summary content categories flow content, phrasing content, interactive content, listed, labelable, resettable, and submittable form-associated element permitted content zero or more <option> or <optgroup> elements.
<textarea> - HTML: Hypertext Markup Language
WebHTMLElementtextarea
the above example demonstrates a number of features of <textarea>: an id attribute to allow the <textarea> to be associated with a <label> element for accessibility purposes a name attribute to set the name of the associated data point submitted to the server when the form is submitted.
...only one form-associated element in a document can have this attribute specified.
... form the form element that the <textarea> element is associated with (its "form owner").
... <textarea name="textarea" rows="5" cols="30" disabled>i am a disabled textarea</textarea> <textarea name="textarea" rows="5" cols="30" readonly>i am a readonly textarea</textarea> technical summary content categories flow content, phrasing content, interactive content, listed, labelable, resettable, and submittable form-associated element.
HTTP Index - HTTP
WebHTTPIndex
10 incomplete list of mime types audio, file types, files, http, mime, mime types, php, reference, text, types, video here is a list of mime types, associated by type of documents, ordered by their common extensions.
... 41 http public key pinning (hpkp) guide, hpkp, http, security http public key pinning (hpkp) is a security feature that tells a web client to associate a specific cryptographic public key with a certain web server to decrease the risk of mitm attacks with forged certificates.
... 68 clear-site-data http, http header, reference, header the clear-site-data header clears browsing data (cookies, storage, cache) associated with the requesting website.
... 171 public-key-pins hpkp, http, reference, security, header the http public-key-pins response header associates a specific cryptographic public key with a certain web server to decrease the risk of mitm attacks with forged certificates.
JavaScript data types and data structures - JavaScript
variables in javascript are not directly associated with any particular value type, and any variable can be assigned (and re-assigned) values of all types: let foo = 42; // foo is now a number foo = 'bar'; // foo is now a string foo = true; // foo is now a boolean data and structure types the latest ecmascript standard defines nine types: six data types that are primitives, checked by typeof operator: undefined : typeof ...
... data property associates a key with a value, and has the following attributes: attributes of a data property attribute type description default value [[value]] any javascript type the value retrieved by a get access of the property.
... accessor property associates a key with one of two accessor functions (get and set) to retrieve or store a value, and has the following attributes: attributes of an accessor property attribute type description default value [[get]] function object or undefined the function is called with an empty argument list and retrieves the property value whenever a get access to the value is perfo...
...set and weakset represent a set of objects, while map and weakmap associate a value to an object.
Working with objects - JavaScript
objects and properties a javascript object has properties associated with it.
...for example, let's create an object named mycar and give it properties named make, model, and year as follows: var mycar = new object(); mycar.make = 'ford'; mycar.model = 'mustang'; mycar.year = 1969; the above example could also be written using an object initializer, which is a comma-delimited list of zero or more pairs of property names and associated values of an object, enclosed in curly braces ({}): var mycar = { make: 'ford', model: 'mustang', year: 1969 }; unassigned properties of an object are undefined (and not null).
...objects are sometimes called associative arrays, since each property is associated with a string value that can be used to access it.
... defining methods a method is a function associated with an object, or, simply put, a method is a property of an object that is a function.
Object - JavaScript
instance methods object.prototype.__definegetter__() associates a function with a property that, when accessed, executes that function and returns its return value.
... object.prototype.__definesetter__() associates a function with a property that, when set, executes that function which modifies the property.
... object.prototype.__lookupgetter__() returns the function associated with the specified property by the __definegetter__() method.
... object.prototype.__lookupsetter__() returns the function associated with the specified property by the __definesetter__() method.
Promise - JavaScript
it allows you to associate handlers with an asynchronous action's eventual success value or failure reason.
...when either of these options happens, the associated handlers queued up by a promise's then method are called.
... chained promises the methods promise.then(), promise.catch(), and promise.finally() are used to associate further action with a promise that becomes settled.
...for the nesting shown above, suppose the .then() associated with "promise b" returns a nextvalue of "promise x".
SVG Conditional Processing Attributes - SVG: Scalable Vector Graphics
externalresourcesrequired requiredextensions requiredfeatures systemlanguage attributes externalresourcesrequired deprecated since svg 2 if set to true, it indicates that the browser must wait for all the external resources necessary to render that element to be loaded before processing the associated element.
... value: false|true; animatable: no requiredextensions list all the browser specific capabilities that must be supported by the borwser to be allowed to render the associated element.
... value: a list of space-separated uri; animatable: no requiredfeatures deprecated since svg 2 list all the features, as defined is the svg 1.1 specification, that must be supported by the borwser to be allowed to render the associated element..
... value: a list of space-separated uri; animatable: no systemlanguage indicates which language the user must have chosen to render the associated element.
Web Components
this has traditionally not been so easy for custom markup structures — think of the complex html (and associated style and script) you've sometimes had to write to render custom ui controls, and how using them multiple times can turn your page into a mess if you are not careful.
... shadow dom: a set of javascript apis for attaching an encapsulated "shadow" dom tree to an element — which is rendered separately from the main document dom — and controlling associated functionality.
...the associated dom interface is htmltemplateelement.
...the associated dom interface is htmlslotelement.
Communicating using "port" - Archive of obsolete content
for example, to receive the context message in a content script associated with a context menu object, you would call the on function attached to the global self object: self.on("context", function() { // handle the message }); so the port property is essentially used here as a namespace for user-defined messages.
...so to receive messages from a content script associated with a panel you use panel.port.on(): var panel = require("sdk/panel").panel({ contentscript: "self.port.emit('showing', 'panel is showing');" }); panel.port.on("showing", function(text) { console.log(text); }); panel.show(); conversely, to emit user-defined messages from your add-on you can just call panel.port.emit(): var panel = require("sdk/panel").panel({ contentscript: "self.po...
... so page-mod does not integrate the worker api directly: instead, each time a content script is attached to a page, the worker associated with the page is supplied to the page-mod in its onattach function.
passwords - Archive of obsolete content
you can use the passwords api with three sorts of credentials: add-on credentials html form credentials http authentication credentials add-on credential these are associated with your add-on rather than a particular web site.
...match all of them: function show_google_password_for_joe() { require("sdk/passwords").search({ username: "joe", url: "https://www.google.com", oncomplete: function oncomplete(credentials) { credentials.foreach(function(credential) { console.log(credential.username); console.log(credential.password); }); } }); } to retrieve only credentials associated with your add-on, use the url property, initialized from self.uri: function show_my_addon_passwords() { require("sdk/passwords").search({ url: require("sdk/self").uri, oncomplete: function oncomplete(credentials) { credentials.foreach(function(credential) { console.log(credential.username); console.log(credential.password); }); } }); } parame...
... url string the url associated with the credential.
private-browsing - Archive of obsolete content
opting into private browsing add-ons built using the sdk must opt into private browsing by setting the following key in their package.json file: "permissions": {"private-browsing": true} if an add-on has not opted in, then the high-level sdk modules will not expose private windows, or objects (such as tabs) that are associated with private windows: the windows module will not list any private browser windows, generate any events for private browser windows, or let the add-on open any private browser windows the tabs module will not list any tabs that belong to private browser windows, and the add-on won't receive any events for such tabs any ui components will not be displayed in private browser wind...
...it returns true only if the object is: a private window, or a tab belonging to a private window, or a worker that's associated with a document hosted in a private window any window, tab, or worker if the browser has been configured to never remember history (options->privacy->history) add-ons can use this api to decide whether or not to store user data.
...it takes an object as an argument, and returns true only if the object is: a private browserwindow or a tab belonging to a private window, or a worker that's associated with a document hosted in a private window parameters object : any the object to check.
widget - Archive of obsolete content
returns widgetview : a widgetview instance associated with the browser window.
... message if you listen to this event you can receive message events from content scripts associated with this widget.
... message if you listen to this event you can receive message events from content scripts associated with this widget view.
Displaying annotations - Archive of obsolete content
in this chapter we'll use a page-mod to locate elements of web pages that have annotations associated with them, and a panel to display the annotations.
... updating main.js first, initialize an array to hold workers associated with the matcher's content scripts: var matchers = []; in the main function, add the code to create the matcher: var matcher = pagemod.pagemod({ include: ['*'], contentscriptwhen: 'ready', contentscriptfile: [data.url('jquery-1.4.2.min.js'), data.url('matcher.js')], onattach: function(worker) { if(simplestorage.storage.annotations) { worker.postmessage(...
... there are two files associated with the annotation panel: a simple html file to use as a template a simple content script to build the panel's content these files will live in a new subdirectory of data which we'll call annotation.
Custom XUL Elements with XBL - Archive of obsolete content
bindings.css - this is the file that associates the element name to the xbl file.
... it associates the xshelloperson element name to the binding defined in the xbl file.
... replacing existing xul elements as seen in the beginning of this section, the actual binding process is determined by a simple css rule that associates the tag name with the binding.
Document Loading - From Load Start to Finding a Handler - Archive of obsolete content
a docshell can have a name associated with it (e.g.
... nsdocshell::internalload() handles targeting to the correct docshell (if the load has a target window associated with it), scrolling to anchors (if the load is an anchor within the current page), and session history issues.
...the first content listener we check is the content listener associated with our window context (the docshell that initiated the load).
jspage - Archive of obsolete content
urn c;},clean:function(){return this.filter($defined); },indexof:function(c,d){var a=this.length;for(var b=(d<0)?math.max(0,a+d):d||0;b<a;b++){if(this[b]===c){return b;}}return -1;},map:function(d,e){var c=[]; for(var b=0,a=this.length;b<a;b++){c[b]=d.call(e,this[b],b,this);}return c;},some:function(c,d){for(var b=0,a=this.length;b<a;b++){if(c.call(d,this[b],b,this)){return true; }}return false;},associate:function(c){var d={},b=math.min(this.length,c.length);for(var a=0;a<b;a++){d[c[a]]=this[a];}return d;},link:function(c){var a={}; for(var e=0,b=this.length;e<b;e++){for(var d in c){if(c[d](this[e])){a[d]=this[e];delete c[d];break;}}}return a;},contains:function(a,b){return this.indexof(a,b)!=-1; },extend:function(c){for(var b=0,a=c.length;b<a;b++){this.push(c[b]);}return this;},getlast:function()...
...,text:(browser.engine.trident||(browser.engine.webkit&&browser.engine.version<420))?"innertext":"textcontent"}; var b=["compact","nowrap","ismap","declare","noshade","checked","disabled","readonly","multiple","selected","noresize","defer"];var k=["value","type","defaultvalue","accesskey","cellpadding","cellspacing","colspan","frameborder","maxlength","readonly","rowspan","tabindex","usemap"]; b=b.associate(b);hash.extend(e,b);hash.extend(e,k.associate(k.map(string.tolowercase)));var a={before:function(m,l){if(l.parentnode){l.parentnode.insertbefore(m,l); }},after:function(m,l){if(!l.parentnode){return;}var n=l.nextsibling;(n)?l.parentnode.insertbefore(m,n):l.parentnode.appendchild(m);},bottom:function(m,l){l.appendchild(m); },top:function(m,l){var n=l.firstchild;(n)?l.insertbefore(m,n):l.appendchil...
...e[m];if(n==undefined){return this.removeproperty(m);}if(l&&b[m]){n=!!n;}(l)?this[l]=n:this.setattribute(m,""+n); return this;},setproperties:function(l){for(var m in l){this.setproperty(m,l[m]);}return this;},getproperty:function(m){var l=e[m];var n=(l)?this[l]:this.getattribute(m,2); return(b[m])?!!n:(l)?n:n||null;},getproperties:function(){var l=$a(arguments);return l.map(this.getproperty,this).associate(l);},removeproperty:function(m){var l=e[m]; (l)?this[l]=(l&&b[m])?false:"":this.removeattribute(m);return this;},removeproperties:function(){array.each(arguments,this.removeproperty,this);return this; },hasclass:function(l){return this.classname.contains(l," ");},addclass:function(l){if(!this.hasclass(l)){this.classname=(this.classname+" "+l).clean(); }return this;},removeclass:function(l){this.c...
Using Breakpoints in Venkman - Archive of obsolete content
advanced breakpoints venkman allows you to associate a breakpoint with a script that will be executed in the scope of the function when that breakpoint is hit.
... this advanced feature and other options you can see for the associated script are available from the future breakpoint properties dialog, which you can access by right-clicking a breakpoint and selecting properties.
... once you've created a script that will be executed when the associated breakpoint is hit, you can select a number of different options from the future breakpoint properties dialog that determine how venkman will deal with the output of the associated script.
Using XPInstall to Install Plugins - Archive of obsolete content
the initinstall method is polymorphic, but here is a recommended invocation mechanism: initinstall("my plugin software", "@myplugin.com/myplugin,version=2.5", "2.5.0.0"); in the code snippet above, the initinstall method is invoked with three parameters: a string for the name of the application a string signifying the plugin identifier associated with the plugin.
...associate the application/x-xpinstall mime type with xpi packages.
...associate the application/x-xpinstall mime type with xpi packages.
ContextMenus - Archive of obsolete content
you will still need to associate code with the element to handle the default operation.
... <menuseparator/> child context menus sometimes it may be convenient to place the menupopup for the context menu as a child of the element the menu is associated with instead of referring to the menupopup by id.
... this may be useful, for example, when a context menu is associated with only 1 element.
textbox (Toolkit autocomplete) - Archive of obsolete content
for the url history, the comment column will contain the page titles associated with each url.
... value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
Adding Labels and Images - Archive of obsolete content
control attribute you can use the control attribute to set which control the label is associated with.
... when the user clicks on an associated label, that control will be focused.
...description element for descriptive text not associated with any particular control, you can use the description tag.
Modifying the Default Skin - Archive of obsolete content
for a simple personalized look to a firefox window, you can easily change the style sheets associated with it.
... skin packages to have the change affect only one window, change the style sheet associated with that xul file.
... you can assign images to a button, checkbox and other elements by using the list-style-image property as in the following: checkbox { list-style-image: url("chrome://findfile/skin/images/check-off.jpg"); } checkbox[checked="true"] { list-style-image: url("chrome://findfile/skin/images/check-on.jpg"); } this code changes the image associated with a checkbox.
Using the standard theme - Archive of obsolete content
by default, no style is associated with xul extension windows or dialogs.
... at the beginning, there is no style when creating a new xul <tt>window</tt> (or a new <tt>dialog</tt>, for that matter) in your extension, and you do not associate a style sheet with it, your widgets will be unstyled.
... multiple <tt>xml-stylesheet</tt> processing instructions simply add one <tt>xml-stylesheet</tt> processing instruction for every style sheet you want to associate with your xul file: <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://myextension/skin/custom.css" type="text/css"?> <tt>@import</tt> chains first, import the global skin in your custom style sheet using the css <tt>@import</tt> rule: @import url("chrome://global/skin/"); you then have to associate your xul file with your custom style sheet only: ...
label - Archive of obsolete content
ArchiveMozillaXULlabel
if the user clicks the label, it will move the focus to the associated control, specified with the control attribute.
... control type: id this attribute specifies the id of the element with which the label is associated.
... when the user clicks on the label, the associated element is given focus.
menulist - Archive of obsolete content
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
... image type: image url the image associated with the currently selected item.
Debug - Archive of obsolete content
functions debug.mstraceasynccallbackcompleted indicates that the callback stack associated with a previously specified asynchronous operation has completed.
... debug.mstraceasynccallbackstarting associates the callback stack with a previously specified asynchronous operation.
... debug.msupdateasynccallbackrelation updates the relationship status between a synchronous work item and the associated asynchronous operation.
Mozilla's DOCTYPE sniffing - Archive of obsolete content
the public identifier "-//o'reilly and associates//dtd html extended 1.0//en".
... the public identifier "-//o'reilly and associates//dtd html extended relaxed 1.0//en".
... the public identifier "-//o'reilly and associates//dtd html 2.0//en".
What is a URL? - Learn web development
as the resource represented by the url and the url itself are handled by the web server, it is up to the owner of the web server to carefully manage that resource and its associated url.
... deeper dive basics: anatomy of a url here are some examples of urls: https://developer.mozilla.org https://developer.mozilla.org/docs/learn/ https://developer.mozilla.org/search?q=url any of those urls can be typed into your browser's address bar to tell it to load the associated page (resource).
... some search engines can use those semantics to improve the classification of the associated pages.
Assessment: Structuring planet data - Learn web development
objective: to test comprehension of html tables and associated features.
... ensure all the content is placed into the right cells — in the raw data, each row of planet data is shown next to its associated planet.
... add attributes to make the row and column headers unambiguously associated with the rows, columns, or rowgroups that they act as headings for.
Client-Server Overview - Learn web development
the different methods/verbs and their associated actions are listed below: get: get a specific resource (e.g.
...you always have a question mark (?) separating the rest of the url from the url parameters, an equals sign (=) separating each name from its associated value, and an ampersand (&) separating each pair.
...this makes it easier to keep the code associated with each type of resource separate.
Vue conditional rendering: editing existing todos - Learn web development
result: updatedonestatus() method invoked to update done status of associated todo item.
... result: deletetodo() method invoked to delete associated todo item.
... result: edittodo() method invoked to update label of associated todo item.
Handling common accessibility problems - Learn web development
a basic data table can be written with very simple markup (see bad-table.html live, and source), but this has problems — there is no way for a screen reader user to associate rows or columns together as groupings of data — to do this you need to know what the header rows are, and if they are heading up rows, columns, etc.
... look at our punk-bands-complete.html example, and see how the screenreader is able to associate columns and rows of content and read them out all together because we've defined headers properly.
... in bad-table.html, none of the cells can be associated at all.
Accessible Toolkit Checklist
the system should require these labels to be created/associated with each widget, not as a separate static text with no tie to the widget.
...make sure that parent-child relationships are exposed correctly in each window's msaa tree general msaa support focus events handling event callbacks, which requires a unique id for each non-windowed child of every widget that can be focused or have any other event associated with it.
...if possible, make the tooltip automatically append text for the keyboard shortcut associated with it.
Eclipse CDT Manual Setup
if eclipse can successfully identify which source file was being compiled, then it can associate with that file the resolvable include paths, preprocessor defines, and pre-include files that were passed to the compiler.
... conversely, note this very carefully: if you configure eclipse to invoke a build process that is parallelized, silenced, or that fails to identify the directory that the compiler is being run from, then it will mess up the compiler options that eclipse associates with your files, and that in turn will significantly degrade the quality of the code assistance that eclipse will provide after it next re-indexes the code.
... below we will configure eclipse's build step so that you use it only occasionally to manually trigger a special "build" (actually a fast script that fakes a build) purely for the purposes of setting/updating the compiler options that eclipse associates with each source file.
Script security
for example, the objects associated with a document served from https://example.org/ can access each other, and they can also access objects served from https://example.org/foo.
...this means that each global object and the objects associated with it live in their own region of memory.
... content principal a content principal is associated with some web content and is defined by the origin of the content.
Download
a download object represents a single download, with associated state and actions.
... launcherpath string local file path of the application to be used to launch the target file, or null if the file should be launched with the default application associated with the contenttype property or the extension of the target file.
... saver read only downloadsaver saver object associated with this download.
Sqlite.jsm
getschemaversion() the user-set version associated with the schema for the current database.
... setschemaversion(value) sets value as the new version associated with the schema for the current database.
...this saves time associated with parsing the sql statement and creating a new statement object.
Condition Variables
condition variable type condition variable functions conditions are closely associated with a single monitor, which typically consists of a mutex, one or more condition variables, and the monitored data.
... a call to pr_waitcondvar causes a thread to block until a specified condition variable receives notification of a change of state in its associated monitored data.
...unlike a mutex of type prlock, which can have multiple associated condition variables of type prcondvar, a mutex of type prmonitor has a single, implicitly associated condition variable.
Locks
lock type lock functions in nspr, a mutex of type prlock controls locking, and associated condition variables communicate changes in state among threads.
... when a programmer associates a mutex with an arbitrary collection of data, the mutex provides a protective monitor around the data.
...in addition to prlock, nspr provides another mutex type, prmonitor, which is reentrant and can have only one associated condition variable.
PRThreadPrivateDTOR
the destructor function passed to pr_newthreadprivateindex that is associated with the resulting thread private index.
... syntax #include <prthread.h> typedef void (pr_callback *prthreadprivatedtor)(void *priv); description until the data associated with an index is actually set with a call to pr_setthreadprivate, the value of the data is null.
... if the data associated with the index is not null, nspr passes a reference to the data to the destructor function when the thread terminates.
PR_GetNameForIdentity
gets the string associated with a layer's unique identity.
... returns the function returns one of the following values: if successful, the function returns a pointer to the string associated with the specified layer.
... description a string may be associated with a layer when the layer is created.
PR_NewThreadPrivateIndex
returns a new index for a per-thread private data table and optionally associates a destructor with the data that will be assigned to the index.
... destructor specifies a destructor function prthreadprivatedtor for the private data associated with the index.
...you pass this index to pr_setthreadprivate and pr_getthreadprivate to set and retrieve data associated with the index.
HTTP delegation
the http server session object is logically associated with host and port destination information, in our example this is "host ocsp.provider.com port 80".
... the object may be used by the application to associate it with a physical network connection.
...the application should try to reuse existing network connections associated with the server session object.
HTTP delegation
the http server session object is logically associated with host and port destination information, in our example this is "host ocsp.provider.com port 80".
... the object may be used by the application to associate it with a physical network connection.
...the application should try to reuse existing network connections associated with the server session object.
PKCS11 Implement
use of key ids the nss associates a key with its certificates by its key id (cka-id).
... it doesn't matter how the key id is generated, as long as it is unique for the token and maps to a certificate to it associated private key.
...nss doesn't require token public keys, but if they exist, nss expects the value of the cka_id attribute to be associated with private key and any related certificates.
certutil
when you delete keys, be sure to also remove any certificates associated with those keys from the certificate database, by using -d.
...this extension supports the identification of a particular certificate, from among multiple certificates associated with one subject name, as the correct issuer of a certificate.
...this extension identifies the url of a certificate's associated certificate revocation list (crl).
Rhino scopes and contexts
there should be one and only one context associated with each thread that will be executing javascript.
... to associate the current thread with a context, simply call the enter method of context: context cx = context.enter(); once you are done with execution, simply exit the context: context.exit(); these calls will work properly even if there is already a context associated with the current thread.
...only when the counter reaches zero will it be disassociated from the thread.
JS_CompileFunctionForPrincipals
obj jsobject * object with which the function is to be associated.
... description js_compilefunctionforprincipals compiles a security-enabled function from a text string, bytes, and associates it with a js object, obj.
... principals is a pointer to the jsprincipals structure that contains the security information to associate with this function.
JS_CompileScriptForPrincipals
obj jsobject * object with which the script is associated.
...the script is associated with a js object.
... principals is a pointer to the jsprincipals structure that contains the security information to associate with this script.
JS_GET_CLASS
retrieves the class associated with an object.
... syntax #ifdef js_threadsafe #define js_get_class(cx,obj) js_getclass(cx, obj) #else #define js_get_class(cx,obj) js_getclass(obj) #endif parameter type description cx jscontext * any context associated with the runtime in which obj exists.
...description js_get_class returns a pointer to the jsclass associated with a specified js object, obj.
JS_GetClass
retrieves the class associated with an object.
... syntax const jsclass * js_getclass(jsobject *obj); name type description cx jscontext * any context associated with the runtime in which obj exists.
...description js_getclass returns a pointer to the jsclass associated with a specified js object, obj.
JS_GetContextThread
returns the id of the associated thread for a context.
... description js_getcontextthread returns the id of the thread currently associated with this context.
... if the context is not currently associated with any thread, the return value is 0.
JS_GetInstancePrivate
retrieve the private data associated with an object, if that object is an instance of a specified class.
...note that if obj is an instance of clasp, but there is no private data currently associated with the object, or the object cannot have private data, js_getinstanceprivate also returns null.
...in this case, js_getinstanceprivate tests whether or not there is a function name associated with the argument vector, and if there is, reports the name in an error message using the js_reporterror function.
JS_NewObject
cx is a pointer to a context associated with the runtime in which to establish the new object.
... if the new object's class (here, clasp) is a built-in class, then its associated prototype is used as the new object's prototype.
... if the context is not currently executing any code, we use js_getglobalobject to find a global object associated with the context.
Gecko events
event_hypertext_link_activated one of the links associated with the hypertext object has been activated.
... event_hypertext_link_selected one of the links associated with the hypertext object has been selected.
...event_hypertext_nlinks_changed the number of hyperlinks associated with a hypertext object changed.
Gecko Roles
for example, a user clicks and drags a sizing grip in the lower-right corner of a window to resize it role_sound represents a system sound, which is associated with various system events.
... role_combobox represents a combo box; an edit control with an associated list box that provides a set of predefined choices.
... role_spinbutton represents a spin box, which is a control that allows the user to increment or decrement the value displayed in a separate "buddy" control associated with the spin box.
Avoiding leaks in JavaScript XPCOM components
if you don't unregister the observer, the observer, the javascript global object for the context in which it was created, and a bunch of associated objects will all leak for the lifetime of the application.
... it's also worth noting that failing to unregister an observer that's attached to something temporary (such as a controller or event listener) can cause the garbage collector to take an extra cycle to clean up everything that was associated with a document if the temporary object itself is destroyed as a result of garbage collection.
...but the browsers are themselves xbl bindings, and much of the memory associated with the page displayed in the tab is reachable from the javascript properties of the browser element.
IAccessibleHyperlink
1.0 66 introduced gecko 1.9 inherits from: iaccessibleaction last changed in gecko 1.9 (firefox 3) this interface represents a hyperlink associated with a single substring of text or single non-text object.
...an example is an image map which is an image with multiple links each of which is associated with a separate non-overlapping area of the image.
...an interesting use case is an image map where each area is associated with multiple actions, for example an image map of smart tags.
nsIAccessibleRole
role_sound 5 represents a system sound, which is associated with various system events.
... role_combobox 46 represents a combo box; an edit control with an associated list box that provides a set of predefined choices.
... role_spinbutton 52 represents a spin box, which is a control that allows the user to increment or decrement the value displayed in a separate "buddy" control associated with the spin box.
nsIContentPrefService2
dom/interfaces/base/nsicontentprefservice2.idlscriptable asynchronous api for content preferences 1.0 66 introduced gecko 20.0 inherits from: nsisupports last changed in gecko 20.0 (firefox 20.0 / thunderbird 20.0 / seamonkey 2.17) description content preferences allow the application to associate arbitrary data, or "preferences", with specific domains, or web "content".
... specifically, a content preference is a structure with three values: a domain with which the preference is associated, a name that identifies the preference within its domain, and a value.
...this interface doesn't impart any special significance to global preferences; they're simply name-value pairs that aren't associated with any particular domain.
nsIProperties
.getservice(components.interfaces.nsiproperties); method overview void get(in string prop, in nsiidref iid, [iid_is(iid),retval] out nsqiresult result); void getkeys(out pruint32 count, [array, size_is(count), retval] out string keys); boolean has(in string prop); void set(in string prop, in nsisupports value); void undefine(in string prop); methods get() gets the xpcom object associated with a particular name.
...set() sets the xpcom object associated with a particular name.
...value the xpcom object value to associate with prop.
nsISHEntry
docshell/shistory/public/nsishentry.idlscriptable each document or subframe in session history will have a nsishentry associated with it which will hold all information required to recreate the document from history.
... owner nsisupports get the owner, if any, that was associated with the channel that the document that was loaded to create this history entry came from.
... statedata nsistructuredclonecontainer get/set data associated with this history state via a pushstate() call, serialized using structured clone.
nsITransactionList
methods getchildlistforitem() returns the list of children associated with the item at aindex.
... return value the nsitransactionlist of children associated with the item at aindex.
...note that currently there is no requirement for a transactionmanager implementation to associate a toplevel nsitransaction with a batch so it is possible for itemisbatch to return true and getitem() to return null.
nsIWebBrowser
embedders use this interface during initialization to associate the new web browser instance with the embedders chrome and to register any listeners.
...method overview void addwebbrowserlistener(in nsiweakreference alistener, in nsiidref aiid); void removewebbrowserlistener(in nsiweakreference alistener, in nsiidref aiid); attributes attribute type description containerwindow nsiwebbrowserchrome the chrome object associated with the browser instance.
...the embedder must associate the two by setting this property to point to the chrome object before creating the browser window via the browser's nsibasewindow interface.
nsIWebProgress
however, in some cases a nsiwebprogress instance may not have an associated dom window.
... last changed in gecko 1.8.0 inherits from: nsisupports method overview void addprogresslistener(in nsiwebprogresslistener alistener, in unsigned long anotifymask); void removeprogresslistener(in nsiwebprogresslistener alistener); attributes attribute type description domwindow nsidomwindow the dom window associated with this nsiwebprogress instance.
...exceptions thrown ns_error_failure indicates that there is no associated dom window.
nsIWebProgressListener2
webprogress awebprogress, in nsirequest arequest, in long long acurselfprogress, in long long amaxselfprogress, in long long acurtotalprogress, in long long amaxtotalprogress); boolean onrefreshattempted(in nsiwebprogress awebprogress, in nsiuri arefreshuri, in long amillis, in boolean asameuri); methods onprogresschange64() notification that the progress has changed for one of the requests associated with awebprogress.
...acurtotalprogress the current progress for all requests associated with awebprogress.
... amaxtotalprogress the total progress for all requests associated with awebprogress.
Performance
transactions there is overhead associated with each transaction.
...it keeps pages associated with the current transaction so it can roll them back, and it also keeps recently used ones so it can run faster.
...when data is deleted, the associated bytes are marked as free but are not removed from the file.
nsIMsgCloudFileProvider
accountkey acstring readonly: the unique identifier for the account associated with an instance of an nsimsgcloudfileprovider.
... methods init() initializes an nsimsgcloudfileprovider to be associated with a particular account.
... aaccountkey the account key that this instance of the nsimsgcloudfileprovider should be associated with.
AudioWorkletNode.port - Web APIs
the read-only port property of the audioworkletnode interface returns the associated messageport.
... it can be used to communicate between the node and its associated audioworkletprocessor.
... syntax audioworkletnodeinstance.port; value the messageport object that is connecting the audioworkletnode and its associated audioworkletprocessor.
BlobEvent - Web APIs
WebAPIBlobEvent
the blobevent interface represents events associated with a blob.
... these blobs are typically, but not necessarily, associated with media content.
... blobevent.data read only a blob representing the data associated with the event.
HTMLLabelElement.form - Web APIs
the read-only htmllabelelement.form property returns an htmlformelement object which represents the form of which the label's associated control is a part, or null if there is either no associated control, or if that control isn't in a form.
... syntax form = htmllabelelement.form value an htmlformelement which represents the form with which the label's control is associated.
... if control is null (meaning the label isn't associated with a control), or if the control isn't part of a form, this property returns null.
HTMLSelectElement.autofocus - Web APIs
the htmlselectelement.autofocus property is a boolean that reflects the autofocus html attribute, which indicates whether the associated <select> element will get input focus when the page loads, unless the user overrides it.
... only one form-associated element in a document can have this attribute specified.
... setting this property doesn't set the focus to the associated <select> element: it merely tells the browser to focus to it when the element is inserted in the document.
HTMLTableCellElement - Web APIs
htmltablecellelement.headers read only is a domsettabletokenlist describing a list of id of <th> elements that represents headers associated with the cell.
...if no value is specified for scope, the header is not associated directly with cells in this way.
...it reflects the char and default to the decimal points associated with the language, e.g.
History.pushState() - Web APIs
WebAPIHistorypushState
syntax history.pushstate(state, title[, url]) parameters state the state object is a javascript object which is associated with the new history entry created by pushstate().
... description in a sense, calling pushstate() is similar to setting window.location = "#foo", in that both will also create and activate another history entry associated with the current document.
... you can associate arbitrary data with your new history entry.
Working with the History API - Web APIs
state object the state object is a javascript object which is associated with the new history entry created by pushstate().
... in a sense, calling pushstate() is similar to setting window.location = "#foo", in that both will also create and activate another history entry associated with the current document.
... you can associate arbitrary data with your new history entry.
IDBTransaction.db - Web APIs
WebAPIIDBTransactiondb
the db read-only property of the idbtransaction interface returns the database connection with which this transaction is associated.
...at the end, we return the associated database connection using db.
...jectstorerequest = objectstore.add(newitem[0]); objectstorerequest.onsuccess = function(event) { // report the success of the request (this does not mean the item // has been stored successfully in the db - for that you need transaction.onsuccess) note.innerhtml += '<li>request successful.</li>'; }; // return the database (idbdatabase) connection with which this transaction is associated transaction.db; }; specification specification status comment indexed database api 2.0the definition of 'db' in that specification.
IDBTransaction - Web APIs
properties idbtransaction.db read only the database connection with which this transaction is associated.
... idbtransaction.objectstorenames read only returns a domstringlist of the names of idbobjectstore objects associated with the transaction.
... methods inherits from: eventtarget idbtransaction.abort() rolls back all the changes to objects in the database associated with this transaction.
KeyboardEvent - Web APIs
tifiers constant value description dom_key_location_standard 0x00 the key described by the event is not identified as being located in a particular area of the keyboard; it is not located on the numeric keypad (unless it's the numlock key), and for keys that are duplicated on the left and right sides of the keyboard, the key is, for whatever reason, not to be associated with that location.
... dom_key_location_numpad 0x03 the key is located on the numeric keypad, or is a virtual key associated with the numeric keypad if there's more than one place the key could originate from.
... note: manually firing an event does not generate the default action associated with that event.
Location - Web APIs
WebAPILocation
attr('id'); }); }); [].foreach.call(document.queryselectorall('[title]'), function (node) { node.addeventlistener("click", function(e) { e.preventdefault(); e.stoppropagation(); window.location.hash = ''; }); }); result properties location.ancestororigins is a static domstringlist containing, in reverse order, the origins of all ancestor browsing contexts of the document associated with the given location object.
...if changed, the associated document navigates to the new page.
... it can be set from a different origin than the associated document.
MediaStreamTrack - Web APIs
it doesn't change if the track is deassociated from its source.
...when the track is deassociated from its source, the label is not changed.
... mediastreamtrack.stop() stops playing the source associated to the track, both the source and the track are deassociated.
MimeType - Web APIs
WebAPIMimeType
the mimetype interface provides contains information about a mime type associated with a particular plugin.
... properties mimetype.type returns the mime type of the associated plugin.
... mimetype.description returns a description of the associated plugin or an empty string if there is none.
PushSubscription - Web APIs
properties pushsubscription.endpoint read only a usvstring containing the endpoint associated with the push subscription.
... pushsubscription.expirationtime read only a domhighrestimestamp of the subscription expiration time associated with the push subscription, if there is one, or null otherwise.
... pushsubscription.subscriptionid read only a domstring containing the subscription id associated with the push subscription.
RTCPeerConnection.addTransceiver() - Web APIs
the rtcpeerconnection method addtransceiver() creates a new rtcrtptransceiver and adds it to the set of transceivers associated with the rtcpeerconnection.
... each transceiver represents a bidirectional stream, with both an rtcrtpsender and an rtcrtpreceiver associated with it.
... syntax rtptransceiver = rtcpeerconnection.addtransceiver(trackorkind, init); parameters trackorkind a mediastreamtrack to associate with the transceiver, or a domstring which is used as the kind of the receiver's track, and by extension of the rtcrtpreceiver itself.
ReadableByteStreamController - Web APIs
methods readablebytestreamcontroller.close() closes the associated stream.
... readablebytestreamcontroller.enqueue() enqueues a given chunk in the associated stream.
... readablebytestreamcontroller.error() causes any future interactions with the associated stream to error.
ReadableStreamDefaultController - Web APIs
methods readablestreamdefaultcontroller.close() closes the associated stream.
... readablestreamdefaultcontroller.enqueue() enqueues a given chunk in the associated stream.
... readablestreamdefaultcontroller.error() causes any future interactions with the associated stream to error.
WebGLRenderingContext - Web APIs
might be null if it is not associated with a <canvas> element.
...should match the width of the canvas element associated with this context.
...should match the height of the canvas element associated with this context.
Web Authentication API - Web APIs
figure 1 - a diagram showing the sequence of actions for a web authentication registration and the essential data associated with each action.
...assuming that the checks pan out, the server will store the new public key associated with the user's account for future use -- that is, whenever the user desires to use the public key for authentication.
... figure 2 - similar to figure 1, a diagram showing the sequence of actions for a web authentication and the essential data associated with each action.
Using the Web Storage API - Web APIs
these three lines all set the (same) colorsetting entry: localstorage.colorsetting = '#a4509b'; localstorage['colorsetting'] = '#a4509b'; localstorage.setitem('colorsetting', '#a4509b'); note: it's recommended to use the web storage api (setitem, getitem, removeitem, key, length) to prevent the pitfalls associated with using plain objects as key-value stores.
...ryselector('.my-key').textcontent = e.key; document.queryselector('.my-old').textcontent = e.oldvalue; document.queryselector('.my-new').textcontent = e.newvalue; document.queryselector('.my-url').textcontent = e.url; document.queryselector('.my-storage').textcontent = json.stringify(e.storagearea); }); here we add an event listener to the window object that fires when the storage object associated with the current origin is changed.
... as you can see above, the event object associated with this event has a number of properties containing useful information — the key of the data that changed, the old value before the change, the new value after that change, the url of the document that changed the storage, and the storage object itself (which we've stringified so you can see its content).
XRInputSource.handedness - Web APIs
the read-only xrinputsource property handedness indicates which of the user's hands the webxr input source is associated with, or if it's not associated with a hand at all.
...the value, which comes from the xrhandedness enumerated type, is one of the following: none the input controller is not associated with one of the user's hands.
... usage notes if the input source is not a device associated with a user's hand (whether by being held, attached, or worn), the value of handedness is none.
Using the aria-describedby attribute - Accessibility
the aria-describedby attribute is not used only for form elements; it is also used to associate static text with widgets, groups of elements, panes, regions that have a heading, definitions, and more.
...aria-describedby is used to associate the paragraph with the application container.
...the aria-describedby attribute is used to associate the description with the link.
ARIA Test Cases - Accessibility
- - - voiceover (leopard) n/a n/a - fail window-eyes - - - - nvda - n/a - - zoom (leopard) pass n/a pass pass zoomtext - - - - orca - - - - menu button dojo nightly build expected at behavior: screen readers should indicate that this button has an associated menu.
... voiceover (leopard) n/a n/a - fail window-eyes - - - - nvda - n/a - - zoom (leopard) pass n/a pass pass zoomtext - - - - orca - - - - img tiled image expected at behavior: screen readers should announce the image is a single graphic element along with its associated label, even though it is built from numerous sub-images.
... (al) strongly preferred, but not currently required: screen readers should read the status when any hotkey associated with status reading is pressed.
ARIA: gridcell role - Accessibility
associated wai-aria roles, states, and properties grid communicates that a parent element is a a table or tree style grouping of information.
... columnheader specifies which element is the associated column header.
... rowheader specifies which element is the associated row header.
Pseudo-classes - CSS: Cascading Style Sheets
css basic user interface module level 3 recommendation defined :default, :valid, :invalid, :in-range, :out-of-range, :required, :optional, :read-only and :read-write, but without the associated semantic meaning.
... defined the syntax of :enabled, :disabled, :checked, and :indeterminate, but without the associated semantic meaning.
... css level 1 recommendation defined :link, :visited and :active, but without the associated semantic meaning.
Event reference
afterprint event html5 the associated document has started printing or the print preview has been closed.
... beforeprint event html5 the associated document is about to be printed or previewed for printing.
... start event web speech api the speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current speechrecognition.
Content categories - Developer guides
this is a loose grouping (it doesn't actually create a relationship among elements of these categories), but they help define and describe the categories' shared behavior and their associated rules, especially when you come upon their intricate details.
... form-associated content form-associated content comprises elements that have a form owner, exposed by a form attribute.
... labelable elements that can be associated with <label> elements.
Constraint validation - Developer guides
semantic input types the intrinsic constraints for the type attribute are: input type constraint description associated violation <input type="url"> the value must be an absolute url, as defined in the url living standard.
... validation-related attributes in addition to the type attribute described above, the following attributes are used to describe basic constraints: attribute input types supporting the attribute possible values constraint description associated violation pattern text, search, url, tel, email, password a javascript regular expression (compiled with the ecmascript 5 global, ignorecase, and multiline flags disabled) the value must match the pattern.
...the constraint validation is done in the following ways: by a call to the checkvalidity() or reportvalidity() method of a form-associated dom interface, (htmlinputelement, htmlselectelement, htmlbuttonelement, htmloutputelement or htmltextareaelement), which evaluates the constraints only on this element, allowing a script to get this information.
Applying color to HTML elements using CSS - HTML: Hypertext Markup Language
just as we associate green with the beverage mountain dew and one might think of the color blue in relationship with the sky or the ocean, choosing an appropriate base color to represent your site is a good place to start.
... there are plenty of ways to select a base color; a few ideas include: a color that is naturally associated with the topic of your content, such as the existing color identified with a product or idea or a color representative of the emotion you wish to convey.
... a color that comes from imagery associated with what your content is about.
<applet>: The Embed Java Applet element - HTML: Hypertext Markup Language
WebHTMLElementapplet
archive this attribute refers to an archived or compressed version of the applet and its associated class files, which might help reduce download time.
...it indicates the id of the data source object that supplies the data that is bound to the <param> elements associated with the applet.
... src as defined for internet explorer 4 and higher, this attribute specifies a url for an associated file for the applet.
<area> - HTML: Hypertext Markup Language
WebHTMLElementarea
the html <area> element defines a hot-spot region on an image, and optionally associates it with a hypertext link.
... shape the shape of the associated hot spot.
... nohref indicates that no hyperlink exists for the associated area.
<meter>: The HTML Meter element - HTML: Hypertext Markup Language
WebHTMLElementmeter
form the <form> element to associate the <meter> element with (its form owner).
...if this attribute is not set, the <button> is associated with its ancestor <form> element, if any.
... this attribute is only used if the <meter> element is being used as a form-associated element, such as one displaying a range corresponding to an <input type="number">.
<output>: The Output element - HTML: Hypertext Markup Language
WebHTMLElementoutput
content categories flow content, phrasing content, listed, labelable, resettable form-associated element, palpable content.
... form the <form> element to associate the output with (its form owner).
...(if this attribute is not set, the <output> is associated with its ancestor <form> element, if any.) this attribute lets you associate <output> elements to <form>s anywhere in the document, not just inside a <form>.
<table>: The Table element - HTML: Hypertext Markup Language
WebHTMLElementtable
mdn tables for visually impaired users tables with two headers • tables • w3c wai web accessibility tutorials tables with irregular headers • tables • w3c wai web accessibility tutorials h63: using the scope attribute to associate header cells and data cells in data tables | w3c techniques for wcag 2.0 complicated tables assistive technology such as screen readers may have difficulty parsing tables that are so complex that header cells can’t be associated in a strictly horizontal or vertical way.
... if the table cannot be broken apart, use a combination of the id and headers attributes to programmatically associate each table cell with the header(s) the cell is associated with.
... mdn tables for visually impaired users tables with multi-level headers • tables • w3c wai web accessibility tutorials h43: using id and headers attributes to associate data cells with header cells in data tables | techniques for w3c wcag 2.0 specifications specification status comment html living standardthe definition of 'table element' in that specification.
itemscope - HTML: Hypertext Markup Language
itemscope is a boolean global attribute that defines the scope of associated metadata.
... specifying the itemscope attribute for an element creates a new item, which results in a number of name-value pairs that are associated with the element.
...an itemscope element that does not have an associated itemtype must have an associated itemref.
Map - JavaScript
map.prototype.get(key) returns the value associated to the key, or undefined if there is none.
... map.prototype.has(key) returns a boolean asserting whether a value has been associated to the key in the map object or not.
... examples using the map object let mymap = new map() let keystring = 'a string' let keyobj = {} let keyfunc = function() {} // setting the values mymap.set(keystring, "value associated with 'a string'") mymap.set(keyobj, 'value associated with keyobj') mymap.set(keyfunc, 'value associated with keyfunc') mymap.size // 3 // getting the values mymap.get(keystring) // "value associated with 'a string'" mymap.get(keyobj) // "value associated with keyobj" mymap.get(keyfunc) // "value associated with keyfunc" mymap.get('a string') // "value associated...
WeakMap - JavaScript
instance methods weakmap.prototype.delete(key) removes any value associated to the key.
... weakmap.prototype.get(key) returns the value associated to the key, or undefined if there is none.
... weakmap.prototype.has(key) returns a boolean asserting whether a value has been associated to the key in the weakmap object or not.
Image file type and format guide - Web media technologies
greyscale with alpha 4 and 8 alpha information is added by specifying that there are more than 3 samples per pixel in the samplesperpixel field, and indicating the type of alpha (1 for an associated, pre-multiplied alpha component, and 2 for unassociated alpha (a separate matte); however, alpha channels are rarely used in tiff files and may be unsupported by the user's software.
... true color with alpha 8 alpha information is added by specifying that there are more than 3 samples per pixel in the samplesperpixel field, and indicating the type of alpha (1 for an associated, pre-multiplied alpha component, and 2 for unassociated alpha (a separate matte); however, alpha channels are rarely used in tiff files and may be unsupported by the user's software.
... licensing no license required (aside from any associated with libraries you might use); all known patents have expired.
mimeTypes.rdf corruption - SVG: Scalable Vector Graphics
first, certain actions can cause the media types cache in mimetypes.rdf to associate a filename extension with the wrong media type.
... second, certain actions may cause the os to associate a filename extension with the wrong media type.
...this will set up the os to associate the .svg filename extension with the incorrect media type "image/svg-xml" instead of "image/svg+xml".
Contributor's Guide - Archive of obsolete content
content processes a content process was supposed to run all the code associated with a single tab.
... conversely, an add-on process was supposed to run all the code associated with a single add-on.
page-mod - Archive of obsolete content
mapping workers to tabs the worker has a tab property which returns the tab associated with this worker.
... you can use this to access the tabs api for the tab associated with a specific document: var pagemod = require("sdk/page-mod"); var tabs = require("sdk/tabs"); pagemod.pagemod({ include: ["*"], onattach: function onattach(worker) { console.log(worker.tab.title); } }); destroying workers workers generate a detach event when their associated document is closed: that is, when the tab is closed or when the associated window's unload event occurs.
panel - Archive of obsolete content
however, doing this will cause any content scripts to be unloaded and then reloaded, so it may be less efficient, and you'll lose any state associated with the scripts.
... message if you listen to this event you can receive message events from content scripts associated with this panel.
self - Archive of obsolete content
globals properties uri this property represents an add-on associated unique uri string.
...while not generally of use to add-on code directly, it can be used by internal api code to index local storage and other resources that are associated with a particular add-on.
content/worker - Archive of obsolete content
events message this event allows the content worker to receive messages from its associated content scripts.
... detach this event is emitted when the document associated with this worker is unloaded or the worker's destroy() method is called.
ui/button/action - Archive of obsolete content
button.state("window", { "label" : "window-specific label" }); you can change its label for only the currently active tab like this: button.state("tab", { "label" : "tab-specific label" }); to fetch the button state for a specific window or tab, call state(), passing it the window or tab you're interested in, and it will return a state object containing all the properties for the button associated with that window or tab.
...this logs the state for the button associated with the currently active tab: console.log(button.state("tab")); this object represents a snapshot of the state at the time state() is called.
ui/button/toggle - Archive of obsolete content
"label" : "window-specific label" }); you can change its label for only the currently active tab like this: button.state("tab", { "label" : "tab-specific label" }); to fetch the button state for a specific window or tab, call state(), passing it the window or tab you're interested in, and it will return a state object containing the id, label, icon, and disabled properties for the button associated with that window or tab.
...this logs the state for the button associated with the currently active tab: console.log(button.state("tab")); this object represents a snapshot of the state at the time state() is called.
Rosetta - Archive of obsolete content
let us call this function createecmasrc() and let us associate it with the c mime types: rosetta_c.js: a c compiler /* c compiler for rosetta */ (function () { if (!window.rosetta) { return; } /* this function takes as argument a plain text (in this case, a code written in c) and returns another plain text written in ecmascript */ function createecmasrc (scsrc) { /* this is just an empty example...
... mime types here is a short list of the mime types associated to some programming languages: language mime type bash text/x-shellscript java text/x-java-source c text/x-c, text/x-csrc c++ text/x-c++, text/x-c++src python text/x-python there are no limitations to the mime types that can be used for the type attribute of the <script> element.
Appendix D: Loading Scripts - Archive of obsolete content
additionally, any properties of the target object are available as variables in the script's global namespace, along with as any properties of the global associated with the target object.
... these scripts execute with the same privileges and restrictions of the global associated with the target object, and this method can therefore also be used when with sandbox objects with the same effect as evalinsandbox and into content windows with the same effect as injecting script tags into their documents.
Observer Notifications - Archive of obsolete content
* @param asubject the nsisupports object associated with the notification.
... * @param adata the additional string associated with the notification.
importUserCertificates - Archive of obsolete content
however, if this certificate has the same dn as one or more certificates that already exist in the user's certificate store, the nickname associated with the certificate(s) of the same dn in the certificate store is used, and the <tt>"nicknamestring"</tt> parameter is ignored.
...the request id in the response being imported must match the request id in the associated certification request or recovery request.
Menu - Archive of obsolete content
ArchiveMozillaJetpackUIMenu
two namespaces are associated with this api: jetpack.menu, which provides access to the browser's menus, and jetpack.menu, the constructor for making new menus.
... data string an arbitrary string that the feature may associate with the menuitem.
Modularization techniques - Archive of obsolete content
a foo class will typically have a foofactory associated with it.
...a dll that contains a factory need to define one or two exported functions: // returns the factory associated with the given class id extern "c" ns_export nsresult nsgetfactory(const nscid &acid, nsifactory **afactory); // returns whether the dll can be unloaded now.
Mozilla Crypto FAQ - Archive of obsolete content
specific questions about licensing of the psm and nss source code should be directed to the netscape.public.mozilla.license newsgroup or the associated mozilla-license mailing list.
...based on statements made in various internet forums it appears that the developers of gnu privacy guard may create a plugin module to support invocation of gnupg functionality from mozilla; network associates may also create a commercial pgp plugin for mozilla.
Installer - Archive of obsolete content
the installer should configure the os to associate *.webapp files with prism.
... current windows and mac installs automatically associate *.webapp with prism.
control - Archive of obsolete content
« xul reference home control type: id this attribute specifies the id of the element with which the label is associated.
... when the user clicks on the label, the associated element is given focus.
value - Archive of obsolete content
« xul reference home value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
Index - Archive of obsolete content
ArchiveMozillaXULIndex
if the user clicks the label, it will move the focus to the associated control, specified with the control attribute.
...the user may click a tab to bring the associated page of the tabbox to the front.
Introduction to XUL - Archive of obsolete content
these elements are widgets and certain infrastructure associated with the behaviour of the window, explained below.
... since xml has no implicit display semantics, there must always be associated stylesheets.
MenuButtons - Archive of obsolete content
in the example below a toolbarbutton with an image has a menu associated with it.
...however, we can associate a different command with the items on the submenu.
MenuModification - Archive of obsolete content
adding items to a menu the appenditem method may be used to append a new item to the end of the popup associated with a menu.
...the first argument to appenditem is the label of the menuitem, and the second argument is a value to associate with the item.
Panels - Archive of obsolete content
<?xml-stylesheet href="chrome://global/skin" type="text/css"?> <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <button label="details" type="panel"> <panel id="search-panel"> <label control="name" value="name:"/> <textbox id="name"/> </panel> </button> </window> many panels will be associated with a button, as in this example.
...when you want to associate a panel with a button, place the <panel> element directly inside the button element.
Positioning - Archive of obsolete content
default positioning of popups a top level menu popup is, by default, placed with the upper edge of the popup flush with the lower edge of the menu or button it is associated with.
... the position attribute can be specified either as a single word offering pre-defined alignment positions, or as 2 words specifying exactly which part of the popup and associated element should be aligned.
Tooltips - Archive of obsolete content
however, the close button does not have a tooltip associated with it, yet the parent toolbar does.
...a button is associated with the tooltip using the tooltip attribute.
labelElement - Archive of obsolete content
« xul reference labelelement type: label element the label element associated with the control.
...this property will be null when no label is associated with the control.
Building Trees - Archive of obsolete content
thus, the value attribute may be useful to associate an additional value with a row since it will be easier to retrieve.
...this example sets the country associated with a photo as a property of a tree’s rows.
Template Builder Interface - Archive of obsolete content
the builder associated with an element is accessible via the element's 'builder' property both for content builders and for tree builders.
...the rdf datasource associated with the template can be retrieved using the element's 'database' property.
Adding Style Sheets - Archive of obsolete content
in general, you will associate a single style sheet with each xul file.
...the global style sheet can be imported from within the style sheet associated with the xul file.
Box Objects - Archive of obsolete content
various pieces of information are used such as the tag name, the attributes on an element, various css properties, the elements and layout objects around the element, and the xbl associated with an element (xbl is described in a later section).
...the layout object associated with an element can be removed and a completely different type of object created just by changing the css display property, among others.
Introduction to RDF - Archive of obsolete content
a bookmarks list contains a set of records, each with a set of data associated with it, such as a url, a bookmark title and a visited date.
...each of the fields in an rdf database is a resource, each with a name associated with it.
Introduction to XBL - Archive of obsolete content
by assigning a class to a box tag, you can associate a binding to only those boxes that belong to that class.
...the style sheet associated with the file says that boxes with the class okcancelbuttons have a specialized binding, defined in the xbl file.
Manipulating Lists - Archive of obsolete content
the value is used only as an extra optional value associated with an item which you might wish to use in a script.
...or, use the selectedpanel property to get the selected panel, that is, return the content associated with the tab.
Simple Menu Bars - Archive of obsolete content
there are five elements associated with creating a menu bar and its menus, which are explained briefly here and in detail afterwards: menubar the container for the row of menus.
...it does not associate a key action with the menuitem however.
description - Archive of obsolete content
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
listbox - Archive of obsolete content
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
listitem - Archive of obsolete content
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
menu - Archive of obsolete content
ArchiveMozillaXULmenu
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
notification - Archive of obsolete content
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
prefpane - Archive of obsolete content
</prefpane> attributes helpuri type: uri the uri of the help page associated with a preference panel.
... void userchangedvalue(in domelement element); the user changed the value in a widget that the preferences system does not automatically track state changes for (1) and the preference element associated with the widget should be updated based on the state held by the widget.
radio - Archive of obsolete content
ArchiveMozillaXULradio
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
radiogroup - Archive of obsolete content
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
richlistbox - Archive of obsolete content
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
richlistitem - Archive of obsolete content
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
scale - Archive of obsolete content
ArchiveMozillaXULscale
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
toolbox - Archive of obsolete content
you can associate an external toolbar with a toolbox for the purpose of managing your toolbars by setting the toolboxid property on the toolbar.
... the external toolbars associated with a toolbox are listed in the array of elements provided by the toolbox's externaltoolbars property.
treecell - Archive of obsolete content
value type: string the string attribute allows you to associate a data value with an element.
...be aware, however, that some elements, such as textbox will display the value visually, so in order to merely associate data with an element, you could 1) use another attribute like "value2" or "data-myatt" (as in the html5 draft), as xul does not require validation (less future-proof); 2) use setattributens() to put custom attributes in a non-xul namespace (serializable and future-proof); 3) use setuserdata() (future-proof and clean, but not easily serializable).
Archived Mozilla and build documentation - Archive of obsolete content
there is, however, no practical obstacle to the interface being implemented by any javascript object associated with a group of dom nodes, even non-anonymous xul nodes.
... space manager high level design the space manager and associated classes and structures are used by block and line layout to manage rectangular regions that are occupied and available, for correct handling of floated elements and the elements that flow around them.
NPN_SetValueForURL - Archive of obsolete content
« gecko plugin api reference « browser side plug-in api summary allows a plugin to change the stored information associated with a url, in particular its cookies.
... value the new associated information for the url.
NPP - Archive of obsolete content
syntax typedef struct _npp { void* pdata; /* plug-in private data */ void* ndata; /* mozilla private data */ } npp_t; typedef npp_t* npp; fields the data structure has the following fields: pdata a value, whose definition is up to the plug-in, that the plug-in can use to store a pointer to an internal data structure associated with the instance; this field isn't modified by the browser.
... ndata a private value, owned by the browser, which is used to store data associated with the instance; this value should not be modified by the plug-in.
NPStream - Archive of obsolete content
yntax typedef struct _npstream { void* pdata; /* plug-in private data */ void* ndata; /* netscape private data */ const char* url; uint32 end; uint32 lastmodified; void* notifydata; const char *headers; } npstream; fields the data structure has the following fields: plug-in-private value that the plug-in can use to store a pointer to private data associated with the instance; not modified by the browser.
... ndata browser-private value that can store data associated with the instance; should not be modified by the plug-in.
NPAPI plugin reference - Archive of obsolete content
npn_getvalueforurl provides information to a plugin which is associated with a given url, for example the cookies or preferred proxy.
... npn_setvalueforurl allows a plugin to change the stored information associated with a url, in particular its cookies.
Introduction to Public-Key Cryptography - Archive of obsolete content
icates certificates and authentication a certificate identifies someone or something authentication confirms an identity how certificates are used contents of a certificate how ca certificates are used to establish trust a certificate identifies someone or something a certificate is an electronic document used to identify an individual, a server, a company, or some other entity and to associate that identity with a public key.
...for the purposes of this discussion, the digital signature associated with some data can be thought of as evidence provided by the client to the server.
Introduction to SSL - Archive of obsolete content
only the corresponding private key can correctly decrypt the secret, so the client has some assurance that the identity associated with the public key is in fact the server with which the client is connected.
...this provides additional assurance that the identity associated with the public key in the server's certificate is in fact the server with which the client is connected.
Debug.msTraceAsyncCallbackStarting - Archive of obsolete content
the debug.mstraceasynccallbackstarting function associates the callback stack with a previously specified asynchronous operation.
... syntax debug.mstraceasynccallbackstarting(asyncoperationid) parameters asyncoperationid the id associated with the asynchronous operation.
Debug.msUpdateAsyncCallbackRelation - Archive of obsolete content
the debug.msupdateasynccallbackrelation function updates the relationship status between a synchronous work item and the associated asynchronous operation.
... syntax debug.msupdateasynccallbackrelation(relatedasyncoperationid, relationtype) parameters relatedasyncoperationid the id associated with the asynchronous operation.
Error.description - Archive of obsolete content
the error.description property returns or sets the descriptive string associated with a specific error.
... remarks the description property contains the error message string associated with a specific error.
Audio for Web games - Game development
all this is possible using the standard <audio> element and associated htmlmediaelement api, but it becomes much easier and more flexible with the more advanced web audio api.
... element and associated htmlmediaelement api, but it becomes much easier and more flexible with the more advanced web audio api.
Plug-in Development Overview - Gecko Plugin API Reference
a stream is associated with a specific instance of a plug-in, but a plug-in can have more than one stream per instance.
...each stream has an associated mime type identifying the format of the data in the stream.
DNS - MDN Web Docs Glossary: Definitions of Web-related terms
dns maintains a list of domain names along with the resources, such as ip addresses, that are associated with them.
...by contrast, a reverse dns lookup (rdns) is used to determine the domain name associated with an ip address.
Port - MDN Web Docs Glossary: Definitions of Web-related terms
ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.
...each internet protocol is associated with a default port: smtp (25), pop3 (110), imap (143), irc (194), and so on.
Property - MDN Web Docs Glossary: Definitions of Web-related terms
it may refer to: property (css) a css property is a characteristic (like color) whose associated value defines one aspect of how the browser should display the element.
... property (javascript) a javascript property is a characteristic of an object, often describing attributes associated with a data structure.
Assessment: Accessibility troubleshooting - Learn web development
the two <input> elements in the comment form have visible text labels, but they are not unambiguously associated with their labels — how do you achieve this?
... the table the data table is not currently very accessible — it is hard for screenreader users to associate data rows and columns together, and the table also has no kind of summary to make it clear what it shows.
CSS and JavaScript accessibility best practices - Learn web development
abbreviations an element that allows an abbreviation, acronym, or initialization to be associated with its expansion: <p>web content is marked up using <abbr title="hypertext markup language">html</abbr>.</p> again, you might want to style it in some simple way: abbr { color: #a60000; } the recognised styling convention for abbreviations is a dotted underline, and it is unwise to significantly deviate from this.
...this has all kinds of accessibility and other issues associated with it, so it is not advised.
Mobile accessibility - Learn web development
to recap, these cause accessibility issues because other control mechanisms can't activate the associated functionality.
... as an example, the click event is good in terms of accessibility — an associated event handler can be invoked by clicking the element the handler is set on, tabbing to it and pressing enter/return, or tapping it on a touchscreen device.
Test your skills: HTML accessibility - Learn web development
you need to: semantically associate the input with their labels.
... assume that these inputs will be part of a larger form, and wrap them in an element that associates them all together as a single related group.
Advanced form styling - Learn web development
date input types the date/time input types (datetime-local, time, week, month) all have the same major associated issue.
... one way around this is to take advantage of the fact that if you have a label associated with a form control, clicking the label will activate the control.
UI pseudo-classes - Learn web development
second, the standard convention on the web for required status is an asterisk (*), or the word "required" being associated with the controls in question.
...[i].disabled = !billingitems[i].disabled; if(billinglabels[i].getattribute('class') === 'billing-label disabled-label') { billinglabels[i].setattribute('class', 'billing-label'); } else { billinglabels[i].setattribute('class', 'billing-label disabled-label'); } } } it uses the change event to let the user enable/disable the billing fields, and toggle the styling of the associated labels.
Your first form - Learn web development
note the use of the for attribute on all <label> elements, which takes as its value the id of the form control with which it is associated — this is how you associate a form control with its label.
... there is great benefit to doing this — it associates the label with the form control, enabling mouse, trackpad, and touch device users to click on the label to activate the corresponding control, and it also provides an accessible name for screen readers to read out to their users.
Web forms — Working with user data - Learn web development
other form controls next we take a look at all the non-<input> form controls and associated tools, such as <select>, <textarea>, <meter>, and <progress>.
...we also look at some of the security concerns associated with sending form data.
Define terms with HTML - Learn web development
dictionaries and glossaries formally associate keywords with one or more descriptions, as in this case: blue (adjective) of a color like the sky in a sunny day.
...if you want a more formal relationship, or your definition consists of only one sentence rather than the whole paragraph, you can use the aria-describedby attribute to associate a term more formally with its definition: <p> <span id="ff"> <dfn aria-describedby="ff">firefox</dfn> is the web browser created by the mozilla foundation.
Using data attributes - Learn web development
html5 is designed with extensibility in mind for data that should be associated with a particular element but need not have any defined meaning.
... that said, though, for custom element-associated metadata, they are a great solution.
HTML text fundamentals - Learn web development
the elements we've discussed so far have clearcut associated semantics.
... a kind warning about underline: people strongly associate underlining with hyperlinks.
Third-party APIs - Learn web development
} ) to loop through all the keywords associated with each article, and insert each one inside its own <span>, inside a <p>.
...}) to check whether each article has any images associated with it (some stories don't.) we display the first image only if it exists (otherwise an error would be thrown).
Properly configuring server MIME types - Learn web development
if the media type is displayed using a plug-in in netscape gecko, install the plug-in and then look in the help->about plug-ins menu to see what mime types are associated with the media type.
... search for the file extension in filext or file extensions reference to see what mime types are associated with that extension.
Website security - Learn web development
if a user clicks the submit button, an http post request will be sent to the server containing the transaction details and any client-side cookies that the browser associated with the site (adding associated site cookies to requests is normal browser behavior).
...the browser of the user stores this information and automatically includes it in all requests to the associated server.
Focus management with Vue refs - Learn web development
update it like this: <button type="button" class="btn" ref="editbutton" @click="toggletoitemeditform"> edit <span class="visually-hidden">{{label}}</span> </button> to access the value associated with our ref, we use the $refs property provided on our component instance.
... we're already tracking the number of elements in our list heading — the <h2> in app.vue — and it's associated with our list of to-do items.
Accessibility API cross-reference
option a tree with expandable & collapseable elements outline tree tree tree a tree item outlineitem n/a n/a treeitem a tab in a tab panel ui (but is this the actual 'tab' that sticks out, or the panel associated with it?) pagetab page_tab page_tab tab the container of the page tab controls.
... structure (abstract role) represents an entire table table table table table <table> a container for the resources associated with a tab, where each tab is contained in a tablist.
A bird's-eye view of the Mozilla framework
user interface (ui) widgets and services the x window system toolkit defines the termwidget as a pre-defined object that encapsulates both the command actions and data associated with a graphical user interface (gui) control.
...a xul package consists of a xul description of the ui widget cascading style sheets customizing appearance javascript services implementing the ui behavior a package (also known as chrome) is really just a bundling of a set of ui widgets and associated services implementing a particular application feature.
Promise.jsm
a fulfillment value becomes permanently associated with the promise.
...a rejection reason becomes permanently associated with the promise.
Task.jsm
method overview function async(atask); promise spawn(atask); properties attribute type description result read only constructor constructs a special exception that, when thrown inside a legacy generator function, allows the associated task to be resolved with a specific value.
... promise spawn( atask ); parameters atask this parameter accepts different data types: if you specify a generator function, it is called with no arguments to retrieve the associated iterator.
Translation phase
here we'll identify those groups of projects and the l10n tools associated with them.
...below you'll find the list of all mozilla projects, their associated l10n tools, and links to tutorials outlining their workflows.
Profile Manager
the default property indicates that this version of firefox will be used with profiles that don't have a specific application version associated with them.
... delete - deletes the profile, and all files associated with it.
Named Shared Memory
after you call pr_deletesharedmemory, any further use of the shared memory associated with the name may cause unpredictable results.
...on windows, the name is significant, but there is no file associated with the name.
PRDescIdentity
identities are allocated by the runtime and are to be associated (by the layer implementor) with all file descriptors of that layer.
...a string may be associated with a layer when the layer is created.
PRIOMethods
bind associate a network address with the file descriptor.
... getsockname get network address associated with a file descriptor.
PR_CExitMonitor
decrement the entry count associated with a cached monitor.
... description using the value specified in the address parameter to find a monitor in the monitor cache, pr_cexitmonitor decrements the entry count associated with the monitor.
PR_NotifyCondVar
notifies a condition variable of a change in its associated monitored data.
... if unsuccessful (for example, if the caller has not locked the lock associated with the condition variable), pr_failure.
PR_SetErrorText
sets the text associated with an error.
... text the text to associate with the error.
PR_SetThreadPrivate
description if the thread already has non-null private data associated with it, and if the destructor function for the index is known (not null), nspr calls the destructor function associated with the index before setting the new data value.
...on return, the private data associated with the index is reassigned the new private data's value, even if it is null.
PR_WaitCondVar
if unsuccessful (for example, if the caller has not locked the lock associated with the condition variable or the thread was interrupted with pr_interrupt), pr_failure.
... description before the call to pr_waitcondvar, the lock associated with the condition variable must be held by the calling thread.
NSS PKCS11 Functions
pk11_findkeybyanycert finds the private key associated with a specified certificate in any available slot.
...for example, mozilla uses the parameter to pass information about which window is associated with the modal dialog box requesting the password from the user.
Python binding for NSS
every module, class, function, and method has associated documentation and is exposed via the standard python methodology.
... nsprerror now derived from standardexception, provides: errno (numeric error code) strerror (error description associated with error code) error_message (optional detailed message) error_code (alias for errno) error_desc (alias for strerror) certverifyerror derived from nsprerror, extends with: usages (bitmask of returned usages) log (certverifylog object) expose error lookup to sibling modules ...
NSS tools : modutil
the tasks associated with security module database management are part of a process that typically also involves managing key databases and certificate databases.
... modutil -list [modulename] -dbdir [sql:]directory listing the modules shows the module name, their status, and other associated security databases for certificates and keys.
pkfnc.html
pk11_findkeybyanycert finds the private key associated with a specified certificate in any available slot.
...for example, communicator uses the parameter to pass information about which window is associated with the modal dialog box requesting the password from the user.
sslerr.html
possible causes include: (a) both ssl2 and ssl3 are disabled, (b) all the individual ssl cipher suites are disabled, or (c) the socket is configured to handshake as a server, but the certificate associated with that socket is inappropriate for the key exchange algorithm selected.
... ssl_error_no_ciphers_supported -12265 "no cipher suites are present and enabled in this program." possible causes: (a) all cipher suites have been configured to be disabled, (b) the only cipher suites that are configured to be enabled are those that are disallowed by cipher export policy, (c) the socket is configured to handshake as a server, but the certificate associated with that socket is inappropriate for the key exchange algorithm selected.
NSS tools : modutil
MozillaProjectsNSStoolsmodutil
the tasks associated with security module database management are part of a process that typically also involves managing key databases and certificate databases.
... modutil -list [modulename] -dbdir [sql:]directory listing the modules shows the module name, their status, and other associated security databases for certificates and keys.
The JavaScript Runtime
contexts and threads every thread that executes javascript must have an associated context.
... multiple threads (with multiple associated contexts) may act upon the same set of objects.
Scripting Java
behind the scenes, rhino generates the bytecode for a new java class that implements runnable and forwards all calls to its run method over to an associated javascript object.
...to create an array of five java strings you would make the following call: js> a = java.lang.reflect.array.newinstance(java.lang.string, 5); [ljava.lang.string;@7ffe01 to create an array of primitive types, we must use the special type field defined in the associated object class in the java.lang package.
JSFUN_BOUND_METHOD
flag that indicates a function nominally associated with an object is bound, instead, to that object's parent.
...jsfun_bound_method is a flag that indicates a method associated with an object is bound to the method's parent, the object on which the method is called.
JSObjectPrincipalsFinder
the callback returns a pointer to the principals associated with obj, possibly via the immutable parent chain leading from obj to a top-level container (such as a window object in the dom).
... if there are no principals associated with obj, return null.
JS_AddArgumentFormatter
js_removeargumentformatter removes any conversion functions associated with format.
... format const char * the tail of the format string whose prefix is associated with this formatting function.
JS_AliasElement
description js_aliaselement assigns an alternate index number for an element or numeric property associated with a native object.
...if the alias is successfully created and associated with the property, js_aliaselement returns js_true.
JS_AliasProperty
description js_aliasproperty assigns an alternate name for a property associated with a native object.
...if the alias is successfully created and associated with the property, js_aliasproperty returns js_true.
JS_CompileFunction
obj jsobject * object with which the function is associated.
... description js_compilefunction compiles a function from a text string, bytes, and optionally associates it with a js object, obj.
JS_ContextIterator
cycles through the js contexts associated with a particular jsruntime.
... description js_contextiterator steps through the set of contexts associated with the runtime rt.
JS_DumpHeap
every jscontext is permanently associated with a jsruntime; each jsruntime contains a gc heap.
... jstrace_shape = 0x04, // the kind associated with a nullptr.
JS_GetRuntime
description js_getruntime retrieves a pointer to the jsruntime with which a specified jscontext, cx, is associated.
... each context is associated with a particular jsruntime when it is created (see js_newcontext); js_getruntime provides a convenient, programmatic way to look up the association.
JS_NewContext
before a jsruntime may be destroyed, all the jscontexts associated with it must be destroyed.
... the new jscontext is associated with the calling thread.
JS_NewScriptObject
description js_newscriptobject returns the script object associated with the given jsscript.
... every jsscript object has an associated jsobject script object.
JS_ShutDown
free all resources used by the js engine, not associated with specific runtimes.
... syntax void js_shutdown(void); description destroys all free-standing resources allocated by spidermonkey, not associated with any jsruntime, jscontext, or other structure.
Handling Mozilla Security Bugs
other participants besides the permanent security bug group members described above, there are two other categories of people who may participate in security bug group activities and have access to otherwise-confidential security bug reports: a person who reports a security bug will have continued access to all bugzilla activities associated with that bug, even if the bug is marked "security-sensitive." any other persons may be given access to a particular security bug, by someone else (who does have access) adding them to the cc list for that bug.
... when a bug is put into the security bug group, the group members, bug reporter, and others associated with the bug will decide by consensus, either through comments on the bug or the group mailing list, whether an immediate warning to users is appropriate and how it should be worded.
Using the Places history service
nsibrowserhistory.removepagesfromhost: called from the ui when the user deletes a group associated with a host or domain.
... nsinavhistoryservice.setpagedetails: used to set all of the global bits associated with a url.
IAccessibleAction
each action can be performed or queried for a name, description or associated key bindings.
...keybinding() returns an array of bstrs describing one or more key bindings, if there are any, associated with the specified action.
IAccessibleHypertext
hyperlinkindex() returns the index of the hyperlink that is associated with this character index.
...hyperlinkindex the 0 based index of the hyperlink that is associated with this character index, or -1 if charindex is not on a link.
nsIAccessNode
note: renamed from accessibledocument in gecko 2.0 domnode node the dom node this nsiaccessnode is associated with.
... getcomputedstylecssvalue() retrieve the computed style value as nsidomcssprimitivevalue for the dom node this access node is associated with.
nsIAppShellService
void createhiddenwindow( in nsiappshell aappshell ); parameters aappshell a widget "appshell" (event processor) to associate with the new window.
... aappshell a widget "appshell" (event processor) to associate with the new window.
nsIApplicationCacheContainer
netwerk/base/public/nsiapplicationcachecontainer.idlscriptable this interface is used by objects that can be associated with an application cache.
... 1.0 66 introduced gecko 1.9.1 inherits from: nsisupports last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) attributes attribute type description applicationcache nsiapplicationcache the application cache with which the object is associated.
nsIApplicationCacheNamespace
method overview void init(in unsigned long itemtype, in acstring namespacespec, in acstring data); attributes attribute type description data acstring data associated with the namespace, such as a fallback.
... data the data to associate with the namespace.
nsIChannel
contentlength int64_t the length of the data associated with the channel if available.
... implementations are allowed to synchronously add themselves to the associated load group (if any).
nsIDOMStorage2
if the key does not already exist, a new key is added, associated with the specified value.
...data the data to associate with the specified key.
nsIFaviconDataCallback
void oncomplete( in nsiuri auri, in unsigned long adatalen, [const,array,size_is(adatalen)] in octet adata, in autf8string amimetype ); parameters auri receives the "favicon uri" (not the "favicon link uri") associated to the requested page.
... this can be null if there is no associated favicon uri, or the callback is notifying a failure.
nsINavHistoryResultNode
propertybag nsiwritablepropertybag you can use this to associate temporary information with the result node.
... this property bag is associated with the result node and is not persisted in any way.
nsIPluginHost
native code only!getplugintagforinstance get the plugin tag associated with a given plugin instance.
...nstance( in string amimetype, in nsiuri aurl, in nsiplugininstanceowner aowner ); parameters amimetype aurl aowner native code only!stopplugininstance void stopplugininstance( in nsiplugininstance ainstance ); parameters ainstance native code only!useragent void useragent( in nativechar resultingagentstring ); parameters examples list all plug-ins and associated mime types and get handler info this example here logs to browser console all the installed plug-ins and the associated mime types.
nsIProtocolProxyService
aflags flags associated with this connection.
...each proxy filter is registered with an associated position that determines the order in which the filters are applied (starting from position 0).
nsISessionStore
forgetclosedtab() nsidomnode forgetclosedtab( in nsidomwindow awindow, in unsigned long aindex ); parameters awindow is the browser window associated with the closed tab.
... getwindowvalue() returns the string value associated with a given key for a window.
nsISocketProvider
asecurityinfo any security info that should be associated with afiledesc.
... asecurityinfo any security info that should be associated with afiledesc.
nsITextInputProcessor
if no other instance is composing on the window, this associates the instance with the window and registers the callback to the instance.
...if no other instance is composing on the window, this associates the instance with the window and registers the callback to the instance if it's specified.
nsITreeContentView
obsolete since gecko 1.8 methods getindexofitem() retrieve the index associated with the specified content item.
...getitematindex() retrieve the content item associated with the specified index.
nsIXPConnect
this method now correctly deals with cases where the passed in jsobject already has an associated xpcom interface for the cases: 1) the jsobject has already been wrapped as an nsixpconnectwrappedjs.
... this method now correctly deals with cases where the passed in xpcom object already has an associated jsobject for the cases: 1) the xpcom object has already been wrapped for use in the same scope as an nsixpconnectwrappednative.
nsIXULTemplateBuilder
the builder will apply the rules associated with the query to the new result, unless a result with the same id from an earlier query supersedes it, and the result's rulematched() method will be called if it matches.
...only one such result is returned and is always the result with that id associated with the active match.
nsIAbCard/Thunderbird3
ismaillist boolean if ismaillist is true then maillisturi will contain the uri of the associated mail list.
... maillisturi string if ismaillist is true then maillisturi will contain the uri of the associated mail list.
XUL Overlays
MozillaTechXULOverlays
the layout engine loads any overlay files and then flows the resulting xul document, so problems associated with incremental insertion in menus, boxes, tables, and forms are avoided.
...when a component such as the "super stream player" from the examples above is registered there, overlays associated with that component are loaded automatically.
Demo Addon
it lists all your email accounts with their account type - either pop3 or imap - and the associated email addresses.
... because an account can have multiple identities of type nsimsgidentity and therefore multiple associated email addresses, with use fixiterator() again to go over all identities and get every email address.
Activity Manager examples
nitiator has some way to cancel // the junk processing for given folder if (initiator.cancelfolderop(folder)) { aactivity.state = components.interfaces.nsiactivityprocess.state_canceled; gactivitymanager.removeactivity(aactivity.id); return cr.ns_success; } } return cr.ns_failure; } } // step 2: modify the previous sample to add initiator, subject // and associate a nsiactivitycancelhandler component ...
...we want to // associate it with the event since we are going to use it in the // undo handler.
Using the Multiple Accounts API
account manager pref: mail.accountmanager.accounts account preference: mail.account.account.server idl: nsimsgaccount.incomingserver the incoming server associated with this account.
... preference: mail.account.account.identities idl: nsimsgaccount.identities the list of identites associated with this account.
Browser Side Plug-in API - Plugins
npn_getvalueforurl provides information to a plug-in which is associated with a given url, for example the cookies or preferred proxy.
... npn_setvalueforurl allows a plug-in to change the stored information associated with a url, in particular its cookies.
Drawing and Event Handling - Plugins
if either window or window->window is null, the plug-in must not perform any additional graphics operations on the window and should free any associated resources.
...instead, the windowed plug-in draws into the graphics port associated with the browser window, at the offset that the browser specifies.
Plug-in Basics - Plugins
-ins that can: register one or more mime types draw into a part of a browser window receive keyboard and mouse events obtain data from the network using urls post data to urls add hyperlinks or hotspots that link to new urls draw into sections on an html page communicate with javascript/dom from native code you can see which plug-ins are installed on your system and have been properly associated with the browser by consulting the installed plug-ins page.
... understanding the runtime model plug-ins are dynamic code modules that are associated with one or more mime types.
Plug-in Development Overview - Plugins
a stream is associated with a specific instance of a plug-in, but a plug-in can have more than one stream per instance.
...each stream has an associated mime type identifying the format of the data in the stream.
URLs - Plugins
plug-ins can request and receive the data associated with urls of any type that the browser can handle, including http, ftp, news, mailto, and gopher.
...the notifydata parameter contains private plug-in data that can be used to associate the request with the subsequent npp_urlnotify call (which returns this value) and/or to pass a pointer to some request-related payload.
Gecko Plugin API Reference - Plugins
npn_getvalueforurl provides information to a plug-in which is associated with a given url, for example the cookies or preferred proxy.
... npn_setvalueforurl allows a plug-in to change the stored information associated with a url, in particular its cookies.
Set a conditional breakpoint - Firefox Developer Tools
a normal breakpoint is just associated with a line: when the program reaches that line, the debugger pauses.
... a conditional breakpoint also has a condition associated with it, which is represented as an expression.
Debugger.Environment - Firefox Developer Tools
each debugger.frame instance representing a debuggee frame has an associated environment object describing the variables in scope in that frame; and each debugger.object instance representing a debuggee function has an environment object representing the environment the function has closed over.
...we say an environmentbinds an identifier if that environment itself associates the identifier with a variable, independently of its outer environments.
Network request details - Firefox Developer Tools
(see referrer-policy for a description of possible values) blocking: if the request is to a site that is associated with a known tracker, an icon and a message are shown; otherwise, this field is not shown.
...if the response is html, js, or css, it will be shown as text: if the response is json, it will be shown as an inspectable object: if the response is an image, the tab displays a preview: for network responses that are initiated by a websocket connection, the details pane shows any associated messages.
Network request list - Firefox Developer Tools
cookies: the number of request cookies associated to the request.
... set-cookies: the number of response cookies associated to the request.
Responsive Design Mode - Firefox Developer Tools
the set of devices, and the values associated with each device, are taken from https://github.com/mozilla/simulated-devices.
... the characteristics emulated are: download speed upload speed minimum latency the table below lists the numbers associated with each network type, but please do not rely on this feature for exact performance measurements; it's intended to give an approximate idea of the user experience in different conditions.
AbortController.AbortController() - Web APIs
we first create a controller using the abortcontroller() constructor, then grab a reference to its associated abortsignal object using the abortcontroller.signal property.
...this associates the signal and controller with the fetch request and allows us to abort it by calling abortcontroller.abort(), as seen below in the second event listener.
AbortController.abort() - Web APIs
we first create a controller using the abortcontroller() constructor, then grab a reference to its associated abortsignal object using the abortcontroller.signal property.
...this associates the signal and controller with the fetch request and allows us to abort it by calling abortcontroller.abort(), as seen below in the second event listener.
AbortController.signal - Web APIs
we first create a controller using the abortcontroller() constructor, then grab a reference to its associated abortsignal object using the abortcontroller.signal property.
...this associates the signal and controller with the fetch request and allows us to abort it by calling abortcontroller.abort(), as seen below in the second event listener.
AbortController - Web APIs
we first create a controller using the abortcontroller() constructor, then grab a reference to its associated abortsignal object using the abortcontroller.signal property.
...this associates the signal and controller with the fetch request and allows us to abort it by calling abortcontroller.abort(), as seen below in the second event listener.
AbortSignal - Web APIs
we first create a controller using the abortcontroller() constructor, then grab a reference to its associated abortsignal object using the abortcontroller.signal property.
...this associates the signal and controller with the fetch request and allows us to abort it by calling abortcontroller.abort(), as seen below in the second event listener.
Animation() - Web APIs
timeline optional specifies the timeline with which to associate the animation, as an object of a type based on the animationtimeline interface.
... currently the only timeline type available is documenttimeline, but in the future there my be timelines associated with gestures or scrolling, for example.
Animation - Web APIs
WebAPIAnimation
animation.effect gets and sets the animationeffectreadonly associated with this animation.
... animation.timeline gets or sets the timeline associated with this animation.
AnimationEvent.initAnimationEvent() - Web APIs
cancelablearg a boolean flag indicating if the event associated action can be avoided (true) or not (false).
... animationnamearg a domstring containing the value of the animation-name css property associated with the transition.
Attr - Web APIs
WebAPIAttr
the assumption was that since you get an attr object from an element, you should already know the associated element.
... schematypeinfo read only the type information associated with this attribute.
AudioWorkletNode() - Web APIs
syntax var node = new audioworkletnode(context, name); var node = new audioworkletnode(context, name, options); parameters context the baseaudiocontext instance this node will be associated with.
...the result of the structured clone algorithm applied to the object is also internally passed into the associated audioworkletprocessor() constructor — this allows custom initialization of an underlying user-defined audioworkletprocessor.
AudioWorkletProcessor.port - Web APIs
the read-only port property of the audioworkletprocessor interface returns the associated messageport.
... syntax audioworkletprocessorinstance.port; value the messageport object that is connecting the audioworkletprocessor and the associated audioworkletnode.
BlobEvent.BlobEvent() - Web APIs
the blobevent() constructor returns a newly created blobevent object with an associated blob.
... data is a blob associated with the event.
BlobEvent.data - Web APIs
WebAPIBlobEventdata
the blobevent.data read-only property represents a blob associated with the event.
... syntax associatedblob = blobevent.data specifications specification status comment mediastream recordingthe definition of 'blobevent.data' in that specification.
CSSNamespaceRule.prefix - Web APIs
the cssnamespacerule.prefix read-only property returns a domstring with the name of the prefix associated to this namespace.
... syntax var prefix = cssnamespacerule.prefix returns a domstring containing the prefix associated to this namespace.
CSSPageRule - Web APIs
it has the following specific properties: csspagerule.selectortext represents the text of the page selector associated with the at-rule.
... csspagerule.style read only returns the declaration block associated with the at-rule.
CSSStyleSheet - Web APIs
a stylesheet is associated with at most one document, which it applies to (unless disabled).
... a (possibly incomplete) list of ways a stylesheet can be associated with a document follows: reason for the style sheet to be associated with the document appears in document.
CanvasRenderingContext2D.canvas - Web APIs
the canvasrenderingcontext2d.canvas property, part of the canvas api, is a read-only reference to the htmlcanvaselement object that is associated with a given context.
... it might be null if there is no associated <canvas> element.
DOMException - Web APIs
domexception.message read only returns a domstring representing a message or description associated with the given error name.
... domexception.name read only returns a domstring that contains one of the strings associated with an error name.
DataTransfer.mozClearDataAt() - Web APIs
the datatransfer.mozcleardataat() method removes the data associated with the given format for an item at the specified index.
... if the format argument is not provided, then the data associated with all formats is removed.
Document.doctype - Web APIs
WebAPIDocumentdoctype
returns the document type declaration (dtd) associated with current document.
... example var doctypeobj = document.doctype; console.log( "doctypeobj.name: " + doctypeobj.name + "\n" + "doctypeobj.internalsubset: " + doctypeobj.internalsubset + "\n" + "doctypeobj.publicid: " + doctypeobj.publicid + "\n" + "doctypeobj.systemid: " + doctypeobj.systemid ); notes the property returns null if there is no dtd associated with the current document.
FormData - Web APIs
WebAPIFormData
formdata.get() returns the first value associated with a given key from within a formdata object.
... formdata.getall() returns an array of all the values associated with a given key from within a formdata.
HTMLButtonElement.labels - Web APIs
the htmlbuttonelement.labels read-only property returns a nodelist of the <label> elements associated with the <button> element.
... syntax var labelelements = button.labels; return value a nodelist containing the <label> elements associated with the <button> element.
HTMLButtonElement - Web APIs
only one form-associated element in a document can have this attribute specified.
... htmlbuttonelement.form read only is a htmlformelement reflecting the form that this button is associated with.
HTMLInputElement.labels - Web APIs
the htmlinputelement.labels read-only property returns a nodelist of the <label> elements associated with the <input> element.
... syntax var labelelements = input.labels; return value a nodelist containing the <label> elements associated with the <input> element.
HTMLLabelElement.control - Web APIs
the read-only htmllabelelement.control property returns a reference to the control (in the form of an object of type htmlelement or one of its derivatives) with which the <label> element is associated, or null if the label isn't associated with a control.
... syntax control = htmllabelelement.control value an htmlelement derived object representing the control with which the <label> is associated, or null if the label stands alone.
HTMLLabelElement.htmlFor - Web APIs
that means that this script-accessible property is used to set and read the value of the content property for, which is the id of the label's associated control element.
... syntax controlid = htmllabelelement.htmlfor htmllabelelement.htmlfor = newid value a domstring which contains the id string of the element which is associated with the control.
HTMLLabelElement - Web APIs
htmllabelelement.control read only is a htmlelement representing the control with which the label is associated.
... htmllabelelement.form read only is a htmlformelement object representing the form with which the labeled control is associated, or null if there is no associated control, or if that control isn't associated with a form.
HTMLMeterElement.labels - Web APIs
the htmlmeterelement.labels read-only property returns a nodelist of the <label> elements associated with the <meter> element.
... syntax var labelelements = meter.labels; return value a nodelist containing the <label> elements associated with the <meter> element.
HTMLOutputElement.labels - Web APIs
the htmloutputelement.labels read-only property returns a nodelist of the <label> elements associated with the <output> element.
... syntax var labelelements = output.labels; return value a nodelist containing the <label> elements associated with the <output> element.
HTMLOutputElement - Web APIs
htmloutputelement.formread only an htmlformelement indicating the form associated with the control, reflecting the form html attribute if it is defined.
... htmloutputelement.labelsread only a nodelist of <label> elements associated with the element.
HTMLProgressElement.labels - Web APIs
the htmlprogresselement.labels read-only property returns a nodelist of the <label> elements associated with the <progress> element.
... syntax var labelelements = progress.labels; return value a nodelist containing the <label> elements associated with the <progress> element.
HTMLSelectElement.form - Web APIs
the htmlselectelement.form read-only property returns a htmlformelement representing the form that this element is associated with.
... if the element is not associated with of a <form> element, then it returns null.
HTMLSelectElement.labels - Web APIs
the htmlselectelement.labels read-only property returns a nodelist of the <label> elements associated with the <select> element.
... syntax var labelelements = select.labels; return value a nodelist containing the <label> elements associated with the <select> element.
HTMLTextAreaElement.labels - Web APIs
the htmltextareaelement.labels read-only property returns a nodelist of the <label> elements associated with the <textarea> element.
... syntax var labelelements = textarea.labels; return value a nodelist containing the <label> elements associated with the <textarea> element.
HTMLTrackElement: cuechange event - Web APIs
this happens even if the track isn't associated with a media element.
... if the track is associated with a media element, using the <track> element as a child of the <audio> or <video> element, the cuechange event is also sent to the htmltrackelement.
Recommended Drag Types - Web APIs
you can use comments to indicate the purpose of a url, the title associated with a url, or other data.
...during the drop event, the data associated with the file type is retrieved, and the filename of the file is added to the listbox.
Headers - Web APIs
WebAPIHeaders
a headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.
... a headers object also has an associated guard, which takes a value of immutable, request, request-no-cors, response, or none.
IDBObjectStore.put() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description readonlyerror the transaction associated with this operation is in read-only mode.
... example the following example requests a given record title; when that request is successful the onsuccess function gets the associated record from the idbobjectstore (made available as objectstoretitlerequest.result), updates one property of the record, and then puts the updated record back into the object store in another request with put().
Basic concepts - Web APIs
each origin has its own associated set of databases.
... a database connection can have several active transactions associated with it at a time, so long as the writing transactions do not have overlapping scopes.
Using IndexedDB - Web APIs
whenever a value is stored in an object store, it is associated with a key.
...the following code does precisely the same thing as above: objectstore.getall().onsuccess = function(event) { console.log("got all customers: " + event.target.result); }; there is a performance cost associated with looking at the value property of a cursor, because the object is created lazily.
Keyboard.getLayoutMap() - Web APIs
the getlayoutmap() method of the keyboard interface returns a promise that resolves with an instance of keyboardlayoutmap which is a map-like object with functions for retrieving the strings associated with specific physical keys.
... example the following example demonstrates how to get the location- or layout-specific string associated with the key that corresponds to the 'w' key on an english qwerty keyboard.
Keyboard - Web APIs
WebAPIKeyboard
methods keyboard.getlayoutmap() returns a promise that resolves with an instance of keyboardlayoutmap which is a map-like object with functions for retrieving the strings associated with specific physical keys.
... example the following example demonstrates how to get the location- or layout-specific string associated with the key that corresponds to the 'w' key on an english qwerty keyboard.
Key Values - Web APIs
if you wish to identify which specific dead key was pressed (in cases where more than one exists), you can do so by examining the keyboardevent's associated compositionupdate event's data property.
...you can identify which specific dead key was used (if more than one exists) by examining the keyboardevent's associated compositionupdate event's data property.
KeyboardLayoutMap - Web APIs
the keyboardlayoutmap interface of the the keyboard api is a map-like object with functions for retrieving the string associated with specific physical keys.
... examples the following example demonstrates how to get the location- or layout-specific string associated with the key that corresponds to the 'w' key on an english qwerty keyboard.
Keyboard API - Web APIs
the following example demonstrates how to get the location-specific or layout-specific string associated with the key labeled w on an english qwerty keyboard.
... keyboardlayoutmap a map-like object with functions for retrieving the string associated with specific physical keys.
LinkStyle - Web APIs
WebAPILinkStyle
the linkstyle interface provides access to the associated css style sheet of a node.
... linkstyle.sheet read only returns the cssstylesheet object associated with the given element, or null if there is none.
MediaError.code - Web APIs
WebAPIMediaErrorcode
media error code constants name value description media_err_aborted 1 the fetching of the associated resource was aborted by the user's request.
... media_err_src_not_supported 4 the associated resource or media provider object (such as a mediastream) has been found to be unsuitable.
MediaError - Web APIs
mediaerror.code a number which represents the general type of error that occurred, as follows: name value description media_err_aborted 1 the fetching of the associated resource was aborted by the user's request.
... media_err_src_not_supported 4 the associated resource or media provider object (such as a mediastream) has been found to be unsuitable.
MediaKeyStatusMap.get() - Web APIs
the get property of the mediakeystatusmap interface returns the value associated with the given key, or undefined if there is none.
... returns the value associated with the given key, or undefined.
MediaKeyStatusMap - Web APIs
mediakeystatusmap.get() read only returns the value associated with the given key, or undefined if there is none.
... mediakeystatusmap.has() read only returns a boolean asserting whether a value has been associated with the given key.
MediaSource - Web APIs
ght="50" fill="#f4f7f8" stroke="#d4dde4" stroke-width="2px" /><text x="206" y="30" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">mediasource</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} constructor mediasource() constructs and returns a new mediasource object with no associated source buffers.
... properties mediasource.sourcebuffers read only returns a sourcebufferlist object containing the list of sourcebuffer objects associated with this mediasource.
Media Capture and Streams API (Media Stream) - Web APIs
it provides the interfaces and methods for working with the streams and their constituent tracks, the constraints associated with data formats, the success and error callbacks when using the data asynchronously, and the events that are fired during the process.
...the channel represents the smallest unit of a media stream, such as an audio signal associated with a given speaker, like left or right in a stereo audio track.
MessageEvent - Web APIs
messageevent.ports read only an array of messageport objects representing the ports associated with the channel the message is being sent through (where appropriate, e.g.
...the ports associated with that worker are accessible in the connect event's ports property — we then use messageport start() method to start the port, and the onmessage handler to deal with messages sent from the main threads.
msPlayToSource - Web APIs
msplaytosource is a read-only property which gets the source associated with the media element for use by the playtomanager.
... the property value for msplaytosource is the source associated with the media element.
Navigator - Web APIs
WebAPINavigator
navigator.serviceworker read only returns a serviceworkercontainer object, which provides access to registration, removal, upgrade, and communication with the serviceworker objects for the associated document.
... navigator.getusermedia() after having prompted the user for permission, returns the audio or video stream associated to a camera or microphone on the local computer.
Node.setUserData() - Web APIs
WebAPINodesetUserData
userdata is the object to associate to userkey on somenode.
... if null, any previously registered object and userdatahandler associated to userkey on this node will be removed.
PerformanceEventTiming - Web APIs
performanceeventtiming.cancelable returns the associated event's cancelable attribute.
... performanceeventtiming.target returns the associated event's last target, if it is not removed.
Pointer events - Web APIs
interfaces the primary interface is the pointerevent interface which has a constructor plus several event types and associated global event handlers.
... below is a short description of each event type and its associated global event handler.
RTCIceCandidate.sdpMLineIndex - Web APIs
the read-only sdpmlineindex property on the rtcicecandidate interface is a zero-based index of the m-line describing the media associated with the candidate.
... syntax var sdpmlineindex = rtcicecandidate.sdpmlineindex; value a number containing a 0-based index into the set of m-lines providing media descriptions, indicating which media source is associated with the candidate, or null if no such association is available.
RTCIceCandidate.sdpMid - Web APIs
the read-only property sdpmid on the rtcicecandidate interface returns a domstring specifying the media stream identification tag of the media component with which the candidate is associated.
... this id uniquely identifies a given stream for the component with which the candidate is associated.
RTCIceCandidate - Web APIs
sdpmid read only a domstring specifying the candidate's media stream identification tag which uniquely identifies the media stream within the component with which the candidate is associated, or null if no such association exists.
... sdpmlineindex read only if not null, sdpmlineindex indicates the zero-based index number of the media description (as defined in rfc 4566) in the sdp with which the candidate is associated.
RTCIceCandidateInit - Web APIs
sdpmid optional the identification tag of the media stream with which the candidate is associated, or null if there is no associated media stream.
... sdpmlineindex optional the zero-based index of the m-line within the sdp of the media description with which the candidate is associated, or null if no such associated exists.
RTCIceCandidateStats - Web APIs
for host candidates, true means that any network resources (usually a network socket) associated with the candidate have already been released.
... transportid optional a string uniquely identifiying the transport object that was inspected in order to obtain the rtctransportstats associated with the candidate correspondin to these statistics.
RTCRtpSender.setStreams() - Web APIs
the rtcrtpsender method setstreams() associates the sender's track with the specified mediastream or array of mediastream objects.
...if this parameter isn't specified, no new streams will be associated with the track.
RTCRtpSender.track - Web APIs
syntax var mediastreamtrack = rtcrtpsender.track value a mediastreamtrack object representing the media associated with the rtcrtpsender.
... if no track is associated with the sender, this value is null, in which case the sender transmits nothing.
RTCTrackEvent() - Web APIs
track the mediastreamtrack the event is associated with.
... transceiver the rtcrtptransceiver associated with the event.
RTCTrackEventInit.receiver - Web APIs
the rtctrackeventinit dictionary's receiver property specifies the rtcrtpreceiver associated with the event.
... syntax var trackeventinit = { receiver: rtpreceiver, track: mediastreamtrack, streams: [videostream], transceiver: rtptransceiver }; var rtpreceiver = trackeventinit.receiver; value the rtcrtptransceiver which pairs the receiver with a sender and other properties which establish a single bidirectional srtp stream for use by the track associated with the rtctrackevent.
RTCTrackEventInit.track - Web APIs
the rtctrackeventinit dictionary's track property specifies the mediastreamtrack associated with the track event.
... syntax var trackeventinit = { receiver: rtpreceiver, track: mediastreamtrack, streams: [videostream], transceiver: rtptransceiver }; var track = trackeventinit.track; value a mediastreamtrack representing the track with which the event is associated.
RTCTrackEventInit.transceiver - Web APIs
the rtctrackeventinit dictionary's transceiver property specifies the rtcrtptransceiver associated with the track event.
... syntax var trackeventinit = { receiver: rtpreceiver, track: mediastreamtrack, streams: [videostream], transceiver: rtptransceiver }; var rtptransceiver = trackeventinit.transceiver; value the rtcrtptransceiver which pairs the receiver with a sender and other properties which establish a single bidirectional srtp stream for use by the track associated with the rtctrackevent.
RTCTrackEventInit - Web APIs
track the mediastreamtrack the event is associated with.
... transceiver the rtcrtptransceiver associated with the event.
SVGTransformList - Web APIs
we apply multiple transformation by appending the transform object to the svgtransformlist associated with an svg element.
...reate a seperate transform object for each transform var translate = svgroot.createsvgtransform(); translate.settranslate(50,5); var rotate = svgroot.createsvgtransform(); rotate.setrotate(10,0,0); var scale = svgroot.createsvgtransform(); scale.setscale(0.8,0.8); // apply the transformations by appending the svgtranform objects to the svgtransformlist associated with the element tfmlist.appenditem(translate); tfmlist.appenditem(rotate); tfmlist.appenditem(scale); } ]]> </script> <polygon fill="orange" stroke="black" stroke-width="5" points="100,225 100,115 130,115 70,15 70,15 10,115 40,115 40,225" onclick="transformme(evt)"/> <rect x="200" y="100" width="100" height="100" fill="yellow" stroke="b...
ServiceWorker - Web APIs
pages, workers, etc.) can be associated with the same service worker, each through a unique serviceworker object.
...a serviceworker object has an associated serviceworker.state, related to its lifecycle.
ServiceWorkerGlobalScope.clients - Web APIs
the clients read-only property of the serviceworkerglobalscope interface returns the clients object associated with the service worker.
... syntax swclients = self.clients value the clients object associated with the specific worker.
ServiceWorkerGlobalScope - Web APIs
"#f4f7f8" stroke="#d4dde4" stroke-width="2px" /><text x="481" y="30" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">serviceworkerglobalscope</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} properties serviceworkerglobalscope.clients read only contains the clients object associated with the service worker.
... serviceworkerglobalscope.caches read only contains the cachestorage object associated with the service worker.
SpeechRecognition - Web APIs
speechrecognition.start() starts the speech recognition service listening to incoming audio with intent to recognize grammars associated with the current speechrecognition.
... start fired when the speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current speechrecognition.
TextTrack: cuechange event - Web APIs
this happens even if the track isn't associated with a media element.
... if the track is associated with a media element, using the <track> element as a child of the <audio> or <video> element, the cuechange event is also sent to the htmltrackelement.
TextTrack - Web APIs
WebAPITextTrack
the texttrack interface—part of the api for handling webvtt (text tracks on media presentations)—describes and controls the text track associated with a particular <track> element.
...if the texttrack is associated with a <track> element, then the track's id matches the element's id.
TransitionEvent.initTransitionEvent() - Web APIs
cancelablearg is a boolean flag indicating if the event associated action can be avoided (true) or not (false).
... transitionnamearg is a domstring containing the name of the css property associated with the transition.
UIEvent() - Web APIs
WebAPIUIEventUIEvent
uieventinit optional is a uieventinit dictionary, having the following fields: detail: optional and defaulting to 0, of type long, that is a event-dependant value associated with the event.
... view: optional and defaulting to null, of type windowproxy, that is the window associated with the event .
WebGLRenderingContext.canvas - Web APIs
the webglrenderingcontext.canvas property is a read-only reference to the htmlcanvaselement or offscreencanvas object that is associated with the context.
... it might be null if it is not associated with a <canvas> element or an offscreencanvas object.
WebGL best practices - Web APIs
keeping the application's vram usage under this cap will help to avoid out-of-memory errors and associated instability.
...l, grammatical and semantic errors must have been detected following a call to gllinkprogram errors due to mismatch between the vertex and fragment shader (link errors) must have been detected following a call to gllinkprogram errors due to exceeding resource limits must have been detected following any draw call or a call to glvalidateprogram a call to glvalidateprogram must report all errors associated with a program object given the current gl state.
WebRTC API - Web APIs
rtcidentityerrorevent represents an error associated with the identity provider (idp).
... using webrtc data channels this guide covers how you can use a peer connection and an associated rtcdatachannel to exchange arbitrary data between two peers.
Functions and classes available to Web Workers - Web APIs
38 (38) no support no support no support cache cache api provides the ability to programmatically control cache storage associated with current origin.
... serviceworkerregistration you can register a service worker from inside a standard worker, and use associated functionality.
WindowOrWorkerGlobalScope.setTimeout() - Web APIs
passing string literals passing a string instead of a function to settimeout() has the same associated problems as using eval.
... timeouts in inactive tabs throttled to ≥ 1000ms to reduce the load (and associated battery usage) from background tabs, timeouts are throttled to firing no more often than once per second (1,000 ms) in inactive tabs.
WritableStreamDefaultWriter - Web APIs
writablestreamdefaultwriter.close() closes the associated writable stream.
...if the associated stream is errored when the lock is released, the writer will appear errored in the same way from now on; otherwise, the writer will appear closed.
XPathNSResolver.lookupNamespaceURI() - Web APIs
the lookupnamespaceuri method looks up the namespace uri associated to the given namespace prefix within an xpath expression evaluated by the xpathevaluator interface.
... return value a domstring representing the associated namespace uri or null if none is found.
ARIA: application role - Accessibility
associated wai-aria roles, states, and properties document, article used to indicate parts of the application that should be treated as normal web content aria-activedescendant used to manage focus inside the application.
... keyboard interactions keyboard interaction is completely under the web author's control and can be anything associated with the particular widget being implemented.
ARIA: Comment role - Accessibility
the song is a slow-rising crescendo that peaks at the <span role="mark" aria-details="thread-1">end of the guitar solo</span>, before fading away sharply.</p> <div role="comment" id="thread-1" data-author="chris"> <h3>chris said</h3> <p class="comment-text">i really think this moment could use more cowbell.</p> <p><time datetime="2019-03-30t19:29">march 30 2019, 19:29</time></p> </div> to associate the comment with the text being commented, we need to wrap the commented text with an element containing the aria-details attribute, the value of which should be the id of the comment.
... multiple comments since aria-details can now accept multiple ids, we can associate multiple comments with the same annotation, like so: <p>the last half of the song is a slow-rising crescendo that peaks at the <mark aria-details="thread-1 thread-2">end of the guitar solo</mark>, before fading away sharply.</p> <div role="comment" id="thread-1" data-author="chris"> <h3>chris said</h3> <p class="comment-text">i really think this moment could use more cowbell.</p> <p><time datetime="2019-03-30t19:29">march 30 2019, 19:29</time></p> </div> <div role="comment" id="thread-2" data-author="chris"> <h3>marcus said</h3> <p class="comment-text">the guitar solo could do with a touch more chorus, and a slightly lower volume.</p> <p><time datetime="2019-03-29t15:35">march 29 2019, 15:35</ti...
ARIA: document role - Accessibility
an article can have associated articles.
... associated wai-aria roles, states, and properties aria-expanded include with a value of true or false if the document element is collapsible, to indicate if the document is currently expanded or collapsed.
ARIA: figure role - Accessibility
you could add an id to an element containing content that describes the figure, and then reference that id inside an appropriate attribute on the figure to associate the figure with the label: <div role="figure" aria-labelledby="figure-1"> ...
... associated wai-aria roles, states, and properties aria-describedby the id of an element containing reference text serving as a caption.
ARIA: table role - Accessibility
all other semantic table elements, such as <tbody>, <thead>, <tr>, <th>, and <td> need to be added via associated roles, such as rowgroup, row, columnheader, and cell.
... associated wai-aria roles, states, and properties role="rowgroup" an optional child of the table, the row group encapsulates a group of rows, similar to thead, tbody, and tfoot.
ARIA: dialog role - Accessibility
additionally, if the dialog contains additional descriptive text besides the dialog title, this text can be associated with the dialog using the aria-describedby attribute.
... associated aria roles, states, and properties aria-labelledby use this attribute to label the dialog.
ARIA: listbox role - Accessibility
if the current item has an associated context menu, shift+f10 will launch that menu.
... associated aria roles, states, and properties associated roles option one or more nested options are required.
ARIA: textbox role - Accessibility
associated aria properties aria-activedescendent attribute taking as it's value the id of is either a descendant of the element with dom focus or is a logical descendant as indicated by the aria-owns attribute, it indicates when that element has focus, when it is part of a composite widget such as a combobox.
... javascript features all features associated with any and all properties and states must be maintained, and forms submission on enter or return on a single line textbox needs to be handled.
An overview of accessible web applications and widgets - Accessibility
properties describe characteristics of these widgets, such as if they are draggable, have a required element, or have a popup associated with them.
...the example shows a simple web form with tooltips containing instructions associated with the entry fields.
Implementing a Microsoft Active Accessibility (MSAA) Server - Accessibility
accselect: select the item associated with this iaccessible.
...when the get_accchild call comes back, we check our hash table cache for that window to see if there's an accessible object still associated with that unique value.
Accessibility documentation index - Accessibility
10 basic form hints aria, accessibility, forms when implementing forms using traditional html form-related elements, it is important to provide labels for controls, and explicitly associate a label with its control.
...s functionally identical to the checkbox role, except that instead of representing "checked" and "unchecked" states, which are fairly generic in meaning, the switch role represents the states "on" and "off." 73 aria: tab role aria, aria role, aria tab, aria widget, reference the aria tab role indicates an interactive element inside a tablist that, when activated, displays its associated tabpanel.
Perceivable - Accessibility
these are associated unambiguously using the <label> element, which can be picked up by screenreaders, etc.
...content images should have text available that clearly describes the image's contents, which can be programmatically associated with it (e.g., alt text), or otherwise is easy to associate (e.g., describes it and is sat right next to it).
::placeholder - CSS: Cascading Style Sheets
an alternate approach to providing placeholder information is to include it outside of the input in close visual proximity, then use aria-describedby to programmatically associate the <input> with its hint.
...without a label that has been programmatically associated with an input using a combination of the for and id attributes, assistive technology such as screen readers cannot parse <input> elements.
Syntax - CSS: Cascading Style Sheets
WebCSSSyntax
a selector group and an associated declarations block, together, are called a ruleset, or often simply a rule.
... there are two kinds of statements: rulesets (or rules) that, as seen, associate a collection of css declarations to a condition described by a selector.
attr() - CSS: Cascading Style Sheets
WebCSSattr
the list of valid values are: keyword associated type comment default value string <string> the attribute value is treated as a css <string>.
... <fallback> the value to be used if the associated attribute is missing or contains an invalid value.
<integer> - CSS: Cascading Style Sheets
WebCSSinteger
there is no unit associated with integers.
...the speed of the interpolation is determined by the timing function associated with the animation.
mask-type - CSS: Cascading Style Sheets
WebCSSmask-type
values luminance is a keyword indicating that the associated mask image is a luminance mask, i.e., that its relative luminance values must be used when applying it.
... alpha is a keyword indicating that the associated mask image is an alpha mask, i.e., that its alpha channel values must be used when applying it.
<number> - CSS: Cascading Style Sheets
WebCSSnumber
there is no unit associated with numbers.
...the speed of the interpolation is determined by the timing function associated with the animation.
url() - CSS: Cascading Style Sheets
WebCSSurl()
/* simple usage */ url(https://example.com/images/myimg.jpg); url(data:image/png;base64,irxvb0…); url(myfont.woff); url(#idofsvgpath); /* associated properties */ background-image: url("https://mdn.mozillademos.org/files/16761/star.gif"); list-style-image: url('../images/bullet.jpg'); content: url("pdficon.jpg"); cursor: url(mycursor.cur); border-image-source: url(/media/diamonds.png); src: url('fantasticfont.woff'); offset-path: url(#path); mask-image: url("masks.svg#mask1"); /* properties with fallbacks */ cursor: url(pointer.cur), pointe...
...r; /* associated short-hand properties */ background: url('https://mdn.mozillademos.org/files/16761/star.gif') bottom right repeat-x blue; border-image: url("/media/diamonds.png") 30 fill / 30px / 30px space; /* as a parameter in another css function */ background-image: cross-fade(20% url(first.png), url(second.png)); mask-image: image(url(mask.png), skyblue, linear-gradient(rgba(0, 0, 0, 1.0), transparent); /* as part of a non-shorthand multiple value */ content: url(star.svg) url(star.svg) url(star.svg) url(star.svg) url(star.svg); /* at-rules */ @document url("https://www.example.com/") { ...
Cross-browser audio basics - Developer guides
this article provides: a basic guide to creating a cross-browser html5 audio player with all the associated attributes, properties, and events explained a guide to custom controls created using the media api basic audio example the code below is an example of a basic audio implementation using html5: <audio controls> <source src="audiofile.mp3" type="audio/mpeg"> <source src="audiofile.ogg" type="audio/ogg"> <!-- fallback for non supporting browsers goes here --> <p>your browser does not support html5 audio, but you can still <a href="audiofile.mp3">download the music</a>.</p> </audio> note: you can also use an mp4 file instead of mp3.
...iofile.mp3">audiofile.mp3</a></p> </audio> <!-- custom play and pause buttons --> <button id="play">play</button> <button id="pause">pause</button> next, we attach some functionality to the player using javascript: window.onload = function(){ var myaudio = document.getelementbyid('my-audio'); var play = document.getelementbyid('play'); var pause = document.getelementbyid('pause'); // associate functions with the 'onclick' events play.onclick = playaudio; pause.onclick = pauseaudio; function playaudio() { myaudio.play(); } function pauseaudio() { myaudio.pause(); } } media loading events above we have shown how you can create a very simple audio player, but what if we want to show progress, buffering and only activate the buttons when the media is ready to play?
Audio and Video Delivery - Developer guides
here's a trick that stops the download at once: var mediaelement = document.queryselector("#mymediaelementid"); mediaelement.removeattribute("src"); mediaelement.load(); by removing the media element's src attribute and invoking the load() method, you release the resources associated with the video, which stops the network download.
... cross-browser audio basics this article provides a basic guide to creating an html5 audio player that works cross browser, with all the associated attributes, properties and events explained, and a quick guide to custom controls created using the media api.
HTML attribute: rel - HTML: Hypertext Markup Language
WebHTMLAttributesrel
external resource not allowed not allowed preload specifies that the user agent must preemptively fetch and cache the target resource for current navigation according to the potential destination given by the as attribute (and the priority associated with the corresponding destination).
... preload specifies that the user agent must preemptively fetch and cache the target resource for current navigation according to the potential destination given by the as attribute (and the priority associated with the corresponding destination).
HTML attribute reference - HTML: Hypertext Markup Language
content <meta> a value associated with http-equiv or name depending on the context.
... datetime <del>, <ins>, <time> indicates the date and time associated with the element.
<fieldset>: The Field Set element - HTML: Hypertext Markup Language
WebHTMLElementfieldset
name the name associated with the group.
...set disabled> <legend>disabled fieldset</legend> <div> <label for="name">name: </label> <input type="text" id="name" value="chris"> </div> <div> <label for="pwd">archetype: </label> <input type="password" id="pwd" value="wookie"> </div> </fieldset> </form> technical summary content categories flow content, sectioning root, listed, form-associated element, palpable content.
<input type="radio"> - HTML: Hypertext Markup Language
WebHTMLElementinputradio
they each also have a unique id, which is used by the <label> element's for attribute to associate the labels with the radio buttons.
... providing a bigger hit area for your radio buttons in the above examples, you may have noticed that you can select a radio button by clicking on its associated <label> element, as well as on the radio button itself.
<keygen> - HTML: Hypertext Markup Language
WebHTMLElementkeygen
content categories flow content, phrasing content, interactive content, listed, labelable, submittable, resettable form-associated element, palpable content.
... form the form element that this element is associated with (its form owner).
<object> - HTML: Hypertext Markup Language
WebHTMLElementobject
content categories flow content; phrasing content; embedded content, palpable content; if the element has a usemap attribute, interactive content; listed, submittable form-associated element.
... formhtml5 the form element, if any, that the object element is associated with (its form owner).
<track>: The Embed Text Track element - HTML: Hypertext Markup Language
WebHTMLElementtrack
this happens even if the track isn't associated with a media element.
... if the track is associated with a media element, using the <track> element as a child of the <audio> or <video> element, the cuechange event is also sent to the htmltrackelement.
itemprop - HTML: Hypertext Markup Language
property values are either a string or a url and can be associated with a very wide range of elements including <audio>, <embed>, <iframe>, <img>, <link>, <object>, <source> , <track>, and <video>.
...the image associated with the item won't be included.
Global attributes - HTML: Hypertext Markup Language
itemref properties that are not descendants of an element with the itemscope attribute can be associated with the item using an itemref.
...itemscope creates the item and defines the scope of the itemtype associated with it.
Microdata - HTML: Hypertext Markup Language
itemref – properties that are not descendants of an element with the itemscope attribute can be associated with the item using an itemref.
...itemscope creates the item and defines the scope of the itemtype associated with it.
Index - HTTP
WebHTTPHeadersIndex
20 clear-site-data http, http header, reference, header the clear-site-data header clears browsing data (cookies, storage, cache) associated with the requesting website.
... 91 public-key-pins hpkp, http, reference, security, header the http public-key-pins response header associates a specific cryptographic public key with a certain web server to decrease the risk of mitm attacks with forged certificates.
HTTP headers - HTTP
WebHTTPHeaders
cookies, storage, cache) associated with the requesting website.
... public-key-pins associates a specific cryptographic public key with a certain web server to decrease the risk of mitm attacks with forged certificates.
HTTP Messages - HTTP
WebHTTPMessages
an optional body containing data associated with the request (like content of an html form), or the document associated with a response.
...this is typically associated with html forms.
JavaScript modules - JavaScript
these shapes would probably have associated functions like draw(), reportarea(), etc.
...instead, we include three buttons — "circle", "square", and "triangle" — that, when pressed, dynamically load the required module and then use it to draw the associated shape.
Regular expressions - JavaScript
if you use exec() or match() and if the match succeeds, these methods return an array and update properties of the associated regular expression object and also of the predefined regular expression object, regexp.
... the behavior associated with the g flag is different when the .exec() method is used.
Intl.Locale - JavaScript
intl.locale.prototype.language returns the language associated with the locale.
... intl.locale.prototype.region returns the region of the world (usually a country) associated with the locale.
Map.prototype.get() - JavaScript
if the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the map object.
... return value the element associated with the specified key, or undefined if the key can't be found in the map object.
Object.defineProperties() - JavaScript
a data descriptor also has the following optional keys: value the value associated with the property.
... writable true if and only if the value associated with the property may be changed with an assignment operator.
Object.defineProperty() - JavaScript
a data descriptor also has the following optional keys: value the value associated with the property.
... writable true if and only if the value associated with the property may be changed with an assignment operator.
Object.getOwnPropertyDescriptor() - JavaScript
a property descriptor is a record with some of the following attributes: value the value associated with the property (data descriptors only).
... writable true if and only if the value associated with the property may be changed (data descriptors only).
Object.getOwnPropertyDescriptors() - JavaScript
a property descriptor is a record with some of the following attributes: value the value associated with the property (data descriptors only).
... writable true if and only if the value associated with the property may be changed (data descriptors only).
keySplines - SVG: Scalable Vector Graphics
the keysplines attribute defines a set of bézier curve control points associated with the keytimes list, defining a cubic bézier function that controls interval pacing.
...the keytimes values that define the associated segment are the bézier "anchor points", and the keysplines values are the control points.
keyTimes - SVG: Scalable Vector Graphics
the key time associated with each value defines when the value is set; values are interpolated between the key times.
...the time associated with each value defines when the value is set; the animation function uses that value until the next time defined in the list.
viewTarget - SVG: Scalable Vector Graphics
the viewtarget attribute indicates the target object associated with the view.
... only one element is using this attribute: <view> usage notes value <xml-name> default value none animatable no <xml-name> this value specifies the name of the object associated with the view.
Referer header: privacy and security concerns - Web security
there are privacy and security risks associated with the referer http header.
... policy and requirements it would make sense to write a set of security and privacy requirements for your project team(s) that specify usage of such features to mitigate the associated risks.
Introduction to using XPath in JavaScript - XPath
namespaceresolver: a function that will be passed any namespace prefixes contained within xpathexpression which returns a string representing the namespace uri associated with that prefix.
... in order to associate the 'mathml:' prefix with the namespace uri 'http://www.w3.org/1998/math/mathml' and 'xhtml:' with the uri 'http://www.w3.org/1999/xhtml' we provide a function: function nsresolver(prefix) { var ns = { 'xhtml' : 'http://www.w3.org/1999/xhtml', 'mathml': 'http://www.w3.org/1998/math/mathml' }; return ns[prefix] || null; } our call to document.evaluate would then looks like: docum...
Index - XSLT: Extensible Stylesheet Language Transformations
WebXSLTIndex
an instruction, on the other hand, is associated with a template.
... 28 <xsl:copy> element, reference, xslt, copy the <xsl:copy> element transfers a shallow copy (the node and any associated namespace node) of the current node to the output document.
Communicating With Other Scripts - Archive of obsolete content
if an add-on creates a single page-mod object and loads several content scripts into the page mod, then only content scripts associated with the same page can interact with each other: if two different matching pages are loaded, content scripts attached to page a cannot interact with those attached to page b.
port - Archive of obsolete content
each end of the conversation has access to a port: the content script via the global self property, and the main add-on code via a worker object associated with the sdk module you've used to attach the content script, such as page-mod or page-worker.
Content Scripts - Archive of obsolete content
so to receive messages from a content script associated with a page-worker you use pageworker.port.on(): // main.js var self = require("sdk/self"); var pageworker = require("sdk/page-worker").page({ contentscriptfile: self.data.url("content-script.js"), contenturl: "http://en.wikipedia.org/wiki/internet" }); pageworker.port.on("first-para", function(firstpara) { console.log(firstpara); }); to emit user-defined messages from your add-on you...
Classes and Inheritance - Archive of obsolete content
each constructor function has an associated object, known as its prototype, which is shared between all instances of that class.
Porting the Library Detector - Archive of obsolete content
each test also contains a chrome:// url pointing to the icon associated with its library.
page-worker - Archive of obsolete content
events message if you listen to this event you can receive message events from content scripts associated with this page worker.
simple-storage - Archive of obsolete content
to read about how to opt into private browsing mode and how to use the sdk to avoid storing user data associated with private windows, refer to the documentation for the private-browsing module.
core/heritage - Archive of obsolete content
g() { return this.hex() + '@' + point.prototype.tostring.call(this) } }); var pixel = pixel(11, 23, 'cc3399'); pixel.tostring(); // => #cc3399@11:23 pixel instanceof pixel // => true pixel instanceof point // => true extend module exports extend utility function, that is useful for creating objects that inherit from other objects, without associated classes.
event/target - Archive of obsolete content
will be auto registered for associated 'message', 'myevent' events on the created instance.
lang/functional - Archive of obsolete content
globals functions method(lambda) takes a function and returns a method associated with an object.
package.json - Archive of obsolete content
if this value is not true or is omitted, then the add-on will not see any private windows or objects, such as tabs, that are associated with private windows.
Creating annotations - Archive of obsolete content
next we will create the editor panel, which enables the user to enter an annotation associated with the selected element.
Overview - Archive of obsolete content
the matcher is responsible for finding annotated elements: it is initialized with the list of annotations and searches web pages for the elements they are associated with.
Storing annotations - Archive of obsolete content
the panel has three new files associated with it: a content-script which builds the panel content a simple html file used as a template for the panel's content a simple css file to provide some basic styling.
Annotator - Archive of obsolete content
the add-on is an annotator: it enables the user to select elements of web pages and enter notes (annotations) associated with them.
On page load - Archive of obsolete content
progress listeners allow extensions to be notified of events associated with documents loading in the browser and with tab switching events.
Page Loading - Archive of obsolete content
page loading on page load how to execute code each time a new page is loaded in browser/mail progress listeners progress listeners allow extensions to be notified of events associated with documents loading in the browser and with tab switching events.
Progress Listeners - Archive of obsolete content
progress listeners progress listeners allow extensions to be notified of events associated with documents loading in the browser and with tab switching events.
Listening to events in Firefox extensions - Archive of obsolete content
pageshoweventhandlers the pageshoweventhandlers() function is called by the pageshow event and is used to populate the character set menu and update the ui elements associated with any detected feeds or opensearch plugins for the website.
Adding Events and Commands - Archive of obsolete content
this can lead to unexpected behavior for the user since most events have a default behavior associated to them.
Handling Preferences - Archive of obsolete content
--> </preferences> after you define the preferences you need, you associate them with the form elements in your window or pane using the preference attribute: <textbox preference="xulschoolhello-message-count-pref" type="number" min="0" max="100" /> in this case we use a numeric field to set the message count preference.
Setting Up a Development Environment - Archive of obsolete content
it's a very useful inspection tool that lets you look into the dom of html and xul documents, as well as applied css rules and associated javascript objects.
User Notifications and Alerts - Archive of obsolete content
you can associate an action to the user clicking on the alert.
An Interview With Douglas Bowman of Wired News - Archive of obsolete content
the breakdown: 1 master screen media file which imports 4 files: a base file (bulk of formatting) a file for finance/table formatting color file (override colors and background images for specific color scheme) temp file (used for styles associated with temporary features and ad-related pages) 1 print media file 1 aural media file 3 master alternate style sheets which import 1 file each the 3 imported files set alternate font sizes (small, large, larger) how much did the size of a typical wired news page shrink?
Underscores in class and ID Names - Archive of obsolete content
navigator 4.x honored the restriction against underscores, and so any class or id name with an underscore will be ignored by navigator 4.x, so the associated styles will never be applied.
MMgc - Archive of obsolete content
every object in the system has an associated "mark bit." a garbage collection is divided into two phases: mark and sweep.
Installing plugins to Gecko embedding browsers on Windows - Archive of obsolete content
in addition, if you have made your plugin scriptable and accessible from javascript, you ought to put the associated xpt file in the components directory.
Notes on HTML Reflow - Archive of obsolete content
contentchanged indicates that the content corresponding to the target frame has changed somehow; for example, the text associated with a text frame has been modified.
Source code directories overview - Archive of obsolete content
doc contains any documentation associated with this module.
Structure of an installable bundle - Archive of obsolete content
ilable for consumer computers running linux(of the form: /platform/linux*/), macintosh(of the form: /platform/darwin*/), and windows(of the form: /platform/win*/), it would provide the following files: /platform/linux_x86-gcc3/plugins/libmyplugin.so /platform/winnt_x86-msvc/plugins/myplugin.dll /platform/darwin_ppc-gcc3/plugins/libmyplugin.dylib because xpt files are not platform-specific, any associated xpt files would go in the generic components directory: /components/myplugin.xpt if an extension has non-binary platform-specific code (such as code which uses the windows registry from script), it can also use just the operating system identifier as a platform-subdirectory: /platform/winnt/components/registerdoctype.js when platform-specific jar files are used, each platform directory sho...
Dehydra Function Reference - Archive of obsolete content
if the current callback is associated with a particular location, the location will be printed first.
Layout System Overview - Archive of obsolete content
the style context is associated with the frame via a reference because it is needed for many other computations during the formatting of the frames.
Style System Overview - Archive of obsolete content
quote ↓ span class="emph" example stylesheet doc { display: block; text-indent: 1em; } title { display: block; font-size: 3em; } para { display: block; } [class="emph"] { font-style: italic; } css style rule representation each declaration block is represented by an nscssdeclaration an cssstyleruleimpl contains each selector associated with that declaration, and the declaration, and is the most important implementation of nsistylerule.
JavaScript Client API - Archive of obsolete content
changeitemid(oldid, newid) must find the stored item currently associated with the guid oldid and change it to be associated with the guid newid.
generateCRMFRequest() - Archive of obsolete content
each key generation will be associated with its own request.
JavaScript crypto - Archive of obsolete content
you can turn this flag on if: the certs on your token can be read without authentication and, the public key on your token can be found by id, modulus, or value and all your private keys have the associated public key.
Clipboard - Archive of obsolete content
the namespace associated with this api is jetpack.clipboard which provides both read and write access to the clipboard.
Clipboard Test - Archive of obsolete content
the namespace associated with this api is jetpack.clipboard which provides both read and write access to the clipboard.
Clipboard Test - Archive of obsolete content
the namespace associated with this api is jetpack.clipboard which provides both read and write access to the clipboard.
Clipboard - Archive of obsolete content
the namespace associated with this api is jetpack.clipboard which provides both read and write access to the clipboard.
Clipboard - Archive of obsolete content
the namespace associated with this api is jetpack.clipboard which provides both read and write access to the clipboard.
Frequently Asked Questions - Archive of obsolete content
if there's a grey area at the top of the source with the text "this xml file does not appear to have any style information associated with it" then the problem is with the svg file.
InstallVersion Object - Archive of obsolete content
the init() method associates a particular version with an installversion object, the tostring() method converts versions in various formats to a string, and the compareto() method compares these string and indicates the relationship between the two versions.
A XUL Bestiary - Archive of obsolete content
the attribute has a value associated with it (such as the string "file" for the id attribute in the example above).
helpURI - Archive of obsolete content
« xul reference home helpuri type: uri the uri of the help page associated with a preference panel.
keytext - Archive of obsolete content
this text would appear next to a menuitem label if that menuitem is associated with the key element via its key attribute.
showcommentcolumn - Archive of obsolete content
for the url history, the comment column will contain the page titles associated with each url.
textbox.showCommentColumn - Archive of obsolete content
for the url history, the comment column will contain the page titles associated with each url.
Building accessible custom components in XUL - Archive of obsolete content
<code> function install_handlers() { var spreadsheet = window.document.getelementbyid('accjaxspreadsheet'); spreadsheet.addeventlistener('keypress', spreadsheet_keypress, true); spreadsheet.addeventlistener('focus', spreadsheet_focus, true); spreadsheet.addeventlistener('click', spreadsheet_click, true); } </code> with this new event handler and associated helper functions, we can navigate between cells and headers using the arrow keys.
appendNotification - Archive of obsolete content
this function is passed three arguments: the <notification> the button is associated with the button description as passed to appendnotification.
Extensions - Archive of obsolete content
modifying the context menu an extension may wish to modify the context menu associated with the browser area.
PopupEvents - Archive of obsolete content
this event will be fired even for elements that don't have a context menu associated with them.
Popup Guide - Archive of obsolete content
opening a menu or popup most menus and popups are opened automatically when they are associated with an element.
menulist.image - Archive of obsolete content
« xul reference image type: image url the image associated with the currently selected item.
textbox.label - Archive of obsolete content
otherwise it returns the value of the associated label element, if applicable.
Additional Navigation - Archive of obsolete content
this will allow us to associate additional properties to each category and more easily navigate the graph in a template.
Multiple Rules - Archive of obsolete content
for each result, the conditions associated with each rule are examined to see if they match.
Template and Tree Listeners - Archive of obsolete content
these two methods are available for tree builders and will convert between an index in the tree and the associated member resource for the item at the index.
The Joy of XUL - Archive of obsolete content
these custom components can then be used in xul applications by specifying the custom tag and associated attributes.
Adding Buttons - Archive of obsolete content
the button element has two main properties associated with it, a label and an image.
Creating a Window - Archive of obsolete content
you should also be able to double-click the file in your file manager, assuming that xul files are associated with mozilla.
Custom Tree Views - Archive of obsolete content
the final step is to associate the view object with the tree.
Document Object Model - Archive of obsolete content
although there is only ever one document associated with a window at a time, you may load additional documents using various methods.
Install Scripts - Archive of obsolete content
in an install script, there is no associated window, however the global object will be an install object which contains a number of functions to customize the install process.
Introduction - Archive of obsolete content
for extensions, the xul files and associated scripts and images used by an application would be packaged into a single file and downloaded and installed by the user.
Keyboard Shortcuts - Archive of obsolete content
assigning a keyboard shortcut on a menu the second way is: if you are assigning a keyboard shortcut that performs a command that also exists on a menu, you can associate the key element directly with the menu command.
Trees - Archive of obsolete content
ArchiveMozillaXULTutorialTrees
to modify the appearance of a tree cell, the view must instead associate a set of keywords for a row and cell.
XUL Structure - Archive of obsolete content
many xul files have a script file associated with them, and some may have more than one.
Using Remote XUL - Archive of obsolete content
its value attribute, while defined in the xul specification, has no specific function in xul; it can store any data associated with the item.
XUL Questions and Answers - Archive of obsolete content
an example of this is this: // associate the progress listener for a "browser" to a listener object browserobject.addprogresslistener( listobj, components.interfaces.nsiwebprogress.notify_state_window ); // remember to define the object, something like this: listobj = new object(); listobj.wpl = components.interfaces.nsiwebprogresslistener; listobj.queryinterface = function(aiid) { if (aiid.equals(listobj.wpl) || aii...
Accessibility/XUL Accessibility Reference - Archive of obsolete content
although tutorials claim label and description have the same underlying implementation, description elements appear to not associate correctly with controls whereas labels do.
key - Archive of obsolete content
ArchiveMozillaXULkey
this text would appear next to a menuitem label if that menuitem is associated with the key element via its key attribute.
notificationbox - Archive of obsolete content
this function is passed three arguments: the <notification> the button is associated with the button description as passed to appendnotification.
splitter - Archive of obsolete content
attributes collapse, resizeafter, resizebefore, state, substate style classes tree-splitter examples <!-- this bar has some styling associated with it.
tab - Archive of obsolete content
ArchiveMozillaXULtab
the user may click a tab to bring the associated page of the tabbox to the front.
textbox - Archive of obsolete content
otherwise it returns the value of the associated label element, if applicable.
toolbar - Archive of obsolete content
you can associate an external toolbar with a toolbox for the purpose of managing your toolbars by setting the toolboxid property on the toolbar.
XULRunner Hall of Fame - Archive of obsolete content
it also contains a built in email marketing system that is tightly integrated with the associated web site.
application/http-index-format specification - Archive of obsolete content
a valid 200 line consists of one or more white space separated tokens that describe the name or purpose of the associated column of data.
calICalendarView - Archive of obsolete content
there is, however, no practical obstacle to the interface being implemented by any javascript object associated with a group of dom nodes, even non-anonymous xul nodes.
calIFileType - Archive of obsolete content
defined in calendar/base/public/caliimportexport.idl interface code [scriptable, uuid(efef8333-e995-4f45-bdf7-bfcabbd9793e)] interface califiletype : nsisupports { readonly attribute astring defaultextension; readonly attribute astring extensionfilter; readonly attribute astring description; }; attributes defaultextension the default extension that should be associated with files of this type.
2006-10-20 - Archive of obsolete content
jesper kristensen pointed the requester here change download action for .rdp files on windows and os x a question regarding enabling firefox to associate .rdp files with microsoft remote desktop client so that the correct application opens the files automatically.
2006-12-24 - Archive of obsolete content
discussions [reset issue for overflow='hidden' in ie and opera there is a very modest horizontal shift of the document due to reflow associated with the removal of the vertical scroll bar (because the document content is using a horizontal centering style).
2006-12- 02 - Archive of obsolete content
discussions [reset issue for overflow='hidden' in ie and opera there is a very modest horizontal shift of the document due to reflow associated with the removal of the vertical scroll bar (because the document content is using a horizontal centering style).
NPN_GetValueForURL - Archive of obsolete content
« gecko plugin api reference « browser side plug-in api summary provides information to a plugin which is associated with a given url, for example the cookies or preferred proxy.
NPN_SetValue - Archive of obsolete content
the alternative is windowless where no window messages are sent to the plugin as there is no window associated with it.
NPP_Destroy - Archive of obsolete content
description npp_destroy releases the instance data and resources associated with a plug-in.
NPP_HandleEvent - Archive of obsolete content
instead, the windowed plug-in draws into the graphics port associated with the the browser window, at the offset that the browser specifies.
NPP_NewStream - Archive of obsolete content
the plug-in can store plug-in-private data associated with the stream in stream->pdata.
NPP_SetWindow - Archive of obsolete content
in this case, the plug-in must not perform any additional graphics operations on the window and should free any associated resources.
Encryption and Decryption - Archive of obsolete content
public-key encryption (also called asymmetric encryption) involves a pair of keys-a public key and a private key-associated with an entity that needs to authenticate its identity electronically or to sign or encrypt data.
Vulnerabilities - Archive of obsolete content
an example is an input validation error, such as user-provided input not being properly evaluated for malicious character strings and overly long values associated with known attacks.
Building a Theme - Archive of obsolete content
from here, you can play around with various different stylings for the toolbar and associated elements.
-ms-accelerator - Archive of obsolete content
the user presses the alt key and holds it while pressing the character to move input focus to the object, and to invoke the default event associated with the object.
-ms-wrap-through - Archive of obsolete content
the wrapping context of a box is a collection of exclusion areas contributed by its associated exclusion boxes.
Debug.msTraceAsyncCallbackCompleted - Archive of obsolete content
indicates that the callback stack associated with a previously specified asynchronous operation has completed.
Debug.msTraceAsyncCallbackCompleted - Archive of obsolete content
syntax debug.mstraceasynccallbackcompleted() parameters asyncoperationid the id associated with the asynchronous operation.
Error.number - Archive of obsolete content
the error.number property returns or sets the numeric value associated with a specific error.
GetObject - Archive of obsolete content
for example: var cadobject; cadobject = getobject("c:\\cad\\schema.cad"); when this code is executed, the application associated with the specified pathname is started, and the object in the specified file is activated.
Object.getNotifier() - Archive of obsolete content
return value the notifier object associated with the object being passed to the function.
Correctly Using Titles With External Stylesheets - Archive of obsolete content
external stylesheets are often associated with html documents using the <link rel="stylesheeet"> element, but it is important to use the element's title attribute properly.
RDF in Fifty Words or Less - Archive of obsolete content
and a "bookmark" could really have arbitrary properties associated with it: you might want to invent your own "classification" scheme for a bookmarka la macintosh's "hot", "warm", "cool" color coding.
Styling Abbreviations and Acronyms - Archive of obsolete content
the underline tells readers that the word in question has extra information associated with it.
Web Standards - Archive of obsolete content
this article covers common issues associated with migrating applications to the open source mozilla-based browser.
Windows Media in Netscape - Archive of obsolete content
for example, the following uses dhtml behaviors to associate a set of behaviors with a span element, which is then interrogated for its version number (the script attempts to verify that the windows media player control is at version 9): <span style="behavior:url(#default#clientcaps)" id="cc"></span> <script language=javascript> var cv = cc.getcomponentversion( "{6bf52a52-394a-11d3-b153-00c04f79faa6}", "componentid" ); if (cv == null || cv == "") { ...
Obsolete: XPCOM-based scripting for NPAPI plugins - Archive of obsolete content
ic plugin instance instance->pdata = null; return rv; } nperror npp_getvalue(npp instance, nppvariable variable, void *value) { if(instance == null) return nperr_invalid_instance_error; nperror rv = nperr_no_error; static nsiid scriptableiid = ns_itestplugin_iid; if (variable == nppvpluginscriptableinstance) { // nsitestplugin interface object should be associated with the plugin // instance itself.
XUL Parser in Python - Archive of obsolete content
the unknown_starttag handler is fed the tag name, the attributes of that tag, and the attributes' values, so all you have to do as you hit each xul element is build up a nested dictionary of elements and their associated attributes.
Common causes of memory leaks in extensions - Extensions
the interval function in the example would still hold a reference to contentdoc, therefore leaking the content document and the associated window and compartment.
Using the DOM File API in chrome code - Extensions
this protects users from the inherent security risks associated with allowing web content free access to the contents of their disks.
Gecko FAQ - Gecko Redirect 1
for xml documents without associated css or xslt, gecko displays the pretty-printed source of the document.
Attribute - MDN Web Docs Glossary: Definitions of Web-related terms
an attribute always has the form name="value" (the attribute's identifier followed by its associated value).
CSS - MDN Web Docs Glossary: Definitions of Web-related terms
a css rule is a set of properties associated with a selector.
Certificate authority - MDN Web Docs Glossary: Definitions of Web-related terms
a certificate authority (ca) is an organization that signs digital certificates and their associated public keys.
Gecko - MDN Web Docs Glossary: Definitions of Web-related terms
besides this, gecko makes sure associated apis work well on every operating system gecko supports, and that appropriate apis are exposed only to relevant support targets.
HPKP - MDN Web Docs Glossary: Definitions of Web-related terms
http public key pinning (hpkp) is a security feature that tells a web client to associate a specific cryptographic public key with a certain web server to decrease the risk of mitm attacks with forged certificates.
Prefetch - MDN Web Docs Glossary: Definitions of Web-related terms
they are most relevant when there are a plethora of links to external websites that may be clicked on, like search engine results, dns prefetching resolves domain names in advance thereby speeding up load times by reducing the time associated with domain lookup at request time.
Property (CSS) - MDN Web Docs Glossary: Definitions of Web-related terms
a css property is a characteristic (like color) whose associated value defines one aspect of how the browser should display the element.
Property (JavaScript) - MDN Web Docs Glossary: Definitions of Web-related terms
a javascript property is a characteristic of an object, often describing attributes associated with a data structure.
Accessible multimedia - Learn web development
if you are creating your own user interface to present your audio and associated transcript, you can do it however you like, but it might make sense to include it in a showable/hideable panel; see our audio-transcript-ui example (also see the source code).
WAI-ARIA basics - Learn web development
there are some other labelling techniques that use other properties such as aria-labelledby if you want to designate a non-<label> element as a label or label multiple form inputs with the same label, and aria-describedby, if you want to associate other information with a form input and have it read out as well.
Backgrounds and borders - Learn web development
rounded corners rounding corners on a box is achieved by using the border-radius property and associated longhands which relate to each corner of the box.
Fundamental CSS comprehension - Learn web development
starting point to get this assessment started, you should: go and grab the html file for the exercise, and the associated image file, and save them in a new directory on your local computer.
Styling tables - Learn web development
we've right-aligned the heading inside the <tfoot> so that it is visually associated better with its data point.
CSS values and units - Learn web development
functions are usually associated with languages like javascript, python, or c++, but they do exist in css too, as property values.
Introduction to CSS layout - Learn web development
table layout — features designed for styling the parts of an html table can be used on non-table elements using display: table and associated properties.
Fundamental text and font styling - Learn web development
white-space: define how whitespace and associated line breaks inside the element are handled.
How much does it cost to do something on the Web? - Learn web development
services associated with the domain name: some registrars provide spam protection by hiding your postal address and email address behind their own addresses: the postal address can be provided in care of the registrar, and your email address can be obscured via your registrar's alias.
What is the difference between webpage, website, web server, and search engine? - Learn web development
to access a page, just type its address in your browser address bar: web site a website is a collection of linked web pages (plus their associated resources) that share a unique domain name.
What are browser developer tools? - Learn web development
file list the first pane on the left contains the list of files associated with the page you are debugging.
What is accessibility? - Learn web development
dig deeper accessibility: general principles we might associate accessibility at first with negative limitations.
Client-side form validation - Learn web development
this example involves a simple text <input> with an associated <label> and a submit <button>.
The HTML5 input types - Learn web development
you could display an input value or the output of a calculation inside any element, but <output> is special — like <label>, it can take a for attribute that allows you to associate it with the element or elements that the output value came from.
How to build custom form controls - Learn web development
we can start with a completely semantic, accessible, unordered list of radio buttons with an associated <label>, labeling the entire group with a semantically appropriate <fieldset> and <legend> pair.
Other form controls - Learn web development
the <option> elements can be nested inside <optgroup> elements to create visually associated groups of values: <select id="groups" name="groups"> <optgroup label="fruits"> <option>banana</option> <option selected>cherry</option> <option>lemon</option> </optgroup> <optgroup label="vegetables"> <option>carrot</option> <option>eggplant</option> <option>potato</option> </optgroup> </select> on the <optgroup> element, the value of the label attribute is ...
Sending form data - Learn web development
we also look at some of the security concerns associated with sending form data.
Test your skills: Basic controls - Learn web development
you should also associate them with their text labels semantically.
Test your skills: Form structure - Learn web development
mark up each text label with an appropriate element so that it is semantically associated with its respective form field.
Test your skills: HTML5 controls - Learn web development
give it a class of invite-output, and semantically associate it with the input.
The web and web standards - Learn web development
for example, the html living standard describes exactly how html (all the html elements, and their associated apis, and other surrounding technologies) should be implemented.
Advanced text formatting - Learn web development
the purpose of these lists is to mark up a set of items and their associated descriptions, such as terms and definitions, or questions and answers.
Test your skills: Advanced HTML text - Learn web development
semantically associate machine-readable dates with the dates in the text.
Test your skills: HTML images - Learn web development
what you need to do here is add elements that will associate the image with the caption.
Video and audio content - Learn web development
for example, you can watch for the addtrack event being fired on the associated audiotracklist object (retrieved via htmlmediaelement.audiotracks) to be informed when audio tracks are added to the media: const mediaelem = document.queryselector("video"); mediaelem.audiotracks.onaddtrack = function(event) { audiotrackadded(event.track); } you'll find more information about this in our trackevent documentation.
Making asynchronous programming easier with async and await - Learn web development
ync-await.html example, timetest() looks like this: async function timetest() { const timeoutpromise1 = timeoutpromise(3000); const timeoutpromise2 = timeoutpromise(3000); const timeoutpromise3 = timeoutpromise(3000); await timeoutpromise1; await timeoutpromise2; await timeoutpromise3; } here we store the three promise objects in variables, which has the effect of setting off their associated processes all running simultaneously.
Introducing asynchronous JavaScript - Learn web development
previous overview: asynchronous next in this article we briefly recap the problems associated with synchronous javascript, and take a first look at some of the different asynchronous techniques you'll encounter, showing how they can help us solve such problems.
Asynchronous JavaScript - Learn web development
introducing asynchronous javascript in this article we briefly recap the problems associated with sychronous javascript, and take a first look at some of the different asynchronous javascript techniques you'll encounter, showing how they can help us solve such problems.
Build your own function - Learn web development
objective: to provide some practice in building a custom function, and explain a few more useful associated details.
Introduction to events - Learn web development
ways of using web events there are a number of ways to add event listener code to web pages so it runs when the associated event fires.
Functions — reusable blocks of code - Learn web development
you generally use an anonymous function along with an event handler, for example the following would run the code inside the function whenever the associated button is clicked: const mybutton = document.queryselector('button'); mybutton.onclick = function() { alert('hello'); } the above example would require there to be a <button> element available on the page to select and click.
Looping code - Learn web development
as well as being associated with popular breakfast cereals, roller coasters, and musical production, they are also a critical concept in programming.
Drawing graphics - Learn web development
the situation started to improve when browsers began to support the <canvas> element and associated canvas api — apple invented it in around 2004, and other browsers followed by implementing it in the years that followed.
Manipulating documents - Learn web development
objective: to gain familiarity with the core dom apis, and the other apis commonly associated with dom and document manipulation the important parts of a web browser web browsers are very complicated pieces of software with a lot of moving parts, many of which can't be controlled or manipulated by a web developer using javascript.
JavaScript object basics - Learn web development
instead of using these: person.age person.name.first you can use person['age'] person['name']['first'] this looks very similar to how you access the items in an array, and it is basically the same thing — instead of using an index number to select an item, you are using the name associated with each member's value.
Inheritance in JavaScript - Learn web development
any methods you want associated with the class are defined inside it, after the constructor.
Introduction to the server side - Learn web development
the request includes a url identifying the affected resource, a method that defines the required action (for example to get, delete, or post the resource), and may include additional information encoded in url parameters (the field-value pairs sent via a query string), as post data (data sent by the http post method), or in associated cookies.
Accessibility in React - Learn web development
getting previous state we want to focus on the element associated with our ref (via the ref attribute) only when our user deletes a task from their list.
React interactivity: Editing, filtering, conditional rendering - Learn web development
a javascript object would be a great way to relate names to behaviors: each key is the name of a filter; each property is the behavior associated with that name.
Handling common HTML and CSS problems - Learn web development
historically this used to be much more of a problem, but recently, with modern browsers tending to support css more consistently, layout issues tend to be more commonly associated with: lack of (or differences in) support for modern layout features.
Mozilla accessibility architecture
the reason that the doc accessible is not created directly in the widget code where it's needed is that the widget code has no knowledge what nsidomnode is associated with the current window's document object.
Adding a new CSS property
(none of this applies to shorthand properties.) start by reading and understanding the "computed value:" line in the specification's definition of the property, and any associated prose.
Creating reftest-based unit tests
if the file is associated with a bug, the bug should be examined.
Eclipse CDT
files compiled only on other platforms) and that therefore have no build output parser data associated with them.
Displaying Places information using views
when the tree is destroyed or a different nsitreeview is associated with the tree, the tree will set the tree property of the old nsitreeview to null.
Experimental features in Firefox
html element: <dialog> the html <dialog> element and its associated dom apis provide support for html-based modal dialog boxes.
Index
the new policy protects against cross-site tracking while minimizing the site breakage associated with traditional cookie blocking.
Frame script environment
may be null (see below) docshell the nsidocshell associated with the browser.
Limitations of chrome scripts
var httpchannel = subject.queryinterface(ci.nsihttpchannel); var domwindow = httpchannel.notificationcallbacks.getinterface(ci.nsidomwindow); } } or this: observe: function (subject, topic, data) { if (topic == "http-on-modify-request") { var httpchannel = subject.queryinterface(ci.nsihttpchannel); var domwindow = httpchannel.notificationcallbacks.getinterface(ci.nsiloadcontext).associatedwindow; } } in multiprocess firefox these patterns will no longer work: the getinterface call will fail.
Limitations of frame scripts
qi from content window to chrome window there's a particular pattern often used to get from a content window to the associated chrome window.
Frame script environment
the frame script's global is a contentframemessagemanager, giving it the following environment: content the dom window of the content loaded in the browser may be null (see below) docshell the nsidocshell associated with the browser.
Frame script loading and lifetime
frame scripts are associated with a browser tab and not with a page.
Limitations of frame scripts
qi from content window to chrome window there's a particular pattern often used to get from a content window to the associated chrome window.
Message manager overview
it's a chromemessagebroadcaster object, which implements the following interfaces: nsiframescriptloader nsimessagelistenermanager nsimessagebroadcaster you can access the global message manager like this: // chrome script let globalmm = cc["@mozilla.org/globalmessagemanager;1"] .getservice(ci.nsimessagelistenermanager); window message manager the window message manager is associated with a specific browser window, and operates on every <browser> (that is, every content tab) loaded into that window: loadframescript() loads the given script into every <browser> in that browser window broadcastasyncmessage() sends the message to every <browser> in that browser window.
Storage access policy: Block cookies from trackers
this policy protects against cross-site tracking while minimizing the site breakage associated with traditional cookie blocking.
mozbrowsercontextmenu
its properties are as follows: documenturi a domstring representing the url of the document the menu is associated with.
HTMLIFrameElement.purgeHistory()
the purgehistory() method of the htmliframeelement interface is used to clear the browsing history associated with the browser <iframe>.
Browser API
htmliframeelement.purgehistory() clears all the resources (cookies, localstorage, cache, etc.) associated with the browser <iframe>.
::-moz-tree-image
associated elements <xul:treeitem> <xul:treecell> style properties margin list-style position examples bookmark icons in the places window - mozillazine forum ...
::-moz-tree-cell-text
associated elements <xul:treecell> style properties font visibility color text-decoration ...
::-moz-tree-cell
associated elements <xul:treecell> style properties background border margin outline padding visibility ...
::-moz-tree-column
associated elements <xul:treecol> style properties margin visibility text style ...
::-moz-tree-drop-feedback
associated elements <xul:treerow> style properties margin visibility ...
::-moz-tree-indentation
associated elements <xul:treeitem> style properties position ...
::-moz-tree-line
associated elements <xul:treeitem> style properties border visibility ...
::-moz-tree-progressmeter
associated elements <xul:treecell> style properties margin color ...
::-moz-tree-row
associated elements treerow syntax treechildren::-moz-tree-row { style properties } style properties background border margin outline padding display -moz-appearance examples treechildren::-moz-tree-row( foo bar ) { margin: 2%; } ...where...
::-moz-tree-separator
associated elements <xul:treeseparator> style properties border display -moz-appearance ...
::-moz-tree-twisty
associated elements <xul:treecell> style properties border margin padding display list-style position -moz-appearance ...
Embedding the editor
if an embedder wants a fully native ui, then they'll have to code their own dialogs, and associated logic, but the apis should already be available to them.
HTML parser threading
additionally, each nshtml5parser has an associated nshtml5treeopexecutor that turns the output (tree operations; discussed later) of the portable parser core into actions performed on the gecko dom.
IME handling guide
how does gecko disable ime in imm mode on windows every window on windows is associated an imcontext.
IPDL Tutorial
the `manages` statement also means that pplugininstance actors are tied to the lifetime of the plugin actor that creates them: if this pplugin instance is destroyed, all the pplugininstances associated with it become invalid or are destroyed as well.
JavaScript-DOM Prototypes in Mozilla
| null if you have an instance of a htmldivelement in javascript, the following will hold true: div.__proto__ === htmldivelement.prototype which means that the following should also be true: div.__proto__ === div.constructor.prototype non standard no browser is required to provide modifiable __proto__, nor a global node, nor provide any way to get at host objects nor their associated prototypes.
AddonManager
t callback a callback to pass the addoninstall to mimetype the mimetype of the add-on hash an optional hash of the add-on name an optional placeholder name while the add-on is being downloaded iconurl an optional placeholder icon url while the add-on is being downloaded version an optional placeholder version while the add-on is being downloaded loadgroup an optional nsiloadgroup to associate any network requests with getinstallforfile() asynchronously gets an addoninstall for an nsifile.
DownloadError
properties attribute type description result read only nsresult the result code associated with this error.
DownloadList
this method finalizes each removed download, ensuring that any partially downloaded data associated with it is also removed.
DownloadTarget
calling this method lets the download object's properties be updated if the user moves or deletes the target file or its associated ".part" file, which contains a partially-downloaded file's contents.
Downloads.jsm
you can use download objects as keys in a set or map to associate your own state to them for the session.
OS.File for the main thread
mber> getposition() promise<number> read([optional] in number bytes) promise<void> setdates(in date|number accessdate, in date|number modificationdate); promise<void> setposition(in number bytes) promise<file.info> stat() promise<number> write(in arraybufferview source, [optional] in object options) methods close() close a file and release any associated resource.
Localization formats
$array["getting started"] = "débuter avec firefox" the php code searches the array and returns the translation that is associated with the english term used by the web developer.
Fonts for Mozilla 2.0's MathML engine
the license allows you to "use this font as permitted by the eula for the product in which this font is included to display and print content", so consulting your lawyer is recommended if considering installing this on systems without the associated product.
Mozilla Style System
the barrier between these two halves consists of three abstract interfaces, plus some smaller structures associated with some methods on each: nsistylesheet nsistylesheet represents what one would think of as a style sheet: the in-memory representation of a css file or other source of style data.
mozilla::CondVar
#include "condvar.h" methods constructor condvar(mutex& amutex, const char* aname) initialize the condvar with its associated mutex and a name to reference it by.
Gecko Profiler FAQ
some functions (reflow, painting, js excecution) insert the url of the associated document into the call stack frame, so you can get a rough idea, but we don’t have instrumentation at the tab/document/eventqueue level.
Leak-hunting strategies and tips
these roots are printed on shutdown in debug builds, and the name of the root should give the type of object it is associated with.
About NSPR
the java-like facilities include monitor reentrancy, implicit and tightly bound notification capabilities with the ability to associate the synchronization objects dynamically.
Optimizing Applications For NSPR
at thread switch time, the stack of the current running thread is copied to other storage associated with that thread and the about-to-be-dispatched thread's stack data is copied back onto the windows stack just before the thread is given control.
I/O Functions
the layer implementor should associate the identity with all layers of that type.
NSPR LOG MODULES
description specify a modulename that is associated with the name argument in a call to pr_newlogmodule and a non-zero level value to enable logging for the named modulename.
PRErrorCode
syntax #include <prerror.h> typedef print32 prerrorcode description the service nspr offers in this area is the ability to associate a thread-specific condition with an error number.
PRSeekWhence
specifies how to interpret the offset parameter in setting the file pointer associated with the fd parameter for the pr_seek and pr_seek64 functions.
PR_AttachThread
associates a prthread object with an existing native thread.
PR_CreateIOLayerStub
syntax #include <prio.h> prfiledesc* pr_createiolayerstub( prdescidentity ident priomethods const *methods); parameters the function has the following parameters: ident the identity to be associated with the new layer.
PR_CreateThread
stacksize specifies your preference for the size of the stack, in bytes, associated with the newly created thread.
PR_DestroyPollableEvent
close the file descriptor associated with a pollable event and release related resources.
PR_DetachThread
disassociates a prthread object from a native thread.
PR_EnterMonitor
enters the lock associated with a specified monitor.
PR_ExitMonitor
decrements the entry count associated with a specified monitor and, if the entry count reaches zero, releases the monitor's lock.
PR_NewLogModule
if the environment variable nspr_log_modules contains the specified name, then the associated level value from the variable is associated with the new prlogmoduleinfo structure.
PR_NotifyAllCondVar
if unsuccessful (for example, if the caller has not locked the lock associated with the condition variable), pr_failure.
PR_OpenSharedMemory
description pr_opensharedmemory creates a new shared memory segment or associates a previously created memory segment with the specified name.
PR_ReadDir
the flags parameter is an enum of type prdirflags: typedef enum prdirflags { pr_skip_none = 0x0, pr_skip_dot = 0x1, pr_skip_dot_dot = 0x2, pr_skip_both = 0x3, pr_skip_hidden = 0x4 } prdirflags; the memory associated with the returned prdirentry structure is managed by nspr.
PR_Seek
whence a value of type prseekwhence that specifies how to interpret the offset parameter in setting the file pointer associated with the fd parameter.
PR_Seek64
whence a value of type prseekwhence that specifies how to interpret the offset parameter in setting the file pointer associated with the fd parameter.
NSS Certificate Download Specification
if the private key associated with the certificate does not exist in the user's local key database, then an error dialog is generated and the certificate is not imported.
NSS 3.39 release notes
new functions in cert.h cert_getcertkeytype - query the key type associated with the given certificate.
NSS API Guidelines
it turns out there are several different semantics of getting rid of a data object too: decrement the reference count, and when the object goes to '0' free/delete/destroy it destroy it right now, this very instance, not matter what make any permanent objects associated with this data object go away a combination of 1 and 3, or 2 and 3 unfortunately, within the security library free, delete, and destroy are all used interchangeably, for all sorts of object destruction.
nss tech note4
include these files #include "ssl.h" #include "cert.h" get the handle of the cert associated with an ssl connection certcertificate* cert = ssl_peercertificate(prfiledesc *fd); if ssl client, this will get you the server's cert handle; if ssl server, this will get you the client's cert handle if client auth is enabled certcertificate* cert = ssl_localcertificate(prfiledesc *fd); if ssl client, this will...
FC_InitToken
(user certs are the certificates that have their associated private keys in the key database.) a user must be able to call fc_inittoken() without logging into the token (to assume the nss user role) because either the user's password hasn't been set yet or the user forgets the password and needs to blow away the password-encrypted private key database and start over.
NSC_InitToken
(user certs are the certificates that have their associated private keys in the key database.) note: the so password should be the empty string, i.e., ulpinlen argument should be 0.
NSS tools : crlutil
* add issuer alternative name extension: the issuer alternative names extension allows additional identities to be associated with the issuer of the crl.
NSS tools : pk12util
id password encryption pkcs#12 provides for not only the protection of the private keys but also the certificate and meta-data associated with the keys.
NSS tools : vfychain
the tasks associated with security module database management are part of a process that typically also involves managing key databases and certificate databases.
NSS Tools crlutil
add issuer alternative name extension: the issuer alternative names extension allows additional identities to be associated with the issuer of the crl.
NSS Tools modutil
the tasks associated with security module database management are part of a process that typically also involves managing key databases (key3.db files) and certificate databases (cert8.db files).
NSS Tools pk12util
gorithm -m | --key_len keylen specify the desired length of the symmetric key to be used to encrypt the private key -n | --cert_key_len certleylen specify the desired length of the symmetric key to be used to encrypt the top level protocol data unit password based encryption pkcs #12 provides for not only the protection of the private keys but also the certificate and meta-data associated with the keys.
NSS tools : crlutil
MozillaProjectsNSStoolscrlutil
* add issuer alternative name extension: the issuer alternative names extension allows additional identities to be associated with the issuer of the crl.
NSS tools : pk12util
id password encryption pkcs#12 provides for not only the protection of the private keys but also the certificate and meta-data associated with the keys.
NSS tools : vfychain
the tasks associated with security module database management are part of a process that typically also involves managing key databases and certificate databases.
Pork Tool Development
source locations ast nodes have a location associated with them; sourceloc is defined to be an integer corresponding to an string offset.
Rhino Examples
the foo class - extending scriptableobject foo.java is a simple javascript host object that includes a property with an associated action and a variable argument method.
Rhino overview
when the class was defined and loaded, the appropriate security domain was associated with it, and can be retrieved by calling this method.
64-bit Compatibility
to help form well-typed lir, there is a special opcode called lir_float which specifies that the associated constant value is definitely floating-point.
Bytecodes
within the engine, all bytecode execute within a stack frame -- even global (top-level) and eval code has a stack frame associated with it.
SpiderMonkey Internals
all state associated with an interpreter instance is passed through formal parameters to the interpreter entry point; most implicit state is collected in a type named jscontext.
Introduction to the JavaScript shell
if value is not specified, gcparam() returns the current value associated with gc parameter named name.
JIT Optimization Outcomes
notypeinfo optimization failed because there was no type information associated with an object containing the property.
JS::Add*Root
an entry for rp is added to the garbage collector's root set for the jsruntime associated with cx (or, in js::addnamedvaluerootrt, the runtime rt).
JS::Compile
the script is associated with a js object.
JS::CompileOffThread
the script is associated with a js object.
JS::PersistentRooted
these roots can be used in heap-allocated data structures, so they are not associated with any particular jscontext or stack.
JS::Remove*Root
the entry for vp/rp is removed from the root set for the jsruntime associated with the context cx.
JSClass
this is called at some point after the object becomes unreachable, and can be used to free any additional resources associated with the object.
JSFunctionSpec
description jsfunctionspec defines the attributes for a single js function to associate with an object.
JSIdArray
description jsidarray is used to hold ids for enumerated properties associated with an object.
JSObject
every object is associated with a jsclass and a jsobjectops.
JSObjectOps.lookupProperty
note: a successful return with non-null *propp means the implementation may have locked *objp and added a reference count associated with *propp, so callers should not risk deadlock by nesting or interleaving other lookups or any obj-bearing ops before dropping *propp.
JSPrincipals
these functions ensure that the given jsprincipals object is indelibly associated not only with the script being compiled or evaluated, but with all functions ever created by that script or code eval()-ed by it.
JSPrincipalsTranscoder
each script function is associated with principals, which poses a problem for xdr.
JSPropertySpec
description jspropertyspec defines the attributes for a single js property to associate with an object.
JS_Add*Root
an entry for rp is added to the garbage collector's root set for the jsruntime associated with cx (or, in js_addnamedrootrt, the runtime rt).
JS_ClearNonGlobalObject
this article covers features introduced in spidermonkey 24 remove all properties associated with an object.
JS_ClearScope
remove all properties associated with an object.
JS_CompileScript
the script is associated with a js object.
JS_CompileUTF8File
obj jsobject * object with which the script is associated.
JS_ConstructObject
cx is a pointer to a context associated with the runtime in which to create the new object.
JS_DropExceptionState
description this function destroys the specified jsexceptionstate object, unrooting as necessary any attached exception object and freeing the memory resources associated with the jsexceptionstate object.
JS_EvaluateScriptForPrincipals
principals is a pointer to the jsprincipals structure that contains the security information to associate with this script.
JS_GetCompartmentPrivate
syntax void js_setcompartmentprivate(jscompartment *compartment, void *data); void * js_getcompartmentprivate(jscompartment *compartment); name type description compartment jscompartment * any compartment data void * (in js_setcompartmentprivate) pointer to application-defined data to be associated with the compartment.
JS_GetContextPrivate
data void * (in js_setcontextprivate or js_setsecondcontextprivate) pointer to application-defined data to be associated with the context cx.
JS_GetFunctionName
description js_getfunctionname retrieves the function name associated with a function pointer, fun.
JS_GetRuntimePrivate
data void * (in js_setruntimeprivate) pointer to application-defined data to be associated with the runtime rt.
JS_LockGCThing
description js_lockgcthing is a deprecated function that protects a specified item, thing, associated with an executable script context, cx, from garbage collection.
JS_NewCompartmentAndGlobalObject
principals jsprincipals * the security information to associate with this compartment.
JS_NewExternalString
this is application-defined data you can associate with the string.
JS_NewGlobalObject
principals jsprincipals * the security information to associate with this compartment.
JS_PopArguments
description js_poparguments frees the stack frame pointer previously allocated by js_pusharguments and unroots the jsvals which have been associated with it (those returned by js_pusharguments as well).
JS_Remove*Root
the entry for rp is removed from the root set for the jsruntime associated with the context cx.
JS_SaveExceptionState
description saves the current exception state (that is, any pending exception, or a cleared exception state) associated with the specified context cx, and returns a jsexceptionstate object holding this state.
JS_ScheduleGC
the gc zeal level of the associated jsruntime is set.
JS_SetAllNonReservedSlotsToUndefined
note: this is done for all slots, regardless of the associated property descriptor.
JS_SetGCCallback
the gc callback of the associated jsruntime is set.
JS_SetGCZeal
the gc zeal level of the associated jsruntime is set.
JS_SetPropertyAttributes
then, if the property exists, but is associated with a different object, js_setpropertyattributes returns js_true.
JS_SuspendRequest
js_suspendrequest suspends any currently active requests associated with the context cx.
JS_THREADSAFE
*/ js_endrequest(cx); a request is always associated with a specific jscontext and runs from start to finish on a single thread.
JS_ValueToFunction
if v is a function object, this returns the associated jsfunction.
JS_malloc
for js_realloc and js_free, if p is non-null, cx must be associated with the same runtime as the context used to allocate p.
Shell global objects
it doesn't actually have any of the other behavior associated with promises.
Split object
an outer object may be associated with different inner objects at different times.
TPS Tests
that's what that phase is doing, it does any necessary cleanup for the phase, primarially unregistering the device associated with that profile.
WebReplayRoadmap
type profiling (not yet implemented) the types that appear in practice have a large effect on how well the associated code can be optimized by jits.
Redis Tips
in the case where you want to do something akin to a join, like, say, associate an email and a remote url to store a browserid assertion, just make a new key.
A Web PKI x509 certificate primer
keycertsign, crlsign subjectkeyidentifier = hash nameconstraints = permitted;dns:example.com,permitted;dns:example.net self-sign csr (using sha256) and append the extensions described in the file "openssl x509 -req -sha256 -days 3650 -in root.csr -signkey rootkey.pem -set_serial $any_small_integer -extfile openssl.root.cnf -out root.pem" now you have ca pem file with its associated key.
Using the Places tagging service
var tag1uris = taggingsvc.geturisfortag("tag 1"); //"tag 1" = given tag getting all tags associated with a url the nsitaggingservice.gettagsforuri() method returns an array of all tags set for the given url.
XML Extras
the qa owner will manage the tests associated with their component, act as qa contact for related bugs and help with regression testing.
Accessing the Windows Registry Using XPCOM
reading registry values probably the most common action associated with the windows registry is reading values.
Component Internals
xpcom closes down the component manager, the service manager and associated services.
Creating the Component Code
xpcom then loads the component library associated with the cid if it isn't loaded already.
Preface
each one of these steps has its own chapter, in which a number of topics associated with the step are discussed.
Starting WebLock
the next operation on the nsifile returns results associated with the "b" path.
Using XPCOM Components
in fact, virtually all of the functionality that you associate with a browser - navigation, window management, managing cookies, bookmarks, security, searching, rendering, and other features - is defined in xpcom components and accessed by means of those component interfaces.
Using XPCOM Utilities to Make Things Easier
on any interface that is generated by xpidl, you can call ns_get_iid() to obtain the iid which is associated with that interface.
Detailed XPCOM hashtable guide
using nsthashtable as a hash-set a hash set only tracks the existence of keys: it does not associate data with the keys.
Components.utils.getGlobalForObject
this method is used to determine the global object with which an object is associated.
Components.utils
getglobalforobject() returns the global object with which a given object is associated (through its prototype chain at birth, for example).
Components object
utils.getglobalforobject returns the global object with which a given object is associated (through its prototype chain at birth, for example).
Language bindings
components.utils.getglobalforobjectthis method is used to determine the global object with which an object is associated.
nsAutoRef
in order to use nsautoref<t> for a class t associated with a particular resource type, the type of the handle to the resource and the method for releasing the resource must be provided for class t.
nsCountedRef
in order to use nscountedref<t> for a class t associated with a particular resource type, the type of the handle to the resource and the methods for referencing and releasing the resource must be provided for class t.
IAccessibleTable
servers only need to save the most recent row and column values associated with the change and a scope of the entire application is adequate.
IAccessibleTable2
servers only need to save the most recent row and column values associated with the change and a scope of the entire application is adequate.
imgIDecoderObserver
by the time this callback is been called, the size has been set on the container and status_size_available has been set on the associated imgrequest.
mozIJSSubScriptLoader
the loaded script is executed with the principal associated with the target object.
mozIPlaceInfo
title string read only: the title associated with the place.
mozIRegistry
which explains how this information came to be associated with the notion of a "registry." someday (i hope) this page will be properly titled so that everybody knows it is the place to come to in order to find out how they are supposed to link together the various xpcom components that together form the mozilla browser.
nsIAbCard
ismaillist boolean maillisturi string if ismaillist is true then maillisturi will contain the uri of the associated mailing list.
nsIAccessibilityService
otaccessible(in voidptr aatkaccessible); void removenativerootaccessible(in nsiaccessible arootaccessible); void invalidatesubtreefor(in nsipresshell apresshell, in nsicontent achangedcontent, in pruint32 aevent); methods removenativerootaccessible() void removenativerootaccessible( in nsiaccessible arootaccessible ); invalidatesubtreefor() invalidate the accessibility cache associated with apresshell, for accessibles that were generated for acontainercontent and it's subtree.
Description
« nsiaccessible page summary accessible description -- long text associated with this node.
Help
« nsiaccessible page summary help text associated with node.
NumActions
« nsiaccessible page summary the number of accessible actions associated with this accessible.
Role
« nsiaccessible page summary enumerated accessible role for the associated element.
nsIAccessibleDocument
domdocument nsidomdocument the nsidomdocument interface associated with this document.
nsIAccessibleEditableText
long endpos); void deletetext(in long startpos, in long endpos); void inserttext(in astring text, in long position); void pastetext(in long position); void setattributes(in long startpos, in long endpos, in nsisupports attributes); unimplemented void settextcontents(in astring text); attributes attribute type description associatededitor nsieditor returns an editor associated with the accessible.
nsIApplicationCache
future loads associated with this group will come from this cache.
nsIBrowserHistory
it is called from the ui when the user deletes a group associated with a host or domain.
nsICacheEntryDescriptor
file nsifile get the disk file associated with the cache entry.
nsICacheEntryInfo
inherits from: nsisupports last changed in gecko 1.7 method overview boolean isstreambased(); attributes attribute type description clientid string get the client id associated with this cache entry.
nsICompositionStringSynthesizer
every instance is associated with a dom window at created by nsidomwindowutils.createcompositionstringsynthesizer().
nsIConsoleService
asourcename — the url for a file associated with an error.
nsICookiePermission
this is done by leveraging the loadgroup of the channel to find the root content docshell, and the uri associated with its principal.
nsIDOMEvent
any default action associated with the event will not occur.
nsIDOMFontFace
rule nsidomcssfontfacerule null if no associated @font-face rule.
nsIDOMOfflineResourceList
constants application cache state constants constant value description uncached 0 the object isn't associated with an application cache.
nsIDOMStorageEventObsolete
domainarg the domain to which the event belongs, or "#session" if the event is associated with session storage.
nsIDOMStorageItem
value domstring the value associated with the item.
nsIDOMWindowInternal
screen nsidomscreen readonly: returns a reference to the screen object associated with the window.
nsIDOMXULLabeledControlElement
note: the access key is copied to any associated label element.
nsIDictionary
return value the value associated with the specified key.
nsIDownloadManager
amimeinfo the mime information associated with the target; this may include mime type and helper application when appropriate.
nsIDynamicContainer
it can use the property bag on every result node to store data associated with each item, such as a full path on disk.
nsIEditor
the dom document this editor is associated with.
nsIEventTarget
isoncurrentthread() check to see if this event target is associated with the current thread.
nsIException
result nsresult the nsresult associated with this exception.
nsIFactory
inherits from: nsisupports last changed in gecko 0.9.5 method overview void createinstance(in nsisupports aouter, in nsiidref iid, [retval, iid_is(iid)] out nsqiresult result); void lockfactory(in prbool lock); methods createinstance() creates an instance of the class associated with this factory.
nsIFeed
enclosurecount long indicates the number of enclosures associated with a feed.
nsIFeedGenerator
uri nsiuri a uri associated with the generator software.
nsIFeedPerson
uri nsiuri a uri associated with the person; this is most likely the person's home page.
nsIFrameScriptLoader
for example: let windowmm = window.messagemanager; windowmm.loadframescript('data:,dump("foo\n");', true); this will load a separate instance of the frame script into every tab open in the window associated with this window message manager.
nsIJumpListBuilder
a task can be represented by an application shortcut and associated command line parameters or a uri.
nsILoginManagerPrompter
the prompt will be associated with this window (or, if a notification bar is being used, topmost opener in some cases).
nsIMicrosummary
needsremoval boolean used when a site author has indicated that a microsummary (or an associated generator) will no longer be available.
nsIMsgAccount
clearallvalues() clear all user preferences associated with an account.
nsIMsgDBViewCommandUpdater
akeywords keywords associated with the selected message.
nsIMsgFilter
throws an exception if the action is not label attribute nsmsglabelvalue label; junkscore attribute long junkscore; strvalue attribute autf8string strvalue; customid // action id if type is custom attribute acstring customid; customaction // custom action associated with customid // (which must be set prior to reading this attribute) readonly attribute nsimsgfiltercustomaction customaction; methods addterm() void nsimsgfilter::addterm ( in nsmsgsearchattribvalue attrib, in nsmsgsearchopvalue op, in nsimsgsearchvalue value, in boolean booleanand, in acstring arbitraryheader ) getter...
nsIMsgFolder
e.g., you might want to associate an identity with a particular newsgroup, or for imap shared folders in the other users namespace, you might want to create a delegated identity.
nsIMsgIncomingServer
this will remove the files associated with this server on disk.
nsIMsgMessageService
aurl a string representation of the original url associated with the msg.
nsIMsgRuleAction
throws an exception if the action is not label attribute nsmsglabelvalue label; // junkscore throws an exception if the action type is not junkscore attribute long junkscore; attribute autf8string strvalue; // action id if type is custom attribute acstring customid; // custom action associated with customid // (which must be set prior to reading this attribute) readonly attribute nsimsgfiltercustomaction customaction; }; ...
nsIMsgSearchSession
"dogbert" booleanand set to true if associated boolean operator is and.
nsINavHistoryResultTreeViewer
1.0 66 introduced gecko 1.8 inherits from: nsinavhistoryresultobserver last changed in gecko 1.9 (firefox 3) this object removes itself from the associated result when the tree is detached; this prevents circular references.
Component; nsIPrefBranch
prefhasuservalue() called to check if a specific preference has a user value associated to it.
nsIProgressEventSink
for socket status codes, this parameter indicates the host:port associated with the status code.
nsIProtocolProxyCallback
aproxyinfo the resulting proxy info or null if there is no associated proxy info for auri.
nsIPushService
principal the nsiprincipal to associate with the subscription.
nsIPushSubscription
inherits from: nsisupports last changed in gecko 46.0 (firefox 46.0 / thunderbird 46.0 / seamonkey 2.43) each subscription is associated with a unique url generated by the push service.
nsIRequest
status nsresult the error status associated with the request.
nsISSLErrorListener
error the code associated with the error.
nsISearchSubmission
1.0 66 introduced gecko 1.8 inherits from: nsisupports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) attributes attribute type description postdata nsiinputstream the post data associated with a search submission, wrapped in a mime input stream.
nsISeekableStream
void seek( in long whence, in long long offset ); parameters whence specifies how to interpret the 'offset' parameter in setting the stream offset associated with the implementing stream, according to the table of constants above.
nsISelectionPrivate
return value a reference to the frame selection associated with this selection.
nsISocketProviderService
netwerk/socket/nsisocketproviderservice.idlscriptable provides a mapping between a socket type and its associated socket provider instance.
nsISocketTransport
unsigned long gettimeout( in unsigned long atype ); parameters atype the timeout type, who's associated value should be retrieved.
nsISocketTransportService
netwerk/base/public/nsisockettransportservice.idlscriptable this interface provides a mapping between a socket type and its associated socket provider instance.
nsIThreadManager
if the calling thread does not already have a nsithread associated with it, one is created and associate with the current prthread.
nsITransferable
void init( in nsiloadcontext acontext ); parameters acontext the load context associated with the transferable object.
nsITransport
a transport can have an event sink associated with it.
nsIUpdate
statustext astring an optional message associated with the update.
nsIWebBrowserChrome
methods destroybrowserwindow() asks the implementer to destroy the window associated with this webbrowser object.
nsIXFormsNSInstanceElement
last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) interface code [scriptable, uuid(80669b92-8331-4f92-aaf8-06e80e6827b3)] interface nsixformsnsinstanceelement : nsisupports { nsidomdocument getinstancedocument(); }; methods getinstancedocument nsidomdocument getinstancedocument(); getinstancedocument returns a dom document that corresponds to the instance data associated with the instance element.
nsIXPCException
message - a custom message set by the thrower (defaults to 'exception') result - the nsresult associated with this exception (defaults to components.results.ns_error_failure) stack - the stack chain (defaults to the current stack) data - additional data object of your choice (defaults to null) inner - an inner exception that triggered this, if available ...
nsIZipWriter
azipentry); boolean hasentry(in autf8string azipentry); void open(in nsifile afile, in print32 aioflags); void processqueue(in nsirequestobserver aobserver, in nsisupports acontext); void removeentry(in autf8string azipentry, in boolean aqueue); attributes attribute type description comment acstring gets or sets the comment associated with the currently open zip file.
XPCOM Interface Reference by grouping
(i'm fully aware that this will be a great point of discussion and probably will end in tears, but since i'm the first person to apparently take a swing at this, i get first dibs.) the primary sections consist of: browser this section contains elements associated with the view pane or the content of the "browser window" proper.
Creating a gloda message query
involves: a list of all glodaidentity instances associated with this message.
Mail client architecture overview
address book - the address book contains lists of people and all attributes associated with them such as their e-mail address, phone number, etc.
Mail event system
methods each event type has a two methods associated with it: notify*<event> - in the nsifolder interface, and nsimsgmailsession interface.
Mailnews and Mail code review requirements
there must be an associated bug tracking the orange bug to be fixed.
Main Windows
mailoverlay.xul a really small overlay that only adds a few “new message” and “new card” commands to the menus, along with their associated javascript.
Using tab-modal prompts
gecko 2.0 introduces tab modal prompts, which only block the tab with which they're associated.
Using the Mozilla source server
now, when you click on a frame in the "calls" window, windbg will prompt you about running cvs to download the associated source code.
Add to iPhoto
if this is null or undefined, we immediately return null, indicating there is no node associated with the context menu.
Initialization and Destruction - Plugins
as long as the plug-in still appears in this list, that saved data is associated with the page; any new instances receive this data.
Accessibility Inspector - Firefox Developer Tools
the name depends on the element; for example, the name of most text elements is simply their textcontent, whereas form elements' names are the contents of their associated <label>.
Introduction to DOM Inspector - Firefox Developer Tools
inspecting a document when the dom inspector opens, it may or may not load an associated document, depending on the host application.
Inspecting web app manifests - Firefox Developer Tools
it also loads all the icon files into the view, so you can see the relative size of them all, and any other information associated with them.
Set an XHR breakpoint - Firefox Developer Tools
click on an item in the call stack to jump to the associated line in the code display.
Source map errors - Firefox Developer Tools
source maps are json files providing a way to associate transformed sources, as seen by the browser, with their original sources, as written by the developer.
Migrating from Firebug - Firefox Developer Tools
it shows log information associated with a web page and allows you to execute javascript expressions via its command line.
Throttling - Firefox Developer Tools
the characteristics emulated are: download speed upload speed minimum latency the table below lists the numbers associated with each network type, but please do not rely on this feature for exact performance measurements; it's intended to give an approximate idea of the user experience in different conditions.
Edit fonts - Firefox Developer Tools
note: if you want to use a different unit such as pt for font-size or line-height, you can set the property value applied to the currently inspected element to use that unit via the rules view, and the font editor will automatically pick it up and make it available in the associated units dropdown menu.
Work with animations - Firefox Developer Tools
in this case, the message is "animations of 'transform' cannot be run on the compositor when geometric properties are animated on the same element at the same time." edit @keyframes any @keyframes rules associated with the currently selected element are displayed in the rules view and are editable: edit timing functions when you create a css animation you can specify a timing function: this determines the rate at which the animation progresses.
Call Tree - Firefox Developer Tools
with this kind of digging, we can figure out the whole call graph, with associated sample count: sortall() // 8 -> sort() // 37 -> bubblesort() // 1345 -> swap() // 252 -> selectionsort() // 190 -> swap() // 1 -> quicksort() // 103 -> partition() // 12 platform data you'll also see some row...
Flame Chart - Firefox Developer Tools
in the call tree page, we figured out that the program call graph in that profile, and the associated sample count, looked like this: sortall() // 8 -> sort() // 37 -> bubblesort() // 1345 -> swap() // 252 -> selectionsort() // 190 -> swap() // 1 -> quicksort() // 103 -> partition() // 12 first, we'll just sel...
IndexedDB - Firefox Developer Tools
all items have a key and a value associated with them.
Style Editor - Firefox Developer Tools
the style editor enables you to: view and edit all the stylesheets associated with a page create new stylesheets from scratch and apply them to the page import existing stylesheets and apply them to the page to open the style editor choose the "style editor" option from the "web developer" menu (which is a submenu in the "tools" menu on the mac).
Web Console remoting - Firefox Developer Tools
prior to firefox 20 the web console actor provided a locationchange listener, with an associated locationchanged notification.
Web Console - Firefox Developer Tools
the web console: logs information associated with a web page: network requests, javascript, css, security errors and warnings as well as error, warning and informational messages explicitly logged by javascript code running in the page context enables you to interact with a web page by executing javascript expressions in the context of the page user interface of the web console parts of the web console ui.
AesGcmParams - Web APIs
this gives you a way to authenticate associated data without having to encrypt it.
Animation.timeline - Web APIs
the animation.timeline property of the animation interface returns or sets the timeline associated with this animation.
AnimationEffect - Web APIs
methods animationeffect.gettiming() returns the effecttiming object associated with the animation containing all the animation's timing values.
AnimationEvent() - Web APIs
animationname optional a domstring containing the value of the animation-name css property associated with the transition.
AnimationEvent.animationName - Web APIs
the animationevent.animationname read-only property is a domstring containing the value of the animation-name css property associated with the transition.
AnimationPlaybackEvent.AnimationPlaybackEvent() - Web APIs
detail optional defaults to null, of type any — an event-dependent value associated with the event.
AnimationPlaybackEvent.timelineTime - Web APIs
this will be unresolved if the animation was not associated with a timeline at the time the event was generated or if the associated timeline was inactive.
Attr.namespaceURI - Web APIs
WebAPIAttrnamespaceURI
note too that the namespace prefix, once it is associated with a particular node, cannot be changed.
AudioBuffer.getChannelData() - Web APIs
the getchanneldata() method of the audiobuffer interface returns a float32array containing the pcm data associated with the channel, defined by the channel parameter (with 0 representing the first channel).
AudioBuffer - Web APIs
methods audiobuffer.getchanneldata() returns a float32array containing the pcm data associated with the channel, defined by the channel parameter (with 0 representing the first channel).
AudioBufferSourceNode - Web APIs
number of inputs 0 number of outputs 1 channel count defined by the associated audiobuffer constructor audiobuffersourcenode() creates and returns a new audiobuffersourcenode object.
AudioContext.createMediaStreamDestination() - Web APIs
the createmediastreamdestination() method of the audiocontext interface is used to create a new mediastreamaudiodestinationnode object associated with a webrtc mediastream representing an audio stream, which may be stored in a local file or sent to another computer.
AudioNode.context - Web APIs
WebAPIAudioNodecontext
the read-only context property of the audionode interface returns the associated baseaudiocontext, that is the object representing the processing graph the node is participating in.
AudioNode - Web APIs
WebAPIAudioNode
properties audionode.context read only returns the associated baseaudiocontext, that is the object representing the processing graph the node is participating in.
AudioProcessingEvent - Web APIs
for each channel and each sample frame, the scriptnode.onaudioprocess function takes the associated audioprocessingevent and uses it to loop through each channel of the input buffer, and each sample in each channel, and add a small amount of white noise, before setting that result to be the output sample in each case.
AudioTrack.id - Web APIs
WebAPIAudioTrackid
this id can be used with the audiotracklist.gettrackbyid() method to locate a specific track within the media associated with a media element.
AudioWorkletGlobalScope.registerProcessor - Web APIs
a new processor by the given name is internally created and associated with the new node.
AudioWorkletGlobalScope - Web APIs
samplerate read only returns a float that represents the sample rate of the associated baseaudiocontext.
AudioWorkletNode.parameters - Web APIs
the read-only parameters property of the audioworkletnode interface returns the associated audioparammap — that is, a map-like collection of audioparam objects.
AudioWorkletProcessor() - Web APIs
instead, they are created only internally by the creation of an associated audioworkletnodes.
AudioWorkletProcessor.parameterDescriptors (static getter) - Web APIs
the property is not a part of the audioworkletprocessor interface, but, if defined, it is called internally by the audioworkletprocessor constructor to create a list of custom audioparam objects in the parameters property of the associated audioworkletnode.
AudioWorkletProcessor - Web APIs
instead, they are created only internally by the creation of an associated audioworkletnodes.
AuthenticatorAssertionResponse.authenticatorData - Web APIs
this public key will be stored on the server associated with a user's account and be used for future authentications.
BaseAudioContext.createScriptProcessor() - Web APIs
for each channel and each sample frame, the scriptnode.onaudioprocess function takes the associated audioprocessingevent and uses it to loop through each channel of the input buffer, and each sample in each channel, and add a small amount of white noise, before setting that result to be the output sample in each case.
Body - Web APIs
WebAPIBody
this provides these objects with an associated body (a stream), a used flag (initially unset), and a mime type (initially the empty byte sequence).
Broadcast Channel API - Web APIs
the api doesn't associate any semantics to messages, so it is up to the code to know what kind of messages to expect and what to do with them.
CSSKeyframeRule - Web APIs
csskeyframe.style read only returns a cssstyledeclaration of the css style associated with the keyframe.
CSSNamespaceRule - Web APIs
cssnamespacerule.prefix returns a domstring with the name of the prefix associated to this namespace.
CSSStyleSheet.ownerRule - Web APIs
let rulelist = document.stylesheets[0].cssrules; for (let rule of rulelist) { if (!rule.ownerrule) { /* rule is not imported */ } } this snipped obtains a reference to the stylesheet associated with the @import and processes it in some manner: let rulelist = document.stylesheets[0].cssrules; for (let rule of rulelist) { if (rule.ownerrule) { checkstylesheet(rule.ownerrule.stylesheet); } } specifications specification status comment css object model (cssom)the definition of 'cssstylesheet.ownerrule' in that specification.
Cache.match() - Web APIs
WebAPICachematch
the match() method of the cache interface returns a promise that resolves to the response associated with the first matching request in the cache object.
Cache - Web APIs
WebAPICache
methods cache.match(request, options) returns a promise that resolves to the response associated with the first matching request in the cache object.
CanvasCaptureMediaStreamTrack.canvas - Web APIs
// obtain the canvas associated with the stream var canvas = stream.canvas; specifications specification status comment media capture from dom elementsthe definition of 'canvascapturemediastreamtrack.canvas' in that specification.
CanvasRenderingContext2D.createImageData() - Web APIs
the array values associated with each pixel are r (red), g (green), b (blue), and a (alpha), in that order.
CanvasRenderingContext2D - Web APIs
might be null if it is not associated with a <canvas> element.
ChannelMergerNode() - Web APIs
syntax var mynode = new channelmergernode(context, options); parameters context a baseaudiocontext representing the audio context you want the node to be associated with.
ChannelSplitterNode.ChannelSplitterNode() - Web APIs
context a baseaudiocontext representing the audio context you want the node to be associated with.
Clients.matchAll() - Web APIs
WebAPIClientsmatchAll
include the options parameter to return all service worker clients whose origin is the same as the associated service worker's origin.
CompositionEvent.locale - Web APIs
the locale read-only property of the compositionevent interface returns the locale of current input method (for example, the keyboard layout locale if the composition is associated with ime).
CompositionEvent - Web APIs
compositionevent.locale read only returns the locale of current input method (for example, the keyboard layout locale if the composition is associated with ime).
ConstantSourceNode() - Web APIs
syntax var constantsourcenode = new constantsourcenode(context, options); parameters context an audiocontext representing the audio context you want the node to be associated with.
Constraint validation API - Web APIs
extensions to other interfaces the constraint validation api extends the interfaces for the form-associated elements listed below with a number of new properties and methods (elements that can have a form attribute that indicates their form owner): htmlbuttonelement htmlfieldsetelement htmlinputelement htmlobjectelement htmloutputelement htmlselectelement htmltextareaelement properties validity a read-only property that returns a validitystate object, whose properties represent validati...
ConvolverNode() - Web APIs
exceptions exception explanation notsupportederror the referenced audiobuffer does not have the correct number of channels, or it has a different sample rate to the associated audiocontext.
Credential.name - Web APIs
WebAPICredentialname
the name property of the credential interface returns a domstring, containing the name associated with a credential.
CryptoKey - Web APIs
WebAPICryptoKey
cryptokey.algorithm an object describing the algorithm for which this key can be used and any associated extra parameters.
CustomEvent() - Web APIs
customeventinit optional a customeventinit dictionary, having the following fields: "detail", optional and defaulting to null, of type any, that is an event-dependent value associated with the event.
DOMError - Web APIs
WebAPIDOMError
domerror.message read only returns a domstring representing a message or description associated with the given error type name.
DOMException() - Web APIs
name optional returns a domstring that contains one of the strings associated with an error constant.
DOMException.message - Web APIs
the message read-only property of the domexception interface returns a domstring representing a message or description associated with the given error name.
DOMException.name - Web APIs
WebAPIDOMExceptionname
the name read-only property of the domexception interface returns a domstring that contains one of the strings associated with an error name.
DOMTokenList.supports() - Web APIs
the supports() method of the domtokenlist interface returns true if a given token is in the associated attribute's supported tokens.
DOMTokenList - Web APIs
domtokenlist.supports(token) returns true if a given token is in the associated attribute's supported tokens.
DataTransferItem - Web APIs
methods datatransferitem.getasfile() returns the file object associated with the drag data item (or null if the drag item is not a file).
DataTransferItemList.add() - Web APIs
if the drag item couldn't be created (for example, if the associated datatransfer object has no data store), null is returned.
DataTransferItemList.length - Web APIs
the drag item list is considered to be disabled if the item list's datatransfer object is not associated with a drag data store.
Document.cookie - Web APIs
WebAPIDocumentcookie
the document property cookie lets you read and write cookies associated with the document.
Document.createElementNS() - Web APIs
syntax var element = document.createelementns(namespaceuri, qualifiedname[, options]); parameters namespaceuri a string that specifies the namespace uri to associate with the element.
Document.defaultView - Web APIs
in browsers, document.defaultview returns the window object associated with a document, or null if none is available.
Document.evaluate() - Web APIs
WebAPIDocumentevaluate
namespaceresolver is a function that will be passed any namespace prefixes and should return a string representing the namespace uri associated with that prefix.
Document.getAnimations() - Web APIs
return value an array of animation objects, each representing one animation currently associated with elements which are descendants of the document on which it's called.
Document.implementation - Web APIs
the document.implementation property returns a domimplementation object associated with the current document.
Document.timeline - Web APIs
WebAPIDocumenttimeline
note: a document timeline that is associated with a non-active document is also considered to be inactive.
Document - Web APIs
WebAPIDocument
document.implementationread only returns the dom implementation associated with the current document.
DocumentTimeline.DocumentTimeline() - Web APIs
the documenttimeline() constructor of the web animations api creates a new instance of the documenttimeline object associated with the active document of the current browsing context.
DocumentTimeline - Web APIs
constructor documenttimeline() creates a new documenttimeline object associated with the active document of the current browsing context.
Element: MSGestureEnd event - Web APIs
the msgestureend event is fired when all associated touch points have stopped contacting the touch surface, and any associated inertial movements have ended; thus ending the gesture.
Element: click event - Web APIs
safari mobile considers the following elements to be typically interactive (and thus they aren't affected by this bug): <a> (but it must have an href) <area> (but it must have an href) <button> <img> <input> <label> (but it must be associated with a form control) <textarea> this list is incomplete; you can help mdn by doing further testing/research and expanding it.
Element.getBoundingClientRect() - Web APIs
syntax domrect = element.getboundingclientrect(); value the returned value is a domrect object which is the union of the rectangles returned by getclientrects() for the element, i.e., the css border-boxes associated with the element.
Element.getClientRects() - Web APIs
syntax let rectcollection = object.getclientrects(); return value the returned value is a collection of domrect objects, one for each css border box associated with the element.
Element.namespaceURI - Web APIs
also note that the namespace prefix, once it is associated with a particular element, cannot be changed.
Element.scrollHeight - Web APIs
element.scrollheight - element.scrolltop === element.clientheight when the container does not scroll, but has overflowing children, these checks determine if the container can scroll: window.getcomputedstyle(element).overflowy === 'visible' window.getcomputedstyle(element).overflowy !== 'hidden' scrollheight demo associated with the onscroll event, this equivalence can be useful to determine whether a user has read a text or not (see also the element.scrolltop and element.clientheight properties).
Element.shadowRoot - Web APIs
syntax var shadowroot = element.shadowroot; value a shadowroot object instance, or null if the associated shadow root was attached with its mode set to closed.
Element - Web APIs
WebAPIElement
element.undomanager read only returns the undomanager associated with the element.
Encrypted Media Extensions API - Web APIs
mediakeys represents a set of keys that an associated htmlmediaelement can use for decryption of media data during playback.
Event.cancelable - Web APIs
WebAPIEventcancelable
this keeps the implementation from executing the default action that is associated with the event.
EventTarget.addEventListener() - Web APIs
other events and associated event handlers such as blur (onblur) and keypress (onkeypress) behave similarly.
ExtendableMessageEvent.ports - Web APIs
the ports read-only property of the extendablemessageevent interface returns the array containing the messageport objects representing the ports of the associated message channel (the channel the message is being sent through.) syntax var myports = extendablemessageevent.ports; value an array of messageport objects.
ExtendableMessageEvent - Web APIs
extendablemessageevent.ports read only returns the array containing the messageport objects representing the ports of the associated message channel.
FetchEvent.clientId - Web APIs
the clients.get() method could then be passed this id to retrieve the associated client.
FetchEvent.navigationPreload - Web APIs
the navigationpreload read-only property of the fetchevent interface returns a promise that resolves to the instance of navigationpreloadmanager associated with the current service worker registration.
FetchEvent.replacesClientId - Web APIs
for example, when navigating from page a to page b replacesclientid is the id of the client associated with page a.
FetchEvent.resultingClientId - Web APIs
for example, when navigating from page a to page b resultingclientid is the id of the client associated with page b.
Fetch basic concepts - Web APIs
when a request or response object is created, it has an associated headers object whose guard is set as summarized below: new object's type creating constructor guard setting of associated headers object request request() request request() with mode of no-cors request-no-cors response response() response error() or redirect() methods immutable a header's guard affects the set(), de...
FileEntrySync - Web APIs
method overview filewritersync createwriter () raises (fileexception); file file () raises (fileexception); methods createwriter() creates a new filewriter associated with the file that the fileentry represents.
FileSystemEntrySync - Web APIs
you can supply the mimetype to simulate the optional mime type header associated with http downloads.
FileHandle API - Web APIs
tion = myfile.readasarraybuffer(1000000000); action.onprogress = function (event) { if (progress) { progress.value = event.loaded; progress.max = event.total; } } action.onsuccess = function () { console.log('yeah \o/ just read a 1gb file'); } action.onerror = function () { console.log('oups :( unable to read a 1gb file') } file storage when a file handle is created, the associated file only exists as a "temporary file" as long as you hold the filehandle instance.
Introduction to the File and Directory Entries API - Web APIs
each origin has its own associated set of file systems.
FormData.get() - Web APIs
WebAPIFormDataget
the get() method of the formdata interface returns the first value associated with a given key from within a formdata object.
FormData.getAll() - Web APIs
WebAPIFormDatagetAll
the getall() method of the formdata interface returns all the values associated with a given key from within a formdata object.
GamepadEvent() - Web APIs
options optional options are as follows: gamepad: an instance of gamepad describing the gamepad associated with the event.
GamepadEvent.gamepad - Web APIs
the gamepadevent.gamepad property of the gamepadevent interface returns a gamepad object, providing access to the associated gamepad data for fired gamepadconnected and gamepaddisconnected events.
GamepadEvent - Web APIs
properties gamepadevent.gamepad read only returns a gamepad object, providing access to the associated gamepad data for the event fired.
Using the Gamepad API - Web APIs
%d buttons, %d axes.", e.gamepad.index, e.gamepad.id, e.gamepad.buttons.length, e.gamepad.axes.length); }); each gamepad has a unique id associated with it, which is available on the event's gamepad property.
GeolocationPositionError.code - Web APIs
the following values are possible: value associated constant description 1 permission_denied the acquisition of the geolocation information failed because the page didn't have the permission to do it.
GeolocationPositionError - Web APIs
the following values are possible: value associated constant description 1 permission_denied the acquisition of the geolocation information failed because the page didn't have the permission to do it.
Audio() - Web APIs
syntax audioobj = new audio(url); parameters url optional an optional domstring containing the url of an audio file to be associated with the new audio element.
HTMLCanvasElement.getContext() - Web APIs
syntax var ctx = canvas.getcontext(contexttype); var ctx = canvas.getcontext(contexttype, contextattributes); parameters contexttype is a domstring containing the context identifier defining the drawing context associated to the canvas.
HTMLCanvasElement: webglcontextlost event - Web APIs
the webglcontextlost event of the webgl api is fired if the user agent detects that the drawing buffer associated with a webglrenderingcontext object has been lost.
HTMLCanvasElement - Web APIs
webglcontextlost fired if the user agent detects that the drawing buffer associated with a webglrenderingcontext or webgl2renderingcontext object has been lost.
HTMLContentElement.getDistributedNodes() - Web APIs
the htmlcontentelement.getdistributednodes() method returns a static nodelist of the distributed nodes associated with this <content> element.
HTMLContentElement - Web APIs
htmlcontentelement.getdistributednodes() returns a static nodelist of the distributed nodes associated with this <content> element.
HTMLElement - Web APIs
htmlelement.contextmenu is a htmlmenuelement representing the contextual menu associated with the element.
HTMLKeygenElement - Web APIs
labels read only unimplemented (see bug 556743) is a nodelist that represents a list of label elements associated with this keygen element.
HTMLLinkElement - Web APIs
linkstyle.sheet read only returns the stylesheet object associated with the given element, or null if there is none.
HTMLMapElement - Web APIs
htmlmapelement.areas read only is a live htmlcollection representing the <area> elements associated to this <map>.
HTMLMediaElement.srcObject - Web APIs
the srcobject property of the htmlmediaelement interface sets or returns the object which serves as the source of the media associated with the htmlmediaelement.
HTMLMediaElement - Web APIs
mediakeys is a set of keys that an associated htmlmediaelement can use for decryption of media data during playback.
HTMLMeterElement - Web APIs
htmlmeterelement.labelsread only a nodelist of <label> elements that are associated with the element.
Option() - Web APIs
for the associated <select> element's value when the form is submitted to the server.
HTMLOptionElement - Web APIs
it has four values: the text to display, text, the value associated, value, the value of defaultselected, and the value of selected.
HTMLParamElement - Web APIs
htmlparamelement.value is a domstring representing the value associated to the parameter.
HTMLShadowElement.getDistributedNodes() - Web APIs
the htmlshadowelement.getdistributednodes() method returns a static nodelist of the distributed nodes associated with this <shadow> element.
HTMLShadowElement - Web APIs
htmlshadowelement.getdistributednodes() returns a static nodelist of the distributed nodes associated with this <shadow> element.
HTMLSourceElement - Web APIs
the htmlsourceelement.src property has a meaning only when the associated <source> element is nested in a media element that is a <video> or an <audio> element.
HTMLSpanElement - Web APIs
recommendation initial definition, as <span> was associated with an htmlelement before that.
HTMLStyleElement - Web APIs
linkstyle.sheet read only returns the stylesheet object associated with the given element, or null if there is none htmlstyleelement.scoped is a boolean value indicating if the element applies to the whole document (false) or only to the parent's sub-tree (true).
HTMLTableElement.caption - Web APIs
if no caption element is associated with the table, this property is null.
HTMLTableElement.createCaption() - Web APIs
the htmltableelement.createcaption() method returns the <caption> element associated with a given <table>.
HTMLTableElement.createTFoot() - Web APIs
the htmltableelement.createtfoot() method returns the <tfoot> element associated with a given <table>.
HTMLTableElement.createTHead() - Web APIs
the htmltableelement.createthead() method returns the <thead> element associated with a given <table>.
HTMLTableElement.deleteCaption() - Web APIs
if there is no <caption> element associated with the table, this method does nothing.
HTMLTableRowElement - Web APIs
it reflects the char and default to the decimal points associated with the language, e.g.
HTMLTableSectionElement - Web APIs
it reflects the char and default to the decimal points associated with the language, e.g.
HTMLTextAreaElement - Web APIs
htmltextareaelement.labelsread only nodelist: returns a list of label elements associated with this element.
HTMLTrackElement - Web APIs
this event is always sent to the texttrack but is also sent to the htmltrackelement if one is associated with the track.
HTMLVideoElement - Web APIs
htmlvideoelement.mozhasaudio read only returns a boolean indicating if there is some audio associated with the video.
The HTML DOM API - Web APIs
html element interfaces these interfaces represent specific html elements (or sets of related elements which have the same properties and methods associated with them).
Dragging and Dropping Multiple Items - Web APIs
this list is iterated over to get all of the data associated with the drag.
HTML Drag and Drop API - Web APIs
each drag event type has an associated global event handler: event on event handler fires when… drag ondrag …a dragged item (element or text selection) is dragged.
Headers.get() - Web APIs
WebAPIHeadersget
example creating an empty headers object is simple: var myheaders = new headers(); // currently empty myheaders.get('not-set'); // returns null you could add a header to this using headers.append, then retrieve it using get(): myheaders.append('content-type', 'image/jpeg'); myheaders.get('content-type'); // returns "image/jpeg" if the header has multiple values associated with it, the byte string will contain all the values, in the order they were added to the headers object: myheaders.append('accept-encoding', 'deflate'); myheaders.append('accept-encoding', 'gzip'); myheaders.get('accept-encoding'); // returns "deflate,gzip" note: headers.getall used to have this functionality, with headers.get returning only the first value added to the headers object.
Headers.getAll() - Web APIs
WebAPIHeadersgetAll
example creating an empty headers object is simple: var myheaders = new headers(); // currently empty you could add a header to this using headers.append, then retrieve it using getall(): myheaders.append('content-type', 'image/jpeg'); myheaders.getall('content-type'); // returns [ "image/jpeg" ] if the header has multiple values associated with it, the array will contain all the values, in the order they were added to the headers object: myheaders.append('accept-encoding', 'deflate'); myheaders.append('accept-encoding', 'gzip'); myheaders.getall('accept-encoding'); // returns [ "deflate", "gzip" ] note: use headers.get to return only the first value added to the headers object.
History.replaceState() - Web APIs
syntax history.replacestate(stateobj, title, [url]) parameters stateobj the state object is a javascript object which is associated with the history entry passed to the replacestate method.
IDBIndex.get() - Web APIs
WebAPIIDBIndexget
if a value is found, then a structured clone of it is created and set as the result of the request object: this returns the record the key is associated with.
IDBIndex.getAll() - Web APIs
WebAPIIDBIndexgetAll
there is a performance cost associated with looking at the value property of a cursor, because the object is created lazily.
FileHandle.onabort - Web APIs
these events occur when the associated locked file has been aborted with the lockedfile.abort() method.
IDBMutableFile - Web APIs
methods mutablefile.open() returns a lockedfile object to read or write the associated file safely.
IDBObjectStore.add() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description readonlyerror the transaction associated with this operation is in read-only mode.
IDBObjectStore.clear() - Web APIs
exceptions this method may raise a domexception of one of the following types: exception description readonlyerror the transaction associated with this operation is in read-only mode.
IDBRequest.error - Web APIs
WebAPIIDBRequesterror
example the following example requests a given record title, onsuccess gets the associated record from the idbobjectstore (made available as objectstoretitlerequest.result), updates one property of the record, and then puts the updated record back into the object store.
IDBRequest.onerror - Web APIs
}; example the following example requests a given record title, onsuccess gets the associated record from the idbobjectstore (made available as objectstoretitlerequest.result), updates one property of the record, and then puts the updated record back into the object store.
IDBRequest.onsuccess - Web APIs
}; example the following example requests a given record title, onsuccess gets the associated record from the idbobjectstore (made available as objectstoretitlerequest.result), updates one property of the record, and then puts the updated record back into the object store.
IDBRequest.readyState - Web APIs
example the following example requests a given record title, onsuccess gets the associated record from the idbobjectstore (made available as objectstoretitlerequest.result), updates one property of the record, and then puts the updated record back into the object store in another request.
IDBRequest.result - Web APIs
WebAPIIDBRequestresult
syntax var myresult = request.result; value any example the following example requests a given record title, onsuccess gets the associated record from the idbobjectstore (made available as objectstoretitlerequest.result), updates one property of the record, and then puts the updated record back into the object store.
IDBRequest.source - Web APIs
WebAPIIDBRequestsource
example the following example requests a given record title, onsuccess gets the associated record from the idbobjectstore (made available as objectstoretitlerequest.result), updates one property of the record, and then puts the updated record back into the object store in another request.
IDBRequest.transaction - Web APIs
example the following example requests a given record title, onsuccess gets the associated record from the idbobjectstore (made available as objectstoretitlerequest.result), updates one property of the record, and then puts the updated record back into the object store in another request.
IDBTransaction.abort() - Web APIs
the abort() method of the idbtransaction interface rolls back all the changes to objects in the database associated with this transaction.
IDBTransactionSync - Web APIs
method overview void abort() raises (idbdatabaseexception); void commit() raises (idbdatabaseexception); idbobjectstoresync objectstore(in domstring name) raises (idbdatabaseexception); attributes attribute type description db idbdatabasesync the database connection that this transaction is associated with.
IDBVersionChangeRequest.setVersion() - Web APIs
the new way is to define the version in the idbdatabase.open() method and create and delete object stores in the onupgradeneeded event handler associated with the returned request.
ImageBitmap.close() - Web APIs
WebAPIImageBitmapclose
the imagebitmap.close() method disposes of all graphical resources associated with an imagebitmap.
ImageBitmap - Web APIs
methods imagebitmap.close() disposes of all graphical resources associated with an imagebitmap.
ImageBitmapRenderingContext.transferFromImageBitmap() - Web APIs
the imagebitmaprenderingcontext.transferfromimagebitmap() method displays the given imagebitmap in the canvas associated with this rendering context.
ImageBitmapRenderingContext - Web APIs
methods imagebitmaprenderingcontext.transferfromimagebitmap() displays the given imagebitmap in the canvas associated with this rendering context.
ImageData.data - Web APIs
WebAPIImageDatadata
the values associated with each pixel are r (red), g (green), b (blue), and a (alpha), in that order.
ImageData - Web APIs
WebAPIImageData
it is created using the imagedata() constructor or creator methods on the canvasrenderingcontext2d object associated with a canvas: createimagedata() and getimagedata().
KeyboardEvent.charCode - Web APIs
for a list of the charcode values associated with particular keys, run example 7: displaying event object properties and view the resulting html table.
KeyboardEvent.code - Web APIs
this property is useful when you want to handle keys based on their physical positions on the input device rather than the characters associated with those keys; this is especially common when writing code to handle input for games that simulate a gamepad-like environment using keys on the keyboard.
KeyboardEvent.initKeyEvent() - Web APIs
charcodearg is a unsigned long representingthe unicode character associated with the depressed key otherwise 0.
KeyboardEvent.initKeyboardEvent() - Web APIs
viewarg the windowproxy it is associated to.
KeyboardLayoutMap.get() - Web APIs
example the following example demonstrates how to get the location- or layout-specific string associated with the key that corresponds to the 'w' key on an english qwerty keyboard.
KeyframeEffect - Web APIs
animationeffect.gettiming() the effecttiming object associated with the animation containing all the animation's timing values.
Location: ancestorOrigins - Web APIs
the ancestororigins read-only property of the location interface is a static domstringlist containing, in reverse order, the origins of all ancestor browsing contexts of the document associated with the given location object.
Long Tasks API - Web APIs
taskattributiontiming returns information about the work involved in a long task and its associate frame context.
MediaDeviceInfo.groupId - Web APIs
this might be used to produce a user interface that gathers associated devices together for presentation purposes, or to make it easy for the user to choose to use the built-in camera and microphone on the same display at the same time.
MediaDevices.getUserMedia() - Web APIs
document source security because of the obvious security concern associated with getusermedia() if used unexpectedly or without security being carefully managed, it can only be used in secure contexts.
MediaElementAudioSourceNode() - Web APIs
context an audiocontext representing the audio context you want the node to be associated with.
MediaImage - Web APIs
the media session api's mediaimage dictionary describes the images associated with the media resource mediametadata.
close() - Web APIs
the mediakeysession.close() method notifies that the current media session is no longer needed, and that the content decryption module should release any resources associated with this object and close it.
MediaKeySession.closed - Web APIs
closing a session means that licenses and keys associated with it are no longer valid for decrypting media data.
load() - Web APIs
}); parameter sessionid a unique string generated by the content decription module for the current media object and its associated keys or licenses.
remove() - Web APIs
the mediakeysession.remove() method returns a promise after removing any session data associated with the current object.
sessionId - Web APIs
the mediakeysession.sessionid read-only property contains a unique string generated by the cdm for the current media object and its associated keys or licenses.
MediaKeyStatusMap.has() - Web APIs
the has property of the mediakeystatusmap interface returns a boolean, asserting whether a value has been associated with the given key.
MediaKeys - Web APIs
WebAPIMediaKeys
the mediakeys interface of encryptedmediaextensions api represents a set of keys that an associated htmlmediaelement can use for decryption of media data during playback.
MediaMetadata.MediaMetadata() - Web APIs
artwork: an array of images associated with the playing media.
MediaMetadata.artwork - Web APIs
the artwork property of the mediametadata interface returns or sets an array of mediaimage objects representing images associated with playing media.
MediaMetadata - Web APIs
mediametadata.artwork returns or sets an array of images associated with playing media.
MediaSource.MediaSource() - Web APIs
the mediasource() constructor of the mediasource interface constructs and returns a new mediasource object with no associated source buffers.
MediaSource.removeSourceBuffer() - Web APIs
the removesourcebuffer() method of the mediasource interface removes the given sourcebuffer from the sourcebuffers list associated with this mediasource object.
MediaSource.sourceBuffers - Web APIs
the sourcebuffers read-only property of the mediasource interface returns a sourcebufferlist object containing the list of sourcebuffer objects associated with this mediasource.
MediaStreamAudioDestinationNode.MediaStreamAudioDestinationNode() - Web APIs
context an audiocontext representing the audio context you want the node to be associated with.
MediaStreamAudioSourceNode() - Web APIs
syntax audiosourcenode = new mediastreamaudiosourcenode(context, options); parameters context an audiocontext representing the audio context you want the node to be associated with.
MediaStreamEvent.stream - Web APIs
the read-only property mediastreamevent.stream returns the mediastream associated with the event.
MediaStreamEvent - Web APIs
mediastreamevent.stream read only contains the mediastream containing the stream associated with the event.
MediaStreamTrack.kind - Web APIs
it doesn't change if the track is deassociated from its source.
MediaStreamTrack.label - Web APIs
when the track is deassociated from its source, the label is not changed.
MediaStreamTrack.stop() - Web APIs
it is instead disassociated from the track and the track object is stopped.
MediaStreamTrackAudioSourceNode() - Web APIs
syntax audiotracknode = new mediastreamtrackaudiosourcenode(context, options); parameters context an audiocontext representing the audio context you want the node to be associated with.
MediaTrackConstraints.deviceId - Web APIs
because rtp doesn't include this information, tracks associated with a webrtc rtcpeerconnection will never include this property.
MediaTrackConstraints.echoCancellation - Web APIs
because rtp doesn't include this information, tracks associated with a webrtc rtcpeerconnection will never include this property.
MediaTrackConstraints.facingMode - Web APIs
because rtp doesn't include this information, tracks associated with a webrtc rtcpeerconnection will never include this property.
MediaTrackConstraints.latency - Web APIs
because rtp doesn't include this information, tracks associated with a webrtc rtcpeerconnection will never include this property.
MediaTrackConstraints - Web APIs
for example, because rtp doesn't provide some of these values during negotiation of a webrtc connection, a track associated with a rtcpeerconnection will not include certain values, such as facingmode or groupid.
MediaTrackSettings.deviceId - Web APIs
because rtp doesn't include this information, tracks associated with a webrtc rtcpeerconnection will never include this property.
MediaTrackSettings.echoCancellation - Web APIs
because rtp doesn't include this information, tracks associated with a webrtc rtcpeerconnection will never include this property.
MediaTrackSettings.facingMode - Web APIs
because rtp doesn't include this information, tracks associated with a webrtc rtcpeerconnection will never include this property.
MediaTrackSettings.groupId - Web APIs
because rtp doesn't include this information, tracks associated with a webrtc rtcpeerconnection will never include this property.
MediaTrackSettings.latency - Web APIs
because rtp doesn't include this information, tracks associated with a webrtc rtcpeerconnection will never include this property.
MediaTrackSettings - Web APIs
for example, because rtp doesn't provide some of these values during negotiation of a webrtc connection, a track associated with a rtcpeerconnection will not include certain values, such as facingmode or groupid.
Media Session API - Web APIs
dictionaries mediaimage a mediaimage object contains information describing an image associated with the media.
MessageChannel.port1 - Web APIs
the handlemessage method is associated to the port1 to listen when the message arrives.
MessageEvent.MessageEvent() - Web APIs
ports: an array of messageport objects representing the ports associated with the channel the message is being sent through (where appropriate, e.g.
MessageEvent.ports - Web APIs
the ports read-only property of the messageevent interface is an array of messageport objects representing the ports associated with the channel the message is being sent through (where appropriate, e.g.
MouseEvent.mozInputSource - Web APIs
this lets you, for example, determine whether a mouse event was generated by an actual mouse or by a touch event (which might affect the degree of accuracy with which you interpret the coordinates associated with the event).
MouseEvent - Web APIs
this lets you, for example, determine whether a mouse event was generated by an actual mouse or by a touch event (which might affect the degree of accuracy with which you interpret the coordinates associated with the event).
Navigator.serviceWorker - Web APIs
the navigator.serviceworker read-only property returns the serviceworkercontainer object for the associated document, which provides access to registration, removal, upgrade, and communication with the serviceworker.
Node.getRootNode() - Web APIs
WebAPINodegetRootNode
calling it on an element inside a shadow dom will return the associated shadowroot.
Node.lookupNamespaceURI() - Web APIs
the node.lookupnamespaceuri() method accepts a prefix and returns the namespace uri associated with it on the given node if found (and null if not).
Node.namespaceURI - Web APIs
WebAPINodenamespaceURI
note too that the namespace prefix, once it is associated with a particular node, cannot be changed.
Node - Web APIs
WebAPINode
node.lookupnamespaceuri() accepts a prefix and returns the namespace uri associated with it on the given node if found (and null if not).
NodeIterator.expandEntityReferences - Web APIs
this takes precedence over the value of the nodeiterator.whattoshow method and the associated filter.
Notification.Notification() - Web APIs
data: arbitrary data that you want associated with the notification.
Notification.data - Web APIs
WebAPINotificationdata
the notification's data can be any arbitrary data that you want associated with the notification.
Notification.timestamp - Web APIs
the notification's timestamp can represent the time, in milliseconds since 00:00:00 utc on 1 january 1970, of the event for which the notification was created, or it can be an arbitrary timestamp that you want associated with the notification.
OfflineAudioContext.OfflineAudioContext() - Web APIs
return value a new offlineaudiocontext object whose associated audiobuffer is configured as requested.
OffscreenCanvas.getContext() - Web APIs
syntax offscreen.getcontext(contexttype, contextattributes); parameters contexttype is a domstring containing the context identifier defining the drawing context associated to the canvas.
PannerNode.PannerNode() - Web APIs
context a baseaudiocontext representing the audio context you want the node to be associated with.
PaymentRequest.PaymentRequest() - Web APIs
syntax var paymentrequest = new paymentrequest(methoddata, details, [options]); parameters methoddata contains an array of identifiers for the payment methods the merchant web site accepts and any associated payment method specific data.
PaymentRequestEvent() - Web APIs
methoddata: an array of paymentmethoddata objects containing payment method identifers for the payment methods that the web site accepts and any associated payment method specific data.
PaymentRequestEvent.methodData - Web APIs
the methoddata read-only property of the paymentrequestevent interface returns an array of paymentmethoddata objects containing payment method identifers for the payment methods that the web site accepts and any associated payment method specific data.
PaymentRequestEvent - Web APIs
methoddataread only returns an array of paymentmethoddata objects containing payment method identifers for the payment methods that the web site accepts and any associated payment method specific data.
Payment Request API - Web APIs
basiccarderrors an object providing any error messages associated with the fields in the basiccardresponse object that are not valid.
PeriodicWave.PeriodicWave() - Web APIs
context a baseaudiocontext representing the audio context you want the node to be associated with.
Multi-touch interaction - Web APIs
when this occurs, the event is removed from the associated event cache.
PopStateEvent - Web APIs
e 3", "?page=3"); history.back(); // alerts "location: http://example.com/example.html?page=1, state: {"page":1}" history.back(); // alerts "location: http://example.com/example.html, state: null history.go(2); // alerts "location: http://example.com/example.html?page=3, state: {"page":3} note that even though the original history entry (for http://example.com/example.html) has no state object associated with it, a popstate event is still fired when we activate that entry after the second call to history.back().
ProgressEvent.initProgressEvent() - Web APIs
cancelablearg is a boolean flag indicating if the event associated action can be avoided (true) or not (false).
PublicKeyCredential.rawId - Web APIs
this identifier is expected to be globally unique and is appointed for the current publickeycredential and its associated authenticatorassertionresponse.
PushRegistrationManager - Web APIs
pushregistrationmanager.getregistration() returns a promise that resolves the pushregistration associated with the current webapp.
PushSubscription.endpoint - Web APIs
the endpoint read-only property of the pushsubscription interface returns a usvstring containing the endpoint associated with the push subscription.
PushSubscription.expirationTime - Web APIs
the expirationtime read-only property of the pushsubscription interface returns a domhighrestimestamp of the subscription expiration time associated with the push subscription, if there is one, or null otherwise.
PushSubscription.subscriptionId - Web APIs
the endpoint read-only property of the pushsubscription interface returns a domstring containing the subscription id associated with the push subscription.
Push API - Web APIs
WebAPIPush API
note: chrome versions earlier than 52 require you to set up a project on google cloud messaging to send push messages, and use the associated project number and api key when sending push notifications.
RTCDataChannel - Web APIs
every data channel is associated with an rtcpeerconnection, and each peer connection can have up to a theoretical maximum of 65,534 data channels (the actual limit may vary from browser to browser).
RTCDataChannelEvent.channel - Web APIs
the read-only property rtcdatachannelevent.channel returns the rtcdatachannel associated with the event.
RTCDataChannelEvent - Web APIs
constructorrtcdatachannelevent() the rtcdatachannelevent() constructor creates a new rtcdatachannelevent.propertiesalso inherits properties from: eventchannel read only the read-only property rtcdatachannelevent.channel returns the rtcdatachannel associated with the event.methodsthis interface has no methods, but inherits methods from: event examples in this example, the datachannel event handler is set up to save the data channel reference and set up handlers for the events which need to be monitored.
RTCIceCandidateInit.sdpMLineIndex - Web APIs
value a number containing a 0-based index into the set of m-lines providing media descriptions, indicating which media source is associated with the candidate, or null if no such association is available.
RTCIceCandidateStats.deleted - Web APIs
this generally mean sthat any associated socket(s) have been closed and released.
RTCIceTransport: gatheringstatechange event - Web APIs
examples this example creates a handler for gatheringstatechange events on each rtcrtpsender associated with a given rtcpeerconnection.
RTCIdentityErrorEvent - Web APIs
the rtcidentityerrorevent interface represents an error associated with the identity provider (idp).
RTCIdentityEvent.assertion - Web APIs
the read-only property rtcidentityevent.assertion returns the domstring containing a blob being the coded assertion associated with the event.
RTCInboundRtpStreamStats - Web APIs
receiverid a string indicating which identifies the rtcaudioreceiverstats or rtcvideoreceiverstats object associated with the stream's receiver.
RTCPeerConnection.getStreamById() - Web APIs
the rtcpeerconnection.getstreambyid() method returns the mediastream with the given id that is associated with local or remote end of the connection.
RTCPeerConnection.getTransceivers() - Web APIs
example the following snippet of code stops all transceivers associated with an rtcpeerconnection.
RTCPeerConnection.iceConnectionState - Web APIs
the read-only property rtcpeerconnection.iceconnectionstate returns an enum of type rtciceconnectionstate which state of the ice agent associated with the rtcpeerconnection.
RTCPeerConnection: identityresult event - Web APIs
an identityresult event is sent to an rtcpeerconnection object's onidentityresult event handler to inform it that an assertion has been generated by an associated identity provider (idp) during the process of creating an sdp offer or answer.
RTCPeerConnection.onidpassertionerror - Web APIs
such an event is sent when the associated identity provider (idp) encounters an error while generating an identity assertion.
RTCPeerConnection.onidpvalidationerror - Web APIs
such an event is sent when the associated identity provider (idp) encounters an error while validating an identity assertion.
RTCPeerConnection.ontrack - Web APIs
the function receives as input the event object, of type rtctrackevent; this event is sent when a new incoming mediastreamtrack has been created and associated with an rtcrtpreceiver object which has been added to the set of receivers on connection.
RTCPeerConnection.setIdentityProvider() - Web APIs
username optional is a domstring representing the username associated with the idp.
RTCPeerConnection.setLocalDescription() - Web APIs
the rtcpeerconnection method setlocaldescription() changes the local description associated with the connection.
RTCPeerConnectionIceEvent.candidate - Web APIs
the read-only candidate property of the rtcpeerconnectioniceevent interface returns the rtcicecandidate associated with the event.
RTCPeerConnectionIceEvent - Web APIs
rtcpeerconnectioniceevent.candidate read only contains the rtcicecandidate containing the candidate associated with the event, or null if this event indicates that there are no further candidates to come.
RTCRtpReceiver.track - Web APIs
the track read-only property of the rtcrtpreceiver interface returns the mediastreamtrack associated with the current rtcrtpreceiver instance.
RTCRtpReceiver - Web APIs
properties rtcrtpreceiver.track read only returns the mediastreamtrack associated with the current rtcrtpreceiver instance.
RTCRtpSender.dtmf - Web APIs
WebAPIRTCRtpSenderdtmf
only audio tracks can support dtmf, and typically only one audio track per rtcpeerconnection will have an associated rtcdtmfsender example tbd specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcrtpsender.dtmf' in that specification.
RTCRtpSender - Web APIs
rtcrtpsender.setstreams() sets the mediastream(s) associated with the track being transmitted by this sender.
RTCRtpStreamStats.kind - Web APIs
this string will always be the same as the one provided by the associated mediastreamtrack object's kind property.
RTCRtpStreamStats.ssrc - Web APIs
do not rely upon these values meaning anything other than "these objects are associated with the same source." specifications specification status comment identifiers for webrtc's statistics apithe definition of 'rtcrtpstreamstats.ssrc' in that specification.
RTCRtpSynchronizationSource.voiceActivityFlag - Web APIs
syntax var voiceactivity = rtcrtpsynchronizationsource.voiceactivityflag value a boolean value which is true if voice activity is present in the most recently received rtp packet played by the associated source, or false if voice activity is not present.
RTCRtpTransceiver.currentDirection - Web APIs
each describes how the transceiver's associated rtcrtpsender and rtcrtpreceiver behave as shown in the table below.
RTCRtpTransceiver.direction - Web APIs
each describes how the transceiver's associated rtcrtpsender and rtcrtpreceiver behave as shown in the table below.
RTCRtpTransceiver.setCodecPreferences() - Web APIs
that means that either the associated rtcrtpsender or the rtcrtpreceiver needs to support every codec in the list.
RTCRtpTransceiver.stop() - Web APIs
the stop() method in the rtcrtptransceiver interface permanently stops the transceiver by stopping both the associated rtcrtpsender and rtcrtpreceiver.
RTCRtpTransceiver.stopped - Web APIs
the read-only stopped property on the rtcrtptransceiver interface indicates whether or not the transceiver's associated sender and receiver have both been stopped.
RTCRtpTransceiverDirection - Web APIs
each describes how the transceiver's associated rtcrtpsender and rtcrtpreceiver behave as shown in the table below.
RTCTrackEvent.receiver - Web APIs
syntax var rtpreceiver = trackevent.receiver; value the rtcrtptransceiver which pairs the receiver with a sender and other properties which establish a single bidirectional srtp stream for use by the track associated with the rtctrackevent.
RTCTrackEvent.transceiver - Web APIs
syntax var rtptransceiver = trackevent.transceiver; value the rtcrtptransceiver which pairs the receiver with a sender and other properties which establish a single bidirectional srtp stream for use by the track associated with the rtctrackevent.
RTCTrackEvent - Web APIs
in addition, the mediastreamtrack specified by the receiver's track is the same one specified by the event's track, and the track has been added to any associated remote mediastream objects.
RTCTrackEventInit.streams - Web APIs
the rtctrackeventinit dictionary's optional streams property provides an array containing a mediastream object for each of the streams associated with the event's track.
Range.detach() - Web APIs
WebAPIRangedetach
it used to disable the range object and enable the browser to release associated resources.
ReadableByteStreamController.close() - Web APIs
the close() method of the readablebytestreamcontroller interface closes the associated stream.
ReadableByteStreamController.enqueue() - Web APIs
the enqueue() method of the readablebytestreamcontroller interface enqueues a given chunk in the associated stream.
ReadableByteStreamController.error() - Web APIs
the error() method of the readablebytestreamcontroller interface causes any future interactions with the associated stream to error.
ReadableStream.cancel() - Web APIs
the cancel() method of the readablestream interface cancels the associated stream.
ReadableStreamBYOBReader.cancel() - Web APIs
note: if the reader is active, the cancel() method behaves the same as that for the associated stream (readablestream.cancel()).
ReadableStreamBYOBReader.releaseLock() - Web APIs
if the associated stream is errored when the lock is released, the reader will appear errored in that same way subsequently; otherwise, the reader will appear closed.
ReadableStreamBYOBRequest.respond() - Web APIs
exceptions typeerror the source object is not a readablestreambyobrequest, or there is no associated controller, or the associated internal array buffer is detached.
ReadableStreamBYOBRequest.respondWithNewView() - Web APIs
exceptions typeerror the source object is not a readablestreambyobrequest, or there is no associated controller, or the associated internal array buffer is non-existant or detached.
ReadableStreamBYOBRequest - Web APIs
a view, as mentioned below, refers to a typed array representing the destination region to which the associated readablebytestreamcontroller controller can write generated data.
ReadableStreamDefaultController.close() - Web APIs
the close() method of the readablestreamdefaultcontroller interface closes the associated stream.
ReadableStreamDefaultController.enqueue() - Web APIs
the enqueue() method of the readablestreamdefaultcontroller interface enqueues a given chunk in the associated stream.
ReadableStreamDefaultController.error() - Web APIs
the error() method of the readablestreamdefaultcontroller interface causes any future interactions with the associated stream to error.
ReadableStreamDefaultReader.cancel() - Web APIs
note: if the reader is active, the cancel() method behaves the same as that for the associated stream (readablestream.cancel()).
ReadableStreamDefaultReader.releaseLock() - Web APIs
if the associated stream is errored when the lock is released, the reader will appear errored in that same way subsequently; otherwise, the reader will appear closed.
ReportingObserver.disconnect() - Web APIs
the associated observer will no longer be active.
Request.context - Web APIs
WebAPIRequestcontext
note: you can find a full list of the different available contexts including associated context frame types, csp directives, and platform feature examples in the fetch spec request context section.
Request.headers - Web APIs
WebAPIRequestheaders
the headers read-only property of the request interface contains the headers object associated with the request.
Request.mode - Web APIs
WebAPIRequestmode
the associated mode, available values of which are: same-origin — if a request is made to another origin with this mode set, the result is simply an error.
Request - Web APIs
WebAPIRequest
request.headers read only contains the associated headers object of the request.
Response() - Web APIs
WebAPIResponseResponse
statustext: the status message associated with the status code, e.g., ok.
Response.error() - Web APIs
WebAPIResponseerror
the error() method of the response interface returns a new response object associated with a network error.
Response.headers - Web APIs
WebAPIResponseheaders
the headers read-only property of the response interface contains the headers object associated with the response.
SVGAnimationElement: repeatEvent event - Web APIs
note: associated with the repeatevent event is an integer that indicates which repeat iteration is beginning; this can be found in the detail property of the event object.
SVGLength - Web APIs
WebAPISVGLength
methods name & arguments return description newvaluespecifiedunits(in unsigned short unittype, in float valueinspecifiedunits) void reset the value as a number with an associated unittype, thereby replacing the values for all of the attributes on the object.
SVGViewElement - Web APIs
each of the domstring values can be associated with the corresponding element using the getelementbyid() method call.
Screen - Web APIs
WebAPIScreen
screen.orientation returns the screenorientation instance associated with this screen.
ScriptProcessorNode.bufferSize - Web APIs
for each channel and each sample frame, the scriptnode.onaudioprocess function takes the associated audioprocessingevent and uses it to loop through each channel of the input buffer, and each sample in each channel, and add a small amount of white noise, before setting that result to be the output sample in each case.
ScriptProcessorNode.onaudioprocess - Web APIs
for each channel and each sample frame, the scriptnode.onaudioprocess function takes the associated audioprocessingevent and uses it to loop through each channel of the input buffer, and each sample in each channel, and add a small amount of white noise, before setting that result to be the output sample in each case.
ScriptProcessorNode - Web APIs
for each channel and each sample frame, the scriptnode.onaudioprocess function takes the associated audioprocessingevent and uses it to loop through each channel of the input buffer, and each sample in each channel, and add a small amount of white noise, before setting that result to be the output sample in each case.
ServiceWorkerContainer.getRegistrations() - Web APIs
the getregistrations() method of the serviceworkercontainer interface gets all serviceworkerregistrations associated with a serviceworkercontainer, in an array.
ServiceWorkerContainer.oncontrollerchange - Web APIs
the oncontrollerchange property of the serviceworkercontainer interface is an event handler fired whenever a controllerchange event occurs — when the document's associated serviceworkerregistration acquires a new active worker.
ServiceWorkerContainer.onerror - Web APIs
the onerror property of the serviceworkercontainer interface is an event handler fired whenever an error event occurs in the associated service workers.
ServiceWorkerContainer.ready - Web APIs
it returns a promise that will never reject, and which waits indefinitely until the serviceworkerregistration associated with the current page has an active worker.
ServiceWorkerGlobalScope.caches - Web APIs
the caches read-only property of the serviceworkerglobalscope interface returns the cachestorage object associated with the service worker.
ServiceWorkerMessageEvent.source - Web APIs
the source read-only property of the serviceworkermessageevent returns a reference to the serviceworker object of the associated service worker that sent the message.
ServiceWorkerRegistration.navigationPreload - Web APIs
the navigationpreload read-only property of the serviceworkerregistration interface returns the navigationpreloadmanager associated with the current service worker registration.
ServiceWorkerRegistration.showNotification() - Web APIs
data: arbitrary data that you want to be associated with the notification.
ServiceWorkerRegistration - Web APIs
an active worker will control a serviceworkerclient if the client's url falls within the scope of the registration (the scope option set when serviceworkercontainer.register is first called.) serviceworkerregistration.navigationpreload read only returns the instance of navigationpreloadmanager associated with the current service worker registration.
ServiceWorkerState - Web APIs
the serviceworkerstate is associated with its serviceworker's state.
SharedWorker - Web APIs
the ports associated with that worker are accessible in the connect event's ports property — we then use messageport start() method to start the port, and the onmessage handler to deal with messages sent from the main threads.
SharedWorkerGlobalScope.applicationCache - Web APIs
example if a shared worker has an appcache associated with it, you can return a reference to the cache using self.applicationcache from inside the shared worker.
SharedWorkerGlobalScope.onconnect - Web APIs
the onconnect property of the sharedworkerglobalscope interface is an event handler representing the code to be called when the connect event is raised — that is, when a messageport connection is opened between the associated sharedworker and the main thread.
Slottable: assignedSlot - Web APIs
syntax var slotelement = elementinstance.assignedslot value an htmlslotelement instance, or null if the element is not assigned to a slot, or if the associated shadow root was attached with its mode set to closed (see element.attachshadow for further details).
SpeechRecognition.onstart - Web APIs
the onstart property of the speechrecognition interface represents an event handler that will run when the speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current speechrecognition (when the start event fires.) syntax myspeechrecognition.onstart = function() { ...
SpeechRecognition.start() - Web APIs
the start() method of the web speech api starts the speech recognition service listening to incoming audio with intent to recognize grammars associated with the current speechrecognition.
SpeechRecognition: start event - Web APIs
the start event of the web speech api speechrecognition object is fired when the speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current speechrecognition.
SpeechRecognitionEvent - Web APIs
the speechrecognitionevent interface of the web speech api represents the event object for the result and nomatch events, and contains all the data associated with an interim or final speech recognition result.
SpeechSynthesisEvent.name - Web APIs
the name read-only property of the speechsynthesisutterance interface returns the name associated with certain types of events occuring as the speechsynthesisutterance.text is being spoken: the name of the ssml marker reached in the case of a mark event, or the type of boundary reached in the case of a boundary event.
SpeechSynthesisEvent - Web APIs
speechsynthesisevent.name read only returns the name associated with certain types of events occuring as the speechsynthesisutterance.text is being spoken: the name of the ssml marker reached in the case of a mark event, or the type of boundary reached in the case of a boundary event.
SpeechSynthesisVoice.localService - Web APIs
property of the speechsynthesisvoice interface returns a boolean indicating whether the voice is supplied by a local speech synthesizer service (true), or a remote speech synthesizer service (false.) this property is provided to allow differentiation in the case that some voice options are provided by a remote service; it is possible that remote voices might have extra latency, bandwidth or cost associated with them, so such distinction may be useful.
Storage.removeItem() - Web APIs
if there is no item associated with the given key, this method will do nothing.
StyleSheet.ownerNode - Web APIs
the ownernode property of the stylesheet interface returns the node that associates this style sheet with the document.
TaskAttributionTiming - Web APIs
the taskattributiontiming interface of the long tasks api returns information about the work involved in a long task and its associate frame context.
HTMLSlotElement.assignedSlot - Web APIs
WebAPITextassignedSlot
the assignedslot property of the text interface returns the htmlslotelement object associated with the element.
Text - Web APIs
WebAPIText
text.assignedslot read only returns the htmlslotelement object associated with the element.
TextDecoder() - Web APIs
each label is associated with a specific encoding type: possible values of utflabel encoding "unicode-1-1-utf-8", "utf-8", "utf8" 'utf-8' "866", "cp866", "csibm866", "ibm866" 'ibm866' "csisolatin2", "iso-8859-2", "iso-ir-101", "iso8859-2", "iso88592", "iso_8859-2", "iso_8859-2:1987", "l2", "latin2" 'iso-8859-2' "csisolatin3", "iso-8859-3"...
TimeEvent - Web APIs
WebAPITimeEvent
the timeevent interface, a part of svg smil animation, provides specific contextual information associated with time events.
Using Touch Events - Web APIs
changedtouches - a list of the touch points whose items depends on the associated event type: for the touchstart event, it is a list of the touch points that became active with the current event.
TrackDefault.kinds - Web APIs
the kinds read-only property of the trackdefault interface returns default kinds for an associated sourcebuffer to use when an initialization segment does not contain label information for a new track.
TrackDefault.label - Web APIs
the label read-only property of the trackdefault interface returns the default label for an associated sourcebuffer to use when an initialization segment does not contain label information for a new track.
TrackDefault.language - Web APIs
the language read-only property of the trackdefault interface returns a default language for an associated sourcebuffer to use when an initialization segment does not contain language information for a new track.
TrackDefaultList - Web APIs
the trackdefaultlist associated with a particular sourcebuffer can be retrieved using the sourcebuffer.trackdefaults property.
TransitionEvent() - Web APIs
propertyname optional is a domstring containing the value of the property-name css property associated with the transition.
TransitionEvent.transitionName - Web APIs
the transitionevent.transitionname read-only property is a domstring containing the name of the css property associated with the transition.
TransitionEvent - Web APIs
transitionevent.propertyname read only is a domstring containing the name css property associated with the transition.
TreeWalker.expandEntityReferences - Web APIs
this takes precedence over the value of the treewalker.whattoshow method and the associated filter.
TreeWalker.filter - Web APIs
WebAPITreeWalkerfilter
the treewalker.filter read-only property returns a nodefilter that is the filtering object associated with the treewalker.
UIEvent.initUIEvent() - Web APIs
view is the windowproxy associated with the event.
URLSearchParams.delete() - Web APIs
the delete() method of the urlsearchparams interface deletes the given search parameter and all its associated values, from the list of all search parameters.
URLSearchParams.get() - Web APIs
the get() method of the urlsearchparams interface returns the first value associated to the given search parameter.
URLSearchParams.getAll() - Web APIs
the getall() method of the urlsearchparams interface returns all the values associated with a given search parameter as an array.
URLSearchParams.set() - Web APIs
the set() method of the urlsearchparams interface sets the value associated with a given search parameter to the given value.
VTTCue - Web APIs
WebAPIVTTCue
the vttcue interface—part of the api for handling webvtt (text tracks on media presentations)—describes and controls the text track associated with a particular <track> element.
VideoPlaybackQuality.totalFrameDelay - Web APIs
the videoplaybackquality.totalframedelay read-only property returns a double containing the sum of the frame delay since the creation of the associated htmlvideoelement.
VideoTrack.id - Web APIs
WebAPIVideoTrackid
this id can be used with the videotracklist.gettrackbyid() method to locate a specific track within the media associated with a media element.
VisualViewport - Web APIs
each window on a page will have a unique visualviewport representing the properties associated with that window.
WebGLRenderingContext.drawingBufferHeight - Web APIs
it should match the height attribute of the <canvas> element associated with this context, but might differ if the implementation is not able to provide the requested height.
WebGLRenderingContext.drawingBufferWidth - Web APIs
it should match the width attribute of the <canvas> element associated with this context, but might differ if the implementation is not able to provide the requested width.
Lighting in WebGL - Web APIs
once you drop out the concept of point sources and specular lighting, there are two pieces of information we'll need in order to implement our directional lighting: we need to associate a surface normal with each vertex.
Writing WebSocket servers - Web APIs
for example, you might keep a table of usernames or id numbers along with the corresponding websocket and other data that you need to associate with that connection.
Web Video Text Tracks Format (WebVTT) - Web APIs
we finish the first line with a second time, which is the ending time for showing the associated text.
Viewpoints and viewers: Simulating cameras in WebXR - Web APIs
in single-screen 2d games, the camera is not associated directly with the player or any other character in the game, but is instead either fixed above or next to the game play area, or follows the action as the action moves around a scrolling game world.
Inputs and input sources - Web APIs
-squeeze", "xr-standard-touchpad" ], "axes":[ { "componentid": "xr-standard-touchpad", "axis": "x-axis"}, { "componentid": "xr-standard-touchpad", "axis": "y-axis"} ] } } } } this is a controller which regardless of which hand it's in (and even if it's not currently associated with a specific hand) has three components: a standard trigger, a standard squeeze input, and a touchpad.
Rendering and the WebXR frame animation callback - Web APIs
before you can render the virtual environment, you need to establish a webxr session by creating an xrsession using the navigator.xr.requestsession() method; you also need to associate the session with a framebuffer and perform other setup tasks.
Spaces and reference spaces: Spatial tracking in WebXR - Web APIs
the target ray; each controller or other handheld device may have a targeting ray associated with it, which is represented by a space whose origin is at the point on the controller at which the ray is emitted, and is oriented so that -z extends in the direction of the target it's pointing at.
WebXR Device API - Web APIs
input sources may include devices such as hand controllers, optical tracking systems, and other devices which are explicitly associated with the xr device.
Advanced techniques: Creating and sequencing audio - Web APIs
the techniques we are using are: name of voice technique associated web audio api feature "sweep" oscillator, periodic wave oscillatornode, periodicwave "pulse" multiple oscillators oscillatornode "noise" random noise buffer, biquad filter audiobuffer, audiobuffersourcenode, biquadfilternode "dial up" loading a sound sample to play audiocontext.decodeaudiodata(), audiobuffersourcenode note: ...
Example and tutorial: Simple synth keyboard - Web APIs
finally, the oscillator list is initialized to ensure that it's ready to receive information identifiying which oscillators are associated with which keys.
Web audio spatialization basics - Web APIs
this has a whole bunch of properties associated with it.
Web Audio API - Web APIs
web audio api interfaces the web audio api has a number of interfaces and associated events, which we have split up into nine categories of functionality.
Using the Web Speech API - Web APIs
ment, set its text content to display the name of the voice (grabbed from speechsynthesisvoice.name), the language of the voice (grabbed from speechsynthesisvoice.lang), and -- default if the voice is the default voice for the synthesis engine (checked by seeing if speechsynthesisvoice.default returns true.) we also create data- attributes for each option, containing the name and language of the associated voice, so we can grab them easily later on, and then append the options as children of the select.
Web Speech API - Web APIs
speechrecognitionevent the event object for the result and nomatch events, and contains all the data associated with an interim or final speech recognition result.
Window: afterprint event - Web APIs
the afterprint event is fired after the associated document has started printing or the print preview has been closed.
Window: beforeprint event - Web APIs
the beforeprint event is fired when the associated document is about to be printed or previewed for printing.
Window.crypto - Web APIs
WebAPIWindowcrypto
the read-only window.crypto property returns the crypto object associated to the global object.
Window.onbeforeinstallprompt - Web APIs
its associated event may be saved for later and used to prompt the user at a more suitable time.
Window.openDialog() - Web APIs
WebAPIWindowopenDialog
returning values from the dialog since window.close() erases all properties associated with the dialog window (i.e.
Window.pkcs11 - Web APIs
WebAPIWindowpkcs11
summary returns the pkcs11 object, which is used to install drivers and other software associated with the pkcs11 protocol.
Window: popstate event - Web APIs
title 3", "?page=3"); history.back(); // logs "location: http://example.com/example.html?page=1, state: {"page":1}" history.back(); // logs "location: http://example.com/example.html, state: null" history.go(2); // logs "location: http://example.com/example.html?page=3, state: {"page":3}" note that even though the original history entry (for http://example.com/example.html) has no state object associated with it, a popstate event is still fired when we activate that entry after the second call to history.back().
Window.screen - Web APIs
WebAPIWindowscreen
the window property screen returns a reference to the screen object associated with the window.
WindowEventHandlers.onpopstate - Web APIs
e 3", "?page=3"); history.back(); // alerts "location: http://example.com/example.html?page=1, state: {"page":1}" history.back(); // alerts "location: http://example.com/example.html, state: null history.go(2); // alerts "location: http://example.com/example.html?page=3, state: {"page":3} note that even though the original history entry (for http://example.com/example.html) has no state object associated with it, a popstate event is still fired, when we activate that entry after the second call to history.back().
WindowOrWorkerGlobalScope.caches - Web APIs
the caches read-only property of the windoworworkerglobalscope interface returns the cachestorage object associated with the current context.
WindowOrWorkerGlobalScope - Web APIs
windoworworkerglobalscope.caches read only returns the cachestorage object associated with the current context.
WorkerGlobalScope.location - Web APIs
the location read-only property of the workerglobalscope interface returns the workerlocation associated with the worker.
WorkerGlobalScope.navigator - Web APIs
the navigator read-only property of the workerglobalscope interface returns the workernavigator associated with the worker.
WritableStreamDefaultController.error() - Web APIs
the error() method of the writablestreamdefaultcontroller interface causes any future interactions with the associated stream to error.
WritableStreamDefaultController - Web APIs
methods writablestreamdefaultcontroller.error() causes any future interactions with the associated stream to error.
WritableStreamDefaultWriter.abort() - Web APIs
if the writer is active, the abort() method behaves the same as that for the associated stream (writablestream.abort()).
WritableStreamDefaultWriter.close() - Web APIs
the close() method of the writablestreamdefaultwriter interface closes the associated writable stream.
WritableStreamDefaultWriter.releaseLock() - Web APIs
if the associated stream is errored when the lock is released, the writer will appear errored in the same way from now on; otherwise, the writer will appear closed.
XMLHttpRequest.mozBackgroundRequest - Web APIs
if true, no load group is associated with the request, with security dialogs prevented from being shown to the user.
XPathNSResolver - Web APIs
methods xpathnsresolver.lookupnamespaceuri() looks up the namespace uri associated to the given namespace prefix.
XRHandedness - Web APIs
values none the input controller is not associated with one of the user's hands.
XRInputSource - Web APIs
note: while xrinputsource uses the gamepad interface from the gamepad api, this input device is strictly associated with the webxr hardware and is not a general-purpose gaming device.
XRInputSourceEventInit - Web APIs
this event is not associated with the animation process, and has no viewer information contained within it.
XRSession.inputSources - Web APIs
the read-only inputsources property of the xrsession interface returns an xrinputsourcearray object which lists all controllers and input devices which are expressly associated with the xr device and are currently available.
XRSession.updateRenderState() - Web APIs
updaterenderstate() is then called to associate the new xrwebgllayer.
XRView - Web APIs
WebAPIXRView
there might also be views representing observers watching the action, or other viewspoints not direclty associated with a player's eye.
Using the alertdialog role - Accessibility
note: this role should only be used for alert messages that have associated interactive controls.
ARIA: tabpanel role - Accessibility
the aria tabpanel role indicates description an element with the tabpanel role associated roles and attributes aria- keyboard interaction key action tab → ← delete required javascript features include note about semantic alternatives to using this role or attribute.
ARIA: timer role - Accessibility
associated wai-aria roles, states, and properties aria-label used to provide the name of the timer.
ARIA: article role - Accessibility
associated wai-aria roles, states, and properties aria-posinset in the context of a feed, indicates the position of this particular article within that feed, based on a count starting at 1.
ARIA: banner role - Accessibility
associated aria roles, states, and properties none keyboard interactions none required javascript features none examples here's a fake simple banner with a skip to navigation link, a logo, a title and a subtitle.
ARIA: cell role - Accessibility
associated wai-aria roles, states, and properties context roles role="row" an element with role="row" is a row of cells within a tabular structure.
ARIA: form role - Accessibility
even if you are using the form landmark instead of <form>, you are encouraged to use native html form controls like button, input, select, and textarea associated wai-aria roles, states, and properties no role specific states or properties.
ARIA: grid role - Accessibility
associated aria roles, states, and properties roles treegrid (subclass) if a grid has columns that can expanded or collapsed, a treegrid can be used.
ARIA: List role - Accessibility
associated wai-aria roles, states, and properties listitem a single item in a list or directory.
ARIA: Listitem role - Accessibility
associated wai-aria roles, states, and properties list a list of items.
ARIA: Mark role - Accessibility
to associate the comment with the text being commented, we need to wrap the commented text with an element containing the aria-details attribute, the value of which should be the id of the comment.
ARIA: Navigation Role - Accessibility
associated wai-aria roles, states, and properties aria-label a brief description of the purpose of the navigation, omitting the term "navigation", as the screen reader will read both the role and the contents of the label.
ARIA: Region role - Accessibility
associated wai-aria roles, states, and properties aria-labelledby use this attribute to label the region.
ARIA: img role - Accessibility
another example where this might be suitable is when using ascii emoji combinations, like the legendary "table flip": <div role="img" aria-label="table flip"> <p> (╯°□°)╯︵ ┻━┻ </p> </div> associated wai-aria roles, states, and properties aria-label an accessible name is required.
ARIA: row role - Accessibility
associated wai-aria roles, states, and properties context roles role="rowgroup" an optional contextual row parent, it establishes a relationship between descendant rows.
ARIA: rowgroup role - Accessibility
associated wai-aria roles, states, and properties context roles role="table" one of the three possible contexts (along with grid and treegrid) in which you'll find a row.
ARIA: Suggestion role - Accessibility
</p> we could even provide an information box saying who made the suggestion and when, and associate it with the suggestion via aria-details: <p>freida’s pet is a <span role="suggestion" aria-details="comment-source"> <span role="deletion">black cat called luna</span> <span role="insertion">purple tyrannosaurus rex called tiny</span> </span>.
ARIA: switch role - Accessibility
associated aria roles, states, and properties aria-checked attribute the aria-checked attribute is required when using the switch role, as it represents the current state of the widget that the switch role is applied to.
ARIA: button role - Accessibility
associated aria roles, states, and properties aria-pressed defines the button as a toggle button.
ARIA: checkbox role - Accessibility
associated wai-aria roles, states, and properties aria-checked the value of aria-checked defines the state of a checkbox.
ARIA: heading role - Accessibility
associated wai-aria roles, states, and properties aria-level the aria-level attribute specifies the heading level in the document structure.
WAI-ARIA Roles - Accessibility
n role, and one with a deletion role.aria: switch rolethe aria switch role is functionally identical to the checkbox role, except that instead of representing "checked" and "unchecked" states, which are fairly generic in meaning, the switch role represents the states "on" and "off."aria: tab rolethe aria tab role indicates an interactive element inside a tablist that, when activated, displays its associated tabpanel.aria: table rolethe table value of the aria role attribute identifies the element containing the role as having a non-interactive table structure containing data arranged in rows and columns, similar to the native <table> html element.aria: tabpanel rolethe aria tabpanel role indicatesaria: textbox rolethe textbox role is used to identify an element that allows the input of free-form te...
Web accessibility for seizures and physical reactions - Accessibility
trace research & development center’s photosensitive epilepsy analysis tool notes that “photosensitive seizures can be provoked by certain types of flashing in web or computer content, including mouse-overs that cause large areas of the screen to rapidly flash on and off repeatedly.” other physical reactions nausea, vertigo (or dizziness), and disorientation are very nonspecific symptoms associated with all kinds of diseases and not particularly suggestive of seizures (except maybe disorientation, which is seen in seizures).
::grammar-error - CSS: Cascading Style Sheets
allowable properties only a small subset of css properties can be used in a rule with ::grammar-error in its selector: color background-color cursor caret-color outline and its longhands text-decoration and its associated properties text-emphasis-color text-shadow syntax ::grammar-error examples simple document grammar check in this example, eventual supporting browsers should highlight any flagged grammatical errors with the styles shown.
::selection - CSS: Cascading Style Sheets
::selection { background-color: cyan; } allowable properties only certain css properties can be used with ::selection: color background-color cursor caret-color outline and its longhands text-decoration and its associated properties text-emphasis-color text-shadow in particular, background-image is ignored.
::spelling-error - CSS: Cascading Style Sheets
allowable properties only a small subset of css properties can be used in a rule with ::spelling-error in its selector: color background-color cursor caret-color outline and its longhands text-decoration and its associated properties text-emphasis-color text-shadow syntax ::spelling-error examples simple document spell check in this example, eventual supporting browsers should highlight any flagged spelling errors with the styles shown.
:active - CSS: Cascading Style Sheets
WebCSS:active
other common targets of this pseudo-class include elements that contain an activated element, and form elements that are being activated through their associated <label>.
:checked - CSS: Cascading Style Sheets
WebCSS:checked
recommendation defines the pseudo-class, but not the associated semantic browser compatibility the compatibility table on this page is generated from structured data.
:default - CSS: Cascading Style Sheets
WebCSS:default
recommendation defines associated html semantics and constraint validation.
:disabled - CSS: Cascading Style Sheets
WebCSS:disabled
recommendation defines the pseudo-class, but not the associated semantics.
:enabled - CSS: Cascading Style Sheets
WebCSS:enabled
recommendation defines the pseudo-class, but not the associated semantics.
:indeterminate - CSS: Cascading Style Sheets
elements targeted by this selector are: <input type="checkbox"> elements whose indeterminate property is set to true by javascript <input type="radio"> elements, when all radio buttons with the same name value in the form are unchecked <progress> elements in an indeterminate state syntax :indeterminate examples checkbox & radio button this example applies special styles to the labels associated with indeterminate form fields.
:read-only - CSS: Cascading Style Sheets
working draft defines the pseudo-class, but not the associated semantics.
:read-write - CSS: Cascading Style Sheets
working draft defines the pseudo-class, but not the associated semantics.
@charset - CSS: Cascading Style Sheets
WebCSS@charset
if several names are associated with an encoding, only the one marked with preferred must be used.
@supports - CSS: Cascading Style Sheets
WebCSS@supports
syntax the @supports at-rule associates a block of statements with a supports condition.
Cross-browser Flexbox mixins - CSS: Cascading Style Sheets
(for anonymous flex items, align-self always matches the value of align-items on their associated flex container.) values: flex-start | flex-end | center | baseline | stretch (default) spec: https://drafts.csswg.org/css-flexbox/#align-items-property @mixin align-items($value: stretch) { @if $value == flex-start { -webkit-box-align: start; -moz-box-align: start; -ms-flex-align: start; } @else if $value == flex-end { -webkit-box-align: end; -moz-box-align: end; ...
<alpha-value> - CSS: Cascading Style Sheets
the speed of the interpolation is determined by the timing function associated with the animation.
font-feature-settings - CSS: Cascading Style Sheets
normal; /* set values for opentype feature tags */ font-feature-settings: "smcp"; font-feature-settings: "smcp" on; font-feature-settings: "swsh" 2; font-feature-settings: "smcp", "swsh" 2; /* global values */ font-feature-settings: inherit; font-feature-settings: initial; font-feature-settings: unset; whenever possible, web authors should instead use the font-variant shorthand property or an associated longhand property such as font-variant-ligatures, font-variant-caps, font-variant-east-asian, font-variant-alternates, font-variant-numeric or font-variant-position.
grid-template-areas - CSS: Cascading Style Sheets
those areas are not associated with any particular grid item, but can be referenced from the grid-placement properties grid-row-start, grid-row-end, grid-column-start, grid-column-end, and their shorthands grid-row, grid-column, and grid-area.
image-set() - CSS: Cascading Style Sheets
WebCSSimage-set
the image-set() function delivers the most appropriate image resolution for a user’s device, providing a set of image options — each with an associated resolution declaration — from which the browser picks the most appropriate for the device and settings.
justify-items - CSS: Cascading Style Sheets
note that if a descendant has a justify-self: auto value, the legacy keyword is not considered by the descend, only the left, right, or center value associated to it.
<length> - CSS: Cascading Style Sheets
WebCSSlength
the speed of the interpolation is determined by the timing function associated with the animation.
<percentage> - CSS: Cascading Style Sheets
the speed of the interpolation is determined by the timing function associated with the animation.
<shape> - CSS: Cascading Style Sheets
WebCSSshape
the speed of the interpolation is determined by the timing function associated with the animation.
Setting up adaptive streaming media sources - Developer guides
a media presentation description (mpd) file is used to hold the information on the various streams and the bandwidths they are associated with.
Media buffering, seeking, and time ranges - Developer guides
------------------------------------------------------ |=============| |===========| | ------------------------------------------------------ 0 5 15 19 21 for this audio instance, the associated timeranges object would have the following available properties: myaudio.buffered.length; // returns 2 myaudio.buffered.start(0); // returns 0 myaudio.buffered.end(0); // returns 5 myaudio.buffered.start(1); // returns 15 myaudio.buffered.end(1); // returns 19 to try out and visualize buffered time ranges we can write a little bit of html: <p> <audio id="my-audio" controls> <sourc...
Overview of events and handlers - Developer guides
initially, browsers wait, until they receive all of the resources associated with a page, to parse, process, draw, and present the page to the user.
HTML5 - Developer guides
WebGuideHTMLHTML5
more fancy borders not only it is now possible to use images to style borders, using border-image and its associated longhand properties, but rounded borders are supported via the border-radius property.
Index - Developer guides
WebGuideIndex
9 cross-browser audio basics apps, audio, guide, html5, media, events this article provides: a basic guide to creating a cross-browser html5 audio player with all the associated attributes, properties, and events explained a guide to custom controls created using the media api 10 live streaming web audio and video guide, adaptive streaming live streaming technology is often employed to relay live events such as sports, concerts and more generally tv and radio programmes that are output live.
A hybrid approach - Developer guides
of course, this technique suffers from all the downsides associated with user-agent detection.
The HTML autocomplete attribute - HTML: Hypertext Markup Language
"cc-name" the full name as printed on or associated with a payment instrument such as a credit card.
HTML attribute: multiple - HTML: Hypertext Markup Language
some browsers support the appearance of the list of options from the associated <datalist> for subsequent email addresses when multiple is present.
DASH Adaptive Streaming for HTML 5 Video - HTML: Hypertext Markup Language
put the manifest and the associated video files on your web server or cdn.
<audio>: The Embed Audio element - HTML: Hypertext Markup Language
WebHTMLElementaudio
<audio> elements can't have subtitles or captions associated with them in the same way that <video> elements can.
<colgroup> - HTML: Hypertext Markup Language
WebHTMLElementcolgroup
note: this attribute is applied on the attributes of the column group, it has no effect on the css styling rules associated with it or, even more, to the cells of the column's members of the group.
<data> - HTML: Hypertext Markup Language
WebHTMLElementdata
examples the following example displays product names but also associates each name with a product number.
<del>: The Deleted Text element - HTML: Hypertext Markup Language
WebHTMLElementdel
if the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp.
<dt>: The Description Term element - HTML: Hypertext Markup Language
WebHTMLElementdt
the subsequent <dd> (description details) element provides the definition or other related text associated with the term specified using <dt>.
<figure>: The Figure with Optional Caption element - HTML: Hypertext Markup Language
WebHTMLElementfigure
a caption can be associated with the <figure> element by inserting a <figcaption> inside it (as the first or the last child).
<img>: The Image Embed element - HTML: Hypertext Markup Language
WebHTMLElementimg
usemap the partial url (starting with #) of an image map associated with the element.
<input type="checkbox"> - HTML: Hypertext Markup Language
WebHTMLElementinputcheckbox
ut type="checkbox" id="coding" name="interest" value="coding" checked> <label for="coding">coding</label> </div> <div> <input type="checkbox" id="music" name="interest" value="music"> <label for="music">music</label> </div> </fieldset> providing a bigger hit area for your checkboxes in the above examples, you may have noticed that you can toggle a checkbox by clicking on its associated <label> element as well as on the checkbox itself.
<input type="email"> - HTML: Hypertext Markup Language
WebHTMLElementinputemail
each text entry box has a <label> associated with it to let the user know what's expected of them.
<input type="hidden"> - HTML: Hypertext Markup Language
WebHTMLElementinputhidden
the value of the hidden input is that it keeps the secret associated with the data and automatically includes it when the form is sent to the server.
<input type="image"> - HTML: Hypertext Markup Language
WebHTMLElementinputimage
dialog this method is used to indicate that the button simply closes the dialog with which the input is associated, and does not transmit the form data at all.
<input type="submit"> - HTML: Hypertext Markup Language
WebHTMLElementinputsubmit
dialog this method is used to indicate that the button simply closes the dialog with which the input is associated, and does not transmit the form data at all.
<ins> - HTML: Hypertext Markup Language
WebHTMLElementins
if the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp.
<menu> - HTML: Hypertext Markup Language
WebHTMLElementmenu
context menus are then attached to the element they're activated from using either the associated element's contextmenu attribute or, for button-activated menus attached to <button> elements, the menu attribute.
<menuitem> - HTML: Hypertext Markup Language
WebHTMLElementmenuitem
command: a regular command with an associated action.
<ul>: The Unordered List element - HTML: Hypertext Markup Language
WebHTMLElementul
the bullet style is not defined in the html description of the page, but in its associated css, using the list-style-type property.
HTML elements reference - HTML: Hypertext Markup Language
WebHTMLElement
element description <area> the html <area> element defines a hot-spot region on an image, and optionally associates it with a hypertext link.
itemref - HTML: Hypertext Markup Language
properties that are not descendants of an element with the itemscope attribute can be associated with an item using the global attribute itemref.
title - HTML: Hypertext Markup Language
some typical uses: labeling <iframe> elements for assistive technology providing a programmatically associated label for an <input> element as a fallback for a real <label> labeling controls in data tables additional semantics are attached to the title attributes of the <link>, <abbr>, <input>, and <menuitem> elements.
Link types - HTML: Hypertext Markup Language
if none, it is a permalink for the section that the element is most closely associated to.
Using the application cache - HTML: Hypertext Markup Language
loading documents the use of an application cache modifies the normal process of loading a document: if an application cache exists, the browser loads the document and its associated resources directly from the cache, without accessing the network.
Data URLs - HTTP
phishing) have been associated with data urls, and navigating to them in the browser's top level.
Identifying resources on the Web - HTTP
https://developer.mozilla.org https://developer.mozilla.org/docs/learn/ https://developer.mozilla.org/search?q=url any of those urls can be typed into your browser's address bar to tell it to load the associated page (resource).
Common MIME types - HTTP
here is a list of mime types, associated by type of documents, ordered by their common extensions.
MIME types (IANA media types) - HTTP
content-type: multipart/form-data; boundary=aboundarystring (other headers associated with the multipart document as a whole) --aboundarystring content-disposition: form-data; name="myfile"; filename="img.jpg" content-type: image/jpeg (data) --aboundarystring content-disposition: form-data; name="myfield" (data) --aboundarystring (more subparts) --aboundarystring-- the following <form>: <form action="http://localhost:8000/" method="post" enctype="multipart/form-data"> <l...
Content negotiation - HTTP
the server uses the vary header to indicate which headers it actually used for content negotiation (or more precisely the associated response headers), so that caches can work optimally.
Using HTTP cookies - HTTP
WebHTTPCookies
tracking and privacy third-party cookies a cookie is associated with a domain.
Clear-Site-Data - HTTP
the clear-site-data header clears browsing data (cookies, storage, cache) associated with the requesting website.
Content-Location - HTTP
location is a header associated with the response, while content-location is associated with the data returned.
If-Modified-Since - HTTP
the most common use case is to update a cached entity that has no associated etag.
If-None-Match - HTTP
there are two common use cases: for get and head methods, to update a cached entity that has an associated etag.
Location - HTTP
WebHTTPHeadersLocation
location is a header associated with the response, while content-location is associated with the entity returned.
Public-Key-Pins - HTTP
the http public-key-pins response header used to associate a specific cryptographic public key with a certain web server to decrease the risk of mitm attacks with forged certificates, however, it has been removed from modern browsers and is no longer supported.
HTTP Public Key Pinning (HPKP) - HTTP
http public key pinning (hpkp) was a security feature that used to tell a web client to associate a specific cryptographic public key with a certain web server to decrease the risk of mitm attacks with forged certificates.
Concurrency model and the event loop - JavaScript
each message has an associated function which gets called in order to handle the message.
Grammar and types - JavaScript
more succinctly, the syntax is: [(+|-)][digits].[digits][(e|e)[(+|-)]digits] for example: 3.1415926 -.123456789 -3.1e+12 .1e-23 object literals an object literal is a list of zero or more pairs of property names and associated values of an object, enclosed in curly braces ({}).
Iterators and generators - JavaScript
the most common iterator in javascript is the array iterator, which simply returns each value in the associated array in sequence.
Array - JavaScript
setting or accessing via non-integers using bracket notation (or dot notation) will not set or retrieve an element from the array list itself, but will set or access a variable associated with that array's object property collection.
Function.prototype.bind() - JavaScript
[[call]] executes code associated with this object.
Intl.Locale.prototype.language - JavaScript
the intl.locale.prototype.language property is an accessor property that returns the language associated with the locale.
Intl.Locale.prototype.region - JavaScript
the intl.locale.prototype.region property is an accessor property that returns the region of the world (usually a country) associated with the locale.
Intl.Locale.prototype.script - JavaScript
for instance, the script associated with english is latin, whereas the script typically associated with korean is hangul.
Object.fromEntries() - JavaScript
the iterable argument is expected to be an object that implements an @@iterator method, that returns an iterator object, that produces a two element array-like object, whose first element is a value that will be used as a property key, and whose second element is the value to associate with that property key.
Promise() constructor - JavaScript
the promiseobj (asynchronously) invokes any .then() associated with it.
Set - JavaScript
set.prototype.delete(value) removes the element associated to the value and returns the value that set.prototype.has(value) would have previously returned.
Symbol.unscopables - JavaScript
the symbol.unscopables well-known symbol is used to specify an object value of whose own and inherited property names are excluded from the with environment bindings of the associated object.
Symbol - JavaScript
symbol.unscopables an object value of whose own and inherited property names are excluded from the with environment bindings of the associated object.
WeakMap.prototype.get() - JavaScript
return value the element associated with the specified key in the weakmap object.
WeakRef - JavaScript
if the target of a weakref is also in a finalizationregistry, the weakref's target is cleared at the same time or before any cleanup callback associated with the registry is called; if your cleanup callback calls deref on a weakref for the object, it will receive undefined.
isFinite() - JavaScript
description isfinite is a top-level function and is not associated with any object.
uneval() - JavaScript
description uneval() is a top-level function and is not associated with any object.
Object initializer - JavaScript
an object initializer is a comma-delimited list of zero or more pairs of property names and associated values of an object, enclosed in curly braces ({}).
delete operator - JavaScript
/ returns true function f() { var z = 44; // delete doesn't affect local variable names delete z; // returns false } delete and the prototype chain in the following example, we delete an own property of an object while a property with the same name is available on the prototype chain: function foo() { this.bar = 10; } foo.prototype.bar = 42; var foo = new foo(); // foo.bar is associated with the // own property.
break - JavaScript
syntax break [label]; label optional identifier associated with the label of the statement.
continue - JavaScript
syntax continue [label]; label identifier associated with the label of the statement.
try...catch - JavaScript
exception_var_1, exception_var_2 an identifier to hold an exception object for the associated catch-block.
with - JavaScript
description javascript looks up an unqualified name by searching a scope chain associated with the execution context of the script or function containing that unqualified name.
Statements and declarations - JavaScript
switch evaluates an expression, matching the expression's value to a case clause, and executes statements associated with that case.
MathML attribute reference - MathML
id all sets up a unique identifier associated with the element.
Media container formats (file types) - Web media technologies
flac the free lossless audio codec (flac) is a lossless audio codec; there is also an associated simple container format, also called flac, that can contain this audio.
Codecs used by WebRTC - Web media technologies
containerless media webrtc uses bare mediastreamtrack objects for each track being shared from one peer to another, without a container or even a mediastream associated with the tracks.
Understanding latency - Web Performance
the latency associated with a single asset, especially a basic html page, may seem trivial.
Privacy, permissions, and information security
, and modify the behavior of certain features and apis both for a document and for subdocuments loaded in <iframe>s <iframe>'s allow attribute technically part of feature policy, the allow attribute on an <iframe> specifies which web features the document in the frame should be allowed to access http public key pinning (hpkp) hpkp is used by servers to instruct a client to associate a specific public key with the server going forward in order to decrease the likelihood of man-in-the-middle attacks http strict transport security (hsts) hsts is used by servers to let them protect themselves from protocol downgrade and cookie hijack attacks by letting sites tell clients that they can only use https to communicate with the server http/2 while http/2 techn...
SVG Presentation Attributes - SVG: Scalable Vector Graphics
value: none|<dasharray>; animatable: yes stroke-dashoffset defines an offset on the rendering of the associated dash array.
attributeType - SVG: Scalable Vector Graphics
the attributetype attribute specifies the namespace in which the target attribute and its associated values are defined.
clip-path - SVG: Scalable Vector Graphics
the clip-path presentation attribute defines or associates a clipping path with the element it is related to.
stroke-dashoffset - SVG: Scalable Vector Graphics
the stroke-dashoffset attribute is a presentation attribute defining an offset on the rendering of the associated dash array.
viewBox - SVG: Scalable Vector Graphics
WebSVGAttributeviewBox
the numbers separated by whitespace and/or a comma, which specify a rectangle in user space which is mapped to the bounds of the viewport established for the associated svg element (not the browser viewport).
<animateMotion> - SVG: Scalable Vector Graphics
temotion dur="10s" repeatcount="indefinite" path="m20,50 c20,-50 180,150 180,50 c180-50 20,150 20,50 z" /> </circle> </svg> usage context categoriesanimation elementpermitted contentany number of the following elements, in any order:descriptive elements<mpath> attributes keypoints this attribute indicate, in the range [0,1], how far is the object along the path for each keytimes associated values.
Fills and Strokes - SVG: Scalable Vector Graphics
most svg you'll find around the web use inline css, but there are advantages and disadvantages associated with each type.
SVG In HTML Introduction - SVG: Scalable Vector Graphics
overview this article and its associated example shows how to use inline svg to provide a background picture for a form.
Secure contexts - Web security
that’s because the determination of whether or not a particular document is in a secure context is based only on considering it within the top-level browsing context with which it is associated — and not whether a non-secure context happened to be used to create it.
Subresource Integrity - Web security
if the script or stylesheet doesn’t match its associated integrity value, the browser must refuse to execute the script or apply the stylesheet, and must instead return a network error indicating that fetching of that script or stylesheet failed.
Transport Layer Security - Web security
these cipher suites all use modern authenticated encryption with associated data (aead) algorithms.
Web security
information leakage referer header policy: privacy and security concerns there are privacy and security risks associated with the referer http header.
<xsl:copy> - XSLT: Extensible Stylesheet Language Transformations
WebXSLTElementcopy
xslt/xpath reference: xslt elements, exslt functions, xpath functions, xpath axes the <xsl:copy> element transfers a shallow copy (the node and any associated namespace node) of the current node to the output document.
XSLT elements reference - XSLT: Extensible Stylesheet Language Transformations
WebXSLTElement
an instruction, on the other hand, is associated with a template.
Understanding WebAssembly text format - WebAssembly
the key is that javascript can create webassembly linear memory instances via the webassembly.memory() interface, and access an existing memory instance (currently you can only have one per module instance) using the associated instance methods.