Search completed in 1.91 seconds.
ConstrainDOMString - Web APIs
the constrain
domstring dictionary is used to specify a constraint for a property whose value is a string.
... properties the value of a constrain
domstring can be any of the following: a single
domstring an array of
domstring objects an object with one or both of the following properties: exact either a single
domstring which must be the value of the property, or an array of
domstring objects one of which must be the property's value.
... ideal either a single
domstring or an arrray of
domstrings specifying ideal values for the property.
...And 2 more matches
DOMString - Web APIs
domstring is a utf-16 string.
... as javascript already uses such strings,
domstring is mapped directly to a string.
... passing null to a method or parameter accepting a
domstring typically stringifies to "null".
... specifications specification status comment web idlthe definition of '
domstring' in that specification.
DOMStringList - Web APIs
a type returned by some apis which contains a list of
domstring (strings).
... properties
domstringlist.length read only returns the length of the list.
... methods
domstringlist.item() returns a
domstring.
...
domstringlist.contains() returns boolean indicating if the given string is in the list specifications specification status comment html living standardthe definition of '
domstringlist' in that specification.
DOMStringMap - Web APIs
the
domstringmap interface is used for the htmlelement.dataset attribute, to represent data for custom attributes added to elements.
... specifications specification status comment html living standardthe definition of '
domstringmap' in that specification.
Index - Web APIs
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.
... 91 animationevent.pseudoelement api, animationevent, css, cssom, experimental, property, reference, web animations the animationevent.pseudoelement read-only property is a
domstring, starting with '::', containing the name of the pseudo-element the animation runs on.
... 179 audioparammap draft, experimental the web audio api interface audioparammap represents a set of multiple audio parameters, each described as a mapping of a
domstring identifying the parameter to the audioparam object representing its value.
...And 152 more matches
nsIDOMXULElement
66 introduced gecko 1.0 inherits from: nsidomelement last changed in gecko 1.9 (firefox 3) method overview void blur(); void click(); void docommand(); void focus(); nsidomnodelist getelementsbyattribute(in
domstring name, in
domstring value); nsidomnodelist getelementsbyattributens(in
domstring namespaceuri, in
domstring name, in
domstring value); attributes attribute type description align
domstring gets/sets the value of the element's align attribute.
... classname
domstring gets/sets the value of the element's class attribute.
... contextmenu
domstring gets/sets the value of the element's contextmenu attribute.
...And 25 more matches
WebIDL bindings
webidl type argument type return type dictionary/member type any js::handle<js::value> js::mutablehandle<js::value> js::value boolean bool bool bool byte int8_t int8_t int8_t bytestring const nsacstring& nscstring& (outparam) nsacstring& (outparam) nscstring date mozilla::dom::date
domstring const nsastring& mozilla::dom::
domstring& (outparam) nsastring& (outparam) nsstring& (outparam) nsstring utf8string const nsacstring& nsacstring& (outparam) nscstring double double double double float float float float interface: non-nullable foo& already_addrefed<foo> foo* owningnonnull<foo> int...
... short int16_t int16_t int16_t unrestricted double double double double unrestricted float float float float unsigned long uint32_t uint32_t uint32_t unsigned long long uint64_t uint64_t uint64_t unsigned short uint16_t uint16_t uint16_t usvstring const nsastring& mozilla::dom::
domstring& (outparam) nsastring& (outparam) nsstring& (outparam) nsstring any any is represented in three different ways, depending on use: any arguments become js::handle<js::value>.
...arg); }; will correspond to these c++ function declarations: float myattr(); void setmyattr(float value); double mymethod(const nullable<double>& arg);
domstring strings are reflected in three different ways, depending on use: string arguments become const nsastring&.
...And 16 more matches
nsIDOMNSHTMLDocument
inherits from: nsisupports last changed in gecko 6.0 (firefox 6.0 / thunderbird 6.0 / seamonkey 2.3) method overview void captureevents(in long eventflags); void clear(); boolean execcommand(in
domstring commandid, in boolean doshowui, in
domstring value); boolean execcommandshowhelp(in
domstring commandid); obsolete since gecko 14.0
domstring getselection(); nsidomdocument open(in acstring acontenttype, in boolean areplace); boolean querycommandenabled(in
domstring commandid); boolean querycommandindeterm(in
domstring commandid); boolean quer...
...ycommandstate(in
domstring commandid); boolean querycommandsupported(in
domstring commandid);
domstring querycommandtext(in
domstring commandid); obsolete since gecko 14.0
domstring querycommandvalue(in
domstring commandid); void releaseevents(in long eventflags); void routeevent(in nsidomevent evt); void write(); obsolete since gecko 2.0 void writeln(); obsolete since gecko 2.0 attributes attribute type description alinkcolor
domstring same as body.alink bgcolor
domstring same as body.bgcolor compatmode
domstring returns "backcompat" if the document is in quirks mode or "css1compat" if the document is in full standards or almost standards mode.
... designmode
domstring set to "on" or "off" to enable or disable editing for the entire document at once.
...And 15 more matches
nsIDOMElement
inherits from: nsidomnode last changed in gecko 1.7 method overview
domstring getattribute(in
domstring name); nsidomattr getattributenode(in
domstring name); nsidomattr getattributenodens(in
domstring namespaceuri, in
domstring localname);
domstring getattributens(in
domstring namespaceuri, in
domstring localname); nsidomnodelist getelementsbytagname(in
domstring name); nsidomnodelist getelementsbytagnamens(in
domstring namespaceuri, in
domstring localname); boolean hasattribute(in
domstring name); boolean hasattributens(in
domstring namespaceuri, in
domstring localname); void removeattribute(in
domstring name) nsidomattr removeattributenode(in nsido...
...mattr oldattr) void removeattributens(in
domstring namespaceuri, in
domstring localname) void setattribute(in
domstring name, in
domstring value) nsidomattr setattributenode(in nsidomattr newattr) nsidomattr setattributenodens(in nsidomattr newattr) void setattributens(in
domstring namespaceuri, in
domstring qualifiedname, in
domstring value) attributes attribute type description tagname
domstring the element tag name.
...
domstring getattribute( in
domstring name ); parameters name attribute name return value a
domstring containing the attribute value.
...And 11 more matches
HTMLAnchorElement - Web APIs
element.accesskey is a
domstring representing a single character that switches input focus to the hyperlink.
... htmlanchorelement.download is a
domstring indicating that the linked resource is intended to be downloaded rather than displayed in the browser.
... htmlanchorelement.hreflang is a
domstring that reflects the hreflang html attribute, indicating the language of the linked resource.
...And 11 more matches
HTMLObjectElement - Web APIs
htmlobjectelement.align is a
domstring representing an enumerated property indicating alignment of the element's contents with respect to the surrounding context.
... htmlobjectelement.archive is a
domstring that reflects the archive html attribute, containing a list of archives for resources for this object.
... htmlobjectelement.border is a
domstring that reflects the border html attribute, specifying the width of a border around the object.
...And 11 more matches
AddressErrors - Web APIs
properties addressline a
domstring which, if present, indicates that the addressline property of the paymentaddress could not be validated.
... city a
domstring which, if present, indicates that the city property of the paymentaddress could not be validated.
... country a
domstring which, if present, indicates that the country property of the paymentaddress could not be validated.
...And 9 more matches
HTMLIFrameElement - Web APIs
htmliframeelement.align is a
domstring that specifies the alignment of the frame with respect to the surrounding context.
... htmliframeelement.frameborder is a
domstring that indicates whether to create borders between frames.
... htmliframeelement.height is a
domstring that reflects the height html attribute, indicating the height of the frame.
...And 9 more matches
PaymentAddress - Web APIs
properties paymentaddress.addressline read only an array of
domstring objects providing each line of the address not included among the other properties.
... paymentaddress.country read only a
domstring specifying the country in which the address is located, using the iso-3166-1 alpha-2 standard.
... paymentaddress.city read only a
domstring which contains the city or town portion of the address.
...And 9 more matches
StringView - Archive of obsolete content
ript arraybuffer interface to create a highly extensible library that anyone can extend by adding methods to the object stringview.prototype to create a collection of methods for such string-like objects (since now: stringviews) which work strictly on arrays of numbers rather than on creating new immutable javascript strings to work with unicode encodings other than javascript's default utf-16
domstrings introduction as web applications become more and more powerful, adding features such as audio and video manipulation, access to raw data using websockets, and so forth, it has become clear that there are times when it would be helpful for javascript code to be able to quickly and easily manipulate raw binary data.
...*/ for (var ninptidx = nstartidx, noutptidx = 0; noutptidx < noutptlen; ninptidx += fgetinptchrsize(nchrcode)) { nchrcode = fgetinptchrcode(vsource, ninptidx); noutptidx = fputoutptcode(awhole, nchrcode, noutptidx); } break conversionswitch; case 4: /*
domstring to ascii or binarystring or other unknown encodings */ awhole = new ftaview(noutptlen); /* transcription...
... */ for (var nidx = 0; nidx < noutptlen; nidx++) { awhole[nidx] = vsource.charcodeat(nidx) & 0xff; } break conversionswitch; case 5: /*
domstring to utf-8 or to utf-16 */ /* mapping...
...And 8 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.
... csscounterstylerule.symbols is a
domstring object that contains the serialization of the symbols descriptor defined for the associated rule.
...And 8 more matches
HTMLAreaElement - Web APIs
element.accesskey is a
domstring containing a single character that switches input focus to the control.
... htmlareaelement.alt is a
domstring that reflects the alt html attribute, containing alternative text for the element.
... htmlareaelement.coords is a
domstring that reflects the coords html attribute, containing coordinates to define the hot-spot region.
...And 8 more matches
HTMLImageElement - Web APIs
htmlimageelement.alt a
domstring that reflects the alt html attribute, thus indicating the alternate fallback content to be displayed if the image has not been loaded.
... htmlimageelement.crossorigin a
domstring specifying the cors setting for this image element.
... htmlimageelement.decoding an optional
domstring representing a hint given to the browser on how it should decode the image.
...And 8 more matches
HTMLLinkElement - Web APIs
htmllinkelement.as is a
domstring representing the type of content being loaded by the html link.
... htmllinkelement.crossorigin is a
domstring that corresponds to the cors setting for this link element.
... htmllinkelement.href is a
domstring representing the uri for the target resource.
...And 8 more matches
HTMLTableCellElement - Web APIs
htmltablecellelement.abbr a
domstring which can be used on <th> elements (not on <td>), specifying an alternative label for the header cell..
... htmltablecellelement.scope a
domstring indicating the scope of a <th> cell.
... htmltablecellelement.align a
domstring containing an enumerated value reflecting the align attribute.
...And 8 more matches
inIDOMUtils
inherits from: nsisupports last changed in gecko 22.0 (firefox 22.0 / thunderbird 22.0 / seamonkey 2.19) implemented by: @mozilla.org/inspector/dom-utils;1 as a service: var inidomutils = components.classes["@mozilla.org/inspector/dom-utils;1"] .getservice(components.interfaces.inidomutils); method overview void addpseudoclasslock(in nsidomelement aelement, in
domstring apseudoclass); void clearpseudoclasslocks(in nsidomelement aelement); [implicit_jscontext] jsval colornametorgb(in
domstring acolorname); nsiarray getbindingurls(in nsidomelement aelement); nsidomnodelist getchildrenfornode(in nsidomnode anode, in boolean ashowinganonymouscontent); unsigned long long getcontentstate(in nsidomelement aelement); ...
... void getcsspropertynames([optional] in unsigned long aflags, [optional] out unsigned long acount, [retval, array, size_is(acount)] out wstring aprops); nsisupportsarray getcssstylerules(in nsidomelement aelement, [optional] in
domstring apseudo); nsidomnode getparentfornode(in nsidomnode anode, in boolean ashowinganonymouscontent); unsigned long getruleline(in nsidomcssstylerule arule); unsigned long getrulecolumn(in nsidomcssstylerule arule); unsigned long getselectorcount(in nsidomcssstylerule arule); astring getselectortext(in nsidomcssstylerule arule, in unsigned long aselectorindex); unsigned long long getspecificity(in nsidomcssstylerule arule, in unsigned long aselectorindex); nsidomfontfacelist getusedfontfaces(in ns...
...idomrange arange); bool haspseudoclasslock(in nsidomelement aelement, in
domstring apseudoclass); boolean isignorablewhitespace(in nsidomcharacterdata adatanode); bool isinheritedproperty(in astring apropertyname); void parsestylesheet(in nsidomcssstylesheet asheet, in
domstring ainput); void removepseudoclasslock(in nsidomelement aelement, in
domstring apseudoclass); astring rgbtocolorname(in octet ar, in octet ag, in octet ab); bool selectormatcheselement(in nsidomelement aelement, in nsidomcssstylerule arule, in unsigned long aselectorindex, [optional] in
domstring apseudo); void setcontentstate(in nsidomelement aelement, in unsigned long long astate); constants constant value description ex...
...And 7 more matches
nsIDOMGeoPositionAddress
attributes attribute type description city
domstring the city.
... country
domstring the country.
... countrycode obsolete since gecko 11
domstring removed in firefox 11, since it isn't defined in the specification; use country instead.
...And 7 more matches
HTMLButtonElement - Web APIs
htmlbuttonelement.accesskey is a
domstring indicating the single-character keyboard key to give access to the button.
... htmlbuttonelement.formaction is a
domstring reflecting the uri of a resource that processes information submitted by the button.
... htmlbuttonelement.formenctype is a
domstring reflecting the type of content that is used to submit the form to the server.
...And 7 more matches
IDBDatabaseSync - Web APIs
method overview idbobjectstoresync createobjectstore (in
domstring name, in
domstring keypath, in optional boolean autoincrement) raises (idbdatabaseexception); idbobjectstoresync openobjectstore (in
domstring name, in optional unsigned short mode) raises (idbdatabaseexception); void removeobjectstore (in
domstring storename) raises (idbdatabaseexception); void setversion (in
domstring version); idbtransactionsync transaction...
... (in optional
domstringlist storenames, in optional unsigned int timeout) raises (idbdatabaseexception); attributes attribute type description description readonly
domstring the human-readable description of the connected database.
... name readonly
domstring the name of the connected database.
...And 7 more matches
URLUtilsReadOnly - Web APIs
urlutilsreadonly.href read only is a
domstring containing the whole url.
... urlutilsreadonly.protocol read only is a
domstring containing the protocol scheme of the url, including the final ':'.
... urlutilsreadonly.host read only is a
domstring containing the host, that is the hostname, a ':', and the port of the url.
...And 7 more matches
WorkerLocation - Web APIs
urlutilsreadonly.href read only is a stringifier that returns a
domstring containing the whole url of the script executed in the worker.
... urlutilsreadonly.protocol read only is a
domstring containing the protocol scheme of the url of the script executed in the worker, including the final ':'.
... urlutilsreadonly.host read only is a
domstring containing the host, that is the hostname, a ':', and the port of the url of the script executed in the worker.
...And 7 more matches
mozbrowsercontextmenu
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
...its properties are as follows: documenturi a
domstring representing the url of the document the menu is associated with.
... uri a
domstring.
...And 6 more matches
nsISmsService
to create an instance, use: var smsservice = components.classes["@mozilla.org/sms/smsservice;1"] .createinstance(components.interfaces.nsismsservice); method overview [implicit_jscontext] nsidommozsmsmessage createsmsmessage(in long id, in
domstring delivery, in
domstring sender, in
domstring receiver, in
domstring body, in jsval timestamp, in bool read ); unsigned short getnumberofmessagesfortext(in
domstring text); boolean hassupport(); void send(in
domstring number, in
domstring message, in long requestid, [optional] in unsigned long long processid); methods createsmsmessage() [implicit_jscontext] nsido...
...mmozsmsmessage createsmsmessage( in long id, in
domstring delivery, in
domstring sender, in
domstring receiver, in
domstring body, in jsval timestamp, in bool read ); parameters id a number representing the id of the message.
... delivery a
domstring which can either be "received" or "sent" and is representing the way the sms was delivered.
...And 6 more matches
HTMLTableElement - Web APIs
htmltableelement.align is a
domstring containing an enumerated value reflecting the align attribute.
... htmltableelement.bgcolor is a
domstring containing the background color of the cells.
... htmltableelement.border is a
domstring containing the width in pixels of the border of the table.
...And 6 more matches
RTCIceCandidate - Web APIs
properties candidate read only a
domstring representing the transport address for the candidate that can be used for connectivity checks.
... component read only a
domstring which indicates whether the candidate is an rtp or an rtcp candidate; its value is either "rtp" or "rtcp", and is derived from the "component-id" field in the candidate a-line string.
... foundation read only returns a
domstring containing a unique identifier that is the same for any candidates of the same type, share the same base (the address from which the ice agent sent the candidate), and come from the same stun server.
...And 6 more matches
nsIRadioInterfaceLayer
to create an instance, use: var radiointerfacelayer = components.classes["@mozilla.org/telephony/system-worker-manager;1"] .getservice(components.interfaces.nsiinterfacerequestor) .createinstance(components.interfaces.nsiradiointerfacelayer); method overview void answercall(in unsigned long callindex); void deactivatedatacall(in
domstring cid, in
domstring reason); void dial(in
domstring number); void enumeratecalls(in nsiriltelephonycallback callback); void getdatacalllist(); unsigned short getnumberofmessagesfortext(in
domstring text); void hangup(in unsigned long callindex); void registercallback(in nsiriltelephonycallback callback); void registerdatacallcallback(in nsirildatacallback callback); void rejectcall(...
...in unsigned long callindex); void sendsms(in
domstring number, in
domstring message, in long requestid, in unsigned long long processid); void setupdatacall(in long radiotech, in
domstring apn, in
domstring user, in
domstring passwd, in long chappap, in
domstring pdptype); void starttone(in
domstring dtmfchar); void stoptone(); void unregistercallback(in nsiriltelephonycallback callback); void unregisterdatacallcallback(in nsirildatacallback callback); attributes attribute type description currentstate jsval read only.
...all_state_connecting 1 datacall_state_connected 2 datacall_state_disconnecting 3 datacall_state_disconnected 4 call_state_ringing 2 obsolete since gecko 14.0 methods answercall() void answercall( in unsigned long callindex ); parameters callindex missing description exceptions thrown missing exception missing description deactivatedatacall() void deactivatedatacall( in
domstring cid, in
domstring reason ); parameters cid missing description reason missing description exceptions thrown missing exception missing description dial() functionality for making and managing phone calls.
...And 5 more matches
Element - Web APIs
element.classname is a
domstring representing the class of the element.
... element.computedname read only returns a
domstring containing the label exposed to accessibility.
... element.computedrole read only returns a
domstring containing the aria role that has been applied to a particular element.
...And 5 more matches
HTMLElement - Web APIs
htmlelement.accesskey is a
domstring representing the access key assigned to the element.
... htmlelement.accesskeylabel read only returns a
domstring containing the element's assigned access key.
... htmlelement.contenteditable is a
domstring, where a value of true means the element is editable and a value of false means it isn't.
...And 5 more matches
SVGStringList - Web APIs
svg string list interface the svgstringlist defines a list of
domstring objects.
... interface overview also implement none methods void clear()
domstring initialize(in
domstring newitem)
domstring getitem(in unsigned long index)
domstring insertitembefore(in
domstring newitem, in unsigned long index)
domstring replaceitem(in
domstring newitem, in unsigned long index)
domstring removeitem(in unsigned long index)
domstring appenditem(in
domstring newitem) properties readonly unsigned long numberofitems readonly unsigned long length normative document svg 1.1 (2nd edition) properties name type ...
... initialize(in
domstring newitem)
domstring clears all existing current items from the list and re-initializes the list to hold the single item specified by the parameter.
...And 5 more matches
nsIDOMNode
inherits from: nsisupports last changed in gecko 0.9.6 method overview nsidomnode appendchild(in nsidomnode newchild) nsidomnode clonenode(in boolean deep); boolean hasattributes(); boolean haschildnodes(); nsidomnode insertbefore(in nsidomnode newchild, in nsidomnode refchild) boolean issupported(in
domstring feature, in
domstring version); void normalize(); nsidomnode removechild(in nsidomnode oldchild) nsidomnode replacechild(in nsidomnode newchild, in nsidomnode oldchild) attributes attribute type description attributes nsidomnamednodemap read only.
... localname
domstring read only.
... namespaceuri
domstring read only.
...And 4 more matches
FileSystemEntrySync - Web APIs
method overview metadata getmetadata () raises (fileexception); filesystementrysync moveto (in directoryentrysync parent, optional
domstring newname) raises (fileexception); filesystementrysync copyto(in directoryentrysync parent, optional
domstring newname) raises (fileexception);
domstring tourl(); void remove() raises (fileexception); directoryentrysync getparent(); attributes attribute type description filesystem readonly filesystemsync the file system w...
... fullpath readonly
domstring the full absolute path from the root to the entry.
... name readonly
domstring the name of the entry, excluding the path leading to it.
...And 4 more matches
HTMLFormElement - Web APIs
htmlformelement.name a
domstring reflecting the value of the form's name html attribute, containing the name of the form.
... htmlformelement.method a
domstring reflecting the value of the form's method html attribute, indicating the http method used to submit the form.
... htmlformelement.target a
domstring reflecting the value of the form's target html attribute, indicating where to display the results received from submitting the form.
...And 4 more matches
HTMLScriptElement - Web APIs
htmlscriptelement.type is a
domstring representing the mime type of the script.
... htmlscriptelement.src is a
domstring representing the url of an external script.
... htmlscriptelement.event is a
domstring; an obsolete way of registering event handlers on elements in an html document.
...And 4 more matches
IDBObjectStoreSync - Web APIs
method overview any add (in any value, in optional any key) raises (idbdatabaseexception); idbindexsync createindex (in
domstring name, in
domstring storename, in
domstring keypath, in optional boolean unique); any get (in any key) raises (idbdatabaseexception); idbcursorsync opencursor (in optional idbkeyrange range, in optional unsigned short direction) raises (idbdatabaseexception); idbindexsync openindex (in
domstring name) raises (idbdatabaseexception); any put (in any value, in op...
...tional any key) raises (idbdatabaseexception); void remove (in any key) raises (idbdatabaseexception); void removeindex (in
domstring indexname) raises (idbdatabaseexception); attributes attribute type description indexnames readonly
domstringlist a list of the names of the indexes on this object store.
... keypath readonly
domstring the key path of this object store.
...And 4 more matches
nsIDOMFontFace
attribute type description cssfamilyname
domstring a family name that could be used in css font-family (not necessarily the actual name that was used, due to aliases, generics, localized names, and so on).
... name
domstring full font name as obtained from the font resource.
... attribute type description format
domstring the font format.
...And 3 more matches
nsIDOMOfflineResourceList
last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) inherits from: nsisupports method overview void mozadd(in
domstring uri); boolean mozhasitem(in
domstring uri);
domstring mozitem(in unsigned long index); void mozremove(in
domstring uri); void swapcache(); void update(); attributes attribute type description mozitems nsidomofflineresourcelist the list of dynamically-managed entries in the offline resource list.
... void mozadd( in
domstring uri ); parameters uri the uri of the resource to add to the list.
... void mozhasitem( in
domstring uri ); parameters uri the uri of the resource to check.
...And 3 more matches
CharacterData - Web APIs
characterdata.data is a
domstring representing the textual data contained in this object.
... characterdata.appenddata() appends the given
domstring to the characterdata.data string; when this method returns, data contains the concatenated
domstring.
... characterdata.deletedata() removes the specified amount of characters, starting at the specified offset, from the characterdata.data string; when this method returns, data contains the shortened
domstring.
...And 3 more matches
ChildNode - Web APIs
childnode.before() inserts a set of node or
domstring objects in the children list of this childnode's parent, just before this childnode.
...
domstring objects are inserted as equivalent text nodes.
... childnode.after() inserts a set of node or
domstring objects in the children list of this childnode's parent, just after this childnode.
...And 3 more matches
HTMLBodyElement - Web APIs
htmlbodyelement.alink is a
domstring that represents the color of active hyperlinks.
... htmlbodyelement.background is a
domstring that represents the description of the location of the background image resource.
... htmlbodyelement.bgcolor is a
domstring that represents the background color for the document.
...And 3 more matches
HTMLEmbedElement - Web APIs
htmlembedelement.align is a
domstring representing an enumerated property indicating alignment of the element's contents with respect to the surrounding context.
... htmlembedelement.height is a
domstring reflecting the height html attribute, containing the displayed height of the resource.
... htmlembedelement.name is a
domstring representing the name of the embedded object.
...And 3 more matches
HTMLKeygenElement - Web APIs
challenge is a
domstring that reflects the challenge html attribute, containing a challenge string that is packaged with the submitted key.
... keytype is a
domstring that reflects the keytype html attribute, containing the type of key used.
... name is a
domstring that reflects the name html attribute, containing the name for the control that is submitted with form data.
...And 3 more matches
HTMLMediaElement - Web APIs
htmlmediaelement.crossorigin a
domstring indicating the cors setting for this media element.
... htmlmediaelement.currentsrc read only returns a
domstring with the absolute url of the chosen media resource.
... htmlmediaelement.mediagroup a
domstring that reflects the mediagroup html attribute, which indicates the name of the group of elements it belongs to.
...And 3 more matches
MediaTrackConstraints - Web APIs
properties of all media tracks deviceid a constrain
domstring object specifying a device id or an array of device ids which are acceptable and/or required.
... groupid a constrain
domstring object specifying a group id or an array of group ids which are acceptable and/or required.
... facingmode a constrain
domstring object specifying a facing or an array of facings which are acceptable and/or required.
...And 3 more matches
MediaTrackSettings - Web APIs
properties of all media tracks deviceid a
domstring indicating the current value of the deviceid property.
... groupid a
domstring indicating the current value of the groupid property.
... facingmode a
domstring indicating the current value of the facingmode property, specifying the direction the camera is facing.
...And 3 more matches
TextTrack - Web APIs
texttrack.id read only a
domstring which identifies the track, if it has one.
... texttrack.inbandmetadatatrackdispatchtype read only returns a
domstring which indicates the track's in-band metadata track dispatch type.
... needs details texttrack.kind read only returns a
domstring indicating what kind of text track the texttrack describes.
...And 3 more matches
mozbrowsermetachange
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... details the details property returns an anonymous javascript object with the following properties: name a
domstring representing the <meta> name attribute value.
... content a
domstring representing the <meta> content attribute value, i.e.
...And 2 more matches
mozbrowsershowmodalprompt
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... details the details property is an anonymous javascript object with the following properties: prompttype a
domstring defining the type of the prompt.
... title a
domstring representing the title of the prompt.
...And 2 more matches
nsIAccessNode
method overview nsiaccessnode getchildnodeat(in long childnum); obsolete since gecko 2.0 nsidomcssprimitivevalue getcomputedstylecssvalue(in
domstring pseudoelt, in
domstring propertyname);
domstring getcomputedstylevalue(in
domstring pseudoelt, in
domstring propertyname); void scrollto(in unsigned long ascrolltype); void scrolltopoint(in unsigned long acoordinatetype, in long ax, in long ay); attributes note: attempting to access the attributes of a node that is unattached from the accessible tree will res...
...obsolete since gecko 2.0 innerhtml
domstring the innerhtml for the dom node this is a text string of all the markup inside the dom node, not including the start and end tag for the node.
... language
domstring the language for the current dom node, for example en, de, and so on.
...And 2 more matches
nsIDOMStorage
method overview void clear();
domstring getitem(in
domstring key);
domstring key(in unsigned long index); void removeitem(in
domstring key); void setitem(in
domstring key, in
domstring data); attributes attribute type description length unsigned long the number of keys stored in the session store.
...
domstring getitem( in
domstring key ); parameters key the key for which data should be returned.
...
domstring key( in unsigned long index ); parameters index the index for which the corresponding key should be returned.
...And 2 more matches
nsIDOMStorage2
last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) inherits from: nsisupports method overview void clear();
domstring getitem(in
domstring key);
domstring key(in unsigned long index); void removeitem(in
domstring key); void setitem(in
domstring key, in
domstring data); attributes attribute type description length unsigned long the number of keys stored in local storage.
...
domstring getitem( in
domstring key ); parameters key the key for which data should be returned.
...
domstring key( in unsigned long index ); parameters index the index for which the corresponding key should be returned.
...And 2 more matches
nsIDOMWindowInternal
void alert(in
domstring text) boolean confirm(in
domstring text)
domstring prompt([optional] in
domstring amessage, [optional] in
domstring ainitial, [optional] in
domstring atitle, [optional] in unsigned long asavepassword) void focus() void blur() void back() void forward() void home() void stop() void print() void moveto(in long...
...if the name doesn't exist, then a new window is opened and the specified resource is loaded into its browsing context.">open(in
domstring url, in
domstring name, in
domstring options) nsidomwindow nsisupports aextraargument) void close() void updatecommands(in
domstring action) boolean find([optional] in
domstring str,[optional] in boolean casesensitive, [optional] in boolean backwards, [optional] in boolean wraparound, [optional] in boolean wholeword, [optional] in boolean searchinframes, [opti...
...onal] in boolean showdialog)
domstring atob(in
domstring aasciistring)
domstring btoa(in
domstring abase64data) nsivariant showmodaldialog(in nsivariant aargs, [optional] in
domstring aoptions) void postmessage(in
domstring message, in
domstring targetorigin) attributes attribute type description window nsidomwindowinternal readonly: the window object itself.
...And 2 more matches
nsIDOMXULLabeledControlElement
inherits from: nsidomxulcontrolelement last changed in gecko 1.7 attributes attribute type description accesskey
domstring this should be set to a character that is used as a shortcut key.
... command
domstring this property reflects the element's command attribute.
... crop
domstring this property reflects the element's crop attribute.
...And 2 more matches
nsIDocShell
method overview void addsessionstorage(in nsiprincipal principal, in nsidomstorage storage); void addstate(in nsivariant adata, in
domstring atitle, in
domstring aurl, in boolean areplace); void beginrestore(in nsicontentviewer viewer, in boolean top); void createaboutblankcontentviewer(in nsiprincipal aprincipal); void createloadinfo(out nsidocshellloadinfo loadinfo); void detacheditorfromwindow(); violates the xpcom interface guidelines void finishrestore(); void firepagehid...
...obsolete since gecko 1.8 nsisimpleenumerator getdocshellenumerator(in long aitemtype, in long adirection); nsidomstorage getsessionstorageforprincipal(in nsiprincipal principal, in
domstring documenturi, in boolean create); nsidomstorage getsessionstorageforuri(in nsiuri uri, in
domstring documenturi); void historypurged(in long numentries); void internalload(in nsiuri auri, in nsiuri areferrer, in nsisupports aowner, in pruint32 aflags, in wstring awindowtarget, in string atypehint, in nsiinputstream apostdatastream, in nsiinputstream aheadersstream, in unsigned long aloadflags, in nsishentry ashentry, in boolean firstparty, out nsidocshel...
...void addstate( in nsivariant adata, in
domstring atitle, in
domstring aurl, in boolean areplace ); parameters adata the state object to pass to the popstate event.
...And 2 more matches
nsISmsDatabaseService
to create an instance, use: var smsservice = components.classes["@mozilla.org/sms/smsdatabaseservice;1"] .createinstance(components.interfaces.nsismsdatabaseservice); method overview long savereceivedmessage(in
domstring asender, in
domstring abody, in unsigned long long adate); long savesentmessage(in
domstring areceiver, in
domstring abody, in unsigned long long adate); void getmessage(in long messageid, in long requestid, [optional] in unsigned long long processid); void deletemessage(in long messageid, in long requestid, [optional] in unsigned long long processid); void createmessagelist(in nsidommozs...
...n long requestid, [optional] in unsigned long long processid); void getnextmessageinlist(in long listid, in long requestid, [optional] in unsigned long long processid); void clearmessagelist(in long listid); void markmessageread(in long messageid, in boolean value, in long requestid, [optional] in unsigned long long processid) methods savereceivedmessage() void savereceivedmessage( in
domstring asender, in
domstring abody, in unsigned long long adate ); parameters asender a
domstring with the sender of the text message.
... abody a
domstring containing the body text of the message.
...And 2 more matches
HTMLOutputElement - Web APIs
htmloutputelement.defaultvalue a
domstring representing the default value of the element, initially the empty string.
... htmloutputelement.name a
domstring reflecting the name html attribute, containing the name for the control that is submitted with form data.
... htmloutputelement.typeread only the
domstring "output".
...And 2 more matches
HTMLTableColElement - Web APIs
htmltablecolelement.align is a
domstring that indicates the horizontal alignment of the cell data in the column.
... htmltablecolelement.ch is a
domstring representing the alignment character for cell data.
... htmltablecolelement.choff is a
domstring representing the offset for the alignment character.
...And 2 more matches
HTMLTableRowElement - Web APIs
htmltablerowelement.align is a
domstring containing an enumerated value reflecting the align attribute.
... htmltablerowelement.bgcolor is a
domstring containing the background color of the cells.
... htmltablerowelement.ch is a
domstring containing one single character.
...And 2 more matches
Node - Web APIs
node.baseuriread only returns a
domstring representing the base url of the document containing the node.
... node.nodenameread only returns a
domstring containing the name of the node.
... obsolete properties node.localname read only returns a
domstring representing the local part of the qualified name of an element.
...And 2 more matches
PerformanceEntry.entryType - Web APIs
the entrytype property returns a
domstring representing the type of performance metric such as, for example, "mark".
... mark performancemark
domstring the name used when the mark was created by calling performance.mark().
... measure performancemeasure
domstring name used when the measure was created by calling performance.measure().
...And 2 more matches
SharedWorker() - Web APIs
syntax var myworker = new sharedworker(aurl, name); var myworker = new sharedworker(aurl, options); parameters aurl a
domstring representing the url of the script the worker will execute.
... name optional a
domstring specifying an identifying name for the sharedworkerglobalscope representing the scope of the worker, which is mainly useful for debugging purposes.
...available properties are as follows: type: a
domstring specifying the type of worker to create.
...And 2 more matches
TrackDefault.TrackDefault() - Web APIs
syntax var trackdefault = new trackdefault(type, language, label, kinds, bytestreamtrackid); parameters type a
domstring specifying a media segment data type for the sourcebuffer to contain.
... language a
domstring specifying a default language for the sourcebuffer to use when an initialization segment does not contain language information for a new track.
... label a
domstring specifying a default label for the sourcebuffer to use when an initialization segment does not contain label information for a new track.
...And 2 more matches
<tr>: The Table Row element - HTML: Hypertext Markup Language
alignobsolete since html5 a
domstring which specifies how the cell's context should be aligned horizontally within the cells in the row; this is shorthand for using align on every cell in the row individually.
... bgcolorobsolete since html5 a
domstring specifying a color to apply to the backgrounds of each of the row's cells.
... charobsolete since html5 a
domstring which sets the character to align the cells in each of the row's columns on (each row's centering that uses the same character gets aligned with others using the same character .
...And 2 more matches
mozbrowsericonchange
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... details the details property returns an anonymous javascript object with the following properties: href a
domstring representing the path to the new icon.
... sizes a
domstring listing the sizes the new icon is available in, e.g.
...the any keyword can also be used, to represent "any size." rel a
domstring representing the rel attribute value from the <link> element used to link to the icon.
mozbrowseropenwindow
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... details the details property returns an anonymous javascript object with the following properties: url a
domstring representing the url of the document loaded within the frameelement property.
... name a
domstring representing the name of the new browser window.
... features a
domstring containing features represented by a list of names and values separated by commas.
mozbrowsersecuritychange
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... details the details property returns an anonymous javascript object with the following properties: state a
domstring representing the current state of ssl security.
... trackingstate a
domstring representing the current loading state of tracking content.
... mixedstate a
domstring representing the current loading state of mixed active content.
nsIEventListenerService
(in nsidomeventtarget aeventtarget, [optional] out unsigned long acount, [retval, array, size_is(acount)] out nsidomeventtarget aoutarray); void getlistenerinfofor(in nsidomeventtarget aeventtarget, [optional] out unsigned long acount, [retval, array, size_is(acount)] out nsieventlistenerinfo aoutarray); boolean haslistenersfor(in nsidomeventtarget aeventtarget, in
domstring atype); void addsystemeventlistener(in nsidomeventtarget target, in
domstring type, in nsidomeventlistener listener, in boolean usecapture); void removesystemeventlistener(in nsidomeventtarget target, in
domstring type, in nsidomeventlistener listener, in boolean usecapture); attributes attribute type description ...
...boolean haslistenersfor( in nsidomeventtarget aeventtarget, in
domstring atype ); parameters aeventtarget the nsidomeventtarget for which to check if this has any listener for atype.
...void addsystemeventlistener( in nsidomeventtarget target, in
domstring type, in nsidomeventlistener listener, in boolean usecapture ); parameters target the nsidomeventtarget for the event target to listen an event.
...void removesystemeventlistener( in nsidomeventtarget target, in
domstring type, in nsidomeventlistener listener, in boolean usecapture ); parameters target the nsidomeventtarget for the event target listening the event.
nsIPushService
implemented by @mozilla.org/push/service;1 as a service: const pushservice = components.classes["@mozilla.org/push/service;1"] .getservice(components.interfaces.nsipushservice); method overview void subscribe(in
domstring scope, in nsiprincipal principal, in nsipushsubscriptioncallback callback); void getsubscription(in
domstring scope, in nsiprincipal principal, in nsipushsubscriptioncallback callback); void unsubscribe(in
domstring scope, in nsiprincipal principal, in nsiunsubscriberesultcallback callback); methods subscribe() creates a push subscription.
... void subscribe( in
domstring scope, in nsiprincipal principal, in nsipushsubscriptioncallback callback ); parameters scope the serviceworkerregistration.scope for a service worker subscription, or a unique url (for example, chrome://my-module/push) for a system subscription.
... void getsubscription( in
domstring scope, in nsiprincipal principal, in nsipushsubscriptioncallback callback ); parameters scope the unique scope url, as passed to nsipushservice.subscribe().
... void unsubscribe( in
domstring scope, in nsiprincipal principal, in nsiunsubscriberesultcallback callback ); parameters scope the unique scope url, as passed to nsipushservice.subscribe().
nsITextInputProcessor
boolean begininputtransactionfortests(in nsidomwindow awindow, [optional] in nsitextinputprocessorcallback acallback); void cancelcomposition([optional] in nsidomkeyevent adomkeyevent, [optional] in unsigned long akeyflags); boolean commitcomposition([optional] in nsidomkeyevent adomkeyevent, [optional] in unsigned long akeyflags); boolean commitcompositionwith(in
domstring acommitstring, [optional] in nsidomkeyevent adomkeyevent, [optional] in unsigned long akeyflags); boolean flushpendingcomposition([optional] in nsidomkeyevent adomkeyevent, [optional] in unsigned long akeyflags); boolean getmodifierstate(in
domstring amodifierkeyname); boolean keydown([optional] in nsidomkeyevent adomkeyevent, [optional] in unsigned long akeyflags); ...
... boolean keyup([optional] in nsidomkeyevent adomkeyevent, [optional] in unsigned long akeyflags); void setcaretinpendingcomposition(in unsigned long aoffset); void setpendingcompositionstring(in
domstring astring); void sharemodifierstateof(in nsitextinputprocessor aother); boolean startcomposition([optional] in nsidomkeyevent adomkeyevent, [optional] in unsigned long akeyflags); attributes attribute type description hascomposition boolean whether the instance has composition or not.
... boolean commitcompositionwith(in
domstring acommitstring, in nsidomkeyevent adomkeyevent optional, in unsigned long akeyflags aoptional); parameters acommitstring the commit string.
... boolean getmodifierstate(in
domstring amodifierkeyname); parameters amodifierkeyname a modifier key name which is defined by dom level 3 keyboardevents key values.
nsIXSLTProcessor
to create an instance, use: var xsltprocessor = components.classes["@mozilla.org/document-transformer;1?type=xslt"] .createinstance(components.interfaces.nsixsltprocessor); method overview void clearparameters(); nsivariant getparameter(in
domstring namespaceuri, in
domstring localname); void importstylesheet(in nsidomnode style); void removeparameter(in
domstring namespaceuri, in
domstring localname); void reset(); void setparameter(in
domstring namespaceuri, in
domstring localname, in nsivariant value); nsidomdocument transformtodocument(in nsidomnode source); nsidomdocumentfragment transformtofragment(in nsidomnode source, in ...
...nsivariant getparameter( in
domstring namespaceuri, in
domstring localname ); parameters namespaceuri the namespaceuri of the xslt parameter.
...void removeparameter( in
domstring namespaceuri, in
domstring localname ); parameters namespaceuri the namespaceuri of the xslt parameter.
...void setparameter( in
domstring namespaceuri, in
domstring localname, in nsivariant value ); parameters namespaceuri the namespaceuri of the xslt parameter.
AudioTrack - Web APIs
id read only a
domstring which uniquely identifies the track within the media.
... kind read only a
domstring specifying the category into which the track falls.
... label read only a
domstring providing a human-readable label for the track.
... language read only a
domstring specifying the audio track's primary language, or an empty string if unknown.
CSSOMString - Web APIs
cssomstring is used to denote string data in cssom specifications and can refer to either
domstring or usvstring.
... when a specification says cssomstring, it depends on the browser vendors to choose whether to use
domstring or usvstring.
... while browser implementations that use utf-8 internally to represent strings in memory can use usvstring when the specification says cssomstring, implementations that already represent strings as 16-bit sequences might choose to use
domstring instead.
... implementation differences browser
domstring or usvstring for cssomstring firefox (gecko) usvstring chrome (blink) usvstring safari (webkit) usvstring edge (edgehtml) - opera (blink) usvstring specifications specification status comment css object model (cssom)the definition of 'cssomstring' in that specification.
ChildNode.after() - Web APIs
the childnode.after() method inserts a set of node or
domstring objects in the children list of this childnode's parent, just after this childnode.
...
domstring objects are inserted as equivalent text nodes.
... syntax [throws, unscopable] void childnode.after((node or
domstring)...
... nodes); parameters nodes a set of node or
domstring objects to insert.
ChildNode.before() - Web APIs
the childnode.before() method inserts a set of node or
domstring objects in the children list of this childnode's parent, just before this childnode.
...
domstring objects are inserted as equivalent text nodes.
... syntax [throws, unscopable] void childnode.before((node or
domstring)...
... nodes); parameters nodes a set of node or
domstring objects to insert.
ChildNode.replaceWith() - Web APIs
the childnode.replacewith() method replaces this childnode in the children list of its parent with a set of node or
domstring objects.
...
domstring objects are inserted as equivalent text nodes.
... syntax [throws, unscopable] void childnode.replacewith((node or
domstring)...
... nodes); parameters nodes a set of node or
domstring objects to replace.
DocumentType - Web APIs
documenttype.internalsubset read only a
domstring of the internal subset, or null if there is none.
... documenttype.name read only a
domstring, eg "html" for <!doctype html>.
... documenttype.publicid read only a
domstring, eg "-//w3c//dtd html 4.01//en", empty string for html5.
... documenttype.systemid read only a
domstring, eg "http://www.w3.org/tr/html4/strict.dtd", empty string for html5.
HTMLHRElement - Web APIs
htmlhrelement.align is a
domstring, an enumerated attribute indicating alignment of the rule with respect to the surrounding context.
... htmlhrelement.color is a
domstring representing the name of the color of the rule.
... htmlhrelement.size is a
domstring representing the height of the rule.
... htmlhrelement.width is a
domstring representing the width of the rule on the page.
HTMLMetaElement - Web APIs
name type description content
domstring gets or sets the value of meta-data property.
... httpequiv
domstring gets or sets the name of an http response header to define for a document.
... name
domstring gets or sets the name of a meta-data property to define for a document.
... scheme
domstring gets or sets the name of a scheme used to interpret the value of a meta-data property.
HTMLParamElement - Web APIs
htmlparamelement.name is a
domstring representing the name of the parameter.
... htmlparamelement.value is a
domstring representing the value associated to the parameter.
... htmlparamelement.type is a
domstring containing the type of the parameter when valuetype has the "ref" value.
... htmlparamelement.valuetype is a
domstring containing the type of the value.
HTMLSelectElement - Web APIs
htmlselectelement.name a
domstring reflecting the name html attribute, containing the name of this control used by servers and dom search functions.
... htmlselectelement.typeread only a
domstring represeting the form control's type.
... htmlselectelement.validationmessageread only a
domstring representing a localized message that describes the validation constraints that the control does not satisfy (if any).
... htmlselectelement.value a
domstring reflecting the value of the form control.
HTMLSourceElement - Web APIs
htmlsourceelement.media is a
domstring reflecting the media html attribute, containing the intended type of the media resource.
... htmlsourceelement.sizes is a
domstring representing image sizes between breakpoints htmlsourceelement.src is a
domstring reflecting the src html attribute, containing the url for the media resource.
... htmlsourceelement.srcset is a
domstring reflecting the srcset html attribute, containing a list of candidate images, separated by a comma (',', u+002c comma).
... htmlsourceelement.type is a
domstring reflecting the type html attribute, containing the type of the media resource.
HTMLTableSectionElement - Web APIs
htmltablesectionelement.align is a
domstring containing an enumerated value reflecting the align attribute.
... htmltablesectionelement.ch is a
domstring containing one single chararcter.
... htmltablesectionelement.choff is a
domstring containing a integer indicating how many characters must be left at the right (for left-to-right scripts; or at the left for right-to-left scripts) of the character defined by htmltablerowelement.ch.
... htmltablesectionelement.valign is a
domstring representing an enumerated value indicating how the content of the cell must be vertically aligned.
HTMLTrackElement - Web APIs
htmltrackelement.kind is a
domstring that reflects the kind html attribute, indicating how the text track is meant to be used.
... htmltrackelement.src is a
domstring that reflects the src html attribute, indicating the address of the text track data.
... htmltrackelement.srclang is a
domstring that reflects the srclang html attribute, indicating the language of the text track data.
... htmltrackelement.label is a
domstring that reflects the label html attribute, indicating a user-readable title for the track.
KeyboardEvent - Web APIs
keyboardevent.code read only returns a
domstring with the code value of the physical key represented by the event.
... keyboardevent.key read only returns a
domstring representing the key value of the key represented by the event.
... keyboardevent.locale read only returns a
domstring representing a locale string indicating the locale the keyboard is configured for.
... obsolete properties keyboardevent.char read only returns a
domstring representing the character value of the key.
Navigator - Web APIs
navigatorid.appname read only returns a
domstring with the official name of the browser.
... navigatorid.appversion read only returns the version of the browser as a
domstring.
... navigatorlanguage.language read only returns a
domstring representing the preferred language of the user, usually the language of the browser ui.
... navigatorlanguage.languages read only returns an array of
domstring representing the languages known to the user, by order of preference.
ParentNode.append() - Web APIs
the parentnode.append() method inserts a set of node objects or
domstring objects after the last child of the parentnode.
...
domstring objects are inserted as equivalent text nodes.
... differences from node.appendchild(): parentnode.append() allows you to also append
domstring objects, whereas node.appendchild() only accepts node objects.
... syntax // [throws, unscopable] parentnode.append(...nodesor
domstrings) // returns undefined parameters nodes a set of node or
domstring objects to insert.
ParentNode - Web APIs
methods parentnode.append() inserts a set of node objects or
domstring objects after the last child of the parentnode.
...
domstring objects are inserted as equivalent text nodes.
... parentnode.prepend() inserts a set of node objects or
domstring objects before the first child of the parentnode.
...
domstring objects are inserted as equivalent text nodes.
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.
... transportid a
domstring uniquely identifying the object which was inspected to produce the rtctransportstats object associated with this rtp stream.
SVGAElement - Web APIs
svgaelement.hreflang is a
domstring that reflects the hreflang attribute, indicating the language of the linked resource.
... svgaelement.ping is a
domstring that reflects the ping attribute, containing a space-separated list of urls to which, when the hyperlink is followed, post requests with the body ping will be sent by the browser (in the background).
... svgaelement.text is a
domstring being a synonym for the node.textcontent property.
... svgaelement.type is a
domstring that reflects the type attribute, indicating the mime type of the linked resource.
SVGDocument - Web APIs
interface overview also implement none methods none properties
domstring domain
domstring referrer svgsvgelement rootelement
domstring title
domstring url normative document svg 1.1 (2nd edition) properties name type description ...
... domain
domstring the domain name of the server that served the document, or a null string if the server cannot be identified by a domain name.
... referrer
domstring returns the uri of the page that linked to this page.
... title
domstring the title of a document as specified by the "title" sub-element of the "svg" root element (i.e., <svg><title>here is the title</title>...</svg>) url
domstring the complete uri of the document.
SecurityPolicyViolationEvent - Web APIs
securitypolicyviolationevent.effectivedirectiveread only a
domstring representing the directive whose enforcement uncovered the violation.
... securitypolicyviolationevent.originalpolicyread only a
domstring containing the policy whose enforcement uncovered the violation.
... securitypolicyviolationevent.sampleread only a
domstring representing a sample of the resource that caused the violation, usually the first 40 characters.
... securitypolicyviolationevent.violateddirectiveread only a
domstring representing the directive whose enforcement uncovered the violation.
VideoTrack - Web APIs
id read only a
domstring which uniquely identifies the track within the media.
... kind read only a
domstring specifying the category into which the track falls.
... label read only a
domstring providing a human-readable label for the track.
... language read only a
domstring specifying the video track's primary language, or an empty string if unknown.
JavaScript crypto - Archive of obsolete content
="load" value="submit"></p> </form> <script> /* the following values could be filled in by the server cgi */ var nickname= "mycertnickname"; var cert = "mkjflakdjfiwjflaksufklasf ..."; var forcebackup = false; function loadcertificate() { window.crypto.importusercertificates(nickname, cert, forcebackup); return false; } document.forms[0].onsubmit = loadcertificate; </script> signing text
domstring signtext(
domstring stringtosign,
domstring caoption /* ...
... */); loading pkcs #11 modules long deletemodule(
domstring modulename); long addmodule(
domstring modulename,
domstring libraryfullpath, long cryptomechanismflags, long cipherflags); loads or removes a new pkcs #11 module.
... // arguments js_err_add_module = -5 // error adding a module js_err_bad_module_name = -6 // the module name is invalid js_err_add_module_duplicate = -10 // the module being installed has the // same name as one of the modules that // has already been installed miscellaneous
domstring random(in long numbytes); unimplementedyou can use window.crypto.getrandomvalues instead.
mozbrowsercaretstatechanged
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... canselectall: a boolean indicating whether the selectall command is available (true) or not (false.) cancut: a boolean indicating whether the cut command is available (true) or not (false.) cancopy: a boolean indicating whether the copy command is available (true) or not (false.) canpaste: a boolean indicating whether the paste command is available (true) or not (false.) reason a
domstring that defines the reason for the state being changed.
...g whether the current selection is collapsed (true) or not (false.) caretvisible a boolean indicating whether the caret is currently visible (true) or not (false.) selectionvisible a boolean indicating whether the current selection is visible (true) or not (false.) selectioneditable a boolean indicating whether the current selection is editable (true) or not (false.) selectedtextcontext a
domstring containing the currently-selected text content.
mozbrowseropensearch
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... details the details property returns an anonymous javascript object with the following properties: title a
domstring representing the title of the search engine.
... href a
domstring representing url of the search engine.
mozbrowserusernameandpasswordrequired
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... details the details property returns an anonymous javascript object with the following members: host a
domstring representing the host requesting the http authentification.
... realm a
domstring representing the value of the realm http header.
Extending a Protocol
the method will take one argument, a
domstring, which we will pass to the parent process.
... the webidl for this will be: partial interface navigator { promise<
domstring> echo(
domstring somestring); }; learning goals are: extending an existing ipdl protocol.
... implementing the navigator.echo() in your favorite editor, open dom/webidl/navigator.webidl at the end of the file, add: partial interface navigator { [throws] promise<
domstring> echo(
domstring astring); }; now we need to implement the echo() method in c++, so open up ./dom/base/navigator.h and let's add the method definition, so under public:: already_addrefed<promise> echo(const nsastring& astring, errorresult& arv); we use nsastring& as the
domstring comes in from js as utf-16.
nsIDOMChromeWindow
inherits from: nsisupports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview void beginwindowmove(in nsidomevent mousedownevent); void getattention(); void getattentionwithcyclecount(in long acyclecount); void maximize(); void minimize(); void notifydefaultbuttonloaded(in nsidomelement defaultbutton); void restore(); void setcursor(in
domstring cursor); attributes attribute type description browserdomwindow nsibrowserdomwindow the related nsibrowserdomwindow instance which provides access to yet another layer of utility functions by chrome script.
... title
domstring obsolete since gecko 1.9.1 windowstate unsigned short returns current window state, the value is one of state_* constants.
...void setcursor( in
domstring cursor ); parameters cursor you can specify same values of css cursor property (including -moz- prefixed values).
nsIDOMEvent
nseventptr getinternalnsevent(); violates the xpcom interface guidelines boolean getpreventdefault(); deprecated since gecko 16.0 void initevent(in
domstring eventtypearg, in boolean canbubblearg, in boolean cancelablearg); boolean isdispatchstopped(); violates the xpcom interface guidelines void preventbubble(); obsolete since gecko 24 void preventcapture(); obsolete since gecko 24 void preventdefault(); void serialize(in ipcmessageptr amsg, in boolean aserializeinterfacetype); violates the xpcom interfac...
... type
domstring the name of the event (case-insensitive).
... void initevent( in
domstring eventtypearg, in boolean canbubblearg, in boolean cancelablearg ); parameters eventtypearg specifies the event type.
nsIDOMHTMLSourceElement
attributes attribute type description src
domstring the src attribute gives the address of the media resource.
... type
domstring the type attribute gives the type of the media resource, to help the user agent determine if it can play this media resource before fetching it.
... media unimplemented
domstring the media attribute gives the intended media type of the media resource, to help the user agent determine if this media resource is useful to the user before fetching it.
nsIDOMWindow
method overview nsidomcssstyledeclaration getcomputedstyle(in nsidomelement elt, [optional] in
domstring pseudoelt); nsiselection getselection(); void scrollby(in long xscrolldif, in long yscrolldif); void scrollbylines(in long numlines); void scrollbypages(in long numpages); void scrollto(in long xscroll, in long yscroll); void sizetocontent(); attributes attribute type description applicationcache nsidomoffli...
... name
domstring get or set the name of this window.
... nsidomcssstyledeclaration getcomputedstyle( in nsidomelement elt, in
domstring pseudoelt optional ); parameters elt pseudoelt optional return value getselection() returns the nsiselection object indicating what if any content is currently selected in the window.
nsIDOMXPathEvaluator
to create an instance, use: var domxpathevaluator = components.classes["@mozilla.org/dom/xpath-evaluator;1"] .createinstance(components.interfaces.nsidomxpathevaluator); method overview nsidomxpathexpression createexpression(in
domstring expression, in nsidomxpathnsresolver resolver) nsidomxpathnsresolver creatensresolver(in nsidomnode noderesolver); nsisupports evaluate(in
domstring expression, in nsidomnode contextnode, in nsidomxpathnsresolver resolver, in unsigned short type, in nsisupports result) methods createexpression() creates an nsidomxpathexpression which can then be used for (repeated) evaluat...
... nsidomxpathexpression createexpression( in
domstring expression, in nsidomxpathnsresolver resolver ); parameters expression a string representing the xpath to be created.
...nsisupports evaluate( in
domstring expression, in nsidomnode contextnode, in nsidomxpathnsresolver resolver, in unsigned short type, in nsisupports result ); parameters expression a string representing the xpath to be evaluated.
nsIDOMXULSelectControlItemElement
inherits from: nsidomxulelement last changed in gecko 1.7 attributes attribute type description accesskey
domstring command
domstring control nsidomxulselectcontrolelement read only.
... crop
domstring disabled boolean image
domstring label
domstring selected boolean read only.
... value
domstring ...
nsIDroppedLinkItem
1.0 66 introduced gecko 2.0 inherits from: nsisupports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) attributes attribute type description url
domstring url of the dropped link.
... name
domstring name of the dropped link.
... type
domstring mime-type of the dropped link.
nsISelection
nsidomrange getrangeat(in long index); void modify(in
domstring alter, in
domstring direction, in
domstring granularity); void removeallranges(); void removerange(in nsidomrange range); void selectallchildren(in nsidomnode parentnode); void selectionlanguagechange(in boolean langrtl);
domstring tostring(); attributes attribute type description anchornode nsidomnode returns the n...
...void modify( in
domstring alter, in
domstring direction, in
domstring granularity ); parameters alter can be one of { "move", "extend()" } "move" collapses the selection to the end of the selection and applies the movement direction/granularity to the collapsed() selection.
...
domstring tostring(); remarks see also ...
nsIWebContentHandlerRegistrar
: nsisupports last changed in gecko 8.0 (firefox 8.0 / thunderbird 8.0 / seamonkey 2.5) implemented by @mozilla.org/embeddor.implemented/web-content-handler-registrar;1 as a service: var nsiwchr = cc["@mozilla.org/embeddor.implemented/web-content-handler-registrar;1"] .getservice(ci.nsiwebcontenthandlerregistrar); method overview void registercontenthandler(in
domstring mimetype, in
domstring uri, in
domstring title, in nsidomwindow contentwindow) void registerprotocolhandler(in
domstring protocol,in
domstring uri, in
domstring title, in nsidomwindow contentwindow) methods registercontenthandler summary of registercontenthandler void registercontenthandler( in
domstring ...
...mimetype, in
domstring uri, in
domstring title, in nsidomwindow contentwindow ); parameters mimetype the desired mime type as a string uri the uri to the handler as a string.
... registerprotocolhandler summary of registerprotocolhandler void registerprotocolhandler( in
domstring protocol, in
domstring uri, in
domstring title, in nsidomwindow contentwindow ); parameters protocol the protocol the site wishes to handle, specified as a string.
nsIWorkerMessageEvent
1.0 66 introduced gecko 1.9.1 inherits from: nsidomevent last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) method overview void initmessageevent(in
domstring atypearg, in boolean acanbubblearg, in boolean acancelablearg, in
domstring adataarg, in
domstring aoriginarg, in nsisupports asourcearg); attributes attribute type description data
domstring the event's data.
... origin
domstring the event's origin.
... void initmessageevent( in
domstring atypearg, in boolean acanbubblearg, in boolean acancelablearg, in
domstring adataarg, in
domstring aoriginarg, in nsisupports asourcearg ); parameters atypearg the event type.
AnimationEvent() - Web APIs
type a
domstring representing the name of the type of the animationevent.
... animationname optional a
domstring containing the value of the animation-name css property associated with the transition.
... pseudoelement optional is a
domstring, starting with "::", containing the name of the pseudo-element the animation runs on.
Attr - Web APIs
namespaceuri read only a
domstring representing the namespace uri of the attribute, or null if there is no namespace.
... localname read only a
domstring representing the local part of the qualified name of the attribute.
... prefix read only a
domstring representing the namespace prefix of the attribute, or null if no prefix is specified.
BlobBuilder - Web APIs
method overview void append(in arraybuffer data); void append(in blob data); void append(in string data, [optional] in string endings); blob getblob([optional] in
domstring contenttype); file getfile(in
domstring name, [optional] in
domstring contenttype); methods append() appends the contents of the specified javascript object to the blob being built.
... blob getblob( in
domstring contenttype optional ); parameters contenttype optional the mime type of the data to be returned in the blob.
... file getfile( in
domstring name, [optional] in
domstring contenttype ); parameters name the file name.
BluetoothDevice - Web APIs
y="1" width="150" height="50" fill="#f4f7f8" stroke="#d4dde4" stroke-width="2px" /><text x="226" y="30" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">bluetoothdevice</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} interface interface bluetoothdevice { readonly attribute
domstring id; readonly attribute
domstring?
...ribute frozenarray uuids; promise watchadvertisements(); void unwatchadvertisements(); readonly attribute boolean watchingadvertisements; }; bluetoothdevice implements eventtarget; bluetoothdevice implements bluetoothdeviceeventhandlers; bluetoothdevice implements characteristiceventhandlers; bluetoothdevice implements serviceeventhandlers; properties bluetoothdevice.id read only a
domstring that uniquely identifies a device.
... bluetoothdevice.name read only a
domstring that provices a human-readable name for the device.
CSS.registerProperty() - Web APIs
syntax css.registerproperty(propertydefinition); parameters a propertydefinition dictionary object, which can contain the following members: name a
domstring indicating the name of the property being defined.
... syntax optional a
domstring representing the expected syntax of the defined property.
... initialvalue optional a
domstring representing the initial value of the defined property.
CSS.supports() - Web APIs
the first one allows to test the support of a pair property-value: propertyname a
domstring containing the name of the css property to check.
... value a
domstring containing the value of the css property to check.
... the second syntax takes one parameter matching the condition of @supports: supportcondition a
domstring containing the condition to check.
CSSKeyframesRule - Web APIs
the parameter is a
domstring containing a keyframe in the same format as an entry of a @keyframes at-rule.
...the parameter is the index of the keyframe to be deleted, expressed as a
domstring resolving as a number between 0% and 100%.
...the key is a
domstring containing an index of the keyframe to be returned, resolving to a percentage between 0% and 100%.
CSSNamespaceRule - Web APIs
interface cssnamespacerule : cssrule { readonly attribute
domstring namespaceuri; readonly attribute
domstring?
...it has some specific properties: cssnamespacerule.namespaceuri returns a
domstring containing the text of the uri of the given namespace.
... cssnamespacerule.prefix returns a
domstring with the name of the prefix associated to this namespace.
CSSStyleDeclaration.getPropertyPriority() - Web APIs
the cssstyledeclaration.getpropertypriority() method interface returns a
domstring that provides all explicitly set priorities on the css property.
... syntax var priority = style.getpropertypriority(property); parameters property is a
domstring representing the property name to be checked.
... return value priority is a
domstring that represents the priority (e.g.
CSSStyleDeclaration.getPropertyValue() - Web APIs
the cssstyledeclaration.getpropertyvalue() method interface returns a
domstring containing the value of a specified css property.
... syntax var value = style.getpropertyvalue(property); parameters property is a
domstring representing the property name to be checked.
... return value value is a
domstring containing the value of the property.
CSSStyleDeclaration.setProperty() - Web APIs
syntax style.setproperty(propertyname, value, priority); parameters propertyname is a
domstring representing the css property name (hyphen case) to be modified.
... value optional is a
domstring containing the new property value.
... priority optional is a
domstring allowing the "important" css priority to be set.
ClipboardEvent() - Web APIs
type is a
domstring representing the name of the type of the clipboardevent.
... datatype : a
domstring containing the mime-type of the data contained in the data argument.
... data : a
domstring containing the data concerned by the clipboard event.
CompositionEvent.initCompositionEvent() - Web APIs
syntax compositioneventinstance.initcompositionevent(typearg, canbubblearg, cancelablearg, viewarg, dataarg, localearg) parameters typearg a
domstring representing the type of composition event; this will be one of compositionstart, compositionupdate, or compositionend.
... dataarg a
domstring representing the value of the data attribute.
... localearg a
domstring representing the value of the locale attribute.
DOMImplementation.createDocumentType() - Web APIs
syntax var doctype = document.implementation.createdocumenttype(qualifiednamestr, publicid, systemid); parameters qualifiednamestr is a
domstring containing the qualified name, like svg:svg.
... publicid is a
domstring containing the public identifier.
... systemid is a
domstring containing the system identifiers.
DataTransfer.getData() - Web APIs
the datatransfer.getdata() method retrieves drag data (as a
domstring) for the specified type.
... syntax datatransfer.getdata(format); arguments format a
domstring representing the type of data to retrieve.
... return value
domstring a
domstring representing the drag data for the specified format.
DirectoryEntrySync - Web APIs
var direntry = fs.root.getdirectory('superseekrit', {create: true}); method overview directoryreadersync createreader () raises (fileexception); fileentrysync getfile (in
domstring path, in optional flags options) raises (fileexception); directoryentrysync getdirectory (in
domstring path, in optional flags options) raises (fileexception); void removerecursively () raises (fileexception); methods createreader() creates a new directoryreadersync to read entries from this directory.
... void getfile ( in
domstring path, in optional flags options ) raises (fileexception); parameter path either an absolute path or a relative path from the directory to the file to be looked up or created.
... void getdirectory ( in
domstring path, in optional flags options ) raises (fileexception); parameter path either an absolute path or a relative path from the directory to the file to be looked up or created.
ExtendableMessageEvent() - Web APIs
syntax var extendablemessageevent = new extendablemessageevent(type, init); parameters type a
domstring that defines the type of the message event being created.
... origin: a
domstring that defines the origin of the corresponding service worker's environment settings object.
... lasteventid: a
domstring that defines the last event id of the event source.
FetchEvent() - Web APIs
syntax var fetchevent = new fetchevent(type, init); parameters type a
domstring object specifying which event the object represents.
... replacesclientid read only a
domstring which identifies the client which is being replaced by resultingclientid.
... resultingclientid read only a
domstring containing the new clientid if the client changes as a result of the page load.
FileReaderSync - Web APIs
filereadersync.readasbinarystring() this method converts a specified blob or a file into a
domstring representing the input data as a binary string.
... filereadersync.readastext() this method converts a specified blob or a file into a
domstring representing the input data as a text string.
... filereadersync.readasdataurl() this method converts a specified blob or a file into a
domstring representing the input data as a data url.
HTMLBaseFontElement - Web APIs
htmlbasefontelement.color is a
domstring representing the text color using either a named color or a color specified in the hexadecimal #rrggbb format.
... htmlbasefontelement.face is a
domstring representing a list of one or more font names.
... htmlbasefontelement.size is a
domstring representing the font size as either a numeric or relative value.
HTMLFieldSetElement - Web APIs
htmlfieldsetelement.name a
domstring reflecting the name html attribute, containing the name of the field set.
... htmlfieldsetelement.typeread only the
domstring "fieldset".
... htmlfieldsetelement.validationmessage a
domstring representing a localized message that describes the validation constraints that the element does not satisfy (if any).
HTMLFontElement - Web APIs
htmlfontelement.color is a
domstring that reflects the color html attribute, containing either a named color or a color specified in the hexadecimal #rrggbb format.
... htmlfontelement.face is a
domstring that reflects the face html attribute, containing a comma-separated list of one or more font names.
... htmlfontelement.size is a
domstring that reflects the size html attribute, containing either a font size number ranging from 1 to 7 or a relative size to the size attribute of the <basefont> element, for example -2 or +1.
HTMLOptionElement - Web APIs
htmloptionelement.label read only is a
domstring that reflects the value of the label html attribute, which provides a label for the option.
... htmloptionelement.text is a
domstring that contains the text content of the element.
... htmloptionelement.value is a
domstring that reflects the value of the value html attribute, if it exists; otherwise reflects value of the node.textcontent property.
HTMLOrForeignElement.dataset - Web APIs
it is a map of
domstrings (
domstringmap) with one entry for each custom data attribute.
... name conversion dash-style to camelcase conversion a custom data attribute name is transformed to a key for the
domstringmap entry with the following rules the prefix data- is removed (including the dash); for any dash (u+002d) followed by an ascii lowercase letter a to z, the dash is removed, and the letter is transformed into its uppercase counterpart; other characters (including other dashes) are left unchanged.
... syntax const dataattrmap = element.dataset value a
domstringmap.
HTMLVideoElement - Web APIs
htmlvideoelement.height is a
domstring that reflects the height html attribute, which specifies the height of the display area, in css pixels.
... htmlvideoelement.poster is a
domstring that reflects the poster html attribute, which specifies an image to show while no video data is available.
... htmlvideoelement.width is a
domstring that reflects the width html attribute, which specifies the width of the display area, in css pixels.
IDBIndexSync - Web APIs
(idbdatabaseexception); void openobjectcursor (in optional idbkeyrange range, in optional unsigned short direction) raises (idbdatabaseexception); any put (in any value, in optional any key) raises (idbdatabaseexception); void remove (in any key) raises (idbdatabaseexception); attributes attribute type description keypath readonly
domstring the key path of this index.
... name readonly
domstring the name of this index.
... storename readonly
domstring this index's referenced object store.
KeyboardEvent() - Web APIs
syntax event = new keyboardevent(typearg, keyboardeventinit); values typearg is a
domstring representing the name of the event.
... keyboardeventinitoptional is a keyboardeventinit dictionary, having the following fields: "key", optional and defaulting to "", of type
domstring, that sets the value of keyboardevent.key.
... "code", optional and defaulting to "", of type
domstring, that sets the value of keyboardevent.code.
MediaDeviceInfo - Web APIs
properties mediadeviceinfo.deviceidread only returns a
domstring that is an identifier for the represented device that is persisted across sessions.
... mediadeviceinfo.groupidread only returns a
domstring that is a group identifier.
... mediadeviceinfo.labelread only returns a
domstring that is a label describing this device (for example "external usb webcam").
MediaStreamTrack - Web APIs
mediastreamtrack.id read only returns a
domstring containing a unique identifier (guid) for the track; it is generated by the browser.
... mediastreamtrack.kind read only returns a
domstring set to "audio" if the track is an audio track and to "video", if it is a video track.
... mediastreamtrack.label read only returns a
domstring containing a user agent-assigned label that identifies the track source, as in "internal microphone".
Notification.Notification() - Web APIs
it defaults to auto, which just adopts the browser's language setting behavior, but you can override that behaviour by setting values of ltr and rtl (although most browsers seem to ignore these settings.) lang: the notification's language, as specified using a
domstring representing a bcp 47 language tag.
... body: a
domstring representing the body text of the notification, which is displayed below the title.
... tag: a
domstring representing an identifying tag for the notification.
performance.measure() - Web APIs
syntax performance.measure(name); performance.measure(name, startmark); performance.measure(name, startmark, endmark); performance.measure(name, undefined, endmark); arguments name a
domstring representing the name of the measure.
... startmark optional a
domstring representing the name of the measure's starting mark.
... endmark optional a
domstring representing the name of the measure's ending mark.
PerformanceEntry.name - Web APIs
domstring performancemark mark the name used when the mark was created by calling performance.mark().
...
domstring performancemeasure measure name used when the measure was created by calling performance.measure().
...
domstring performancepainttiming paint either 'first-paint' or 'first-contentful-paint'.
PerformanceObserver.observe() - Web APIs
the performance entry types are specified as an array of
domstring objects, each naming one entry type; the type names are documented in performance entry type names in performanceentry.entrytype.
... syntax observer.observe(options); parameters options a performanceobserverinit dictionary with the following possible members: entrytypes: an array of
domstring objects, each specifying one performance entry type to observe.
... type: a single
domstring specifying exactly one performance entry type to observe.
PerformanceServerTiming - Web APIs
properties performanceservertiming.descriptionread only a
domstring value of the server-specified metric description, or an empty string.
... performanceservertiming.nameread only a
domstring value of the server-specified metric name.
... methods performanceservertiming.tojson() returns a
domstring that is the json representation of the performanceservertiming object.
RTCDataChannel - Web APIs
propertiesalso inherits properties from: eventtargetbinarytype the property binarytype on the rtcdatachannel interface is a
domstring which specifies the type of javascript object which should be used to represent binary data received on the rtcdatachannel.
...lowthreshold the rtcdatachannel property bufferedamountlowthreshold is used to specify the number of bytes of buffered outgoing data that is considered "low." the default value is 0.id read only the read-only rtcdatachannel property id returns an id number (between 0 and 65,534) which uniquely identifies the rtcdatachannel.label read only the read-only rtcdatachannel property label returns a
domstring containing a name describing the data channel.
...tcdatachannel's connection was negotiated by the web app (true) or by the webrtc layer (false).ordered read only the read-only rtcdatachannel property ordered indicates whether or not the data channel guarantees in-order delivery of messages; the default is true, which indicates that the data channel is indeed ordered.protocol read only the read-only rtcdatachannel property protocol returns a
domstring containing the name of the subprotocol in use.
RTCIceTransport - Web APIs
gatheringstate read only a
domstring indicating which gathering state the ice agent is currently in.
... role read only returns a
domstring whose value is one of the members of the rtcicerole enumerated type: "controlling" or "controlled"; this indicates whether the ice agent is the one that makes the final decision as to the candidate pair to use or not.
... state read only a
domstring indicating what the current state of the ice agent is.
RTCIdentityErrorEvent - Web APIs
rtcidentityerrorevent.idp read only is a
domstring describing the domain name of the identity provider (idp) generating the error response.
... rtcidentityerrorevent.loginurl read only is a
domstring giving the url where the user can complete the authentication.
... rtcidentityerrorevent.protocol read only is a
domstring describing the idp protocol in use.
RTCPeerConnection.setIdentityProvider() - Web APIs
parameters domainname is a
domstring is the domain name where the idp is.
... protocol optional is a
domstring representing the protocol used to communicate with the idp.
... username optional is a
domstring representing the username associated with the idp.
RTCPeerConnectionIceErrorEvent - Web APIs
properties the rtcpeerconnectioniceerrorevent interface includes the properties found on the event interface, as well as the following properties: address read only a
domstring providing the local ip address used to communicate with the stun or turn server being used to negotiate the connection, or null if the local ip address has not yet been exposed as part of a local ice candidate.
... errortext read only a
domstring containing the stun reason text returned by the stun or turn server.
... url read only a
domstring indicating the url of the stun or turn server with which the error occurred.
SVGStyleElement - Web APIs
svgstyleelement.type a
domstring corresponding to the type attribute of the given element.
... svgstyleelement.media a
domstring corresponding to the media attribute of the given element.
... svgstyleelement.title a
domstring corresponding to the title attribute of the given element.
ServiceWorkerMessageEvent.ServiceWorkerMessageEvent() - Web APIs
syntax var myswme = new serviceworkermessageevent(type, init); parameters type a
domstring that defines the type of the message event being created.
... origin: a
domstring that defines the origin of the corresponding service worker's environment settings object.
... lasteventid: a
domstring that defines the last event id of the event source.
StorageEvent - Web APIs
top"><rect x="116" y="1" width="120" height="50" fill="#f4f7f8" stroke="#d4dde4" stroke-width="2px" /><text x="176" y="30" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">storageevent</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} method overview void initstorageevent( in
domstring type, in boolean canbubble, in boolean cancelable, in
domstring key, in
domstring oldvalue, in
domstring newvalue, in usvstring url, in storage storagearea ); attributes attribute type description key
domstring represents the key changed.
... newvalue
domstring the new value of the key.
... oldvalue
domstring the original value of the key.
StyleSheet - Web APIs
stylesheet.href read only returns a
domstring representing the location of the stylesheet.
... stylesheet.title read only returns a
domstring representing the advisory title of the current style sheet.
... stylesheet.typeread only returns a
domstring representing the style sheet language for this style sheet.
TransitionEvent() - Web APIs
type is a
domstring representing the name of the type of the transitionevent.
... propertyname optional is a
domstring containing the value of the property-name css property associated with the transition.
... pseudoelement optional is a
domstring, starting with "::", containing the name of the pseudo-element the animation runs on.
WebGLRenderingContext.getShaderSource() - Web APIs
the webglrenderingcontext.getshadersource() method of the webgl api returns the source code of a webglshader as a
domstring.
... syntax
domstring gl.getshadersource(shader); parameters shader a webglshader object to get the source code from.
... return value a
domstring containing the source code of the shader.
Window.open() - Web APIs
syntax var window = window.open(url, windowname, [windowfeatures]); parameters url a
domstring indicating the url of the resource to be loaded.
... windowname optional a
domstring specifying the name of the browsing context (window, <iframe> or tab) into which to load the specified resource; if the name doesn't indicate an existing context, a new window is created and is given the name specified by windowname.
... windowfeatures optional a
domstring containing a comma-separated list of window features given with their corresponding values in the form "name=value".
Worker() - Web APIs
available properties are as follows: type: a
domstring specifying the type of worker to create.
... credentials: a
domstring specifying the type of credentials to use for the worker.
... name: a
domstring specifying an identifying name for the dedicatedworkerglobalscope representing the scope of the worker, which is mainly useful for debugging purposes.
XMLHttpRequest - Web APIs
xmlhttprequest.response read only returns an arraybuffer, blob, document, javascript object, or a
domstring, depending on the value of xmlhttprequest.responsetype, that contains the response entity body.
... xmlhttprequest.responsetext read only returns a
domstring that contains the response to the request as text, or null if the request was unsuccessful or has not yet been sent.
... xmlhttprequest.statustext read only returns a
domstring containing the response string returned by the http server.
XRInputSource - Web APIs
handednessread only a
domstring that indicates which hand the device represented by this xrinputsource is being used in, if any.
... profilesread only an array of
domstring objects, each specifying the name of an input profile describing the preferred visual representation and behavior of this input source.
... targetraymoderead only a
domstring indicating the methodology used to produce the target ray: gaze, tracked-pointer, or screen.
Navigator.mozNotification - Archive of obsolete content
method overview notification createnotification(in
domstring title, in
domstring description, in
domstring iconurl optional); methods createnotification() creates and returns a notification object that can be used to display the specified message with an optional url.
... notification createnotification( in
domstring title, in
domstring description, in
domstring iconurloptional ); parameters title the notification title.
JXON - Archive of obsolete content
namespaceuri optional is a
domstring containing the namespace uri of the document to be created, or null if the document doesn't belong to one.
... qualifiednamestr optional is a
domstring containing the qualified name, that is an optional prefix and colon plus the local root element name, of the document to be created.
DOM Interfaces - Archive of obsolete content
idl definition interface nsidomdocumentxbl { nodelist getanonymousnodes(in element elt); element getanonymouselementbyattribute(in element elt, in
domstring attrname, in
domstring attrvalue); element getbindingparent(in node node); void loadbindingdocument(in
domstring documenturl); }; methods getanonymousnodes the getanonymousnodes method retrieves the anonymous children of the specified element.
... parameters documenturl of type
domstring - the url of a binding document.
Introduction to XUL - Archive of obsolete content
xuldocument xuldocument extends document in a fashion similar to htmldocument's extension interface xuldocument : document { element getelementbyid(in
domstring id); nodelist getelementsbyattribute(in
domstring name, in
domstring value); }; getelementbyid works like html's getelementbyid.
... interface xulelement : element { nodelist getelementsbyattribute(in
domstring name, in
domstring value); }; getelementsbyattribute functions as does its namesake in xuldocument, though this version returns only those elements which match the criteria and are descendants (in css selector terminology) of the given element.
mozbrowsererror
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... detail the detail property returns an anonymous javascript object with the following properties: type a
domstring representing the type of error that occurred.
mozbrowserfindchange
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... details the details property returns an anonymous javascript object with the following properties: active a boolean indicating whether a search is currently active (true), or not (false.) searchstring a
domstring representing the string that is currently being searched for.
mozbrowserloadend
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... detail the detail property returns an anonymous javascript object with the following properties: backgroundcolor a
domstring representing the main background color of the browser <iframe> content, expressed as an rgb value.
mozbrowserlocationchange
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... detail the detail property returns an anonymous javascript object with the following properties: url a
domstring representing the url of the new location.
mozbrowseropentab
as a result of the user issuing a command to open a link target in a new tab (for example ctrl/cmd + click.) general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... details the details property returns an anonymous javascript object with the following properties: url a
domstring representing the url of the new document loaded.
mozbrowserscrollviewchange
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
... details the details property returns an anonymous javascript object with the following properties: state a
domstring representing the current state of scrolling in the viewport — available values are started and stopped.
Mozilla internal string guide
domstring nsastring utf-16 string type used in the dom.
... the same as astring with a few odd xpconnect exceptions: when the special javascript value null is passed to a
domstring parameter of an xpcom method, it becomes a void
domstring.
nsIAccessibleRetrieval
nsiaccessnode getcachedaccessnode(in nsidomnode anode, in nsiweakreference ashell); obsolete since gecko 2.0 nsidomnode getrelevantcontentnodefor(in nsidomnode anode); astring getstringeventtype(in unsigned long aeventtype); astring getstringrelationtype(in unsigned long arelationtype); astring getstringrole(in unsigned long arole); nsidom
domstringlist getstringstates(in unsigned long astates, in unsigned long aextrastates); methods getaccessiblefor() return an nsiaccessible for a dom node in pres shell 0.
...nsidom
domstringlist getstringstates( in unsigned long astates, in unsigned long aextrastates ); parameters astates accessible states.
nsIDOMMouseScrollEvent
method overview void initmousescrollevent(in
domstring typearg, in boolean canbubblearg, in boolean cancelablearg, in nsidomabstractview viewarg, in long detailarg, in long screenxarg, in long screenyarg, in long clientxarg, in long clientyarg, in boolean ctrlkeyarg, in boolean altkeyarg, in boolean shiftkeyarg, in boolean metakeyarg, in unsigned short buttonarg, in nsidomeventtarget relatedtargetarg, in long axis); attributes ...
...void initmousescrollevent( in
domstring typearg, in boolean canbubblearg, in boolean cancelablearg, in nsidomabstractview viewarg, in long detailarg, in long screenxarg, in long screenyarg, in long clientxarg, in long clientyarg, in boolean ctrlkeyarg, in boolean altkeyarg, in boolean shiftkeyarg, in boolean metakeyarg, in unsigned short buttonarg, in nsidomeventtarget relatedtargetarg, in long axis ); pa...
nsIDOMMozTouchEvent
last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) inherits from: nsidommouseevent method overview void initmoztouchevent(in
domstring typearg, in boolean canbubblearg, in boolean cancelablearg, in nsidomabstractview viewarg, in long detailarg, in long screenxarg, in long screenyarg, in long clientxarg, in long clientyarg, in...
...void initsimplegestureevent( in
domstring typearg, in boolean canbubblearg, in boolean cancelablearg, in nsidomabstractview viewarg, in long detailarg, in long screenxarg, in long screenyarg, in long clientxarg, in long clientyarg, in boolean ctrlkeyarg, in boolean altkeyarg, in boolean shiftkeyarg, in boolean metakeyarg, in unsigned short buttonarg, in nsidomeventtarget relatedtargetarg, in unsigned long st...
nsIDOMOrientationEvent
last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) inherits from: nsidomevent method overview void initorientationevent(in
domstring eventtypearg, in boolean canbubblearg, in boolean cancelablearg, in double x, in double y, in double z); attributes attribute type description x double the amount of tilt along the x axis.
...void initprogressevent( in
domstring eventtypearg, in boolean canbubblearg, in boolean cancelablearg, in double x, in double y, in double z ); parameters eventtypearg the type of event.
nsIDOMProgressEvent
method overview void initprogressevent(in
domstring typearg, in boolean canbubblearg, in boolean cancelablearg, in boolean lengthcomputablearg, in unsigned long long loadedarg, in unsigned long long totalarg); deprecated since gecko 22.0 attributes attribute type description lengthcomputable boolean specifies whether or not the total size of the transfer is known.
... void initprogressevent( in
domstring typearg, in boolean canbubblearg, in boolean cancelablearg, in boolean lengthcomputablearg, in unsigned long long loadedarg, in unsigned long long totalarg ); parameters typearg the type of event.
nsIDOMSimpleGestureEvent
method overview void initsimplegestureevent(in
domstring typearg, in boolean canbubblearg, in boolean cancelablearg, in nsidomabstractview viewarg, in long detailarg, in long screenxarg, in long screenyarg, in long clientxarg, in long clientyarg, in boolean ctrlkeyarg, in boolean altkeyarg, in boolean shiftkeyarg, in boolean metakeyarg, in unsigned short buttonarg, in nsidomeventtarget relatedtargetarg, in unsigned long directionarg, in double deltaarg...
... void initsimplegestureevent( in
domstring typearg, in boolean canbubblearg, in boolean cancelablearg, in nsidomabstractview viewarg, in long detailarg, in long screenxarg, in long screenyarg, in long clientxarg, in long clientyarg, in boolean ctrlkeyarg, in boolean altkeyarg, in boolean shiftkeyarg, in boolean metakeyarg, in unsigned short buttonarg, in nsidomeventtarget relatedtargetarg, in unsigned long di...
nsIDOMStorageEventObsolete
method overview void initstorageevent(in
domstring typearg, in boolean canbubblearg, in boolean cancelablearg, in
domstring keyarg, in
domstring oldvaluearg, in
domstring newvaluearg, in
domstring urlarg, in nsidomstorage storageareaarg); attributes attribute type description domain
domstring the domain of the storage area which changed, or "#session" if the event represents a change to session storage.
... void initstorageevent( in
domstring typearg, in boolean canbubblearg, in boolean cancelablearg, in
domstring domainarg ); parameters typearg the type argument.
nsIDOMStorageList
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) method overview nsidomstorage nameditem(in
domstring domain); methods nameditem() called when the list of available access points changes.
... nsidomstorage nameditem( in
domstring domain ); parameters domain the name of the domain for whom to return the storage object.
nsIDOMStorageManager
ecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) implemented by @mozilla.org/dom/storagemanager;1 as a service: var domstoragemanager = components.classes["@mozilla.org/dom/storagemanager;1"] .getservice(components.interfaces.nsidomstoragemanager); method overview void clearofflineapps(); nsidomstorage getlocalstorageforprincipal(in nsiprincipal aprincipal, in
domstring adocumenturi); long getusage(in astring aownerdomain); methods clearofflineapps() clears keys owned by offline applications.
...nsidomstorage getlocalstorageforprincipal( nsiprincipal aprincipal,
domstring adocumenturi ); parameters aprincipal the principal for which to return the local storage object.
nsIDOMUserDataHandler
1.0 66 introduced gecko 1.5 inherits from: nsisupports last changed in gecko 1.9 (firefox 3) method overview void handle(in unsigned short operation, in
domstring key, in nsivariant data, in nsidomnode src, in nsidomnode dst); constants constant value description node_cloned 1 the node was cloned.
...void handle( in unsigned short operation, in
domstring key, in nsivariant data, in nsidomnode src, in nsidomnode dst ); parameters operation one of the node_* operation type constants from the above table.
nsIDOMXULSelectControlElement
inherits from: nsidomxulcontrolelement last changed in gecko 1.9 (firefox 3) method overview nsidomxulselectcontrolitemelement appenditem(in
domstring label, in
domstring value); long getindexofitem(in nsidomxulselectcontrolitemelement item); nsidomxulselectcontrolitemelement getitematindex(in long index); nsidomxulselectcontrolitemelement insertitemat(in long index, in
domstring label, in
domstring value); nsidomxulselectcontrolitemelement removeitemat(in long index); attributes attribute type description itemcount unsigned long read only.
... selectedindex long selecteditem nsidomxulselectcontrolitemelement value
domstring methods appenditem() nsidomxulselectcontrolitemelement appenditem( in
domstring label, in
domstring value ); parameters label value return value getindexofitem() long getindexofitem( in nsidomxulselectcontrolitemelement item ); parameters item return value getitematindex() nsidomxulselectcontrolitemelement getitematindex( in long index ); parameters index return value insertitemat() nsidomxulselectcontrolitemelement insertitemat( in long index, in
domstring label, in
domstring value ); parameters index label value return value removeitemat() nsidomxulselectcontrolitemelement removeitemat( in long index ); parameters index return value ...
nsIEditorIMESupport
obsolete since gecko 2.0 void setcompositionstring(in
domstring acompositionstring, in nsiprivatetextrangelistptr atextrange, in nstexteventreplyptr areply); native code only!
...void setcompositionstring( in
domstring acompositionstring, in nsiprivatetextrangelistptr atextrange, in nstexteventreplyptr areply ); parameters acompositionstring atextrange areply ...
nsIEditorMailSupport
inherits from: nsisupports last changed in gecko 1.7 method overview nsisupportsarray getembeddedobjects(); nsidomnode insertascitedquotation(in astring aquotedtext, in astring acitation, in boolean ainserthtml); nsidomnode insertasquotation(in astring aquotedtext); void inserttextwithquotations(in
domstring astringtoinsert); void pasteascitedquotation(in astring acitation, in long aselectiontype); void pasteasquotation(in long aselectiontype); void rewrap(in boolean arespectnewlines); void stripcites(); methods getembeddedobjects() get a list of img and object tags in the current document.
...void inserttextwithquotations( in
domstring astringtoinsert ); parameters astringtoinsert the string to be inserted pasteascitedquotation() paste a string as quoted text, whose representation is dependent on the editor type, replacing the selected text (if any) void pasteascitedquotation( in astring acitation, in long aselectiontype ); parameters acitation the "mid" url of the source message.
nsIPushMessage
method overview
domstring text(); jsval json(); void binary([optional] out uint32_t datalen, [array, retval, size_is(datalen)] out uint8_t data); methods text() extracts the message data as a utf-8 text string.
...
domstring text(); parameters none.
nsIPushSubscription
method overview void getkey(in
domstring name, [optional] out uint32_t keylen, [array, size_is(keylen), retval] out uint8_t key); bool quotaapplies(); bool isexpired(); attributes attribute type description endpoint
domstring the subscription url.
... void getkey( in
domstring name, [optional] out uint32_t keylen, [array, size_is(keylen), retval] out uint8_t key ); parameters name the encryption key name.
nsISelection3
method overview void modify(in
domstring alter, in
domstring direction, in
domstring granularity); methods modify() modifies the selection.
... void modify( in
domstring alter, in
domstring direction, in
domstring granularity ); parameters alter can be one of { "move", "extend" } "move" collapses the selection to the end of the selection and applies the movement direction/granularity to the collapsed selection.
nsIVariant
domstring getas
domstring(); native code only!
...native code only!getas
domstring domstring getas
domstring(); parameters none.
nsIWorker
method overview void postmessage(in
domstring amessage, [optional] in nsiworkermessageport amessageport); attributes attribute type description onmessage nsidomeventlistener an object to receive notifications when messages are received on the worker's message port.
...void postmessage( in
domstring amessage, in nsiworkermessageport amessageport optional ); parameters amessage the message the worker wishes to post back to its creator.
nsIWorkerFactory
to create an instance, use: var workerfactory = components.classes['@mozilla.org/threads/workerfactory;1'] .createinstance(components.interfaces.nsiworkerfactory); method overview nsiworker newchromeworker(in
domstring ascripturl); methods newchromeworker() returns a new chromeworker that will run a specified script.
... nsiworker newchromeworker( in
domstring ascripturl ); parameters ascripturl the url of the script to load into the new worker.
nsIWorkerMessagePort
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) method overview void postmessage(in
domstring amessage); methods postmessage() posts a message into the event queue.
... void postmessage( in
domstring amessage ); parameters amessage the message to post.
nsIWorkerScope
1.0 66 introduced gecko 1.9.1 inherits from: nsiworkerglobalscope last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) method overview void postmessage(in
domstring amessage, [optional] in nsiworkermessageport amessageport); void close(); attributes attribute type description onclose nsidomeventlistener a listener object to be called when the worker stops running.
...void postmessage( in
domstring amessage, in nsiworkermessageport amessageport optional ); parameters amessage the message to post.
AnimationEvent.initAnimationEvent() - Web APIs
syntax animationevent.initanimationevent(typearg, canbubblearg, cancelablearg, animationnamearg, elapsedtimearg); parameters typearg a
domstring identifying the specific type of animation event that occurred.
... animationnamearg a
domstring containing the value of the animation-name css property associated with the transition.
AnimationEvent - Web APIs
animationevent.animationname read only is a
domstring containing the value of the animation-name that generated the animation.
... animationevent.pseudoelement read only is a
domstring, starting with '::', containing the name of the pseudo-element the animation runs on.
BasicCardRequest.supportedNetworks - Web APIs
the supportednetworks property of the basiccardrequest dictionary contains an array of
domstrings representing the card networks that the retailer supports (e.g.
...value]] value an array containing one or more
domstrings, which describe the card networks the retailer supports.
BasicCardRequest.supportedTypes - Web APIs
the obsolete supportedtypes property of the basiccardrequest dictionary can optionally be provided to specify an array of
domstrings representing the card types that the retailer supports (e.g.
... syntax basiccardrequest.supportedtypes = [cardtype1...cardtypen]; value an array containing one or more
domstrings, which describe the card types the retailer supports.
BasicCardRequest - Web APIs
properties basiccardrequest.supportednetworks optional secure context an optional array of
domstrings representing the card networks that the retailer supports (e.g.
... basiccardrequest.supportedtypes optional secure context this obsolete property was used to provide an optional array of
domstrings representing the card types that the retailer supports (e.g.
Beacon API - Web APIs
the data argument is optional and its type may be an arraybufferview, blob,
domstring, or formdata.
...the data argument is optional and its type may be an arraybufferview, blob,
domstring, or formdata.
BeforeInstallPromptEvent - Web APIs
beforeinstallpromptevent.platforms read only returns an array of
domstring items containing the platforms on which the event was dispatched.
... beforeinstallpromptevent.userchoice read only returns a promise that resolves to a
domstring containing either "accepted" or "dismissed".
id - Web APIs
the bluetoothdevice.id read-only property returns a
domstring that uniquely identifies a device.
... syntax var id = instanceofbluetoothdevice.id returns a
domstring.
BluetoothDevice.name - Web APIs
the bluetoothdevice.name read-only property returns a
domstring that provides a human-readable name for the device.
... syntax var name = instanceofbluetoothdevice.name returns a
domstring.
BluetoothRemoteGATTCharacteristic.uuid - Web APIs
the bluetoothremotegattcharacteristic.uuid read-only property returns
domstring containing the uuid of the characteristic, for example '00002a37-0000-1000-8000-00805f9b34fb' for the heart rate measurement characteristic.
... syntax var uuid = bluetoothremotegattcharacteristic.uuid returns a
domstring.
uuid - Web APIs
the bluetoothgattservice.uuid read-only property returns a
domstring representing the uuid of this service.
... syntax var uuid = bluetoothgattservice.uuid returns a
domstring.
CSSNamespaceRule.namespaceURI - Web APIs
the cssnamespacerule.namespaceuri read-only property returns a
domstring containing the text of the uri of the given namespace.
... syntax var namespaceuri = cssnamespacerule.namespaceuri returns a
domstring containing a uri.
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.
CSSStyleDeclaration.removeProperty() - Web APIs
syntax var oldvalue = style.removeproperty(property); parameters property is a
domstring representing the property name to be removed.
... return value oldvalue is a
domstring equal to the value of the css property before it was removed.
CSSStyleSheet.addRule() - Web APIs
syntax var result = cssstylesheet.addrule(selector, styleblock, index); parameters selector a
domstring specifying the selector portion of the css rule.
... styleblock a
domstring indicating the style block to apply to elements matching the selector.
CloseEvent() - Web APIs
syntax var event = new closeevent(typearg, closeeventinit); values typearg is a
domstring representing the name of the event.
... "reason", optional and defaulting to '', of type
domstring, that is a human-readable reason why the server closed the connection.
Credential.id - Web APIs
the id property of the credential interface returns a
domstring containing the credential's identifier.
... syntax var id = credential.id; value a a
domstring containing the credential's identifier.
Credential.name - Web APIs
the name property of the credential interface returns a
domstring, containing the name associated with a credential.
... syntax var credname = credential.name; value a
domstring containing the credential's given name.
Credential.type - Web APIs
the type property of the credential interface returns a
domstring containing the credential's type.
... syntax var credtype = credential.type; value a
domstring contains a credential's given name.
Credential - Web APIs
properties credential.id read only returns a
domstring containing the credential's identifier.
... credential.type read only returns a
domstring containing the credential's type.
CredentialsContainer.get() - Web APIs
the available options are: providers: an array of
domstring instances of identity providers to search for.
... protocols an array of
domstring instances of federation protocols to search for.
DOMError - Web APIs
properties domerror.name read only returns a
domstring representing one of the error type names (see below).
... domerror.message read only returns a
domstring representing a message or description associated with the given error type name.
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.
... syntax var domexceptionmessage = domexceptioninstance.message; value a
domstring.
DOMException.name - Web APIs
the name read-only property of the domexception interface returns a
domstring that contains one of the strings associated with an error name.
... syntax var domexceptionname = domexceptioninstance.name; value a
domstring.
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.
DOMImplementation.createDocument() - Web APIs
syntax var doc = document.implementation.createdocument(namespaceuri, qualifiednamestr, documenttype); parameters namespaceuri is a
domstring containing the namespace uri of the document to be created, or null if the document doesn't belong to one.
... qualifiednamestr is a
domstring containing the qualified name, that is an optional prefix and colon plus the local root element name, of the document to be created.
DOMImplementation.hasFeature() - Web APIs
syntax const flag = document.implementation.hasfeature(feature, version); parameters feature a
domstring representing the feature name.
... version a
domstring representing the version of the specification defining the feature.
DOMParser - Web APIs
parameters this method has 2 parameters (both required): string the
domstring to be parsed.
... mimetype a
domstring.
DOMTokenList.item() - Web APIs
syntax tokenlist.item(index) parameters index a
domstring representing the index of the item you want to return.
... return value a
domstring representing the returned item.
DOMTokenList.replace() - Web APIs
syntax tokenlist.replace(oldtoken, newtoken); parameters oldtoken a
domstring representing the token you want to replace.
... newtoken a
domstring representing the token you want to replace oldtoken with.
DOMTokenList.value - Web APIs
the value property of the domtokenlist interface is a stringifier that returns the value of the list as a
domstring, or clears and sets the list to the given value.
... syntax tokenlist.value; value a
domstring examples in the following example we retrieve the list of classes set on a <span> element as a domtokenlist using element.classlist, then write the value of the list to the <span>'s node.textcontent.
DataTransfer.setData() - Web APIs
syntax void datatransfer.setdata(format, data); arguments format a
domstring representing the type of the drag data to add to the drag object.
... data a
domstring representing the data to add to the drag object.
DisplayMediaStreamConstraints.video - Web APIs
cursor a constrain
domstring which specifies whether or not to include the mouse cursor in the generated track, and if so, whether or not to hide it while not moving.
... displaysurface a constrain
domstring which specifies the types of display surface that may be selected by the user.
Document.execCommand() - Web APIs
parameters acommandname a
domstring specifying the name of the command to execute.
... avalueargument for commands which require an input argument, is a
domstring providing that information.
EcKeyGenParams - Web APIs
properties name a
domstring.
... namedcurve a
domstring representing the name of the elliptic curve to use.
Element.insertAdjacentText() - Web APIs
syntax element.insertadjacenttext(position, element); parameters position a
domstring representing the position relative to the element; must be one of the following strings: 'beforebegin': before the element itself.
... element a
domstring representing the text to be inserted into the tree.
Element.setAttribute() - Web APIs
syntax element.setattribute(name, value); parameters name a
domstring specifying the name of the attribute whose value is to be set.
... value a
domstring containing the value to assign to the attribute.
ErrorEvent - Web APIs
errorevent.message read only is a
domstring containing a human-readable error message describing the problem.
... errorevent.filename read only is a
domstring containing the name of the script file in which the error occurred.
EventSource.url - Web APIs
the url read-only property of the eventsource interface returns a
domstring representing the url of the source.
... syntax var myurl = eventsource.url; value a
domstring representing the url of the source.
FederatedCredential.protocol - Web APIs
the protocol property of the federatedcredential interface returns a read-only
domstring containing a credential's federated identity protocol.
... syntax var protocol = federatedcredential.protocol value a
domstring containing a credential's federated identity protocol (e.g.
FileReaderSync.readAsBinaryString() - Web APIs
the readasbinarystring() method of the filereadersync interface allows to read file or blob objects in a synchronous way into an
domstring.
... return value an
domstring representing the input data.
FileReaderSync.readAsDataURL() - Web APIs
the readasdataurl() method of the filereadersync interface allows to read file or blob objects in a synchronous way into an
domstring representing a data url.
... return value an
domstring representing the input data as a data url.
FileReaderSync.readAsText() - Web APIs
the readastext() method of the filereadersync interface allows to read file or blob objects in a synchronous way into an
domstring.
... return value an
domstring representing the input data.
GeolocationPositionError.message - Web APIs
the geolocationpositionerror.message read-only property returns a human-readable
domstring describing the details of the error.
... syntax let msg = geolocationpositionerrorinstance.message value a human-readable
domstring describing the details of the error.
HTMLBaseElement - Web APIs
htmlbaseelement.href is a
domstring that reflects the href html attribute, containing a base url for relative urls in the document.
... htmlbaseelement.target is a
domstring that reflects the target html attribute, containing a default target browsing context or frame for elements that do not have a target reference specified.
HTMLCanvasElement.mozGetAsFile() - Web APIs
syntax canvas.mozgetasfile(name, type); parameters name a
domstring indicating the file name to give the file representing the image file in memory.
... type optional a
domstring which specifies the image file format to use when creating the new image file.
HTMLCanvasElement.toDataURL() - Web APIs
syntax canvas.todataurl(type, encoderoptions); parameters type optional a
domstring indicating the image format.
... return value a
domstring containing the requested data uri.
HTMLDataElement.value - Web APIs
the value property of the htmldataelement interface returns a
domstring reflecting the value html attribute.
... syntax var avalue = htmldataelement.value htmldataelement.value = avalue value a
domstring.
HTMLDialogElement.close() - Web APIs
an optional
domstring may be passed as an argument, updating the returnvalue of the the dialog.
... syntax dialoginstance.close(returnvalue); parameters returnvalue optional a
domstring representing an updated value for the htmldialogelement.returnvalue of the dialog.
HTMLDialogElement - Web APIs
htmldialogelement.returnvalue a
domstring that sets or returns the return value for the dialog.
...an optional
domstring may be passed as an argument, updating the returnvalue of the the dialog.
HTMLFrameSetElement - Web APIs
htmlframesetelement.cols is a
domstring structured as a comma-seperated list specifing the width of each column inside a frameset.
... htmlframesetelement.rows is a
domstring structured as a comma-seperated list specifing the height of each column inside a frameset.
HTMLLegendElement - Web APIs
htmllegendelement.accesskey is a
domstring representing a single-character access key to give access to the element.
... htmllegendelement.align is a
domstring representing the alignment relative to the form set methods no specific method; inherits methods from its parent, htmlelement.
HTMLLinkElement.as - Web APIs
the as property of the htmllinkelement interface returns a
domstring representing the type of content being loaded by the html link, one of "script", "style", "image", "video", "audio", "track", "font", "fetch".
... syntax var as = htmllinkelement.as htmllinkelement.as = as value a
domstring.
HTMLMediaElement.canPlayType() - Web APIs
syntax canplayresponse = audioorvideo.canplaytype(mediatype); parameters mediatype a
domstring containing the mime type of the media.
... return value a
domstring indicating how likely it is that the media can be played.
HTMLModElement - Web APIs
htmlmodelement.cite is a
domstring reflecting the cite html attribute, containing a uri of a resource explaining the change.
... htmlmodelement.datetime is a
domstring reflecting the datetime html attribute, containing a date-and-time string representing a timestamp for the change.
HTMLObjectElement.data - Web APIs
the data property of the htmlobjectelement interface returns a
domstring that reflects the data html attribute, specifying the address of a resource's data.
... syntax var data = htmlobjectelement.data; htmlobjectelement.data; value a
domstring.
HTMLObjectElement.height - Web APIs
the height property of the htmlobjectelement interface returns a
domstring that reflects the height html attribute, specifying the displayed height of the resource in css pixels.
... syntax var string = htmlobjectelement.height; htmlobjectelement.height = string; value a
domstring.
HTMLObjectElement.name - Web APIs
the name property of the htmlobjectelement interface returns a
domstring that reflects the name html attribute, specifying the name of the browsing context.
... syntax var string = htmlobjectelement.name; htmlobjectelement.name = string; value a
domstring.
HTMLObjectElement.type - Web APIs
the type property of the htmlobjectelement interface returns a
domstring that reflects the type html attribute, specifying the mime type of the resource.
... syntax var string = htmlobjectelement.type htmlobjectelement.type = string; value a
domstring.
HTMLObjectElement.useMap - Web APIs
the usemap property of the htmlobjectelement interface returns a
domstring that reflects the usemap html attribute, specifying a <map> element to use.
... syntax var string = htmlobjectelement.usemap; htmlobjectelement.usemap = string; value a
domstring.
HTMLObjectElement.validationMessage - Web APIs
the validationmessage read-only property of the htmlobjectelement interface returns a
domstring representing a localized message that describes the validation constraints that the control does not satisfy (if any).
... syntax var string = htmlobjectelement.validationmessage; value a
domstring.
HTMLObjectElement.width - Web APIs
the width property of the htmlobjectelement interface returns a
domstring that reflects the width html attribute, specifying the displayed width of the resource in css pixels.
... syntax var string = htmlobjectelement.width; htmlobjectelement.width = string; value a
domstring.
Option() - Web APIs
syntax var optionelementreference = new option(text, value, defaultselected, selected); parameters text optional a
domstring representing the content of the element, i.e.
... value optional a
domstring representing the value of the htmloptionelement, i.e.
HTMLStyleElement - Web APIs
htmlstyleelement.media is a
domstring representing the intended destination medium for style information.
... htmlstyleelement.type is a
domstring representing the type of style being applied by this statement.
HkdfParams - Web APIs
properties name a
domstring.
... hash a
domstring representing the digest algorithm to use.
IDBDatabase.name - Web APIs
the name read-only property of the idbdatabase interface is a
domstring that contains the name of the connected database.
... syntax var dbname = idbdatabase.name; value a
domstring containing the name of the connected database.
IDBDatabase.objectStoreNames - Web APIs
the objectstorenames read-only property of the idbdatabase interface is a
domstringlist containing a list of the names of the object stores currently in the connected database.
... syntax var list[] = idbdatabase.objectstorenames; value a
domstringlist containing a list of the names of the object stores currently in the connected database.
IDBDatabase - Web APIs
p"><rect x="151" y="1" width="110" height="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">idbdatabase</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} properties idbdatabase.name read only a
domstring that contains the name of the connected database.
... idbdatabase.objectstorenames read only a
domstringlist that contains a list of the names of the object stores currently in the connected database.
IDBFactorySync - Web APIs
method overview idbdatabasesync open (in
domstring name, in
domstring description, in optional boolean modifydatabase) raises (idbdatabaseexception); methods open() opens and returns a connection to a database.
... idbdatabasesync open ( in
domstring name, in
domstring description ) raises (idbdatabaseexception); parameters name the name for the database.
IDBTransaction.objectStoreNames - Web APIs
the objectstorenames read-only property of the idbtransaction interface returns a
domstringlist of names of idbobjectstore objects.
... syntax var mydatabase = transactionobj.objectstorenames; returns a
domstringlist of names of idbobjectstore objects.
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.
... idbobjectstoresync objectstore( in
domstring name ) raises (idbdatabaseexception); parameters name the name of the requested object store.
InputEvent.data - Web APIs
the data read-only property of the inputevent interface returns a
domstring with the inserted characters.
... syntax var astring = inputevent.data; value a
domstring.
KeyboardEvent.initKeyEvent() - Web APIs
syntax event.initkeyevent (type, bubbles, cancelable, viewarg, ctrlkeyarg, altkeyarg, shiftkeyarg, metakeyarg, keycodearg, charcodearg) parameters type is a
domstring representing the type of event.
... the initkeyevent is the current gecko equivalent of the dom level 3 events (initially drafted and also deprecated in favor of keyboardevent() keyboard.initkeyboardevent() method with the following arguments : typearg of type
domstring canbubblearg of type boolean cancelablearg of type boolean viewarg of type views::abstractview keyidentifierarg of type
domstring keylocationarg of type unsigned long modifierslist of type
domstring); ...
LocalFileSystem - Web APIs
window.requestfilesystem(window.persistent, 1024*1024,oninitfs,errorhandler); method overview void requestfilesystem (in unsigned short type, in unsigned long long size, in filesystemcallback successcallback, in optional errorcallback errorcallback); void resolvelocalfilesystemurl (in
domstring url, in entrycallback successcallback, in optional errorcallback errorcallback); constants constant value description temporary 0 transient storage that can be be removed by the browser at its discretion.
... void resolvelocalfilesystemurl( in
domstring url, in entrycallback successcallback, in optional errorcallback errorcallback ); parameters url the url of a local file in the file system.
LocalFileSystemSync - Web APIs
method overview filesystemsync requestfilesystemsync (in unsigned short type, in long long size) raises fileexception; entrysync resolvelocalfilesystemsyncurl (in
domstring url) raises fileexception; constants constant value description temporary 0 transient storage that can be be removed by the browser at its discretion.
... void resolvelocalfilesystemurl( in
domstring url ); parameter url the url of a local file in the file system.
MediaDeviceInfo.deviceId - Web APIs
the deviceid readonly property of the mediadeviceinfo interface returns a
domstring that is an identifier for the represented device and is persisted across sessions.
... syntax var deviceid = mediadeviceinfo.deviceid value a
domstring.
MediaDeviceInfo.groupId - Web APIs
the groupid readonly property of the mediadeviceinfo interface returns a
domstring that is a group identifier.
... syntax var groupid = mediadeviceinfo.groupid; value a
domstring which uniquely identifies the group of related devices to which this device belongs.
MediaDeviceInfo.label - Web APIs
the label readonlyinline property of the mediadeviceinfo interface returns a
domstring, that is a label describing this device (for example "external usb webcam").
... syntax var label = mediadeviceinfo.label; value a
domstring which describes the media device.
MediaError.message - Web APIs
the read-only property mediaerror.message returns a
domstring which contains a human-readable string offering specific diagnostic details related to the error described by the mediaerror object, or an empty string ("") if no diagnostic information can be determined or provided.
... syntax var errormessage = mediaerror.message; value a
domstring providing a detailed, specific explanation of what went wrong and possibly how it might be fixed.
MediaList.mediaText - Web APIs
the mediatext property of the medialist interface is a stringifier that returns a
domstring representing the medialist as text, and also allows you to set a new medialist.
... syntax medialistinstance.mediatext; medialistinstance.mediatext = string; value a
domstring representing the media queries of a stylesheet.
MediaQueryList.media - Web APIs
the media read-only property of the mediaquerylist interface is a
domstring representing a serialized media query.
... syntax var media = mediaquerylist.media; value a
domstring representing a serialized media query.
MediaQueryListEvent.media - Web APIs
the media read-only property of the mediaquerylistevent interface is a
domstring representing a serialized media query.
... syntax var media = mediaquerylistevent.media; value a
domstring representing a serialized media query.
MediaStreamTrack.kind - Web APIs
the mediastreamtrack.kind read-only property returns a
domstring set to "audio" if the track is an audio track and to "video", if it is a video track.
... syntax const type = track.kind value the possible values are a
domstring with on of the following values: "audio": the track is an audio track.
MediaTrackConstraints.cursor - Web APIs
the mediatrackconstraints dictionary's cursor property is a constrain
domstring describing the requested or mandatory constraints placed upon the value of the cursor constrainable property, which is used to specify whether or not the cursor should be included in the captured video.
... syntax var constraintsobject = { cursor: constraint }; constraintsobject.cursor = constraint; value a constrain
domstring which specifies whether or not the mouse cursor should be rendered into the video track in the mediastream returned by the call to getdisplaymedia().
MediaTrackConstraints.deviceId - Web APIs
the mediatrackconstraints dictionary's deviceid property is a constrain
domstring describing the requested or mandatory constraints placed upon the value of the deviceid constrainable property.
... syntax var constraintsobject = { deviceid: constraint }; constraintsobject.deviceid = constraint; value an object based on constrain
domstring specifying one or more acceptable, ideal, and/or exact (mandatory) device ids which are acceptable as the source of media content.
MediaTrackConstraints.displaySurface - Web APIs
the mediatrackconstraints dictionary's displaysurface property is a constrain
domstring describing the requested or mandatory constraints placed upon the value of the displaysurface constrainable property.
... syntax var constraintsobject = { displaysurface: constraint }; constraintsobject.displaysurface = constraint; value a constrain
domstring which specifies the type of display surface that's being captured.
MediaTrackConstraints.facingMode - Web APIs
the mediatrackconstraints dictionary's facingmode property is a constrain
domstring describing the requested or mandatory constraints placed upon the value of the facingmode constrainable property.
... syntax var constraintsobject = { facingmode: constraint }; constraintsobject.facingmode = constraint; value an object based on constrain
domstring specifying one or more acceptable, ideal, and/or exact (mandatory) facing modes are acceptable for a video track.
MediaTrackConstraints.groupId - Web APIs
the mediatrackconstraints dictionary's groupid property is a constrain
domstring describing the requested or mandatory constraints placed upon the value of the groupid constrainable property.
... syntax var constraintsobject = { groupid: constraint }; constraintsobject.groupid = constraint; value an object based on constrain
domstring specifying one or more acceptable, ideal, and/or exact (mandatory) group ids which are acceptable as the source of media content.
MediaTrackSettings.deviceId - Web APIs
the mediatracksettings dictionary's deviceid property is a
domstring which uniquely identifies the source for the corresponding mediastreamtrack for the origin corresponding to the browsing session.
... syntax var deviceid = mediatracksettings.deviceid; value a
domstring whose value is an origin-unique identifier for the track's source.
MediaTrackSettings.facingMode - Web APIs
the mediatracksettings dictionary's facingmode property is a
domstring indicating the direction in which the camera producing the video track represented by the mediastreamtrack is currently facing.
... syntax var facingmode = mediatracksettings.facingmode; value a
domstring whose value is one of the strings in videofacingmodeenum.
MediaTrackSettings.groupId - Web APIs
the mediatracksettings dictionary's groupid property is a browsing-session unique
domstring which identifies the group of devices which includes the source for the mediastreamtrack.
... syntax var groupid = mediatracksettings.groupid; value a
domstring whose value is a browsing-session unique identifier for a group of devices which includes the source of the track's contents.
MerchantValidationEvent() - Web APIs
syntax merchantvalidationevent = new merchantvalidationevent(type, options); parameters type a
domstring which must be merchantvalidation, the only type of event which uses the merchantvalidationevent interface.
... options optional an optional dictionary which may contain zero or more of the following properties: methodname optional a
domstring containing the payment method identifier for the payment handler being used.
MessageEvent.lastEventId - Web APIs
the lasteventid read-only property of the messageevent interface is a
domstring representing a unique id for the event.
... syntax var myid = messageevent.lasteventid; value a
domstring representing the id.
MouseEvent() - Web APIs
syntax event = new mouseevent(typearg, mouseeventinit); values typearg is a
domstring representing the name of the event.
... "region", optional and defaulting to null, of type
domstring, is the id of the hit region affected by the event.
NameList - Web APIs
namelist.getname() returns a
domstring.
... namelist.getnamespaceuri() returns a
domstring.
NavigatorLanguage - Web APIs
navigatorlanguage.language read only returns a
domstring representing the preferred language of the user, usually the language of the browser ui.
... navigatorlanguage.languages read only returns an array of
domstring representing the languages known to the user, by order of preference.
Node.isSupported() - Web APIs
syntax boolvalue = element.issupported(feature, version) parameters feature is a
domstring containing the name of the feature to test.
... version is a
domstring containing the version number of the feature to test.
Notation - Web APIs
properties notation.publicid read only is a
domstring.
... notation.systemid read only is a
domstring.
Notification.lang - Web APIs
the language itself is specified using a
domstring representing a bcp 47 language tag.
... syntax var language = notification.lang; value a
domstring specifying the language tag.
ParentNode.prepend() - Web APIs
the parentnode.prepend() method inserts a set of node objects or
domstring objects before the first child of the parentnode.
...
domstring objects are inserted as equivalent text nodes.
ParentNode.replaceChildren() - Web APIs
these can be
domstring or node objects.
... syntax // [throws, unscopable] parentnode.replacechildren(...nodesor
domstrings) // returns undefined parameters nodesor
domstrings a set of node or
domstring objects to replace the parentnode's existing children with.
PayerErrors - Web APIs
properties email optional if present, this
domstring is a string describing the validation error from which the payer's email address—as given by paymentresponse.payeremail—currently suffers.
... name optional if this
domstring is present in the object, the paymentresponse.payername property failed validation, and this string explains what needs to be corrected.
PaymentAddress.addressLine - Web APIs
the addressline read-only property of the paymentaddress interface is an array of
domstring objects, each specifying a line of the address that is not covered by one of the other properties of paymentaddress.
... syntax var paymentaddresslines = paymentaddress.addressline; value an array of
domstring objects, each containing one line of the address.
PaymentAddress.regionCode - Web APIs
the regioncode read-only attribute of the paymentaddress interface returns a one-, two-, or three-alphanumeric code (
domstring) representing the region of the address (e.g., "ca" for california, or "11" for lisbon, portugal).
... syntax var regioncode = paymentaddress.regioncode; value a
domstring indicating the one to three character alphanumeric code representing the region portion of the address.
PaymentDetailsUpdate.error - Web APIs
the paymentdetailsupdate dictionary's error property is a human-readable
domstring which provides an error message to be displayed if the specified information doesn't offer any valid shipping options.
... syntax errorstring = paymentdetailsupdate.error; paymentdetailsupdate.error = errorstring; value a
domstring specifying the string to display to the user if the information specified in the paymentdetailsupdate doesn't provide any valid shipping options.
PaymentMethodChangeEvent - Web APIs
syntax paymentmethodchangeevent = new paymentmethodchangeevent(type, options); parameters type a
domstring which must contain the string paymentmethodchange, the name of the only type of event which uses the paymentmethodchangeevent interface.
... options optional an optional paymentmethodchangeeventinit dictionary which may contain zero or more of the following properties: methodname optional a
domstring containing the payment method identifier for the payment handler being used.
Pbkdf2Params - Web APIs
properties name a
domstring.
... hash a
domstring representing the digest algorithm to use.
PerformanceServerTiming.toJSON - Web APIs
the tojson() method of the performanceservertiming interface returns a
domstring that is the json representation of the performanceservertiming object.
... return value a
domstring containing json.
PointerEvent.PointerEvent() - Web APIs
syntax event = new pointerevent(type, pointereventinit); arguments type is a
domstring representing the name of the event (see pointerevent event types).
... pointertype — optional and defaulting to "", of type
domstring, that sets the value of the instance's pointerevent.pointertype.
PublicKeyCredential.id - Web APIs
the id read-only property of the publickeycredential interface is a
domstring, inherited from credential, which represents the identifier of the current publickeycredential instance.
... syntax id = publickeycredential.id value a
domstring being the base64url encoded version of publickeycredential.rawid.
PublicKeyCredentialCreationOptions.user - Web APIs
syntax useraccount = publickeycredentialcreationoptions.user properties displayname a
domstring which is human readable and intended for display.
... name a
domstring giving a human-readable name for the user's identifier (e.g.
PushManager.permissionState() - Web APIs
the permissionstate() method of the pushmanager interface returns a promise that resolves to a
domstring indicating the permission state of the push manager.
... returns a promise that resolves to a
domstring with a value of 'prompt', 'denied', or 'granted'.
RTCDTMFToneChangeEvent.RTCDTMFToneChangeEvent() - Web APIs
syntax var event = new rtcdtmftonechangeevent(type, options); parameters type a
domstring containing the name of the event.
... options a dictionary of type rtcdtmftonechangeeventinit, which may contain one or more of the following fields: tone a
domstring containing a single dtmf tone character which has just begun to play, or an empty string ("") to indicate that the previous tone has stopped playing.
RTCDTMFToneChangeEvent - Web APIs
properties in addition to the properties of event, this interface offers the following: rtcdtmftonechangeevent.tone read only a
domstring specifying the tone which has begun playing, or an empty string ("") if the previous tone has finished playing.
...it takes two parameters, the first being a
domstring representing the type of the event (always "tonechange"); the second a dictionary containing the initial state of the properties of the event.
RTCDataChannel.binaryType - Web APIs
the property binarytype on the rtcdatachannel interface is a
domstring which specifies the type of javascript object which should be used to represent binary data received on the rtcdatachannel.
... syntax var type = adatachannel.binarytype; adatachannel.binarytype = type; value a
domstring that can have one of these values: "blob" received binary messages' contents will be contained in blob objects.
RTCIceCandidate.candidate - Web APIs
the read-only property candidate on the rtcicecandidate interface returns a
domstring describing the candidate in detail.
... syntax var candidate = rtcicecandidate.candidate; value a
domstring describing the properties of the candidate, taken directly from the sdp attribute "candidate".
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.
... syntax var sdpmid = rtcicecandidate.sdpmid; value a
domstring which uniquely identifies the source media component from which the candidate draws data, or null if no such association exists for the candidate.
RTCIceParameters - Web APIs
properties usernamefragment a
domstring specifying the value of the ice session's username fragment field, ufrag.
... password a
domstring specifying the session's password string.
RTCRtpCodecCapability - Web APIs
mimetype a
domstring indicating the codec's mime media type and subtype.
... sdpfmtpline optional a
domstring giving the format specific parameters field from the a=fmtp line in the sdp which corresponds to the codec, if such a line exists.
RTCRtpCodecParameters - Web APIs
mimetype optional the codec's mime media type and subtype specified as a
domstring of the form "type/subtype".
... sdpfmtpline optional a
domstring containing the format-specific parameters field from the "a=fmtp" line in the codec's sdp, if one is present; see section 5.8 of the ietf specification for jsep.
RTCSessionDescription.sdp - Web APIs
the property rtcsessiondescription.sdp is a read-only
domstring containing the sdp which describes the session.
... syntax var value = sessiondescription.sdp; sessiondescription.sdp = value; value the value is a
domstring containing an sdp message like this one: v=0 o=alice 2890844526 2890844526 in ip4 host.anywhere.com s= c=in ip4 host.anywhere.com t=0 0 m=audio 49170 rtp/avp 0 a=rtpmap:0 pcmu/8000 m=video 51372 rtp/avp 31 a=rtpmap:31 h261/90000 m=video 53000 rtp/avp 32 a=rtpmap:32 mpv/90000 example // the remote description has been set previously on pc, an rtcpeerconnection alert(pc.remotedescription.sdp); specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcsessiondescription.sdp' in that specification.
RTCStats - Web APIs
properties id a
domstring which uniquely identifies the object which was inspected to produce this object based on rtcstats.
... type a
domstring indicating the type of statistics the object contains, taken from the enum type rtcstatstype.
RTCStatsReport - Web APIs
properties common to all statistic categories all webrtc statistics objects are fundamentally based on the rtcstats dictionary, which provides the most fundamental information: the timestamp, the statistic type string, and an id uniquely identifying the source of the data: id a
domstring which uniquely identifies the object which was inspected to produce this object based on rtcstats.
... type a
domstring indicating the type of statistics the object contains, taken from the enum type rtcstatstype.
SVGAnimatedString - Web APIs
properties svganimatedstring.animval read only this is a
domstring representing the animation value.
... svganimatedstring.baseval this is a
domstring representing the base value.
SVGColorProfileElement - Web APIs
properties svgcolorprofileelement.local a
domstring corresponding to the local attribute of the given element.
... svgcolorprofileelement.name a
domstring corresponding to the name attribute of the given element.
SVGGlyphRefElement - Web APIs
svgglyphrefelement.glyphref a
domstring corresponding to the glyphref attribute of the given element.
... svgglyphrefelement.format a
domstring corresponding to the format attribute of the given element.
SVGImageElement - Web APIs
svgimageelement.crossorigin a
domstring corresponding to the crossorigin attribute of the given <image> element.
... svgimageelement.decoding returns a
domstring representing a hint given to the browser on how it should decode the image.
SVGLength - Web APIs
interface overview also implement none methods void newvaluespecifiedunits(in unsigned short unittype, in float valueinspecifiedunits) void converttospecifiedunits(in unsigned short unittype) properties readonly unsigned short unittype float value float valueinspecifiedunits
domstring valueasstring constants svg_lengthtype_unknown = 0 svg_lengthtype_number = 1 svg_lengthtype_percentage = 2 svg_lengthtype_ems = 3 svg_lengthtype_exs = 4 svg_lengthtype_px = 5 svg_lengthtype_cm = 6 svg_lengthtype_mm = 7 svg_lengthtype_in = 8 svg_lengthtype_pt = 9 svg_lengthtype_pc = 10 normative doc...
... valueasstring
domstring the value as a string value, in the units expressed by unittype.
SVGPathSeg - Web APIs
interface overview also implement none methods none properties unsigned short pathsegtype
domstring pathsegtypeasletter constants pathseg_unknown = 0 pathseg_closepath = 1 pathseg_moveto_abs = 2 pathseg_moveto_rel = 3 pathseg_lineto_abs = 4 pathseg_lineto_rel = 5 pathseg_curveto_cubic_abs = 6 pathseg_curveto_cubic_rel = 7 ...
... pathsegtypeasletter
domstring the type of the path segment as specified by the corresponding one character command name.
SVGScriptElement - Web APIs
x="321" y="65" width="160" height="50" fill="#f4f7f8" stroke="#d4dde4" stroke-width="2px" /><text x="401" y="94" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">svgscriptelement</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} properties svgscriptelement.type read only a
domstring corresponding to the type attribute of the given <script> element.
... svgscriptelement.crossorigin read only a
domstring corresponding to the crossorigin attribute of the given <script> element.
SVGStylable - Web APIs
interface overview also implement none methods cssvalue getpresentationattribute(in
domstring name) properties readonly svganimatedstring classname readonly cssstyledeclaration style normative document svg 1.1 (2nd edition) properties name type description classname svganimatedstring corresponds to attribute class on the given element.
... methods name & arguments return description getpresentationattribute(in
domstring name) cssvalue returns the base (i.e., static) value of a given presentation attribute as an object of type cssvalue.
SVGViewElement - Web APIs
a list of
domstring values which contain the names listed in the viewtarget attribute.
... each of the
domstring values can be associated with the corresponding element using the getelementbyid() method call.
Screen Capture API - Web APIs
mediatrackconstraints mediatrackconstraints.cursor a constrain
domstring indicating whether or not the cursor should be included in the captured display surface's stream, and if it should always be visible or if it should only be visible while the mouse is in motion.
... mediatrackconstraints.displaysurface a constrain
domstring indicating what type of display surface is to be captured.
SecurityPolicyViolationEvent.effectiveDirective - Web APIs
the effectivedirective read-only property of the securitypolicyviolationevent interface is a
domstring representing the directive whose enforcement uncovered the violation.
... syntax let effdir = violationeventinstance.effectivedirective; value a
domstring representing the directive whose enforcement uncovered the violation.
SecurityPolicyViolationEvent.originalPolicy - Web APIs
the originalpolicy read-only property of the securitypolicyviolationevent interface is a
domstring containing the policy whose enforcement uncovered the violation.
... syntax let origpolicy = violationeventinstance.originalpolicy; value a
domstring representing the policy whose enforcement uncovered the violation.
SecurityPolicyViolationEvent.sample - Web APIs
the sample read-only property of the securitypolicyviolationevent interface is a
domstring representing a sample of the resource that caused the violation.
... syntax let sample = violationeventinstance.sample; value a
domstring containing a sample of the resource that caused the violation, usually the first 40 characters.
SecurityPolicyViolationEvent.violatedDirective - Web APIs
the violateddirective read-only property of the securitypolicyviolationevent interface is a
domstring representing the directive whose enforcement uncovered the violation.
... syntax let violateddir = violationeventinstance.violateddirective; value a
domstring representing the directive whose enforcement uncovered the violation.
Selection.type - Web APIs
the type read-only property of the selection interface returns a
domstring describing the type of the current selection.
... syntax value = sel.type value a
domstring describing the type of the current selection.
SpeechGrammarList.addFromString() - Web APIs
the addfromstring() method of the speechgrammarlist interface takes a grammar present in a specific
domstring within the code base (e.g.
... parameters string a
domstring representing the grammar to be added.
Storage.getItem() - Web APIs
syntax var avalue = storage.getitem(keyname); parameters keyname a
domstring containing the name of the key you want to retrieve the value of.
... return value a
domstring containing the value of the key.
Storage.setItem() - Web APIs
syntax storage.setitem(keyname, keyvalue); parameters keyname a
domstring containing the name of the key you want to create/update.
... keyvalue a
domstring containing the value you want to give the key you are creating/updating.
TextDecoder - Web APIs
textdecoder.prototype.encodingread only is a
domstring containing the name of the decoder, that is a string describing the method the textdecoder will use.
... textdecoder.prototype.decode() returns a
domstring containing the text decoded with the method of the specific textdecoder object.
TransitionEvent.initTransitionEvent() - Web APIs
do not use it anymore, use the standard constructor, transitionevent(), to create a synthetic transitionevent syntax transitionevent.inittransitionevent(typearg, canbubblearg, cancelablearg, transitionnamearg, elapsedtimearg); parameters typearg is a
domstring identifying the specific type of transition event that occurred.
... transitionnamearg 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.
... transitionevent.pseudoelement read only is a
domstring, starting with ::, containing the name of the pseudo-element the animation runs on.
TypeInfo - Web APIs
properties typeinfo.typename read only returns a
domstring indicating the type's name.
... typeinfo.typenamespace read only returns a
domstring indicating the type's namespace within the schema.
URL.createObjectURL() - Web APIs
the url.createobjecturl() static method creates a
domstring containing a url representing the object given in the parameter.
... return value a
domstring containing an object url that can be used to reference the contents of the specified source object.
WebGLRenderingContext.getParameter() - Web APIs
gl.renderer
domstring gl.sample_buffers glint gl.sample_coverage_invert glboolean gl.sample_coverage_value glfloat gl.samples glint gl.scissor_box int32array (with 4 elements) gl.scissor_test glboolean gl.shading_language_version
domstring gl.stencil_back_fail glenum gl.stencil_b...
... gl.subpixel_bits glint gl.texture_binding_2d webgltexture or null gl.texture_binding_cube_map webgltexture or null gl.unpack_alignment glint gl.unpack_colorspace_conversion_webgl glenum gl.unpack_flip_y_webgl glboolean gl.unpack_premultiply_alpha_webgl glboolean gl.vendor
domstring gl.version
domstring gl.viewport int32array (with 4 elements) webgl 2 you can query the following pname parameters when using a webgl2renderingcontext.
Web Video Text Tracks Format (WebVTT) - Web APIs
following interface can be used to expose webvtt cues in dom api: enum autokeyword { "auto" }; enum directionsetting { "" /* horizontal */, "rl", "lr" }; enum linealignsetting { "start", "center", "end" }; enum positionalignsetting { "line-left", "center", "line-right", "auto" }; enum alignsetting { "start", "center", "end", "left", "right" }; [constructor(double starttime, double endtime,
domstring text)] interface vttcue : texttrackcue { attribute vttregion?
... region; attribute directionsetting vertical; attribute boolean snaptolines; attribute (double or autokeyword) line; attribute linealignsetting linealign; attribute (double or autokeyword) position; attribute positionalignsetting positionalign; attribute double size; attribute alignsetting align; attribute
domstring text; documentfragment getcueashtml(); }; vtt region interface this is the second interface in webvtt api.
WindowEventHandlers.onhashchange - Web APIs
'location1' : 'location2'; } the hashchange event the dispatched hashchange event has the following properties: field type description newurl
domstring the new url to which the window is navigating.
... oldurl
domstring the previous url from which the window was navigated.
WorkerNavigator - Web APIs
navigatorlanguage.languageread only returns a
domstring representing the language version of the browser.
... navigatorlanguage.languagesread only returns an array of
domstrings representing the languages known to the user, in order of preference.
XMLHttpRequest.response - Web APIs
the xmlhttprequest response property returns the response's body content as an arraybuffer, blob, document, javascript object, or
domstring, depending on the value of the request's responsetype property.
... text the response is a text in a
domstring object.
XPathNSResolver.lookupNamespaceURI() - Web APIs
syntax
domstring xpathnsresolver.lookupnamespaceuri(prefix); parameters prefix a
domstring representing the prefix to look for.
... return value a
domstring representing the associated namespace uri or null if none is found.
XRSession.environmentBlendMode - Web APIs
the value is a
domstring which contains one of the values defined by the xrenvironmentblendmode enumerated type.
... syntax blendmode = xrsession.environmentblendmode; value a
domstring whose value is one of the strings found in the enumerated type xrenvironmentblendmode, defining if—and if so, how—virtual, rendered content is overlaid atop the image of the real world.
Web APIs
svalue cssvaluelist cssvariablereferencevalue cache cachestorage canvascapturemediastreamtrack canvasgradient canvasimagesource canvaspattern canvasrenderingcontext2d caretposition channelmergernode channelsplitternode characterdata childnode client clients clipboard clipboardevent clipboarditem closeevent comment compositionevent constantsourcenode constrainboolean constrain
domstring constraindouble constrainulong contentindex contentindexevent convolvernode countqueuingstrategy crashreportbody credential credentialscontainer crypto cryptokey cryptokeypair customelementregistry customevent d domconfiguration domerror domexception domhighrestimestamp domimplementation domimplementationlist domlocator dommatrix dommatrixreadonly domobject domparser dompoi...
...nt dompointinit dompointreadonly domquad domrect domrectreadonly
domstring domstringlist
domstringmap domtimestamp domtokenlist domuserdata datatransfer datatransferitem datatransferitemlist dedicatedworkerglobalscope delaynode deprecationreportbody devicelightevent devicemotionevent devicemotioneventacceleration devicemotioneventrotationrate deviceorientationevent deviceproximityevent directoryentrysync directoryreadersync displaymediastreamconstraints document documentfragment documentorshadowroot documenttimeline documenttouch documenttype doublerange dragevent dynamicscompressornode e ext_blend_minmax ext_color_buffer_float ext_color_buffer_half_float ext_disjoint_timer_query ext_float_blend ext_frag_depth ext_srgb ext_shader_texture_lod ext_texture_compression_bptc ext_textu...
<input type="checkbox"> - HTML: Hypertext Markup Language
value a
domstring representing the value of the checkbox.
... events change and input supported common attributes checked idl attributes checked, indeterminate and value methods select() value a
domstring representing the value of the checkbox.
<input type="date"> - HTML: Hypertext Markup Language
among browsers with custom interfaces for selecting dates are chrome and opera, whose data control looks like so: the edge date control looks like: and the firefox date control looks like this: value a
domstring representing a date in yyyy-mm-dd format, or empty events change and input supported common attributes autocomplete, list, readonly, and step idl attributes list, value, valueasdate, valueasnumber.
... methods select(), stepdown(), stepup() value a
domstring representing the date entered in the input.
<input type="file"> - HTML: Hypertext Markup Language
value a
domstring representing the path to the selected file.
... change and input supported common attributes required additional attributes accept, capture, files, multiple idl attributes files and value dom interface htmlinputelement properties properties that apply only to elements of type file methods select() value a file input's value attribute contains a
domstring that represents the path to the selected file(s).
<input type="hidden"> - HTML: Hypertext Markup Language
<input id="prodid" name="prodid" type="hidden" value="xm234jq"> value a
domstring representing the value of the hidden data you want to pass back to the server.
... value the <input> element's value attribute holds a
domstring that contains the hidden data you want to include when the form is submitted to the server.
<input type="month"> - HTML: Hypertext Markup Language
the microsoft edge month control looks like this: value a
domstring representing a month and year, or empty.
... value a
domstring representing the value of the month and year entered into the input, in the form yyyy-mm (four or more digit year, then a hyphen ("-"), followed by the two-digit month).
<input type="password"> - HTML: Hypertext Markup Language
value a
domstring representing a password, or empty events change and input supported common attributes autocomplete, inputmode, maxlength, minlength, pattern, placeholder, readonly, required, and size idl attributes selectionstart, selectionend, selectiondirection, and value methods select(), setrangetext(), and setselectionrange() value the value attribute ...
...contains a
domstring whose value is the current contents of the text editing control being used to enter the password.
<input type="radio"> - HTML: Hypertext Markup Language
value a
domstring representing the value of the radio button.
... events change and input supported common attributes checked and value idl attributes checked and value methods select() value the value attribute is a
domstring containing the radio button's value.
<input type="range"> - HTML: Hypertext Markup Language
value a
domstring containing the string representation of the selected numeric value; use valueasnumber to get the value as a number.
... value the value attribute contains a
domstring which contains a string representation of the selected number.
<input type="tel"> - HTML: Hypertext Markup Language
value a
domstring representing a telephone number, or empty events change and input supported common attributes autocomplete, list, maxlength, minlength, pattern, placeholder, readonly, and size idl attributes list, selectionstart, selectionend, selectiondirection, and value methods select(), setrangetext(), setselectionrange() value the <input> element's val...
...ue attribute contains a
domstring that either represents a telephone number or is an empty string ("").
<input type="time"> - HTML: Hypertext Markup Language
it, like chrome, uses a 12- or 24-hour format for inputting times, based on system locale: 12-hour 24-hour value a
domstring representing a time, or empty.
... value a
domstring containing the value of the time entered into the input.
<input type="url"> - HTML: Hypertext Markup Language
value a
domstring representing a url, or empty events change and input supported common attributes autocomplete, list, maxlength, minlength, pattern, placeholder, readonly, required and size idl attributes list, value, selectionend, selectiondirection methods select(), setrangetext() and setselectionrange().
... value the <input> element's value attribute contains a
domstring which is automatically validated as conforming to url syntax.
<input type="week"> - HTML: Hypertext Markup Language
value a
domstring representing a week and year, or empty events change and input supported common attributes autocomplete, list, readonly, and step idl attributes value, valueasdate, valueasnumber, and list.
... methods select(), stepdown(), and stepup() value a
domstring representing the value of the week/year entered into the input.
mozbrowseractivitydone
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
mozbrowserasyncscroll
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
mozbrowseraudioplaybackchange
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
mozbrowsermanifestchange
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
mozbrowserresize
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
mozbrowserscroll
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
mozbrowserscrollareachanged
this can occur on resize and when the page size changes (while loading for example.) general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
mozbrowserselectionstatechanged
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
mozbrowsertitlechange
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
mozbrowservisibilitychange
general info specification non standard interface customevent bubbles yes cancelable yes target <iframe> default action none properties property type description target read only eventtarget the browser iframe type read only
domstring the type of event.
nsAString
nsastring corresponds to the astring and
domstring xpidl data types.
GetKeyBindings
nsidom
domstringlist getkeybindings( in pruint8 aactionindex ); parameters aactionindex[in] index of the given action.
nsIContentFrameMessageManager
methods void dump(in
domstring astr);
domstring atob(in
domstring aasciistring);
domstring btoa(in
domstring abase64data); dump() prints the specified string to standard output.
nsIDOMMozNetworkStats
to create an instance, use: var networkstatsmanager = components.classes["@mozilla.org/networkstats;1"] .createinstance(components.interfaces.nsidomnetworkstats); attributes attribute type description connectiontype
domstring connection type of the stats.
nsIDOMXPathResult
stringvalue
domstring if resulttype is string_type, the boolean value.
nsIEditor
0 / seamonkey 2.15) method overview [noscript] void init(in nsidomdocument doc, in nsicontent aroot, in nsiselectioncontroller aselcon, in unsigned long aflags); void setattributeorequivalent(in nsidomelement element, in astring sourceattrname, in astring sourceattrvalue, in boolean asuppresstransaction); void removeattributeorequivalent(in nsidomelement element, in
domstring sourceattrname, in boolean asuppresstransaction); void postcreate(); void predestroy(in boolean adestroyingframes); selected content removal void deleteselection(in short action, in short stripwrappers); document info and file methods void resetmodificationcount(); long getmodificationcount(); void incrementmodificationcount...
nsITaskbarPreview
tooltip
domstring a string containing the text displayed in the tooltip above the preview when the user hovers over it.
nsIXFormsModelElement
1.0 66 introduced gecko 1.8 obsolete gecko 1.9.1 inherits from: nsisupports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview nsidomdocument getinstancedocument(in
domstring instanceid); void rebuild(); void recalculate(); void refresh(); void revalidate(); methods getinstancedocument() nsidomdocument getinstancedocument( in
domstring instanceid ); parameters instanceid the id of the instance element to be returned.
AddressErrors.addressLine - Web APIs
syntax var addresslineerror = addresserrors.addressline; value if an error occurred during validation of the address due to one of the strings in the addressline array having an invalid value, this property is set to a
domstring providing a human-readable error message explaining the validation error.
AddressErrors.city - Web APIs
syntax var cityerror = addresserrors.city; value if the value specified in the paymentaddress object's city property could not be validated, this property contains a
domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
AddressErrors.country - Web APIs
syntax var countryerror = addresserrors.country; value if an error occurred during validation of the address due to the country property having an invalid value, this property is set to a
domstring providing a human-readable error message explaining the validation error.
AddressErrors.dependentLocality - Web APIs
syntax var localityerror = addresserrors.dependentlocality; value if the value specified in the paymentaddress object's dependentlocality property could not be validated, this property contains a
domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
AddressErrors.languageCode - Web APIs
syntax var languageerror = addresserrors.languagecode; value if the value specified in the paymentaddress object's languagecode property could not be validated, this property contains a
domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
AddressErrors.organization - Web APIs
syntax var organizationerror = addresserrors.organization; value if the value specified in the paymentaddress object's organization property could not be validated, this property contains a
domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
AddressErrors.phone - Web APIs
syntax var phoneerror = addresserrors.phone; value if the value specified in the paymentaddress object's phone property could not be validated, this property contains a
domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
AddressErrors.postalCode - Web APIs
syntax var postcodeerror = addresserrors.postcode; value if the value specified in the paymentaddress object's postalcode property could not be validated, this property contains a
domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
AddressErrors.recipient - Web APIs
syntax var recipienterror = addresserrors.recipient; value if the value specified in the paymentaddress object's recipient property could not be validated, this property contains a
domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
AddressErrors.region - Web APIs
syntax var regionerror = addresserrors.region; value if the value specified in the paymentaddress object's region property could not be validated, this property contains a
domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
AddressErrors.regionCode - Web APIs
syntax var regioncodeerror = addresserrors.regioncode; value if the value specified in the paymentaddress object's regioncode property could not be validated, this property contains a
domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
AddressErrors.sortingCode - Web APIs
syntax var sortingcodeerror = addresserrors.sortingcode; value if the value specified in the paymentaddress object's sortingcode property could not be validated, this property contains a
domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
Animation.id - Web APIs
syntax var animationsid = animation.id; animation.id = newidstring; value a
domstring which can be used to identify the animation, or null if the animation has no id.
AnimationEvent.pseudoElement - Web APIs
summary the animationevent.pseudoelement read-only property is a
domstring, starting with '::', containing the name of the pseudo-element the animation runs on.
Attr.localName - Web APIs
syntax name = attribute.localname return value a
domstring representing the local part of the attribute's qualified name.
AudioParamMap - Web APIs
the web audio api interface audioparammap represents a set of multiple audio parameters, each described as a mapping of a
domstring identifying the parameter to the audioparam object representing its value.
AudioTrack.id - Web APIs
syntax var trackid = audiotrack.id; value a
domstring which identifies the track, suitable for use when calling gettrackbyid() on an audiotracklist such as the one specified by a media element's audiotracks property.
AudioTrack.kind - Web APIs
syntax var trackkind = audiotrack.kind; value a
domstring specifying the type of content the media represents.
AudioTrack.label - Web APIs
syntax var audiotracklabel = audiotrack.label; value a
domstring specifying the track's human-readable label, if one is available in the track metadata.
AudioTrack.language - Web APIs
syntax var audiotracklanguage = audiotrack.language; value a
domstring specifying the bcp 47 (rfc 5646) format language tag of the primary language used in the audio track, or an empty string ("") if the language is not specified or known, or if the track doesn't contain speech.
AuthenticatorResponse.clientDataJSON - Web APIs
it has two properties: status: a string which is either "supported" which indicates the client support token binding but did not negotiate with the relying party or "present" when token binding was used already id: a
domstring which is the base64url encoding of the token binding id which was used for the communication.
BatteryManager - Web APIs
void seteventhandler(
domstring type, eventhandler handler) eventhandler geteventhandler(
domstring type) specifications specification status comment battery status api candidate recommendation initial definition ...
Blob() - Web APIs
example var afileparts = ['<a id="a"><b id="b">hey!</b></a>']; // an array consisting of a single
domstring var omyblob = new blob(afileparts, {type : 'text/html'}); // the blob specification specification status comment file apithe definition of 'blob()' in that specification.
Blob.type - Web APIs
syntax var mimetype = blob.type value a
domstring containing the file's mime type, or an empty string if the type could not be determined.
BluetoothRemoteGATTCharacteristic - Web APIs
bluetoothremotegattcharacteristic.uuidread only returns a
domstring containing the uuid of the characteristic, for example '00002a37-0000-1000-8000-00805f9b34fb' for the heart rate measurement characteristic.
BroadcastChannel() - Web APIs
syntax channel = new broadcastchannel(channel); values channel is a
domstring representing the name of the channel; there is one single channel with this name for all browsing contexts with the same origin.
Broadcast Channel API - Web APIs
an example string message: // example of sending of a very simple message bc.postmessage('this is a test message.'); any kind of object can be sent, not just a
domstring.
CSSConditionRule - Web APIs
interface cssconditionrule : cssgroupingrule { attribute
domstring conditiontext; } properties the cssconditionrule derives from cssrule, cssgroupingrule and inherits all properties of these classes.
CSSGroupingRule - Web APIs
interface cssgroupingrule : cssrule { readonly attribute cssrulelist cssrules; unsigned long insertrule (
domstring rule, unsigned long index); void deleterule (unsigned long index); } properties common to all cssgroupingrule instances the cssgroupingrule derives from cssrule and inherits all properties of this class.
CSSPageRule - Web APIs
interface csspagerule : cssrule { attribute
domstring selectortext; readonly attribute cssstyledeclaration style; }; properties as a cssrule, csspagerule also implements the properties of this interface.
CacheStorage.has() - Web APIs
}); parameters cachename a
domstring representing the name of the cache object you are looking for in the cachestorage.
CanvasRenderingContext2D.createPattern() - Web APIs
it can be any of the following: htmlimageelement (<img>) svgimageelement (<image>) htmlvideoelement (<video>, by using the capture of the video) htmlcanvaselement (<canvas>) imagebitmap offscreencanvas repetition a
domstring indicating how to repeat the pattern's image.
CanvasRenderingContext2D.filter - Web APIs
syntax ctx.filter = "<filter-function1> [<filter-function2>] [<filter-functionn>]"; ctx.filter = "none"; values the filter property accepts a value of "none" or one or more of the following filter functions in a
domstring.
Clients.get() - Web APIs
syntax self.clients.get(id).then(function(client) { // do something with your returned client }); parameters id a
domstring representing the id of the client you want to get.
Clipboard.writeText() - Web APIs
syntax var promise = navigator.clipboard.writetext(newcliptext) parameters newcliptext the
domstring to be written to the clipboard.
Clipboard - Web APIs
readtext() requests text from the system clipboard; returns a promise which is resolved with a
domstring containing the clipboard's text once it's available.
CloseEvent - Web APIs
closeevent.reason read only returns a
domstring indicating the reason the server closed the connection.
Comment() - Web APIs
the comment() constructor returns a newly created comment object with the optional
domstring given in parameter as its textual content.
CompositionEvent.data - Web APIs
syntax mydata = compositionevent.data value a
domstring representing the event data: for compositionstart events, this is the currently selected text that will be replaced by the string being composed.
ContentIndexEvent() - Web APIs
syntax var contentindexevent = new contentindexevent(type, contentindexeventinit); parameters type a
domstring indicating the event which occurred.
CustomEvent() - Web APIs
syntax event = new customevent(typearg, customeventinit); parameters typearg a
domstring representing the name of the event.
DOMConfiguration - Web APIs
-form", "cdata-sections", "check-character-normalization", "comments", "datatype-normalization", "element-content-whitespace", "entities", "error-handler", "infoset", "namespaces", "namespace-declarations", "normalize-characters","schema-location", "schema-type", "split-cdata-sections", "validate", "validate-if-schema", "well-formed" properties domconfiguration.parameternames read only is a
domstringlist methods domconfiguration.cansetparameter() returns a boolean domconfiguration.getparameter() returns a domuserdata domconfiguration.setparameter() sets a parameter specification http://www.w3.org/tr/dom-level-3-cor...mconfiguration ...
DOMException() - Web APIs
name optional returns a
domstring that contains one of the strings associated with an error constant.
DOMMatrixReadOnly - Web APIs
dommatrixreadonly.tostring() creates and returns a
domstring object which contains a string representation of the matrix in css matrix syntax, using the appropriate css matrix notation.
DOMTokenList.add() - Web APIs
syntax tokenlist.add(token1[, token2[, ...tokenn]]); parameters tokenn a
domstring representing the token (or tokens) to add to the tokenlist.
DOMTokenList.contains() - Web APIs
syntax tokenlist.contains(token); parameters token a
domstring representing the token you want to check for the existance of in the list.
DOMTokenList.remove() - Web APIs
syntax tokenlist.remove(token1[, token2[, ...tokenn]]); parameters tokenn a
domstring representing the token you want to remove from the list.
DOMTokenList - Web APIs
domtokenlist.value a stringifier property that returns the value of the list as a
domstring.
Document.dir - Web APIs
the document.dir property is a
domstring representing the directionality of the text of the document, whether left to right (default) or right to left.
Document Object Model (DOM) - Web APIs
dom interfaces attr cdatasection characterdata childnode comment customevent document documentfragment documenttype domerror domexception domimplementation
domstring domtimestamp
domstringlist domtokenlist element event eventtarget htmlcollection mutationobserver mutationrecord namednodemap node nodefilter nodeiterator nodelist nondocumenttypechildnode parentnode processinginstruction selection range text textdecoder textencoder timeranges treewalker url window worker xmldocument obsolete dom interfaces the document obj...
DragEvent() - Web APIs
syntax event = new dragevent(type, drageventinit); arguments type is a
domstring representing the name of the event (see dragevent event types).
EffectTiming.direction - Web APIs
syntax var timingproperties = { direction: "normal" | "reverse" | "alternate" | "alternate-reverse" }; timingproperties.direction = "normal" | "reverse" | "alternate" | "alternate-reverse"; value a
domstring which specifies the direction in which the animation should play as well as what to do when the playback reaches the end of the animation sequence in the current direction.
EffectTiming.easing - Web APIs
accepts several pre-defined
domstring values, a steps() timing function like steps(5, end), or a custom cubic-bezier value like cubic-bezier(0.42, 0, 0.58, 1).
EffectTiming.fill - Web APIs
syntax var timingproperties = { fill: "none" | "forwards" | "backwards" | "both" | "auto" } value a
domstring indicating the fill type to use in order to properly render an affected element when outside the animation's active interval (that is, when it's not actively animating).
Element.animate() - Web APIs
options either an integer representing the animation's duration (in milliseconds), or an object containing one or more timing properties: id optional a property unique to animate(): a
domstring with which to reference the animation.
Element.closest() - Web APIs
syntax var closestelement = targetelement.closest(selectors); parameters selectors is a
domstring containing a selector list.
Element.innerHTML - Web APIs
syntax const content = element.innerhtml; element.innerhtml = htmlstring; value a
domstring containing the html serialization of the element's descendants.
Element.insertAdjacentElement() - Web APIs
syntax targetelement.insertadjacentelement(position, element); parameters position a
domstring representing the position relative to the targetelement; must match (case-insensitively) one of the following strings: 'beforebegin': before the targetelement itself.
Element.insertAdjacentHTML() - Web APIs
syntax element.insertadjacenthtml(position, text); parameters position a
domstring representing the position relative to the element; must be one of the following strings: 'beforebegin': before the element itself.
Element.localName - Web APIs
syntax name = element.localname return value a
domstring representing the local part of the element's qualified name.
Element.outerHTML - Web APIs
syntax var content = element.outerhtml; element.outerhtml = htmlstring; value reading the value of outerhtml returns a
domstring containing an html serialization of the element and its descendants.
Event() - Web APIs
syntax new event(typearg[, eventinit]); values typearg this is a
domstring representing the name of the event.
Event.msConvertURL() - Web APIs
targettype [in] type:
domstring one of the following values indicating the desired conversion type: "specified", "base64", or "unchanged".
EventTarget - Web APIs
void seteventhandler(
domstring type, eventhandler handler) eventhandler geteventhandler(
domstring type) example simple implementation of eventtarget var eventtarget = function() { this.listeners = {}; }; eventtarget.prototype.listeners = null; eventtarget.prototype.addeventlistener = function(type, callback) { if (!(type in this.listeners)) { this.listeners[type] = []; } this.listeners[type].push(callback...
File.File() - Web APIs
available options are as follows: type: a
domstring representing the mime type of the content that will be put into the file.
FileSystemEntry.toURL() - Web APIs
return value a
domstring containing a url that can then be used as a document reference in html content, or an empty string if the url can't be generated (such as if the file system implementation doesn't support tourl()).
FontFace.family - Web APIs
syntax instanceoffontface.family = 'font family name'; var fontface = instanceoffontface.family; // "font family name" value a
domstring.
FormDataEvent() - Web APIs
syntax new formdataevent(type[, formeventinit]); values type a
domstring representing the name of the event.
Gamepad.id - Web APIs
syntax readonly attribute
domstring id; example window.addeventlistener("gamepadconnected", function() { var gp = navigator.getgamepads()[0]; gamepadinfo.innerhtml = "gamepad connected at index " + gp.index + ": " + gp.id + "."; }); value a string.
Gamepad.mapping - Web APIs
syntax readonly attribute
domstring mapping; example var gp = navigator.getgamepads()[0]; console.log(gp.mapping); value a string.
Gamepad - Web APIs
gamepad.id read only a
domstring containing identifying information about the controller.
GamepadEvent() - Web APIs
syntax var gamepadevent = new gamepadevent(typearg, options) parameters typearg a
domstring that must be one of gamepadconnected or gamepaddisconnected.
HTMLAnchorElement.download - Web APIs
the htmlanchorelement.download property is a
domstring indicating that the linked resource is intended to be downloaded rather than displayed in the browser.
HTMLAnchorElement.rel - Web APIs
it is a
domstring containing a space-separated list of link types indicating the relationship between the resource represented by the <a> element and the current document.
HTMLAreaElement.rel - Web APIs
it is a
domstring containing a space-separated list of link types indicating the relationship between the resource represented by the <area> element and the current document.
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.
HTMLDataElement - Web APIs
htmldataelement.value is a
domstring reflecting the value html attribute, containing a machine-readable form of the element's value.
HTMLDialogElement.returnValue - Web APIs
syntax dialoginstance.returnvalue = 'myreturnvalue'; var myreturnvalue = dialoginstance.returnvalue; value a
domstring representing the returnvalue of the dialog.
HTMLDivElement - Web APIs
htmldivelement.align is a
domstring representing an enumerated property indicating alignment of the element's contents with respect to the surrounding context.
HTMLElement.innerText - Web APIs
syntax const renderedtext = htmlelement.innertext htmlelement.innertext = string value a
domstring representing the rendered text content of an element.
HTMLFontElement.color - Web APIs
the obsolete htmlfontelement.color property is a
domstring that reflects the color html attribute, containing either a named color or a color specified in the hexadecimal #rrggbb format.
HTMLFontElement.face - Web APIs
the obsolete htmlfontelement.face property is a
domstring that reflects the face html attribute, containing a comma-separated list of one or more font names.
HTMLHeadElement - Web APIs
htmlheadelement.profile is a
domstring representing the uris of one or more metadata profiles (white space separated).
HTMLHeadingElement - Web APIs
htmlheadingelement.align is a
domstring representing an enumerated attribute indicating alignment of the heading with respect to the surrounding context.
HTMLHtmlElement - Web APIs
htmlhtmlelement.version is a
domstring representing the version of the html document type definition (dtd) that governs this document.
HTMLImageElement.align - Web APIs
syntax htmlimageelement.align = alignmode; alignmode = htmlimageelement.align; value a
domstring specifying one of the following strings which set the alignment mode for the image.
HTMLImageElement.alt - Web APIs
syntax htmlimageelement.alt = alttext; let alttext = htmlimageelement.alt; value a
domstring which contains the alternate text to display when the image is not loaded or for use by assistive devices.
HTMLImageElement.border - Web APIs
syntax htmlimageelement.border = thickness; let thickness = htmlimageelement.border; value a
domstring containing an integer value specifying the thickness of the border that should surround the image, in css pixels.
HTMLImageElement.crossOrigin - Web APIs
syntax htmlimageelement.crossorigin = crossoriginmode; let crossoriginmode = htmlimageelement.crossorigin; value a
domstring of a keyword specifying the cors mode to use when fetching the image resource.
HTMLImageElement.loading - Web APIs
syntax let imageloadscheduling = htmlimageelement.loading; htmlimageelement.loading = eagerorlazy; value a
domstring providing a hint to the user agent as to how to best schedule the loading of the image to optimize page performance.
HTMLImageElement.longDesc - Web APIs
syntax descurl = htmlimageelement.longdesc; htmlimageelement.longdesc = descurl; value a
domstring which may be either an empty string (indicating that no long description is available) or the url of a file containing a long form description of the image's contents.
HTMLImageElement.lowSrc - Web APIs
syntax htmlimageelement.lowsrc = imageurl; imageurl = htmlimageelement.lowsrc; value a
domstring specifying the url of a version of the image specified by src which has been modified in some fashion so that it loads significantly more quickly than the primary image.
HTMLImageElement.name - Web APIs
syntax htmlimageelement.name = namestring; namestring = htmlimageelement.name; value a
domstring providing a name by which the image can be referenced.
HTMLLIElement - Web APIs
htmllielement.type is a
domstring representing the type of the bullets, "disc", "square" or "circle".
HTMLLabelElement.htmlFor - Web APIs
syntax controlid = htmllabelelement.htmlfor htmllabelelement.htmlfor = newid value a
domstring which contains the id string of the element which is associated with the control.
HTMLLinkElement.referrerPolicy - Web APIs
syntax
domstring htmllinkelement.referrerpolicy example var links = document.getelementsbytagname("link"); links[0].referrerpolicy; // "no-referrer" specifications specification status comment referrer policythe definition of 'referrerpolicy attribute' in that specification.
HTMLLinkElement.rel - Web APIs
it is a
domstring containing a space-separated list of link types indicating the relationship between the resource represented by the <link> element and the current document.
HTMLMapElement - Web APIs
htmlmapelement.name is a
domstring representing the <map> element for referencing it other context.
HTMLMediaElement.currentSrc - Web APIs
syntax var mediaurl = audioobject.currentsrc; value a
domstring object containing the absolute url of the chosen media source; this may be an empty string if networkstate is empty; otherwise, it will be one of the resources listed by the htmlsourceelement contained within the media element, or the value or src if no <source> element is provided.
HTMLOListElement - Web APIs
htmlolistelement.type is a
domstring value reflecting the type and defining the kind of marker to be used to display.
HTMLParagraphElement - Web APIs
htmlparagraphelement.align a
domstring representing an enumerated property indicating alignment of the element's contents with respect to the surrounding context.
HTMLQuoteElement - Web APIs
htmlquoteelement.cite is a
domstring reflecting the cite html attribute, containing a url for the source of the quotation.
HTMLScriptElement.referrerPolicy - Web APIs
syntax refstr = scriptelem.referrerpolicy; scriptelem.referrerpolicy = refstr; value a
domstring; one of the following: no-referrer the referer header will be omitted entirely.
HTMLTableCaptionElement - Web APIs
htmltablecaptionelement.align is a
domstring which represents an enumerated attribute indicating alignment of the caption with respect to the table.
HTMLTableElement.align - Web APIs
syntax htmltableelement.align = alignment; var alignment = htmltableelement.align; parameters alignment
domstring with one of the following values: left center right example // set the alignmnet of a table var t = document.getelementbyid('tablea'); t.align = 'center'; specification w3c dom 2 html specification htmltableelement .align.
HTMLTableElement.cellSpacing - Web APIs
syntax htmltableelement.cellspacing = spacing; var spacing = htmltableelement.cellspacing; value a
domstring which is either a number of pixels (such as "10") or a percentage value (like "10%").
HTMLTimeElement.dateTime - Web APIs
the htmltimeelement.datetime property is a
domstring that reflects the datetime html attribute, containing a machine-readable form of the element's date and time value.
HTMLTimeElement - Web APIs
htmltimeelement.datetime is a
domstring that reflects the datetime html attribute, containing a machine-readable form of the element's date and time value.
HTMLUListElement - Web APIs
htmlulistelement.type is a
domstring value reflecting the type and defining the kind of marker to be used to display.
The HTML DOM API - Web APIs
domstringlist
domstringmap errorevent htmlallcollection mimetype mimetypearray promiserejectionevent interfaces belonging to other apis several interfaces are technically defined in the html specification while actually being part of other apis.
Drag Operations - Web APIs
the drag data's types property returns a list of mime-type like
domstrings, such as text/plain or image/jpeg.
Recommended Drag Types - Web APIs
updates to datatransfer.types the latest spec dictates that datatransfer.types should return a frozen array of
domstrings rather than a
domstringlist (this is supported in firefox 52 and above).
IDBCursor.direction - Web APIs
the direction read-only property of the idbcursor interface is a
domstring that returns the direction of traversal of the cursor (set using idbobjectstore.opencursor for example).
IDBCursor.source - Web APIs
within each iteration we log the source of the cursor, which will log our idbobjectstore object to the console, something like this: idbobjectstore {autoincrement: false, transaction: idbtransaction, indexnames:
domstringlist, keypath: "albumtitle", name: "rushalbumlist"…} the cursor does not require us to select the data based on a key; we can just grab all of it.
IDBIndex.name - Web APIs
syntax var indexname = idbindex.name; idbindex.name = indexname; value a
domstring specifying a name for the index.
IDBIndex.objectStore - Web APIs
the current object store is logged to the console: it should be returned something like this: idbobjectstore { name: "contactslist", keypath: "id", indexnames:
domstringlist[7], transaction: idbtransaction, autoincrement: false } finally, we iterate through each record, and insert the data into an html table.
IDBObjectStore.name - Web APIs
syntax idbobjectstore.name = mynewname; var myobjectstorename = idbobjectstore.name; value a
domstring containing the object store's name.
IDBTransaction - Web APIs
idbtransaction.objectstorenames read only returns a
domstringlist of the names of idbobjectstore objects associated with the transaction.
InputEvent() - Web APIs
syntax event = new inputevent(typearg, inputeventinit); values typearg is a
domstring representing the name of the event.
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.
Location - Web APIs
, function(e) { e.preventdefault(); e.stoppropagation(); window.location.hash = '#' + $(this).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.
MediaError - Web APIs
mediaerror.message a
domstring object containing a human-readable string which provides specific diagnostic information to help the reader understand the error condition which occurred; specifically, it isn't simply a summary of what the error code means, but actual diagnostic information to help in understanding what exactly went wrong.
MediaKeyMessageEvent() - Web APIs
syntax var mediakeymessageevent = new mediakeymessageevent(typearg, options) parameters typearg a
domstring containing one of may be one of license-request, license-renewal, license-renewal, or individualization-request.
keySystem - Web APIs
the mediakeysystemaccess.keysystem read-only property returns a
domstring identifying the key system being used.
MediaList - Web APIs
properties medialist.mediatext a stringifier that returns a
domstring representing the medialist as text, and also allows you to set a new medialist.
MediaRecorder.mimeType - Web APIs
syntax var mimetype = mediarecorder.mimetype value the mime media type which describes the format of the recorded media, as a
domstring.
MediaSession.playbackState - Web APIs
syntax let playbackstate = mediasession.playbackstate; mediasession.playbackstate = playbackstate; value a
domstring indicating the current playback state of the media session.
MediaSessionActionDetails.action - Web APIs
syntax let mediasessionactiondetails = { action: actiontype }; let actiontype = mediasessionactiondetails.action; value a
domstring specifying which of the action types the callback is being invoked for: nexttrack advances playback to the next track.
MediaSource.addSourceBuffer() - Web APIs
syntax var sourcebuffer = mediasource.addsourcebuffer(mimetype); parameters mimetype a
domstring specifying the mime type of the sourcebuffer to create and add to the mediasource.
MediaSource.endOfStream() - Web APIs
syntax mediasource.endofstream(endofstreamerror); parameters endofstreamerror optional a
domstring representing an error to throw when the end of the stream is reached.
MediaStream.id - Web APIs
the mediastream.id() read-only property is a
domstring containing 36 characters denoting a unique identifier (guid) for the object.
MediaStream - Web APIs
mediastream.id read only a
domstring containing 36 characters denoting a universally unique identifier (uuid) for the object.
MediaStreamEvent() - Web APIs
syntax var event = new mediastreamevent(type, mediastreameventinit); values type is a
domstring containing the name of the event, like addstream or removestream.
MediaStreamEvent - Web APIs
it takes two parameters, the first being a
domstring representing the type of the event; the second a dictionary containing the mediastream it refers to.
MediaStreamTrack.id - Web APIs
the mediastreamtrack.id read-only property returns a
domstring containing a unique identifier (guid) for the track, which is generated by the user agent.
MediaStreamTrack.label - Web APIs
the mediastreamtrack.label read-only property returns a
domstring containing a user agent-assigned label that identifies the track source, as in "internal microphone".
MediaTrackConstraints.logicalSurface - Web APIs
the mediatrackconstraints dictionary's logicalsurface property is a constrain
domstring describing the requested or mandatory constraints placed upon the value of the logicalsurface constrainable property.
MerchantValidationEvent - Web APIs
properties merchantvalidationevent.methodname secure context a
domstring providing a unique payment method identifier for the payment handler that's requiring validation.
Microdata DOM API - Web APIs
nameditem(
domstring name); // shadows inherited nameditem() readonly attribute
domstring[] names; }; typedef sequence<any> propertyvaluearray; interface propertynodelist : nodelist { propertyvaluearray getvalues(); }; collection .
MouseEvent.region - Web APIs
syntax var hitregion = instanceofmouseevent.region return value a
domstring representing the id of the hit region.
MouseScrollEvent - Web APIs
method overview void initmousescrollevent(in
domstring typearg, in boolean canbubblearg, in boolean cancelablearg, in nsidomabstractview viewarg, in long detailarg, in long screenxarg, in long screenyarg, in long clientxarg, in long clientyarg, in boolean ctrlkeyarg, in boolean altkeyarg, in boolean shiftkeyarg, in boolean metakeyarg, in unsigned short buttonarg, in nsidomeventtarget relatedtargetarg, in long axis); attributes attribute type descrip...
msPlayToPrimary - Web APIs
example // microsoft extensions interface htmlimageelement : htmlelement { attribute boolean msplaytodisabled; attribute boolean msplaytoprimary; attribute
domstring msplaytopreferredsourceuri; }; see also htmlmediaelement ...
MutationObserverInit.attributeFilter - Web APIs
syntax var options = { attributefilter: [ "list", "of", "attribute", "names" ] } value an array of
domstring objects, each specifying the name of one attribute whose value is to be monitored for changes.
NDEFWriter.write() - Web APIs
syntax var sessionpromise = ndefwriter.write(message, options); parameters message the message to be written, either
domstring or buffersource or ndefmessageinit.
Navigator.msLaunchUri() - Web APIs
syntax navigator.mslaunchuri(uri, successcallback, nohandlercallback); parameters uri a
domstring specifying the url containing including the protocol of the document or resource to be displayed.
Navigator.oscpu - Web APIs
syntax oscpuinfo = navigator.oscpu value a
domstring providing a string which identifies the operating system on which the browser is running.
NavigatorID.platform - Web APIs
syntax platform = navigator.platform value a
domstring identifying the platform on which the browser is running, or an empty string if the browser declines to (or is unable to) identify the platform.
NavigatorID.userAgent - Web APIs
syntax var ua = navigator.useragent; value a
domstring specifying the complete user agent string the browser provides both in http headers and in response to this and other related methods on the navigator object.
Node.baseURI - Web APIs
syntax var nodebaseuri = node.baseuri; value a
domstring representing the base url of the specified node.
Node.lookupPrefix() - Web APIs
the node.lookupprefix() method returns a
domstring containing the prefix for a given namespace uri, if present, and null if not.
OffscreenCanvas.convertToBlob() - Web APIs
syntax promise<blob> offscreencanvas.converttoblob(options); parameters optionsoptional you can specify several options when converting your offscreencanvas object into a blob object, for example: const blob = offscreencanvas.converttoblob({ type: "image/jpeg", quality: 0.95 }); options: type: a
domstring indicating the image format.
OffscreenCanvas.convertToBlob() - Web APIs
syntax promise<blob> offscreencanvas.converttoblob(options); parameters optionsoptional you can specify several options when converting your offscreencanvas object into a blob object, for example: const blob = offscreencanvas.converttoblob({ type: "image/jpeg", quality: 0.95 }); options: type: a
domstring indicating the image format.
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.
OffscreenCanvas.convertToBlob() - Web APIs
syntax promise<blob> offscreencanvas.converttoblob(options); parameters options optional you can specify several options when converting your offscreencanvas object into a blob object, for example: const blob = offscreencanvas.converttoblob({ type: "image/jpeg", quality: 0.95 }); options: type: a
domstring indicating the image format.
ParentNode.querySelectorAll() - Web APIs
note: this method is implemented as element.queryselectorall(), document.queryselectorall(), and documentfragment.queryselectorall() syntax elementlist = parentnode.queryselectorall(selectors); parameters selectors a
domstring containing one or more selectors to match against.
PayerErrors.email - Web APIs
syntax payeremail = payererrors.email; value if validation of the payer's email address (paymentresponse.payeremail) found problems, this property should be set to a
domstring that explains the validation problem and how to correct it.
PayerErrors.name - Web APIs
syntax payername = payererrors.name; value if this property is present in the payererrors object, the payer's name couldn't be successfully validated, and the name property's value is a
domstring explaining the error.
PayerErrors.phone - Web APIs
syntax payerphone = payererrors.phone; value if this property is present in the payererrors object, the payer's phone number couldn't be successfully validated, and the phone property's value is a
domstring explaining the error.
PaymentAddress.city - Web APIs
syntax var paymentcity = paymentaddress.city; value a
domstring indicating the city or town portion of the address described by the paymentaddress object.
PaymentAddress.country - Web APIs
syntax var paymentcountry = paymentaddress.country; value a
domstring which contains the iso3166-1 alpha-2 code identifying the country in which the address is located, or an empty string if no country is available, which frequently can be assumed to mean "same country as the site owner." usage notes if the payment handler validates the address and determines that the value of country is invalid, a call to paymentrequestupdateevent.updatewith() will be made with a details object containing a shippingaddresserrors field.
PaymentAddress.languageCode - Web APIs
syntax var paymentlanguagecode = paymentaddress.languagecode; value a
domstring providing the bcp-47 format language code indicating the language the address was written in, such as "en-us", "pt-br", or "ja-jp".
PaymentAddress.organization - Web APIs
syntax var paymentorganization = paymentaddress.organization; value a
domstring whose value is the name of the organization or company located at the address described by the paymentaddress object.
PaymentAddress.phone - Web APIs
syntax var paymentphone = paymentaddress.phone; value a
domstring containing the telephone number for the recipient of the shipment or of the responsible party for payment.
PaymentAddress.recipient - Web APIs
syntax var paymentrecipient = paymentaddress.recipient; value a
domstring giving the name of the person receiving or paying for the purchase, or the name of a contact person in other contexts.
PaymentAddress.region - Web APIs
syntax var paymentregion = paymentaddress.region; value a
domstring specifying the top-level administrative subdivision within the country in which the address is located.
PaymentCurrencyAmount.currency - Web APIs
syntax currency = paymentcurrencyamount.currency; value a
domstring specifying the canonical, three-character currency identification code defined by the iso 4217 standard.
PaymentCurrencyAmount.currencySystem - Web APIs
syntax currencysystem = paymentcurrencyamount.currencysystem; value a
domstring which specifies the currency standard used to specify the currency in which the payment value is represented.
PaymentMethodChangeEvent - Web APIs
methodname read only secure context a
domstring containing the payment method identifier, a string which uniquely identifies a particular payment method.
PaymentRequest.PaymentRequest() - Web APIs
starting with more recent browsers, this parameter is more generic than credit cards, it is a single
domstring, and the meaning of the data parameter changes with the supportedmethods.
PaymentRequest.prototype.id - Web APIs
const response = await request.show(); console.log(response.requestid === request.id); // and in serialized form too const json = response.tojson(); console.log(json.requestid,response.requestid, request.id); syntax var id = paymentrequest.id value a
domstring.
PaymentResponse.complete() - Web APIs
syntax completepromise = paymentrequest.complete(result); parameters result optional a
domstring indicating the state of the payment operation upon completion.
PerformanceEntry - Web APIs
performanceentry.entrytype read only a
domstring representing the type of performance metric such as, for example, "mark".
ProcessingInstruction - Web APIs
ion" target="_top"><rect x="436" y="1" width="210" height="50" fill="#f4f7f8" stroke="#d4dde4" stroke-width="2px" /><text x="541" y="30" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">processinginstruction</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} properties target (
domstring) read only a name identifying the application to which the instruction is targeted, specification specification status comment domthe definition of 'processinginstruction' in that specification.
ProgressEvent.initProgressEvent() - Web APIs
do not use it anymore, use the standard constructor, progressevent(), to create a synthetic progressevent syntax progress.initprogressevent(typearg, canbubblearg, cancelablearg, lengthcomputable, loaded, total); parameters typearg is a
domstring identifying the specific type of animation event that occurred.
PromiseRejectionEvent() - Web APIs
this can be anything from a numeric error code to an error
domstring to an object which contains detailed information describing the situation resulting in the promise being rejected.
PushManager.subscribe() - Web APIs
applicationserverkey: a base64-encoded
domstring or arraybuffer containing an ecdsa p-256 public key that the push server will use to authenticate your application server.
PushSubscription - Web APIs
pushsubscription.subscriptionid read only a
domstring containing the subscription id associated with the push subscription.
RTCConfiguration.bundlePolicy - Web APIs
syntax let rtcconfiguration = { bundlepolicy: policy }; rtcconfiguration.bundlepolicy = policy; value a
domstring identifying the sdp bundling policy to use for the rtp streams used by the rtcpeerconnection.
RTCConfiguration.iceTransportPolicy - Web APIs
syntax let rtcconfiguration = { icetransportpolicy: policy }; rtcconfiguration.icetransportpolicy = policy; let policy = rtcconfiguration.icetransportpolicy; value a
domstring which indicates what ice candidate policy the ice agent should use during the negotiation process, per the jsep standard.
RTCDTMFSender.insertDTMF() - Web APIs
syntax rtcdtmfsender.insertdtmf(tones[, duration[, intertonegap]]); parameters tones a
domstring containing the dtmf codes to be transmitted to the recipient.
RTCDTMFSender - Web APIs
x="151" y="1" width="130" height="50" fill="#f4f7f8" stroke="#d4dde4" stroke-width="2px" /><text x="216" y="30" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">rtcdtmfsender</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} properties rtcdtmfsender.tonebuffer read only a
domstring which contains the list of dtmf tones currently in the queue to be transmitted (tones which have already been played are no longer included in the string).
RTCDataChannelEvent() - Web APIs
syntax var event = new rtcdatachannelevent(type, rtcdatachanneleventinit); parameters type a
domstring which specifies the name of the event.
RTCError - Web APIs
properties in addition to the properties defined by the parent interface, domexception, rtcerror includes the following properties: errordetail read only a
domstring specifying the webrtc-specific error code identifying the type of error that occurred.
RTCErrorEvent.error - Web APIs
additional properties defined by rtcerror are: errordetail read only a
domstring specifying the webrtc-specific error code identifying the type of error that occurred.
RTCIceCandidate.component - Web APIs
syntax var component = rtcicecandidate.component; value a
domstring which is "rtp" for rtp (or rtp and rtcp multiplexed together) candidates or "rtcp" for rtcp candidates.
RTCIceCandidate.foundation - Web APIs
as such, the foundation can be used to correlate candidates that are present on multiple rtcicetransport objects syntax var foundation = rtcicecandidate.foundation; value a
domstring which uniquely identifies the candidate across all rtcicetransports on which it is available.
RTCIceCandidate.tcpType - Web APIs
syntax var tcptype = rtcicecandidate.tcptype; value a
domstring whose value is one of those defined by the rtcicetcpcandidatetype enumerated type.
RTCIceCandidate.type - Web APIs
syntax var type = rtcicecandidate.type; value a
domstring whose value is one of those defined by the rtcicecandidatetype enumerated type.
RTCIceCandidate.usernameFragment - Web APIs
syntax var ufrag = rtcicecandidate.usernamefragment; value a
domstring containing the username fragment (usually referred to in shorthand as "ufrag" or "ice-ufrag") that, along with the ice password ("ice-pwd"), uniquely identifies a single ongoing ice interaction, including for any communication with the stun server.
RTCIceCandidateInit.sdpMid - Web APIs
value a
domstring which uniquely identifies the source media component from which the candidate draws data, or null if no such association exists for the candidate.
RTCIceCandidateInit.usernameFragment - Web APIs
value a
domstring containing the username fragment (usually referred to in shorthand as "ufrag" or "ice-ufrag") that, along with the ice password ("ice-pwd"), uniquely identifies a single ongoing ice interaction, including for any communication with the stun server.
RTCIceCandidateStats.localCandidateId - Web APIs
syntax localcandidateid = rtcicecandidatepairstats.localcandidateid; value a
domstring giving a unique identifier for the local rtcicecandidate for the connection described by this rtcicecandidatepairstats object.
RTCIceCandidatePairStats.remoteCandidateId - Web APIs
syntax remotecandidateid = rtcicecandidatepairstats.remotecandidateid; value a
domstring uniquely identifies the remote ice candidate—that is, the candidate describing a configuration for the remote peer—which is represented by the remote end of these statistics.
RTCIceCandidatePairStats.transportId - Web APIs
syntax transportid = rtcicecandidatepairstats.transportid; value a
domstring which uniquely identifies the rtcicetransport object from which the transport-related data was obtained for the statistics contained in this rtcicecandidatepairstats object.
RTCIceCandidatePairStats - Web APIs
transportid optional a
domstring that uniquely identifies the rtcicetransport that was inspected to obtain the transport-related statistics (as found in rtctransportstats) used in generating this object.
RTCIceCandidateStats.candidateType - Web APIs
syntax candidatetype = rtcicecandidatestats.candidatetype; value a
domstring whose value is one of the strings found in the rtcicecandidatetype enumerated type:host the candidate is a host candidate, whose ip address as specified in the rtcicecandidate.ip property is in fact the true address of the remote peer.
RTCIceCandidateStats.transportId - Web APIs
syntax transportid = rtcicecandidatestats.transportid; value a
domstring whose value uniquely identifies the transport from which any transport-related information accumulated in the rtcicecandidatestats was taken.
RTCIceCandidateStats.url - Web APIs
syntax url = rtcicecandidatestats.url; value a
domstring specifying the url of the ice server from which the candidate described by the rtcicecandidatestats was obtained.
RTCIceCandidateType - Web APIs
the webrtc api's rtcicecandidatetype enumerated type provides a set of
domstring values representing the types of ice candidate that can arrive.
RTCIceComponent - Web APIs
the webrtc api's rtcicecomponent enumerated type contains
domstring values that each identify a specific ice component; these are "rtp" and "rtcp".
RTCIceParameters.password - Web APIs
syntax password = rtciceparameters.password; value a
domstring containing the password that corresponds to the transport's usernamefragment string specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtciceparameters.password' in that specification.
RTCIceParameters.usernameFragment - Web APIs
syntax ufrag = rtciceparameters.usernamefragment; value a
domstring containing the username fragment that, in tandem with the password, uniquely identify the ice session being used by the transport.
RTCIceProtocol - Web APIs
the webrtc api's rtciceprotocol enumerated type provides a set of
domstring values representing the names of the transport protocols ice candidates can use.
RTCIceServer.url - Web APIs
}; var serverurl = iceserver.url; iceserver.url = iceserverurl; the value of this property is a
domstring containing the full url of a server to use during ice negotiation.
RTCIceServer - Web APIs
urls this required property is either a single
domstring or an array of
domstrings, each specifying a url which can be used to connect to the server.
RTCIceTcpCandidateType - Web APIs
the webrtc api's rtcicetcpcandidatetype enumerated type provides a set of
domstring values representing the types of tcp candidates.
RTCIceTransport.component - Web APIs
syntax icecomponent = rtcicetransport.component; value a
domstring whose value comes from the enumerated type rtcicecomponent: "rtp" identifies an ice transport which is being used for the real-time transport protocol (rtp), or for rtp multiplexed with the rtp control protocol (rtcp).
RTCIceTransport.gatheringState - Web APIs
the read-only rtcicetransport property gatheringstate returns a
domstring from the enumerated type rtcicegathererstate that indicates what gathering state the ice agent is currently in: "new", "gathering", or "complete".
RTCIceTransport.role - Web APIs
syntax icerole = rtcicetransport.role; value a
domstring specifying whether the rtcicetransport represents the controlling agent or the controlled agent.
RTCIceTransport.state - Web APIs
syntax icestate = icetransport.state; value a
domstring, whose value is one of those found in the enumerated type rtcicetransportstate, which indicates the stage of ice gathering that's currently underway.
RTCIdentityErrorEvent.idp - Web APIs
the read-only property rtcidentityerrorevent.idp returns the
domstring describing the domain name of the identity provider (idp) generating the error response event.
RTCIdentityEvent - Web APIs
rtcidentityevent.assertion read only returns the
domstring containing a blob being the assertion generated.
RTCInboundRtpStreamStats.receiverId - Web APIs
syntax var receiverstatsid = rtcinboundrtpstreamstats.receiverid; value a
domstring which contains the id of the rtcaudioreceiverstats or rtcvideoreceiverstats object which provides information about the rtcrtpreceiver which is receiving the streamed media.
RTCInboundRtpStreamStats.remoteId - Web APIs
syntax var remotestatsid = rtcinboundrtpstreamstats.remoteid; value a
domstring containing the id of the rtcremoteoutboundrtpstreamstats object that represents the remote peer's rtcrtpsender for the synchronization source represented by this stats object.
RTCInboundRtpStreamStats.trackId - Web APIs
syntax var trackstatsid = rtcinboundrtpstreamstats.trackid; value a
domstring containing the id of the rtcreceiveraudiotrackattachmentstats or rtcreceivervideotrackattachmentstats object representing the track which is receiving the media from this rtp session.
RTCOutboundRtpStreamStats.qualityLimitationReason - Web APIs
syntax var qualitylimitationreason = rtcoutboundrtpstreamstats.qualitylimitationreason; value a map whose keys are
domstrings whose values come from the rtcqualitylimitationreason enumerated type, and whose values are the duration of the media, in seconds, whose quality was reduced for that reason.
RTCOutboundRtpStreamStats.remoteId - Web APIs
syntax var remotestatsid = rtcoutboundrtpstreamstats.remoteid; value a
domstring containing the id of the rtcremoteinboundrtpstreamstats object that represents the remote peer's rtcrtpreceiver for the synchronization source represented by this stats object.
RTCOutboundRtpStreamStats.trackId - Web APIs
syntax var trackstatsid = rtcoutboundrtpstreamstats.trackid; value a
domstring containing the id of the rtcsenderaudiotrackattachmentstats or rtcsendervideotrackattachmentstats object representing the track which is the source of the media being sent on this stream.
RTCPeerConnection.addTransceiver() - Web APIs
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.
RTCPeerConnection.peerIdentity - Web APIs
the read-only rtcpeerconnection property peeridentity returns a javascript promise that resolves to an rtcidentityassertion which contains a
domstring identifying the remote peer.
RTCPeerConnection - Web APIs
if it has not yet been set, this is null.peeridentity read only the read-only rtcpeerconnection property peeridentity returns a javascript promise that resolves to an rtcidentityassertion which contains a
domstring identifying the remote peer.pendinglocaldescription read only the read-only property rtcpeerconnection.pendinglocaldescription returns an rtcsessiondescription object describing a pending configuration change for the local end of the connection.
RTCPeerConnectionIceErrorEvent.address - Web APIs
syntax let address = rtcpeerconnectioniceerrorevent.address; value a
domstring which specifies the local ip address of the network connection to the ice server with which negotiations were occurring when the error occurred.
RTCPeerConnectionIceEvent - Web APIs
it takes two parameters, the first being a
domstring representing the type of the event; the second a dictionary containing the rtcicecandidate it refers to.
RTCRemoteOutboundRtpStreamStats.localId - Web APIs
syntax let localid = rtcremoteoutboundrtpstreamstats.localid; value a
domstring which can be compared to the value of an rtcinboundrtpstreamstats object's remoteid property to see if the two represent statistics for each of the two sides of the same set of data received by the local peer.
RTCRtpCapabilities - Web APIs
each object contains a single
domstring, uri, specifying the uri of the header extension, as described in rfc 5285.
RTCRtpStreamStats.codecId - Web APIs
syntax var codecid = rtcrtpstreamstats.codecid; value a
domstring which uniquely identifies the object from which the contents of the stream's rtccodecstats are derived.
RTCRtpStreamStats.kind - Web APIs
syntax mediakind = rtcrtpstreamstats.kind; value a
domstring whose value is "audio" if the track whose statistics are given by the rtcrtpstreamstats object contains audio, or "video" if the track contains video media.
RTCRtpStreamStats.trackId - Web APIs
syntax var trackid = rtcrtpstreamstats.trackid; value a
domstring which uniquely identifies the rtcmediastreamtrackstats object that provides statistics for the track for which statistics are being collected by this rtcstatsreport.
RTCRtpStreamStats.transportId - Web APIs
syntax var transportid = rtcrtpstreamstats.transportid; value a
domstring uniquely identifying the source of the statistics contained the rtctransportstats properties in the rtcstatsreport.
RTCRtpTransceiver.currentDirection - Web APIs
syntax var direction = rtcrtptransceiver.currentdirection value a
domstring whose value is one of the strings which are a member of the rtcrtptransceiverdirection enumerated type.
RTCRtpTransceiver.direction - Web APIs
syntax var direction = rtcrtptransceiver.direction value a
domstring whose value is one of the strings which are a member of the rtcrtptransceiverdirection enumerated type, indicating the transceiver's preferred direction.
RTCRtpTransceiver.mid - Web APIs
syntax var mediaid = rtcrtptransceiver.mid; value a
domstring which uniquely identifies the pairing of source and destination of the transceiver's stream.
RTCStats.id - Web APIs
syntax var id = rtcstats.id; value a
domstring which uniquely identifies the object for which this rtcstats-based object provides statistics.
RTCStats.type - Web APIs
syntax var type = rtcstats.type; value a
domstring which specifies which type of statistic is represented by the object.
ReadableStream.cancel() - Web APIs
syntax var promise = readablestream.cancel(reason); parameters reason a
domstring providing a human-readable reason for the cancellation.
ReadableStream.getReader() - Web APIs
syntax var reader = readablestream.getreader({mode}); parameters {mode} optional an object containing a property mode, which takes as its value a
domstring specifying the type of reader to create.
format - Web APIs
the svgaltglyphelement.format property is a
domstring that defines the format of the given font.
SVGAngle - Web APIs
valueasstring the value as a
domstring value, in the units expressed by unittype.
SVGElement - Web APIs
olas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">svgelement</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} properties also inherits properties from: documentandelementeventhandlers, element, elementcssinlinestyle, globaleventhandlers, htmlorforeignelement, svgelementinstance svgelement.datasetread only a
domstringmap object which provides a list of key/value pairs of named data attributes which correspond to custom data attributes attached to the element.
Screen.lockOrientation() - Web APIs
examples usage with a
domstring argument screen.lockorientationuniversal = screen.lockorientation || screen.mozlockorientation || screen.mslockorientation; if (screen.lockorientationuniversal("landscape-primary")) { // orientation was locked } else { // orientation lock failed } usage with an array argument screen.lockorientationuniversal = screen.lockorientation || screen.mozlockorientation || screen.mslockorientation...
Screen - Web APIs
void seteventhandler(
domstring type, eventhandler handler) eventhandler geteventhandler(
domstring type) example if (screen.pixeldepth < 8) { // use low-color version of page } else { // use regular, colorful page } specification specification status comment css object model (cssom) view modulethe definition of 'screen' in that specification.
Selection - Web APIs
selection.typeread only returns a
domstring describing the type of the current selection.
SpeechRecognition.lang - Web APIs
syntax var mylang = myspeechrecognition.lang; myspeechrecognition.lang = 'en-us'; value a
domstring representing the bcp 47 language tag for the current speechrecognition.
SpeechRecognition.serviceURI - Web APIs
syntax var myserviceuri = myspeechrecognition.serviceuri; myspeechrecognition.serviceuri = 'path/to/my/service/'; value a
domstring representing the uri of the speech recognition service.
SpeechSynthesisUtterance.lang - Web APIs
syntax var mylang = speechsynthesisutteranceinstance.lang; speechsynthesisutteranceinstance.lang = 'en-us'; value a
domstring representing a bcp 47 language tag.
SpeechSynthesisUtterance.text - Web APIs
syntax var mytext = speechsynthesisutteranceinstance.text; speechsynthesisutteranceinstance.text = 'hello i am speaking'; value a
domstring representing the text to the synthesised.
SubmitEvent() - Web APIs
syntax let submitevent = new submitevent(type,eventinitdict); parameters type a
domstring indicating the event which occurred.
SubtleCrypto.digest() - Web APIs
syntax const digest = crypto.subtle.digest(algorithm, data); parameters algorithm is a
domstring defining the hash function to use.
SubtleCrypto.verify() - Web APIs
syntax const result = crypto.subtle.verify(algorithm, key, signature, data); parameters algorithm is a
domstring or object defining the algorithm to use, and for some algorithm choices, some extra parameters.
SyncManager.getTags() - Web APIs
}) returns a promise that resolves to an array of
domstrings containing developer-defined identifiers for syncmanager registrations.
Text() - Web APIs
the text() constructor returns a newly created text object with the optional
domstring given in parameter as its textual content.
Text - Web APIs
text.wholetext read only returns a
domstring containing the text of all text nodes logically adjacent to this node, concatenated in document order.
TextDecoder() - Web APIs
syntax decoder = new textdecoder(utflabel, options); parameters utflabeloptional is a
domstring, defaulting to "utf-8", containing the label of the encoder.
TextDecoder.prototype.decode() - Web APIs
the textdecoder.prototype.decode() method returns a
domstring containing the text, given in parameters, decoded with the specific method for that textdecoder object.
TextEncoder.encoding - Web APIs
the textencoder.encoding read-only property returns a
domstring containing the name of the encoding algorithm used by the specific encoder.
TextRange - Web APIs
textrange.querycommandvalue() returns the
domstring indicating the current value of the specified command.
TextTrack.mode - Web APIs
syntax var mode = texttrack.mode; texttrack.mode = "disabled" | "hidden" | "showing"; value a
domstring which indicates the track's current mode.
getTrackById() - Web APIs
syntax var thetrack = texttracklist.gettrackbyid(id); paramters id a
domstring indicating the id of the track to locate within the track list.
TimeEvent - Web APIs
methods inittimeevent(
domstring typearg, abstractview viewarg, long detailarg) the inittimeevent method is used to initialize the value of a timeevent created through the documentevent interface.
TouchEvent() - Web APIs
syntax event = new touchevent(typearg, toucheventinit); values typearg is a
domstring representing the name of the event.
TrackDefault.type - Web APIs
audio, video, or text track.) syntax var mytype = trackdefault.type; value a
domstring — one of audio, video or text.
UIEvent() - Web APIs
syntax event = new uievent(typearg [, uieventinit]) values typearg is a
domstring representing the name of the event.
URL.revokeObjectURL() - Web APIs
syntax url.revokeobjecturl(objecturl) parameters objecturl a
domstring representing a object url that was previously created by calling createobjecturl().
URL - Web APIs
static methods createobjecturl() returns a
domstring containing a unique blob url, that is a url with blob: as its scheme, followed by an opaque string uniquely identifying the object in the browser.
URLUtilsReadOnly.hash - Web APIs
the urlutilsreadonly.hash read-only property returns a
domstring containing a '#' followed by the fragment identifier of the url.
URLUtilsReadOnly.host - Web APIs
the urlutilsreadonly.host read-only property returns a
domstring containing the host, that is the hostname, a ':', and the port of the url.
URLUtilsReadOnly.origin - Web APIs
the urlutilsreadonly.origin read-only property is a
domstring containing the unicode serialization of the origin of the represented url, that is, for http and https, the scheme followed by '://', followed by the domain, followed by ':', followed by the port (the default port, 80 and 443 respectively, if explicitely specified).
USVString - Web APIs
usvstring is equivalent to
domstring except for not allowing unpaired surrogate codepoints.
VTTCue() - Web APIs
text a
domstring providing the text that will be shown during the time span indicated by starttime and endtime.
VideoTrack.id - Web APIs
syntax var trackid = videotrack.id; value a
domstring which identifies the track, suitable for use when calling gettrackbyid() on an videotracklist such as the one specified by a media element's videotracks property.
WebGLRenderingContext - Web APIs
working with extensions these methods manage webgl extensions: webglrenderingcontext.getsupportedextensions() returns an array of
domstring elements with all the supported webgl extensions.
WheelEvent() - Web APIs
syntax var wheelevent = new wheelevent(typearg, wheeleventinit); properties typearg is a
domstring representing the name of the event.
WorkerGlobalScope.importScripts() - Web APIs
syntax self.importscripts('foo.js'); self.importscripts('foo.js', 'bar.js', ...); parameters a comma-separated list of
domstring objects representing the scripts to be imported.
XMLHttpRequest.responseText - Web APIs
syntax var resulttext = xmlhttprequest.responsetext; value a
domstring which contains either the textual data received using the xmlhttprequest or null if the request failed or "" if the request has not yet been sent by calling send().
XPathEvaluator.evaluate() - Web APIs
syntax xpathresult xpathevaluator.evaluate(expression, contextnode, resolver, type, result); parameters expression a
domstring representing the xpath expression to be parsed and evaluated.
XRInputSource.handedness - Web APIs
syntax let hand = xrinputsource.handedness; value a
domstring indicating whether the input controller is held in one of the user's hands, and if it is, which hand.
XRInputSource.profiles - Web APIs
syntax let profilelist = xrinputsource.profiles; value an array of
domstring objects, each describing one configuration profile for the input device represented by the xrinputsource object.
XRInputSource.targetRayMode - Web APIs
syntax let raymode = xrinputsource.targetraymode; value a
domstring taken from the xrtargetraymode enumerated type, indicating which method to use when generating and presenting the target ray to the user.
XRInputSourceEvent() - Web APIs
syntax newinputsourceevent = new xrinputsourceevent(type, eventinitdict); parameters type a
domstring indicating which of the input source events the new object will represent.
XRInputSourcesChangeEvent() - Web APIs
syntax newinputsourceschangeevent = new xrinputsourceschangeevent(type, eventinitdict); parameters type a
domstring indicating the type of event which has occurred.
XRPermissionDescriptor.mode - Web APIs
syntax xrpermissiondescriptor = { mode: xrsessionmode, requiredfeatures: reqfeaturelist, optionalfeatures: optfeaturelist }; xrpermissiondescriptor.mode = xrsessionmode; xrmode = xrpermissiondescriptor.mode; value a
domstring whose value is one of the strings found in the xrsessionmode enumerated type: immersive-ar the session's output will be given exclusive access to the immersive device, but the rendered content will be blended with the real-world environment.
XRPermissionStatus.granted - Web APIs
syntax grantedfeatures = xrpermissionstatus.granted; value an array of
domstring objects, each identifying a single webxr feature which the app or site has been granted permission to use.
XRReferenceSpaceEvent() - Web APIs
syntax let refspaceevent = new xrreferencespaceevent(type, eventinitdict); parameters type a
domstring indicating the event type which has occurred.
XRSession.requestReferenceSpace() - Web APIs
syntax refspacepromise = xrsession.requestreferencespace(referencespacetype); parameters type a
domstring specifying the type of reference space for which an instance is to be returned.
XRSession.visibilityState - Web APIs
syntax visibilitystate = xrsession.visibilitystate; value a
domstring containing one of the values defined in the enumerated type xrvisibilitystate; this string indicates whether or not the xr content is visible to the user and if it is, whether or not it's currently the primary focus.
XRSession - Web APIs
visibilitystate read only a
domstring whose value is one of those found in the xrvisibilitystate enumerated type, indicating whether or not the session's imagery is visible to the user, and if so, if it's being visible but not currently the target for user events.
XRSessionEvent() - Web APIs
syntax newxrsessionevent = new xrsessionevent(type, eventinitdict); parameters type a
domstring indicating which of the events represented by objects of type xrsessionevent this particular object represents.
XRSystem: isSessionSupported() - Web APIs
syntax var issupportedpromise = xr.issessionsupported(xrsessionmode) parameters xrsessionmode a
domstring specifying the webxr session mode for which support is to be checked.
XRSystem: requestSession() - Web APIs
syntax var sessionpromise = xr.requestsession(sessionmode, sessioninit) parameters sessionmode a
domstring whose value is one of those included in the xrsessionmode enum.
XRView.eye - Web APIs
syntax let eye = xrview.eye; value a
domstring whose value is one of the strings enumerated by the xreye type: left the xrview represents the point-of-view of the viewer's left eye.
msCaching - Web APIs
syntax cachestate = object.mscaching values type:
domstring property value description auto disables caching for stream or ms-stream data.
msRegionOverflow - Web APIs
syntax string = object.msregionoverflow values type:
domstring overflow: the region element's content overflows the region's content box.
<input type="button"> - HTML: Hypertext Markup Language
value a
domstring used as the button's label events click supported common attributes type, and value idl attributes value methods none value an <input type="button"> elements' value attribute contains a
domstring that is used as the button's label.
<input type="color"> - HTML: Hypertext Markup Language
value a 7-character
domstring specifying a <color> in lower-case hexadecimal notation events change and input supported common attributes autocomplete and list idl attributes list and value methods select() value the value of an <input> element of type color is always a
domstring which contains a 7-character string specifying an rgb color in hexadecimal format.
<input type="email"> - HTML: Hypertext Markup Language
value a
domstring representing an e-mail address, or empty events change and input supported common attributes autocomplete, list, maxlength, minlength, multiple, name,pattern, placeholder, readonly, required, size, and type idl attributes list and value methods select() value the <input> element's value attribute contains a
domstring which is automatically v...
<input type="reset"> - HTML: Hypertext Markup Language
value a
domstring used as the button's label events click supported common attributes type and value idl attributes value methods none value an <input type="reset"> element's value attribute contains a
domstring that is used as the button's label.
<input type="submit"> - HTML: Hypertext Markup Language
<input type="submit" value="send request"> value a
domstring used as the button's label events click supported common attributes type and value idl attributes value methods none value an <input type="submit"> element's value attribute contains a
domstring which is displayed as the button's label.
data-* - HTML: Hypertext Markup Language
note that the htmlelement.dataset property is a
domstringmap, and the name of the custom data attribute data-test-value will be accessible via htmlelement.dataset.testvalue (or by htmlelement.dataset["testvalue"]) as any dash (u+002d) is replaced by the capitalization of the next letter, converting the name to camelcase.
CSP: trusted-types - HTTP
syntax content-security-policy: trusted-types; content-security-policy: trusted-types <policyname>; content-security-policy: trusted-types <policyname> <policyname> 'allow-duplicates'; <
domstring> any string can be a trusted type policy name.