Search completed in 1.25 seconds.
<sup>: The Superscript element - HTML: Hypertext Markup Language
the html
superscript element (<
sup>) specifies inline text which is to be displayed as
superscript for solely typographical reasons.
...
superscripts are usually rendered with a raised baseline using smaller text.
... usage notes the <
sup> element should only be used for typographical reasons—that is, to change the position of the text to comply with typographical conventions or standards, rather than solely for presentation or appearance purposes.
...And 10 more matches
MediaTrackSupportedConstraints.noiseSuppression - Web APIs
the mediatrack
supportedconstraints dictionary's noise
suppression property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the noise
suppression constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 5 more matches
Browser Detection and Cross Browser Support - Archive of obsolete content
unlike other browsers, gecko is truly cross platform and provides consistent behavior across all
supported operating systems.
... the easiest way to
support gecko is to create content which follows web standards.
... unfortunately, no other browser
supports web standards as completely as gecko.
...And 56 more matches
Supporting older browsers - Learn web development
however, there will be visitors to your site who use older browsers, or browsers which do not
support the methods you have used.
... prerequisites: html basics (study introduction to html), and an idea of how css works (study introduction to css and styling boxes.) objective: to understand how to provide
support for your layouts on older browsers that might not
support the features you want to use.
... what is the
support for the features you want to use?
...And 28 more matches
TypeScript support in Svelte - Learn web development
code along with us git clone the github repo (if you haven't already done it) with: git clone https://github.com/opensas/mdn-svelte-tutorial.git then to get to the current app state, run cd mdn-svelte-tutorial/07-typescript-
support or directly download the folder's content: npx degit opensas/mdn-svelte-tutorial/07-typescript-
support remember to run npm install && npm run dev to start your app in development mode.
... repl unfortunately, typescript
support is not yet available in the repl.
... typescript: optional static typing for javascript typescript is a
superset of javascript that provides features such as optional static typing, classes, interfaces, and generics.
...And 23 more matches
@supports - CSS: Cascading Style Sheets
the @
supports css at-rule lets you specify declarations that depend on a browser's
support for one or more specific css features.
... @
supports (display: grid) { div { display: grid; } } @
supports not (display: grid) { div { float: right; } } in javascript, @
supports can be accessed via the css object model interface css
supportsrule.
... syntax the @
supports at-rule associates a block of statements with a
supports condition.
...And 23 more matches
MediaTrackSupportedConstraints - Web APIs
the mediatrack
supportedconstraints dictionary establishes the list of constrainable properties recognized by the user agent or browser in its implementation of the mediastreamtrack object.
... an object conforming to mediatrack
supportedconstraints is returned by mediadevices.get
supportedconstraints().
... because of the way interface definitions in webidl work, if a constraint is requested but not
supported, no error will occur.
...And 20 more matches
nsISupportsPrimitive
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface serves as a base interface for all of the nsi
supports* family of interfaces.
... inherits from: nsi
supports last changed in gecko 1.7 attributes attribute type description type unsigned short this attribute provides access to the type represented by the nsi
supportsprimitive instance.
... constants constant value description type_id 1 corresponding to nsi
supportsid.
...And 17 more matches
super - JavaScript
the
super keyword is used to access and call functions on an object's parent.
... the
super.prop and
super[expr] expressions are valid in any method definition in both classes and object literals.
... syntax
super([arguments]); // calls the parent constructor.
...And 16 more matches
AT APIs Support
but in the meantime it more up-to-date and contains more details than existed analogues for at-spi and msaa this documentation explains how makers of screen readers, voice dictation packages, onscreen keyboards, magnification software and other assitive technologies can
support gecko-based software.
... we provide for them the
support of these products on windows, linux/unix and os x platforms.
...gecko can render a variety of content, not just html and
supports key web standards such as cascading style sheets, javascript and the w3c dom.
...And 14 more matches
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.
... syntax
supportednetworks : [value [, ...
... value]] value an array containing one or more domstrings, which describe the card networks the retailer
supports.
...And 8 more matches
nsISupportsArray
xpcom/ds/nsi
supportsarray.idlscriptable please add a summary to this article.
... inherits from: nsicollection last changed in gecko 1.7 method overview boolean appendelements(in nsi
supportsarray aelements); violates the xpcom interface guidelines nsi
supportsarray clone(); void compact(); void deleteelementat(in unsigned long aindex); void deletelastelement(in nsi
supports aelement); nsi
supports elementat(in unsigned long aindex); violates the xpcom interface guidelines boolean enumeratebackwards(in nsi
supportsarrayenumfunc afunc, in voidptr adata); violates the xpcom interface guidelines boolean enumerateforwards(in nsi
supportsarrayenumfunc afunc, in voidptr adata); violates the xpcom interface guidelines boolean equals([const] in nsi
supportsarray other); violates the xpcom interface guidelines long getindexof(in nsi
supports apossibleelement); ...
...long getindexofstartingat(in nsi
supports apossibleelement, in unsigned long astartindex); long getlastindexof(in nsi
supports apossibleelement); long indexof([const] in nsi
supports apossibleelement); violates the xpcom interface guidelines long indexofstartingat([const] in nsi
supports apossibleelement, in unsigned long astartindex); violates the xpcom interface guidelines boolean insertelementat(in nsi
supports aelement, in unsigned long aindex); violates the xpcom interface guidelines boolean insertelementsat(in nsi
supportsarray aother, in unsigned long aindex); violates the xpcom interface guidelines long lastindexof([const] in nsi
supports apossibleelement); violates the xpcom interface guidelines boolean moveelement(in long afrom, in long ato); violates the xpcom interface guid...
...And 5 more matches
MediaTrackSupportedConstraints.autoGainControl - Web APIs
the mediatrack
supportedconstraints dictionary's autogaincontrol property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the autogaincontrol constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 5 more matches
Supporting search suggestions in search plugins - Archive of obsolete content
firefox
supports search suggestions in opensearch plugins; as the user types in the search bar, firefox queries the url specified by the search plugin to fetch live search suggestions.
... implementing suggestion
support in the search plugin to
support search suggestions, a search plugin needs to define an extra <url> element with its type attribute set to "application/x-suggestions+json".
... (this means that a suggestion-
supporting engine plugin will have two <url> elements, the other one being the main text/html search url.) for example, the yahoo search plugin has this <url> entry: <url type="application/x-suggestions+json" template="http://ff.search.yahoo.com/gossip?output=fxjson&command={searchterms}"/> if the user types "fir" into the search bar, then pauses, firefox inserts "fir" in place of {searchterms} and queries that url: <url type="application/x-suggestions+json" template="http://ff.search.yahoo.com/gossip?output=fxjson&command=fir"/> the results are used to construct the suggestion list box.
...And 4 more matches
nsSupportsWeakReference
« xpcom api reference summary inherit from this c++ class to add canonical
support for nsi
supportsweakreference.
...#include "nsweakreference.h" class ns
supportsweakreference { ...
... }; remarks in addition to inheriting from this class, you will need to ensure that your nsi
supports::queryinterface implementation exposes nsi
supportsweakreference as a
supported interface.
...And 4 more matches
nsIMacDockSupport
widget/nsimacdock
support.idlscriptable provides access to the dock on mac os x.
... 1.0 66 introduced gecko 2.0 inherits from: nsimacdock
support last changed in gecko 11.0 (firefox 11.0 / thunderbird 11.0 / seamonkey 2.8) implemented by: @mozilla.org/cookie-monster;1.
... to create an instance, use: var dock = components.classes["@mozilla.org/widget/macdock
support;1"] .getservice(components.interfaces.nsimacdock
support); see working with the mac os x dock for details and examples.
...And 4 more matches
nsISupports proxies
about xpcom proxies a proxy, in this context, is a stub object which enables a method of any class which is derived from nsi
supports and has a typelib to be called on any in-process thread.
... the main reason for nsi
supports proxies is that javascript and ui are on a single thread.
...herein lays the utility of nsi
supports proxies.
...And 4 more matches
XRSystem: isSessionSupported() - Web APIs
the xrsystem method issession
supported() returns a promise which resolves to true if the specified webxr session mode is
supported by the user's webxr device.
... syntax var is
supportedpromise = xr.issession
supported(xrsessionmode) parameters xrsessionmode a domstring specifying the webxr session mode for which
support is to be checked.
... return value a promise that resolves to true if the specified session mode is
supported; otherwise the promise resolves to false.
...And 4 more matches
Debug.msUpdateAsyncCallbackRelation - Archive of obsolete content
the debug.m
supdateasynccallbackrelation function updates the relationship status between a synchronous work item and the associated asynchronous operation.
... syntax debug.m
supdateasynccallbackrelation(relatedasyncoperationid, relationtype) parameters relatedasyncoperationid the id associated with the asynchronous operation.
... requirements
supported in the internet explorer 11 standards document mode.
...And 3 more matches
CSS.supports() - Web APIs
the css.
supports() method returns a boolean value indicating if the browser
supports a given css feature, or not.
... syntax css.
supports(propertyname, value); css.
supports(
supportcondition); parameters there are two distinct sets of parameters.
... 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.
...And 3 more matches
MediaDevices.getSupportedConstraints() - Web APIs
the get
supportedconstraints() method of the mediadevices interface returns an object based on the mediatrack
supportedconstraints dictionary, whose member fields each specify one of the constrainable properties the user agent understands.
... syntax var
supportedconstraints = navigator.mediadevices.get
supportedconstraints(); parameters none.
... return value a new object based on the mediatrack
supportedconstraints dictionary listing the constraints
supported by the user agent.
...And 3 more matches
MediaRecorder.isTypeSupported - Web APIs
the mediarecorder.istype
supported() static method returns a boolean which is true if the mime type specified is one the user agent should be able to successfully record.
... syntax var canrecord = mediarecorder.istype
supported(mimetype) parameters mimetype the mime media type to check.
...recording may still fail if there are insufficient resources to
support the recording and encoding process.
...And 3 more matches
MediaTrackConstraints.noiseSuppression - Web APIs
the mediatrackconstraints dictionary's noise
suppression property is a constrainboolean describing the requested or mandatory constraints placed upon the value of the noise
suppression constrainable property.
... if needed, you can determine whether or not this constraint is
supported by checking the value of mediatrack
supportedconstraints.noise
suppression as returned by a call to mediadevices.get
supportedconstraints().
... noise
suppression is typically provided by microphones, although it can be provided by other input sources as well.
...And 3 more matches
MediaTrackSettings.noiseSuppression - Web APIs
the mediatracksettings dictionary's noise
suppression property is a boolean value whose value indicates whether or not noise
suppression technology is enabled on an audio track.
... this lets you determine what value was selected to comply with your specified constraints for this property's value as described in the mediatrackconstraints.noise
suppression property you provided when calling either getusermedia() or mediastreamtrack.applyconstraints().
... noise
suppression automatically filters the audio to remove background noise, hum caused by equipment, and the like from the sound before delivering it to your code.
...And 3 more matches
MediaTrackSupportedConstraints.aspectRatio - Web APIs
the mediatrack
supportedconstraints dictionary's aspectratio property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the aspectratio constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
MediaTrackSupportedConstraints.channelCount - Web APIs
the mediatrack
supportedconstraints dictionary's channelcount property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the channelcount constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
MediaTrackSupportedConstraints.deviceId - Web APIs
the mediatrack
supportedconstraints dictionary's deviceid property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the deviceid constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
MediaTrackSupportedConstraints.echoCancellation - Web APIs
the mediatrack
supportedconstraints dictionary's echocancellation property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the echocancellation constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
MediaTrackSupportedConstraints.facingMode - Web APIs
the mediatrack
supportedconstraints dictionary's facingmode property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the facingmode constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
MediaTrackSupportedConstraints.frameRate - Web APIs
the mediatrack
supportedconstraints dictionary's framerate property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the framerate constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... syntax framerateconstraint
supported =
supportedconstraintsdictionary.framerate; value this property is present in the dictionary if the user agent
supports the framerate constraint.
...And 3 more matches
MediaTrackSupportedConstraints.groupId - Web APIs
the mediatrack
supportedconstraints dictionary's groupid property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the groupid constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
MediaTrackSupportedConstraints.height - Web APIs
the mediatrack
supportedconstraints dictionary's height property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the height constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
MediaTrackSupportedConstraints.latency - Web APIs
the mediatrack
supportedconstraints dictionary's latency property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the latency constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
MediaTrackSupportedConstraints.sampleRate - Web APIs
the mediatrack
supportedconstraints dictionary's samplerate property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the samplerate constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
MediaTrackSupportedConstraints.sampleSize - Web APIs
the mediatrack
supportedconstraints dictionary's samplesize property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the samplesize constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
MediaTrackSupportedConstraints.volume - Web APIs
the mediatrack
supportedconstraints dictionary's volume property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the volume constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
MediaTrackSupportedConstraints.width - Web APIs
the mediatrack
supportedconstraints dictionary's width property is a read-only boolean value which is present (and set to true) in the object returned by mediadevices.get
supportedconstraints() if and only if the user agent
supports the width constraint.
... if the constraint isn't
supported, it's not included in the list, so this value will never be false.
... you can access the
supported constraints dictionary by calling navigator.mediadevices.get
supportedconstraints().
...And 3 more matches
Node.isSupported() - Web APIs
the node.is
supported()returns a boolean flag containing the result of a test whether the dom implementation implements a specific feature and this feature is
supported by the specific node.
... syntax boolvalue = element.is
supported(feature, version) parameters feature is a domstring containing the name of the feature to test.
...if the version is not specified,
supporting any version of the feature will cause the method to return true.
...And 3 more matches
PushManager.supportedContentEncodings - Web APIs
the
supportedcontentencodings read-only property of the pushmanager interface returns an array of
supported content codings that can be used to encrypt the payload of a push message.
... syntax var encodings[] = pushmanager.
supportedcontentencodings value an array of strings.
... specifications specification status comment push apithe definition of '
supportedcontentencodings' in that specification.
...And 3 more matches
Detecting CSS animation support - CSS: Cascading Style Sheets
testing for css animation
support this code will check to see if css animation
support is available: var animation = false, animationstring = 'animation', keyframeprefix = '', domprefixes = 'webkit moz o ms khtml'.split(' '), pfx = '', elem = document.createelement('div'); if( elem.style.animationname !== undefined ) { animation = true; } if( animation === false ) { for( var i = 0; i < domprefixes.length; i++ ) { ...
...we assume that animation is not
supported by setting animation to false.
...this means the browser
supports css animation without any prefix, which, to date, none of them do.
...And 3 more matches
Intl.Collator.supportedLocalesOf() - JavaScript
the intl.collator.
supportedlocalesof() method returns an array containing those of the provided locales that are
supported in collation without having to fall back to the runtime's default locale.
... syntax intl.collator.
supportedlocalesof(locales[, options]) parameters locales a string with a bcp 47 language tag, or an array of such strings.
... return value an array of strings representing a subset of the given locale tags that are
supported in collation without having to fall back to the runtime's default locale.
...And 3 more matches
Intl.DateTimeFormat.supportedLocalesOf() - JavaScript
the intl.datetimeformat.
supportedlocalesof() method returns an array containing those of the provided locales that are
supported in date and time formatting without having to fall back to the runtime's default locale.
... syntax intl.datetimeformat.
supportedlocalesof(locales[, options]) parameters locales a string with a bcp 47 language tag, or an array of such strings.
... return value an array of strings representing a subset of the given locale tags that are
supported in date and time formatting without having to fall back to the runtime's default locale.
...And 3 more matches
Intl.DisplayNames.supportedLocalesOf() - JavaScript
the intl.displaynames.
supportedlocalesof() method returns an array containing those of the provided locales that are
supported in date and time formatting without having to fall back to the runtime's default locale.
... syntax intl.displaynames.
supportedlocalesof(locales[, options]) parameters locales a string with a bcp 47 language tag, or an array of such strings.
... return value an array of strings representing a subset of the given locale tags that are
supported in date and time formatting without having to fall back to the runtime's default locale.
...And 3 more matches
Intl.ListFormat.supportedLocalesOf() - JavaScript
the intl.listformat.
supportedlocalesof() method returns an array containing those of the provided locales that are
supported in date and time formatting without having to fall back to the runtime's default locale.
... syntax intl.listformat.
supportedlocalesof(locales[, options]) parameters locales a string with a bcp 47 language tag, or an array of such strings.
... return value an array of strings representing a subset of the given locale tags that are
supported in date and time formatting without having to fall back to the runtime's default locale.
...And 3 more matches
Intl.NumberFormat.supportedLocalesOf() - JavaScript
the intl.numberformat.
supportedlocalesof() method returns an array containing those of the provided locales that are
supported in number formatting without having to fall back to the runtime's default locale.
... syntax intl.numberformat.
supportedlocalesof(locales[, options]) parameters locales a string with a bcp 47 language tag, or an array of such strings.
... return value an array of strings representing a subset of the given locale tags that are
supported in number formatting without having to fall back to the runtime's default locale.
...And 3 more matches
Intl.PluralRules.supportedLocalesOf() - JavaScript
the intl.pluralrules.
supportedlocalesof() method returns an array containing those of the provided locales that are
supported in plural formatting without having to fall back to the runtime's default locale.
... syntax intl.pluralrules.
supportedlocalesof(locales[, options]) parameters locales a string with a bcp 47 language tag, or an array of such strings.
... return value an array of strings representing a subset of the given locale tags that are
supported in plural formatting without having to fall back to the runtime's default locale.
...And 3 more matches
Intl.RelativeTimeFormat.supportedLocalesOf() - JavaScript
the intl.relativetimeformat.
supportedlocalesof() method returns an array containing those of the provided locales that are
supported in date and time formatting without having to fall back to the runtime's default locale.
... syntax intl.relativetimeformat.
supportedlocalesof(locales[, options]) parameters locales a string with a bcp 47 language tag, or an array of such strings.
... return value an array of strings representing a subset of the given locale tags that are
supported in date and time formatting without having to fall back to the runtime's default locale.
...And 3 more matches
Extensions support in SeaMonkey 2 - Archive of obsolete content
starting with seamonkey 2 alpha 1 seamonkey
supports toolkit/-style extensions.
... the basics to
support seamonkey 2 as a target application, you need to add it to the list of target applications in the extension's install.rdf file.
... the code for that will look something like this: <em:targetapplication> <!-- seamonkey --> <description> <em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id> <em:minversion>2.0</em:minversion> <em:maxversion>2.*</em:maxversion> </description> </em:targetapplication> the install.js is not
supported any more and should be removed.
...And 2 more matches
Supporting private browsing mode - Archive of obsolete content
this interface is deprecated since firefox 20, and will probably be completely removed in firefox 21.see
supporting per-window private browsing for details.
... detecting whether private browsing mode is permanent requires gecko 2.0(firefox 4 / thunderbird 3.3 / seamonkey 2.1) firefox 4 added
support for having private browsing mode permanently enabled.
...rver(this, "quit-application"); this._os.removeobserver(this, "private-browsing"); } }, get inprivatebrowsing() { return this._inprivatebrowsing; }, get watcher() { return this._watcher; }, set watcher(val) { this._watcher = val; } }; of special note is the fact that this helper object is designed to not break on versions of firefox without private browsing
support (those prior to firefox 3.5).
...And 2 more matches
Internationalized Domain Names (IDN) Support in Mozilla Browsers
introduction netscape 7.1 is the first commercial browser that has built-in
support for internationalized domain name under the new ietf rfc's established in 2003.
...rfc's 3490, 3491, 3492.) these new rfc's now make it possible for domain name servers to register non-ascii domain names and application/client vendors to implement standardized
support for handling non-ascii characters in domain names.
...it was shown to be language independent,
superior in compression, compact in code size, round-trip safe, and
superior for encoding chinese/japanese/korean characters.
...And 2 more matches
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.
... legal values are defined in basiccardtype enum, and are currently: credit debit prepaid example the following example shows a sample definition of the first parameter of the paymentrequest() constructor, the data property of which contains
supportednetworks and
supportedtypes properties.
...And 2 more matches
CSSSupportsRule - Web APIs
the css
supportsrule interface describes an object representing a single css @
supports at-rule.
... it implements the cssconditionrule interface, and therefore the cssrule and cssgroupingrule interfaces with a type value of 12 (cssrule.
supports_rule).
... interface css
supportsrule : cssconditionrule { } properties as a cssconditionrule and therefore a cssrule and a cssgroupingrule, css
supportsrule also implements the properties of these interfaces.
...And 2 more matches
MediaTrackSupportedConstraints.cursor - Web APIs
the mediatrack
supportedconstraints dictionary's cursor property indicates whether or not the cursor constraint is
supported by the user agent and the device on which the content is being used.
... the
supported constraints list is obtained by calling navigator.mediadevices.get
supportedconstraints().
... syntax iscursor
supported =
supportedconstraints.cursor; value a boolean value which is true if the cursor constraint is
supported by the device and user agent.
...And 2 more matches
MediaTrackSupportedConstraints.displaySurface - Web APIs
the mediatrack
supportedconstraints dictionary's displaysurface property indicates whether or not the displaysurface constraint is
supported by the user agent and the device on which the content is being used.
... the
supported constraints list is obtained by calling navigator.mediadevices.get
supportedconstraints().
... syntax isdisplaysurface
supported =
supportedconstraints.displaysurface; value a boolean value which is true if the displaysurface constraint is
supported by the device and user agent.
...And 2 more matches
MediaTrackSupportedConstraints.logicalSurface - Web APIs
the mediatrack
supportedconstraints dictionary's logicalsurface property indicates whether or not the logicalsurface constraint is
supported by the user agent and the device on which the content is being used.
... the
supported constraints list is obtained by calling navigator.mediadevices.get
supportedconstraints().
... syntax islogicalsurface
supported =
supportedconstraints.logicalsurface; value a boolean value which is true if the logicalsurface constraint is
supported by the device and user agent.
...And 2 more matches
<msubsup> - MathML
the mathml <msub
sup> element is used to attach both a subscript and a
superscript, together, to an expression.
... it uses the following syntax: <msub
sup> base subscript
superscript </msub
sup>.
...
superscriptshift the minimum space by which to shift the
superscript above the baseline of the expression, as a length value.
...And 2 more matches
<msup> - MathML
the mathml <m
sup> element is used to attach a
superscript to an expression.
... it uses the following syntax: <m
sup> base
superscript </m
sup>.
...
superscriptshift the minimum space by which to shift the
superscript up from the baseline of the expression, as a length value.
...And 2 more matches
ECMAScript 5 support in Mozilla - Archive of obsolete content
the javascript runtime used in the latest versions of mozilla projects including both firefox and thunderbird has full
support for ecmascript 5.1 features.
... this article covers the features
supported by different versions of mozilla's javascript runtime.
...
supported features added in javascript 1.8.5 (gecko 2, firefox 4 and later) firefox 4 has full ecmascript 5
support including the object.* methods and strict mode.
... added in javascript 1.8.1 (gecko 1.9.1, firefox 3.5) native json
support object.getprototypeof() method.
nsIEditorMailSupport
editor/idl/nsieditormail
support.idlscriptable provides simple editing actions for the thunderbird mail editor.
... inherits from: nsi
supports last changed in gecko 1.7 method overview nsi
supportsarray 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.
... nsi
supportsarray getembeddedobjects(); parameters none.
... return value an nsi
supportsarray containing the img and object tags of the current document.
DOMTokenList.supports() - Web APIs
the
supports() method of the domtokenlist interface returns true if a given token is in the associated attribute's
supported tokens.
... this method is intended to
support feature detection.
... syntax let trueorfalse = element.
supports(token) parameters token a domstring containing the token to query for.
... example let iframe = document.getelementbyid('display'); if (iframe.sandbox.
supports('an-upcoming-feature')) { //
support code for mystery future feature } else { // fallback code } if (iframe.sandbox.
supports('allow-scripts')) { // instruct frame to run javascript // // (note: this feature is well-
supported; this is just an example!) // } specifications specification status comment credential management level 1 working draft initial definition.
Document.queryCommandSupported() - Web APIs
the document.querycommand
supported() method reports whether or not the specified editor command is
supported by the browser.
... syntax is
supported = document.querycommand
supported(command); parameters command the command for which to determine
support.
... return value returns a boolean which is true if the command is
supported and false if the command isn't.
... notes the 'paste' command return false not only if the feature is unavailable, but also if the script calling it has insufficient privileges to perform the action [1] example var flg = document.querycommand
supported("selectall"); if(flg) { // ...do something } specifications specification status comment execcommand ...
MediaSource.isTypeSupported() - Web APIs
the mediasource.istype
supported() static method returns a boolean value which is true if the given mime type is likely to be
supported by the current user agent.
... syntax var isit
supported = mediasource.istype
supported(mimetype); parameters mimetype the mime media type that you want to test
support for in the current browser.
... example the following snippet is from an example written by nick desaulniers (view the full demo live, or download the source for further investigation.) var asseturl = 'frag_bunny.mp4'; // need to be specific for blink regarding codecs // ./mp4info frag_bunny.mp4 | grep codec var mimecodec = 'video/mp4; codecs="avc1.42e01e, mp4a.40.2"'; if ('mediasource' in window && mediasource.istype
supported(mimecodec)) { var mediasource = new mediasource; //console.log(mediasource.readystate); // closed video.src = url.createobjecturl(mediasource); mediasource.addeventlistener('sourceopen', sourceopen); } else { console.error('un
supported mime type or codec: ', mimecodec); } function sourceopen (_) { //console.log(this.readystate); // open var mediasource = this; var sourcebuf...
...urcebuffer(mimecodec); fetchab(asseturl, function (buf) { sourcebuffer.addeventlistener('updateend', function (_) { mediasource.endofstream(); video.play(); //console.log(mediasource.readystate); // ended }); sourcebuffer.appendbuffer(buf); }); }; specifications specification status comment media source extensionsthe definition of 'istype
supported()' in that specification.
PaymentDetailsUpdate.error - Web APIs
the paymentdetail
supdate 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 = paymentdetail
supdate.error; paymentdetail
supdate.error = errorstring; value a domstring specifying the string to display to the user if the information specified in the paymentdetail
supdate doesn't provide any valid shipping options.
... the paymentdetail
supdate object specifies no valid shipping options in its shippingoptions list.
... specifications specification status comment payment request apithe definition of 'paymentdetail
supdate.error' in that specification.
PaymentDetailsUpdate - Web APIs
the paymentdetail
supdate dictionary is used to provide updated information to the payment user interface after it has been instantiated.
... this can be done either by calling the paymentrequestupdateevent.updatewith() method or by using the paymentrequest.show() method's detailspromise parameter to provide a promise that returns a paymentdetail
supdate that updates the payment information before the user interface is even enabled for the first time.
... properties the paymentdetail
supdate dictionary is based on the paymentdetailsbase dictionary, and inherits its properties, which are included in the list below.
... specifications specification status comment payment request apithe definition of 'paymentdetail
supdate' in that specification.
WebGLRenderingContext.getSupportedExtensions() - Web APIs
the webglrenderingcontext.get
supportedextensions() method returns a list of all the
supported webgl extensions.
... syntax gl.get
supportedextensions(); return value an array of strings with all the
supported webgl extensions.
... examples var canvas = document.getelementbyid('canvas'); gl = canvas.getcontext('webgl'); var extensions = gl.get
supportedextensions(); // array [ 'angle_instanced_arrays', 'ext_blend_minmax', ...
...e_atc webgl_compressed_texture_etc webgl_compressed_texture_etc1 webgl_compressed_texture_pvrtc webgl_compressed_texture_s3tc webgl_compressed_texture_s3tc_srgb webgl_debug_renderer_info webgl_debug_shaders webgl_depth_texture webgl_draw_buffers webgl_lose_context specifications specification status comment webgl 1.0the definition of 'webglrenderingcontext.get
supportedextensions' in that specification.
String.prototype.sup() - JavaScript
the
sup() method creates a <
sup> html element that causes a string to be displayed as
superscript.
... syntax str.
sup() return value a string containing a <
sup> html element.
... description the
sup() method embeds a string in a <
sup> tag: "<
sup>str</
sup>".
... examples using sub() and
sup() methods the following example uses the sub() and
sup() methods to format a string: var
supertext = '
superscript'; var subtext = 'subscript'; console.log('this is what a ' +
supertext.
sup() + ' looks like.'); // "this is what a <
sup>
superscript</
sup> looks like." console.log('this is what a ' + subtext.sub() + ' looks like.'); // "this is what a <sub>subscript</sub> looks like." specifications specification ecmascript (ecma-262)the definition of 'string.prototype.
sup' in that specification.
SVG 1.1 Support in Firefox - SVG: Scalable Vector Graphics
note: as of gecko 2.0, gecko
supports svg animation using smil.
... there is also a description of the mozilla
support of the changes in svg 2.
... element implementation status a quick overview of the svg 1.1 elements and the current status of the native
support.
... document fragments (bug 455986) aren't
supported in <svg:feimage>.
Script-supporting element - MDN Web Docs Glossary: Definitions of Web-related terms
in an html document, script-
supporting elements are those elements that don't directly contribute to the appearance or layout of the page; instead, they're either scripts or contain information that's only used by scripts.
... there are only two script-
supporting elements: <script> and <template>.
... technical reference to learn more, see script-
supporting elements in kinds of html content.
nsISupportsWeakReference
inherits from: nsi
supports last changed in gecko 1.7 method overview nsiweakreference getweakreference(); methods getweakreference() produces an appropriate instance of nsiweakreference.
... remarks the xpcom glue library provides ns
supportsweakreference, a canonical implementation of nsi
supportsweakreference.
... see also nsiweakreference ns
supportsweakreference ...
File and Directory Entries API support in Firefox - Web APIs
the original file system api was created to let browsers implement
support for accessing a sandboxed virtual file system on the user's storage device.
... firefox only
supports reading from files in the file system.
... firefox doesn't
support the "filesystem:" url scheme.
PaymentDetailsUpdate.shippingAddressErrors - Web APIs
the paymentdetail
supdate dictionary's shippingaddresserrors property, if present, contains an addresserrors object whose contents provide error messages for one or more of the values in the paymentaddress specified as paymentrequest.shippingaddress.
... syntax var addresserrors = paymentdetail
supdate.shippingaddresserrors; value an addresserrors object, which contains domstrings describing errors in the properties of a paymentaddress.
... specifications specification status comment payment request apithe definition of 'paymentdetail
supdate.shippingaddresserrors' in that specification.
StorageQuota.supportedTypes - Web APIs
the
supportedtypes read-only property of the storagequota interface returns a list of the available storage types.
... syntax var storagetypes = storagequota.
supportedtypes value a frozen array of available storage types.
... specifications specification status comment quota management apithe definition of '
supportedtypes' in that specification.
WEBGL_compressed_texture_astc.getSupportedProfiles() - Web APIs
the webgl_compressed_texture_astc.get
supportedprofiles() method returns an array of strings containing the names of the astc profiles
supported by the implementation.
... syntax sequence<domstring> ext.get
supportedprofiles(); return value an array of domstring elements indicating which astc profiles are
supported by the implementation.
... examples var ext = gl.getextension('webgl_compressed_texture_astc'); ext.get
supportedprofiles(); // ["ldr"] specifications specification status comment webgl_compressed_texture_astcthe definition of 'webgl_compressed_texture_astc' in that specification.
Handling media support issues in web content - Web media technologies
there is a drawback, however: because there are so many to choose from, with so many different kinds of licenses and design principles involved, each web browser developer is left to its own devices when deciding which media file types and codecs to
support.
... poster frames for video progressive images images—whether embedded using <img> or <picture>—don't
support a concept similar to poster frames.
... specifying multiple sources checking compatibility in javascript htmlmediaelement.canplaytype and mediasource.istype
supported...
Supporting per-window private browsing - Archive of obsolete content
to do this, observe the last-pb-context-exiting notification and set the data field of the nsi
supportsprbool subject to true.
... var os = components.classes["@mozilla.org/observer-service;1"] .getservice(components.interfaces.nsiobserverservice); os.addobserver(function (asubject, atopic, adata) { asubject.queryinterface(components.interfaces.nsi
supportsprbool); // if another extension has not already canceled entering the private mode if (!asubject.data) { /* you should display some user interface here */ asubject.data = true; // cancel the operation } }, "last-pb-context-exiting", false); forcing a channel into private mode usually, network channels inherit the privacy status of the document that created them, which means that they work correctly most of the time.
Updating an extension to support multiple Mozilla applications - Archive of obsolete content
this is done by adding new <targetapplication> tags to the install.rdf file, like this: <!-- describe the thunderbird versions we
support --> <em:targetapplication> <description> <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> <em:minversion>1.5</em:minversion> <em:maxversion>2.0.0.*</em:maxversion> </description> </em:targetapplication> <!-- describe the sunbird versions we
support --> <em:targetapplication> <description> <em:id> {718e30fb-e89b-41dd-9da...
...7-e25a45638b28}</em:id> <em:minversion>0.2</em:minversion> <em:maxversion>0.4.*</em:maxversion> </description> </em:targetapplication> these two blocks indicate that the extension
supports thunderbird versions 1.5 through 2.0.0.x, sunbird versions 0.2 through 0.4.x.
CSS -moz-bool-pref() @supports function
the -moz-bool-pref() @
supports condition is available to gecko chrome and ua stylesheets to check if a boolean preference is enabled.
...</div> css @
supports -moz-bool-pref("test") { #pref-test { background: green; } } @
supports not -moz-bool-pref("test") { #pref-test { background: red; } } result ...
nsIDispatchSupport
js/src/xpconnect/idl/nsidispatch
support.idlnot scriptable please add a summary to this article.
... inherits from: nsi
supports last changed in gecko 1.7 method overview void comvariant2jsval(in comvariantptr comvar, out jsval val); unsigned long gethostingflags(in string acontext); boolean isclassmarkedsafeforscripting(in nscidref cid, out boolean classexists); boolean isclasssafetohost(in jscontextptr cx, in nscidref cid, in boolean capscheck, out boolean classexists); boolean isobjectsafeforscripting(in voidptr theobject, in nsiidref id); void jsval2comvariant(in jsval var, out comvariant comvar); methods comvariant2jsval() converts a com variant to a jsval.
nsIEditorIMESupport
editor/idl/nsieditorime
support.idlscriptable please add a summary to this article.
... inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview void begincomposition(in nstexteventreplyptr areply); native code only!
nsISupports
xpcom/base/nsi
supports.idlscriptable all xpcom interfaces inherit this interface.
...on win32 systems, nsi
supports is abi-compatible with microsoft com's iunknown interface.
nsISupportsCString
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for ascii character strings.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data acstring provides access to the native type represented by the object.
nsISupportsChar
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for single character values (often used to store an ascii character).
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data char provides access to the native type represented by the object.
nsISupportsDouble
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for double-precision floating-point values.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data double provides access to the native type represented by the object.
nsISupportsFloat
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for single-precision floating-point values.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data float provides access to the native type represented by the object.
nsISupportsID
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for boolean values.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data nsidptr provides access to the native type represented by the object.
nsISupportsInterfacePointer
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for xpcom objects.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data nsi
supports provides access to the native type represented by the object.
nsISupportsPRBool
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for boolean values.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data prbool provides access to the native type represented by the object.
nsISupportsPRInt16
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for 16-bit signed integers.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data print16 provides access to the native type represented by the object.
nsISupportsPRInt32
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for 32-bit signed integers.
... 66 introduced gecko 1.0 inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data print32 provides access to the native type represented by the object.
nsISupportsPRInt64
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for 64-bit signed integers.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data print64 provides access to the native type represented by the object.
nsISupportsPRTime
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for prtime values.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data prtime provides access to the native type represented by the object.
nsISupportsPRUint16
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for 16-bit unsigned integers.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data pruint16 provides access to the native type represented by the object.
nsISupportsPRUint32
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for 32-bit unsigned integers.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data pruint32 provides access to the native type represented by the object.
nsISupportsPRUint64
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for 64-bit unsigned integers.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data pruint64 provides access to the native type represented by the object.
nsISupportsPRUint8
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for 8-bit unsigned integers.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data pruint8 provides access to the native type represented by the object.
nsISupportsPriority
xpcom/threads/nsi
supportspriority.idlscriptable this interface exposes the general notion of a scheduled object with an integral priority value.
... 1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) this interface does not strictly define what happens when the priority of an object is changed.
nsISupportsString
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for unicode character strings.
... inherits from: nsi
supportsprimitive last changed in gecko 1.2 method overview string tostring(); attributes attribute type description data astring provides access to the native type represented by the object.
nsISupportsVoid
xpcom/ds/nsi
supportsprimitives.idlscriptable this interface provides scriptable access for generic pointers.
... inherits from: nsi
supportsprimitive last changed in gecko 1.0 method overview string tostring(); attributes attribute type description data voidptr this attribute provides access to the native type represented by the object.
nsIWebappsSupport
toolkit/components/webapps/nsiwebapps
support.idlscriptable please add a summary to this article.
... 1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview void installapplication(in wstring title, in wstring uri, in wstring iconuri, in wstring icondata); boolean isapplicationinstalled(in wstring uri); methods installapplication() this method installs a web application.
LDAP Support
this document is intended to "fill in the gaps" about how enterprise customers can leverage and customize ldap
support in mozilla thunderbird.
...enname webpage1 workurl webpage2 homeurl birthyear birthyear custom1 custom1 custom2 custom2 custom3 custom3 custom4 custom4 notes notes notes description prefermailformat xmozillausehtmlmail lastmodifieddate modifytimestamp custom ldap attributes thunderbird
supports custom ldap attributes for various address book attributes.
:-moz-suppressed - CSS: Cascading Style Sheets
the :-moz-
suppressed css pseudo-class is a mozilla extension that matches elements representing images that were
suppressed because loading images from the specified site has been blocked.
... syntax :-moz-
suppressed examples styling elements that have been blocked :-moz-
suppressed { background: yellow; padding: 8px; } specifications not part of any standard.
WAI ARIA Live Regions/API Support - Developer guides
these features will help screen reader developers improve the quality and performance of live region
support, both for pages that are marked up with aria live region markup, and for pages where the author did not add any additional markup.
...retrieving author-
supplied aria live region semantics from an event for any mutation event in a page, the author can get the following object attributes from the event object, if they are defined on some ancestor element (closest ancestor wins): object attribute name possible values default value if not specified meaning aria markup if required container-live "off" | "polite" | "assert...
415 Unsupported Media Type - HTTP
the http 415 un
supported media type client error response code indicates that the server refuses to accept the request because the payload format is in an un
supported format.
... status 415 un
supported media type specifications specification title rfc 7231, section 6.5.13: 415 un
supported media type hypertext transfer protocol (http/1.1): semantics and content ...
505 HTTP Version Not Supported - HTTP
the hypertext transfer protocol (http) 505 http version not
supported response status code indicates that the http version used in the request is not
supported by the server.
... status 505 http version not
supported specifications specification title rfc 7231, section 6.6.6: 505 http version not
supported hypertext transfer protocol (http/1.1): semantics and content ...
SVG 2 support in Mozilla - SVG: Scalable Vector Graphics
those changes are listed below including their
support status within mozilla applications.
...mentation status unknown context-fill and context-stroke paint values implemented (bug 719286 (firefox 18.0 / thunderbird 18.0 / seamonkey 2.15) and bug 798843 (firefox 26.0 / thunderbird 26.0 / seamonkey 2.23)) child keyword for <paint> values and marker properties implementation status unknown vector-effect property only none and non-scaling-stroke values are
supported (bug 528332 (firefox 15 / thunderbird 15 / seamonkey 2.12), bug 1318208) arcs value for stroke-linejoin not implemented (bug 1239142) auto-start-reverse value for <marker>'s orient attribute implemented (bug 879659) svgpaint removed implementation status unknown fill and stroke taking multiple paints implementation status unknown z-in...
suppressonselect - Archive of obsolete content
« xul reference home
suppressonselect type: boolean if this attribute is not specified, a select event is fired whenever an item is selected, either by the user or by calling one of the select methods.
Supported build targets
page moved to the in-tree documentation: https://firefox-source-docs.mozilla.org/build/buildsystem/
supported-configurations.html ...
Index - Web APIs
121 audioconfiguration api, audio, audioconfiguration, experimental, interface, media capabilities api, reference, video the audioconfiguration dictionary of the media capabilities api defines the audio file being tested when calling mediacapabilities.encodinginfo() or mediacapabilities.decodinginfo() to query whether a specific audio configuration is
supported, smooth, and/or power efficient.
... 202 audioworklet api, audio, audioworklet, experimental, interface, reference, web audio api, worklet the audioworklet interface of the web audio api is used to
supply custom audio processing scripts.
... user-
supplied code is run in the audioworkletglobalscope global execution context in a separate web audio rendering thread along with other nodes, allowing for zero-latency audio processing.
...And 212 more matches
Index - Archive of obsolete content
syntax highliting
support for .htaccess files less.
... 6 navigator.moznotification api, deprecated, mobile, non-standard, property, reference provides
support for creating notification objects, which are used to display desktop notification alerts to the user.
... currently, these are only
supported on firefox mobile and firefox os.
...And 110 more matches
Index
this can create a difficult situation for extension developers trying to
support multiple gecko versions (firefox 2 and 3, for example).
... 99 avoiding leaks in javascript xpcom components add-ons, developing mozilla, extensions, mozilla, need
supdate, obsolete, xpcom, xpcom:language bindings, xpconnect programmers writing and reviewing javascript code in mozilla should understand how code using xpcom in javascript can leak so that they can avoid leaks.
... 109 setting up the gecko sdk need
supdate, tutorial, xpcom this chapter provides basic setup information for the gecko software development kit (sdk) used to build the weblock component in this tutorial.
...And 75 more matches
Web video codec guide - Web media technologies
for each codec, the containers (file types) that can
support them are also listed.
... codec name (short) full codec name container
support av1 aomedia video 1 mp4, webm avc (h.264) advanced video coding 3gp, mp4, webm h.263 h.263 video 3gp hevc (h.265) high efficiency video coding mp4 mp4v-es mpeg-4 video elemental stream 3gp, mp4 mpeg-1 mpeg-1 part 2 visual mpeg, quicktime mpeg-2 mpeg-2 part 2 visual mp4, mpeg, quicktime theora theora ogg vp8 video processor 8 3gp, ogg, webm vp9 video processor 9 mp4, ogg, webm factors affe...
... av1 currently offers three profiles: main, high, and professional with increasing
support for color depths and chroma subsampling.
...And 74 more matches
MathML Accessibility in Mozilla
this table below provides a list of mathml constructions and how they are read in mozilla applications for various platforms: windows: mathml
support is provided by nvda, which actually delegates math reading to the proprietary mathplayer plugin.
... mac: mathml
support is provided by voiceover.
...hence basic
support is available in gecko 41.0 (firefox 41.0 / thunderbird 41.0 / seamonkey 2.38) and we are still trying to keep in sync with webkit/voiceover.
...And 67 more matches
Web audio codec guide - Web media technologies
additionally, webrtc implementations generally use a subset of these codecs for their encoding and decoding of media, and may
support additional codecs as well, for optimal cross-platform
support of video and audio conferencing, and to integrate better with legacy telecommunication solutions.
... common codecs the list below denotes the codecs most commonly used on the web and which containers (file types)
support them.
...of course, individual browsers may or may not choose to
support all of these codecs, and their
support for which container types can use them may vary as well.
...And 57 more matches
IDBObjectStore - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidbobjectstorechrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitaddchrome ...
...And 56 more matches
Index
found 353 pages: # page tags and summary 1 network security services jss, nss, needsmigration network security services (nss) is a set of libraries designed to
support cross-platform development of security-enabled client and server applications.
... applications built with nss can
support ssl v3, tls, pkcs #5, pkcs #7, pkcs #11, pkcs #12, s/mime, x.509 v3 certificates, and other security standards.
...in order to
support multiple operating systems (os), it is based on a cross platform portability layer, called the netscape portable runtime (nspr), which provides cross platform application programming interfaces (apis) for os specific apis like file system access, memory management, network communication, and multithreaded programming.
...And 53 more matches
Permissions - Web APIs
this is not currently
supported in any browser.
...this is not currently
supported in any browser.
... browser
support the compatibility table on this page is generated from structured data.
...And 53 more matches
Gecko info for Windows accessibility vendors
this faq explains how makers of windows screen readers, voice dictation packages and magnification software can
support gecko-based software.
... the base of our
support for these products is msaa (microsoft active accessibility), external readonly dom
support, and the keyboard api/user interface.
...it
supports html, xhtml, cascading style sheets (css) and the document object model (dom).
...And 52 more matches
Migrate apps from Internet Explorer to Mozilla - Archive of obsolete content
introduction when netscape started the mozilla browser, it made the conscious decision to
support w3c standards.
... as a result, mozilla is not fully backwards-compatible with netscape navigator 4.x and microsoft internet explorer legacy code; for example, mozilla does not
support <layer> as i will discuss later.
... i'll also cover nonstandard technologies, such as xmlhttprequest and rich text editing, that mozilla does
support because no w3c equivalent existed at the time.
...And 49 more matches
BluetoothCharacteristicProperties - Web APIs
examples the following example shows how tell if a gatt characteristic
supports value change notifications.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbluetoothcharacteristicproperties experimentalchrome full
support 56notes full
support 56notes notes chromeos and macos only.
... full
support 56notes disabled notes linux and versions of windows earlier than 10.disabled from version 56: this feature is behind the #enable-experimental-web-platform-features preference (needs to be set to enabled).
...And 49 more matches
Image file type and format guide - Web media technologies
in this guide, we'll cover the image file types generally
supported by web browsers, and provide insights that will help you select the most appropriate formats to use for your site's imagery.
...however, the ones listed below are generally recognized as usable on the web, though bmp is generally not recommended as browser
support is potentially constrained; it should usually be avoided for web content.
..., opera, safari tiff tagged image file format image/tiff .tif, .tiff none built-in; add-ons required webp web picture format image/webp .webp chrome, edge, firefox, opera the abbreviation for each format links to a longer description of the format, its capabilities, and detailed browser compatibility information; including which versions introduced
support and specific special features that may have been introduced later.
...And 49 more matches
Codecs used by WebRTC - Web media technologies
this guide reviews the codecs that browsers are required to implement as well as other codecs that some or all browsers
support for webrtc.
...however, rfc 7742 specifies that all webrtc-compatible browsers must
support vp8 and h.264's constrained baseline profile for video, and rfc 7874 specifies that browsers must
support at least the opus codec as well as g.711's pcma and pcmu formats.
... these two rfcs also lay out options that must be
supported for each codec, as well as specific user comfort features such as echo cancelation.
...And 44 more matches
Implementing a Microsoft Active Accessibility (MSAA) Server - Accessibility
practical tips for developers and how mozilla does it contents this document is for developers working to
support msaa in an application in order to make it accessible with 3rd party assistive technologies, as well as for hackers wishing to be involved in mozilla's msaa
support specifically.
...if you're interested in more about gecko's msaa implementation, read gecko info for windows accessibility vendors to learn how msaa clients can utilize gecko's msaa
support.
... msaa is the microsoft active accessibility (msaa) api, used on windows operating systems to
support assistive technologies for users with disabilities.
...And 43 more matches
Media container formats (file types) - Web media technologies
see codecs used by webrtc for information about codecs commonly used for making webrtc calls, as well as browser compatibility information around codec
support in webrtc.
...some
support only audio while others
support both audio and video.
...not all of these are broadly
supported by browsers, however; some combinations of container and codec are sometimes given their own file extensions and mime types as a matter of convenience, or because of their ubiquity.
...And 43 more matches
Introduction to SSL - Archive of obsolete content
some red hat products already
support tls.
... most other red hat products plan to
support the protocol in future versions.
... this document is primarily intended for administrators of red hat server products, but the information it contains may also be useful for developers of applications that
support ssl.
...And 41 more matches
Choosing the right approach - Learn web development
browser compatibility really good general
support, although the exact
support for callbacks in apis depends on the particular api.
... refer to the reference documentation for the api you're using for more specific
support info.
... browser compatibility desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsettimeoutchrome full
support 30edge full
support 12firefox full
support 1 full
support 1 full
support 52notes notes setinterval now defined on windoworworkerglobalscope mixin.ie full
support ...
...And 40 more matches
Starting WebLock
the method at the core of this interface is observe: void observe(in nsi
supports asubject, in string atopic, in wstring adata); there aren't really any restrictions on what the three parameters (asubject, atopic and adata) may represent.
...xxx what is example 2?following example 2, you change the class definition to
support the nsiobserver interface and change ns_impl_i
supports1 so that the queryinterface implementation knows that the component also
supports nsiobserver.
... the weblock class definition with
support for startup observation is below.
...And 40 more matches
MathML Torture Test
its</option> </select> <br/> </p> <table> <tr> <td></td> <th scope="col">as rendered by tex</th> <th scope="col">as rendered by your browser</th></tr> <tr> <td>1</td> <td><img src="https://udn.realityripple.com/samples/45/d5a0dbbca3.png" width="38" height="22" alt="texbook, 16.2-16.3" /></td> <td> <math display="block"> <mrow> <m
sup> <mi>x</mi> <mn>2</mn> </m
sup> <m
sup> <mi>y</mi> <mn>2</mn> </m
sup> </mrow> </math> </td></tr> <tr> <td>2</td> <td><img src="https://udn.realityripple.com/samples/b8/da4a50ea34.png" width="30" height="17" alt="texbook, 16.2-16.3" /></td> <td> <math display="block"> <!-- ...
... <mn>2</mn><none/> </mmultiscripts> </mrow> </math> </td></tr> <tr> <td>3</td> <td><img src="https://udn.realityripple.com/samples/8a/1d0e6e073c.png" width="58" height="47" alt="texbook, 17-17.1" /></td> <td> <math display="block"> <mrow> <mfrac> <mrow> <mi>x</mi> <mo>+</mo> <m
sup> <mi>y</mi> <mn>2</mn> </m
sup> </mrow> <mrow> <mi>k</mi> <mo>+</mo> <mn>1</mn> </mrow> </mfrac> </mrow> </math> </td></tr> <tr> <td>4</td> <td><img src="https://udn.realityripple.com/samples/a7/27acbeabcf.png" width="76" height="25" alt="t...
...exbook, 17-17.1" /></td> <td> <math display="block"> <mrow> <mi>x</mi> <mo>+</mo> <m
sup> <mi>y</mi> <mfrac> <mn>2</mn> <mrow> <mi>k</mi> <mo>+</mo> <mn>1</mn> </mrow> </mfrac> </m
sup> </mrow> </math> </td></tr> <tr> <td>5</td> <td><img src="https://udn.realityripple.com/samples/d2/921226dd85.png" width="30" height="42" alt="texbook, 17-17.1" /></td> <td> <math display="block"> <mrow> <mfrac> <mi>a</mi> <mrow> <mi>b</mi> <mo>/</mo> <mn>2</mn> </mrow> </mfrac> </mrow...
...And 39 more matches
Fullscreen API - Web APIs
note:
support for this api varies somewhat across browsers, with many requiring vendor prefixes and/or not implementing the latest specification.
... see the browser compatibility section below for details on
support for this api.
... properties the document interface provides properties that can be used to determine if full-screen mode is
supported and available, and if full-screen mode is currently active, which element is using the screen.
...And 39 more matches
Selection API - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetselection experimentalchrome full
support 1edge full
support 12firefox full
support 1notes full
support 1notes notes the globaleventhandlers.onselectionchange and globaleventhandlers.onselectstart event handlers are
supported as of firefox 52.ie full
suppo...
...rt 9opera full
support 9safari full
support 1webview android full
support 1chrome android full
support 18firefox android full
support 4notes full
support 4notes notes the globaleventhandlers.onselectionchange and globaleventhandlers.onselectstart event handlers are
supported as of firefox 52.opera android full
support 10.1safari ios full
support 1samsung internet android full
support ...
... 1.0addrange experimentalchrome full
support 1edge full
support 12firefox full
support yesie ?
...And 38 more matches
Gecko events
« at apis
support page this page offers a list of accessibility-related events
supported by gecko.
... is
supported: yes event_dom_destroy an object has been destroyed.
... is
supported: yes event_dom_significant_change an object's properties or content have changed significantly so that the type of object has really changed, and therefore the accessible should be destroyed or recreated.
...And 35 more matches
BluetoothRemoteGATTDescriptor - Web APIs
methods bluetoothremotegattdescriptor.readvalue() returns a promise that resolves to an arraybuffer holding a duplicate of the value property if it is available and
supported.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbluetoothremotegattdescriptor experimentalchrome full
support 57notes full
support 57notes notes macos only.
... full
support 57notes disabled notes linux and versions of windows earlier than 10.disabled from version 57: this feature is behind the #enable-experimental-web-platform-features preference (needs to be set to enabled).
...And 35 more matches
Implementation Status - Archive of obsolete content
specification chapter index here we give an overview of xforms 1.1 specification chapters and the current status of the mozilla
support.
... the sections are marked with their current status:
supported, partial
support, in progress, and not currently
supported.
...document structure section title status notes bugs 3.1 namespaces
supported 3.2.1 common attributes
supported 3.2.2 linking attributes
supported 3.2.3 single-node binding attributes
supported 3.2.4 node-set binding attributes
supported 3.2.5 model item property attributes partial in some cases a loop error can occur on valid bindings 302168; 3.3.1 model
support...
...And 34 more matches
CSS property compatibility table for form controls - Learn web development
the following compatibility tables try to summarize the state of css
support for html forms.
... how to read the tables values for each property, there are four possible values: yes there's reasonably consistent
support for the property across browsers.
... line-height this property is
supported inconsistently across browsers and you should avoid it.
...And 34 more matches
CSS3 - Archive of obsolete content
the transparent color is now a real color (thanks to the
support for the alpha channel) and is a now an alias for rgba(0,0,0,0.0).
... css namespaces module recommendation since september 29th, 2011 adds the
support for the xml namespaces by defining the notion of css qualified name, using the ' | ' syntax and adding the @namespace css at-rule.
...detection of ecmascript
support, using the script media features is also proposed.
...And 33 more matches
Handling common HTML and CSS problems - Learn web development
this includes linting code, handling css prefixes, using browser dev tools to track down problems, using polyfills to add
support into browsers, tackling responsive design problems, and more.
...in other cases, nascent features are not
supported consistently across browsers, which can make some features and styles not work for some users.
...the main areas we'll look at are lack of
support for modern features, and layout issues.
...And 32 more matches
Bytecode Descriptions
(per spec, unary -
supports bigints, but unary + does not.) format: jof_ic neg stack: val ⇒ (-val) the unary - operator.
...format: jof_ic
super
superbase stack: callee ⇒
superbase push the
superbase of the method callee.
... the
superbase is callee.[[homeobject]].[[getprototypeof]](), the object where
super property lookups should begin.
...And 32 more matches
IDBIndex - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidbindexchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitcountchrome ...
...And 31 more matches
Handling common JavaScript problems - Learn web development
such incompatibility problems persisted well into the early 2000s, as old browsers were still being used and still needed
supporting.
... things have improved significantly since then; modern browsers do a good job of
supporting "classic javascript features", and the requirement to use such code has diminished as the requirement to
support older browsers has lessened (although bear in mind that they have not gone away altogether).
...(see using a task runner to automate testing tools in a later article.) see eslint integrations for eslint options; jshint is
supported out of the box by grunt, and also has other integrations available, e.g.
...And 30 more matches
An Overview of XPCOM
but xpcom also provides several tools and libraries that enable the loading and manipulation of these components, services that help the developer write modular cross-platform code, and versioning
support, so that components can be replaced or upgraded without breaking or having to recreate the application.
... xpcom not only
supports component software development, it also provides much of the functionality that a development platform provides, such as: component management file abstraction object message passing memory management we will discuss the above items in detail in the coming chapters, but for now, it can be useful to think of xpcom as a platform for component development, in which features such as those listed above are provided.
... the nsi
supports base interface two fundamental issues in component and interface-based programming are component lifetime, also called object ownership, and interface querying, or being able to identify which interfaces a component
supports at runtime.
...And 29 more matches
BasicCardResponse - Web APIs
the first of these three (
supportedinstruments in the example below) contains a data property that has to conform to the structure defined by the basiccardrequest dictionary.
... var
supportedinstruments = [{
supportedmethods: 'basic-card', data: {
supportednetworks: ['visa', 'mastercard', 'amex', 'jcb', 'diners', 'discover', 'mir', 'unionpay'],
supportedtypes: ['credit', 'debit'] } }]; var details = { total: {label: 'donation', amount: {currency: 'usd', value: '65.00'}}, displayitems: [ { label: 'original donation amount', amount: {currency: 'usd', value: '65.00'} } ], shippingoptions: [ { id: 'standard', label: 'standard shipping', amount: {currency: 'usd', value: '0.00'}, selected: true } ] }; var options = {requestshipping: true}; try { var request = new paymentrequest(
supportedinstruments, details, options); // add event listeners here.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbasiccardresponsechrome no
support noedge no
support ≤18 — 79firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs to be set to...
...And 29 more matches
Modularization techniques - Archive of obsolete content
nsi
supports the key interface in our model is the nsi
supports interface, our equivalent to com's iunknown interface.
... nsi
supports provides two key features, interface interrogation and reference counting.
... interface interrogation is a simple, uniform mechanism for determining which interfaces a object
supports, and for hiding the the mechanics of how the object was implemented.
...And 28 more matches
IDBDatabase - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidbdatabasechrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitabort eventchrom...
...And 27 more matches
Implementing feature detection - Learn web development
previous overview: cross browser testing next feature detection involves working out whether a browser
supports a certain block of code, and running different code depending on whether it does (or doesn't), so that the browser can always provide a working experience rather than crashing/erroring in some browsers.
... this article details how to write your own simple feature detection, how to use a library to speed up implementation, and native features for feature detection such as @
supports.
... the concept of feature detection the idea behind feature detection is that you can run a test to determine whether a feature is
supported in the current browser, and then conditionally run code to provide an acceptable experience both in browsers that do
support the feature, and browsers that don't.
...And 26 more matches
Python binding for NSS
nss provides cryptography services
supporting ssl, tls, pki, pkix, x509, pkcs*, etc.
... nss/nspr objects which are collections
support the python iteration protocol.
... nss/nspr objects whose collection elements can be referenced by name
support associative indexing.
...And 26 more matches
IDBTransaction - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidbtransactionchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitabortchrome ...
...And 25 more matches
Using feature queries - CSS: Cascading Style Sheets
feature queries are created using the css at-rule @
supports, and are useful as they give web developers a way to test to see if a browser has
support for a certain feature, and then provide css that will only run based on the result of that test.
...the difference is that with a media query you are testing something about the environment in which the web page is running, whereas with feature queries you are testing browser
support for css features.
... a feature query consists of the @
supports rule, followed by the property name and value you would like to test for.
...And 25 more matches
JavaScript modules - JavaScript
the good news is that modern browsers have started to
support module functionality natively, and this is what this article is all about.
... browser
support use of native javascript modules is dependent on the import and export statements; these are
supported in browsers as follows: import desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsimportchrome full
support 61edge full
support 16 full
support 16 full
support 15disabled disabled ...
...from version 15: this feature is behind the experimental javascript features preference.firefox full
support 60 full
support 60 no
support 54 — 60disabled disabled from version 54 until version 60 (exclusive): this feature is behind the dom.modulescripts.enabled preference.
...And 25 more matches
Mozilla Application Framework in Detail - Archive of obsolete content
imagine not having to re-write your application 3 times, or not
supporting a less popular platform simply because you do not have the resources for parallel development!
...this innovation in browser technology offers small size, speed and industry leading standards
support.
... gecko is the premier cross-platform, full-featured, mature and well-tested layout engine available, providing robust and high quality
support for a massive array of standards.
...And 24 more matches
The "codecs" parameter in common media types - Web media technologies
however, many media types—especially those that
support video tracks—can benefit from the ability to more precisely describe the format of the data within them.
...all of these file types
support a variety of codecs, and those codecs may have any number of profiles, levels, and other configuration factors.
...the list may also contain codecs not present in the file.= codec options by container the containers below
support extended codec options in their codecs parameters: 3gp av1 iso bmff mpeg-4 quicktime webm several of the links above go to the same section; that's because those media types are all based on iso base media file format (iso bmff), so they share the same syntax.
...And 24 more matches
Gecko Compatibility Handbook - Archive of obsolete content
internet explorer 4 and netscape navigator 4 share
support for a large part of the html 3.2 standard and basic javascript.
... while they
support the css 1 standard to some degree, the implementations are not complete and have non-standard features added.
... neither internet explorer 4 or netscape navigator 4
support the w3 dom.
...And 22 more matches
sslfnc.html
nss 2.8
supports tls in addition to ssl2 and ssl3.
... by default, none of the cipher suites
supported by ssl are permitted.
... for descriptions of cipher suites
supported by ssl, see introduction to ssl.
...And 22 more matches
Audio and Video Delivery - Developer guides
currently, to
support all browsers we need to specify two formats, although with the adoption of mp3 and mp4 formats in firefox and opera, this is changing fast.
... to deliver video and audio, the general workflow is usually something like this: check what format the browser
supports via feature detection (usually a choice of two, as stated above).
... if the browser doesn't
support playback of any of the provided formats natively, either present a still image or use a fallback technology to present the video.
...And 22 more matches
<textarea> - HTML: Hypertext Markup Language
<textarea> does not
support the value attribute.
... autocapitalize this is a non-standard attribute
supported by webkit on ios (therefore nearly all browsers running on ios, including safari, firefox, and chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettextareachrome full
support yesedge full
support 12firefox full
support yesnotes full
support yesnotes notes before firefox 6, when a <textarea> was focused, the insertion point was placed at the end of the text by default.
...And 22 more matches
Windows Media in Netscape - Archive of obsolete content
this article explains how to embed the windows media player activex control in web pages to
support netscape 7.1, how to control the windows media player activex control using javascript and provides working examples.
...this control is widely used to provide inline media
support for web pages that provide sound, video and other media.
...netscape 7.1 is the first netscape gecko™ browser to
support the windows media player as an activex control -- previous netscape browsers did not
support any activex controls, and thus detecting which versions of netscape
support the windows media activex control is an important first step towards building multimedia experiences using html, javascript, and the windows media activex control.
...And 21 more matches
Video and audio content - Learn web development
video and audio on the web web developers have wanted to use video and audio on the web for a long time, ever since the early 2000s when we started to have bandwidth fast enough to
support any kind of video (video files are much larger than text or even images.) in the early days, native web technologies such as html didn't have the ability to embed video and audio on the web, so proprietary (or plugin-based) technologies like flash (and later, silverlight) became popular for handling such content.
...a really simple example looks like this: <video src="rabbit320.webm" controls> <p>your browser doesn't
support html5 video.
... the paragraph inside the <video> tags this is called fallback content — this will be displayed if the browser accessing the page doesn't
support the <video> element, allowing us to provide a fallback for older browsers.
...And 21 more matches
Index
7 gcintegration developing mozilla, firefox, garbage collection, intermediate, intro, jsapi, need
supdate, spidermonkey, tools, memory the spidermonkey garbage collector (gc) will be changing a lot in the future.
...if scopechain is
supplied, it uses scopechain as its enclosing scope.
...future versions of the javascript engine may not
support or recognize this macro.
...And 21 more matches
Creating the Component Code
you should consult with the authors of the application you wish to extend to see if there are other
supported ways.
... basic structure of the weblock component source weblock1.cpp that defines these classes and the code you need to create a basic component has the following structure: * required includes and constants * weblock: public iweblock * weblockfactory: public nsifactory * weblockmodule: public nsimodule in xpcom, all of these classes also derive from the nsi
supports base interface.
...for example, including nsicomponentmanager.idl without mozilla_strict_api defined will include the following headers, which are not
supported across versions (unfrozen): nscomponentmanagerutils.h nscomponentmanagerobsolete.h these variables are picked up by files that do not specify themselves as mozilla_strict_api.
...And 21 more matches
Using XPCOM Utilities to Make Things Easier
}; the important thing to note in the fictitious listing above is that it can
support multiple components in a module.
... common implementation macros every xpcom object implements nsi
supports, but writing this implementation over and over is tedious.
...instead of implementing the nsi
supports yourself, ns_impl_i
supports1 can expand to the implementation of addref, release, and queryinterface for any object.
...And 21 more matches
WebIDL bindings
adding webidl bindings to a class to add a webidl binding for interface myinterface to a class mozilla::dom::myinterface that's
supposed to implement that interface, you need to do the following: if your interface doesn't inherit from any other interfaces, inherit from nswrappercache and hook up the class to the cycle collector so it will trace the wrapper cache properly.
...if you also inherit from nsi
supports, make sure the nsi
supports comes before the nswrappercache in your list of parent classes.
... if you do need to hook up cycle collection, it will look like this in the common case of also inheriting from nsi
supports: // add strong pointers your class holds here.
...And 21 more matches
PasswordCredential - Web APIs
in
supporting browsers an instance of this class may be passed in the credential member of the init object for global fetch.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpasswordcredential experimentalchrome full
support 51edge full
support ≤79firefox ?
... opera full
support yessafari ?
...And 21 more matches
sslerr.html
peer does not
support high-grade encryption." the local system was configured to
support the cipher suites permitted for domestic use.
... the remote system was configured to
support only the cipher suites permitted for export use.
...peer requires high-grade encryption which is not
supported." the remote system was configured to
support the cipher suites permitted for domestic use.
...And 20 more matches
PhotoCapabilities - Web APIs
photocapabilities.imageheight read only returns a mediasettingsrange object indicating the image height range
supported by the user agent.
... photocapabilities.imagewidth read only returns a mediasettingsrange object indicating the image width range
supported by the user agent.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetphotocapabilities experimentalchrome full
support 59edge full
support ≤79firefox ?
...And 20 more matches
requiredFeatures - SVG: Scalable Vector Graphics
it determines whether or not all of the named features are
supported by the browser; if all of them are
supported, the attribute evaluates to true end the element is rendered; otherwise, the attribute evaluates to false and the current element and its children are skipped and thus will not be rendered.
...ject>, <g>, <image>, <line>, <mask>, <path>, <pattern>, <polygon>, <polyline>, <rect>, <set>, <svg>, <switch>, <text>, <textpath>, <tref>, <tspan>, <use> html, body, svg { height: 100%; } text { fill: white; } <svg viewbox="0 0 250 45" xmlns="http://www.w3.org/2000/svg"> <g> <rect fill="forestgreen" x="10" y="10" height="25" width="230" /> <text x="20" y="27">requiredfeatures
supported</text> </g> <g requiredfeatures=""> <rect fill="crimson" x="10" y="10" height="25" width="230" /> <text x="20" y="27">requiredfeatures not
supported</text> </g> </svg> usage notes value <list-of-features> default value true if not defined, false if null or empty string as value animatable no <list-of-features> this is a list o...
...determines whether all of the named features are
supported by the browser.
...And 20 more matches
Browser Feature Detection - Archive of obsolete content
an experimental approach to discovering degree of
support for standards.
... among the methods of browser detection, many people recommend using the existence of specific properties or methods in a browser's dom to detect the browser type and whether it
supports a given operation.
... this test takes that idea to the extreme and tests a large number of properties and methods to determine the level of
support a browser has for particular standards and reports a rating as the percentage of names the browser defines.
...And 19 more matches
PushRegistrationManager - Web APIs
this interface has been
superceded by pushmanager.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpushregistrationmanager experimentaldeprecatedchrome no
support noedge no
support nofirefox ?
... ie no
support noopera no
support nosafari ?
...And 19 more matches
Mozilla Crypto FAQ - Archive of obsolete content
in this document i try to answer some frequently asked questions about the mozilla web browser and mail/news client and its
support for ssl, s/mime, and related features based on cryptographic technology.
... the questions in this faq address mozilla's
support for encryption and related security functionality, information important to mozilla contributors relating to encryption functionality in mozilla, and general questions on u.s.
...in the near future the mozilla code base will include a complete open source cryptographic library, and mozilla will include ssl
support as a standard feature.
...And 18 more matches
nsIMsgFolder
inherits from: nsi
supports method overview void startfolderloading(); void endfolderloading(); void updatefolder(in nsimsgwindow awindow); nsimsgfilterlist getfilterlist(in nsimsgwindow msgwindow); void setfilterlist(in nsimsgfilterlist filterlist); void forcedbclosed(); void delete(); void deletesubfolders(in nsi
supportsarray folders, in nsimsgwindow msgwindow); void propagatedelete(in nsimsgfolder folder, in boolean deletestorage,in nsimsgwindow msgwindow); ...
...nsimsgwindow msgwindow); void createsubfolder(in astring foldername, in nsimsgwindow msgwindow); nsimsgfolder addsubfolder(in astring foldername); void createstorageifmissing(in nsiurllistener urllistener); void compact(in nsiurllistener alistener, in nsimsgwindow amsgwindow); void compactall(in nsiurllistener alistener, innsimsgwindow amsgwindow,in nsi
supportsarray afolderarray, in boolean acompactofflinealso,in nsi
supportsarray aofflinefolderarray); void compactallofflinestores(in nsimsgwindow amsgwindow,in nsi
supportsarray aofflinefolderarray); void emptytrash(in nsimsgwindow amsgwindow, in nsiurllistener alistener); void rename(in astring name, in nsimsgwindow msgwindow); void renamesubfolders( in nsimsgwindo...
...void setflag(in unsigned long flag); void clearflag(in unsigned long flag); boolean getflag(in unsigned long flag); void toggleflag(in unsigned long flag); void onflagchange(in unsigned long flag); void setprefflag(); nsimsgfolder getfolderswithflag(in unsigned long flags, in unsigned long resultsize, out unsigned long numfolders); nsi
supportsarray getallfolderswithflag(in unsigned long aflag); void getexpansionarray(in nsi
supportsarray expansionarray); acstring geturiformsg(in nsimsgdbhdr msghdr); void deletemessages(in nsi
supportsarray messages,in nsimsgwindow msgwindow, in boolean deletestorage, in boolean ismove, in nsimsgcopyservicelistener listener, in boolean allowundo); void copymessages...
...And 18 more matches
Web applications and ARIA FAQ - Accessibility
where is aria
supported?
... aria is a relatively new specification, but
support for it is growing.
... a wide variety of commonly-used browsers, assistive technologies, javascript toolkits, and applications now
support aria.
...And 18 more matches
WebAssembly - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jswebassemblychrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0compileerrorchrome ful...
...l
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
support 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52note...
...And 18 more matches
WebAssembly
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jswebassemblychrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0compileerrorchrome ful...
...l
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
support 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52note...
...And 18 more matches
Mozilla’s UAAG evaluation report
we are claiming to
support html 4, css 2, png, jpg and gif.
...
support input and output device-independence.
...(p1) p onmouseover, onmousedown, onmouseup, onmousemove, onclick, ondbclick: no keyboard
support onfocus and onblur: cannot be activated with pointer 1.3 provide text messages.
...And 17 more matches
PKCS11 FAQ
what version of pkcs #11 does nss
support?
... nss requires at least pkcs #11 version 2.0, but can
support some features of later versions of nss, including nss 2.20.
...if you do not actually do the operation specified by that function, you can return ckr_function_not_
supported.
...And 17 more matches
CSS Grid Layout and Progressive Enhancement - CSS: Cascading Style Sheets
in spring of 2017, we saw for the first time a major specification like grid being shipped into browsers almost simultaneously, and we now have css grid layout
support in the public versions of firefox, chrome, opera, safari and edge.
... however, while evergreen browsers mean that many of us are going to see the majority of users having grid layout
support very quickly, there are also old or non-
supporting browsers to contend with.
... in this guide we will walk through a variety of strategies for
support.
...And 17 more matches
min-width - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmin-widthchrome full
support 1edge full
support 12firefox full
support 1notes full
support 1notes notes css 2.1 leaves the behavior of min-width with table undefined.
... firefox
supports applying min-width to table elements.ie full
support 7opera full
support 4notes full
support 4notes notes css 2.1 leaves the behavior of min-width with table undefined.
... opera
supports applying min-width to table elements.safari full
support 1webview android full
support 4.4chrome android full
support 18firefox android full
support 4notes full
support 4notes notes css 2.1 leaves the behavior of min-width with table undefined.
...And 17 more matches
<input type="time"> - HTML: Hypertext Markup Language
support is good in modern browsers, with safari being the sole major browser not yet implementing it; in safari, and any other browsers that don't
support <time>, it degrades gracefully to <input type="text">.
... events change and input
supported common attributes autocomplete, list, readonly, and step idl attributes value, valueasdate, valueasnumber, and list.
... using time inputs although among the date and time input types time has the widest browser
support, it is not yet approaching universal, so it is likely that you'll need to provide an alternative method for entering the date and time, so that safari users (and users of other non-
supporting browsers) can still easily enter time values.
...And 17 more matches
<input>: The Input (Form Input) element - HTML: Hypertext Markup Language
<input type="checkbox" name="checkbox"/> color a control for specifying a color; opening a color picker when active in
supporting browsers.
...opens a date picker or numeric wheels for year, month, day when active in
supporting browsers.
...opens a date picker or numeric wheels for date- and time-components when active in
supporting browsers.
...And 17 more matches
SVG documentation index - SVG: Scalable Vector Graphics
scalable vector graphics 2d graphics, graphics, icons, images, reference, responsive design, svg, scalable graphics, scalable images, vector graphics, web, l10n:priority scalable vector graphics (svg) are an xml-based markup language for describing two-dimensional based vector graphics.xml 2 applying svg effects to html content css, guide, html, svg modern browsers
support using svg within css styles to apply graphical effects to html content.
...versions of svg viewers prior to the release of firefox 1.5 unfortunately paid scant attention to namespaces, but they are essential to multi-xml dialect
supporting user agents such as gecko-based browsers which must be very strict.
... 11 svg 1.1
support in firefox firefox, svg you can find some basic examples of svg syntax and usage in the w3c svg test suite.
...And 17 more matches
Accessible Toolkit Checklist
also, assistive technologies already understand native widgets so it is only necessary to implement microsoft active accessibility (msaa) api
support for custom controls.
...you will also need to provide a way for custom and owner drawn controls to easily accessibility api
support, as wxwidgets does.
...these toolkits need to have accessibility implemented from the ground up, and get nothing for free in terms of keyboard, api or os-theme
support.
...And 16 more matches
Mozilla Web Developer FAQ
in the standards mode and in the almost standards mode mozilla does not
suppress the default margins of the first and last child element in table cells.
... some proprietary document objects such as document.all and document.layers are not part of the w3c dom and are not
supported in mozilla.
... (there is partial undetectable
support for document.all, though, in newer versions of mozilla.
...And 16 more matches
PKCS11 Implement
this document
supplements the information in pkcs #11: cryptographic token interface standard, version 2.0 with guidelines for implementors of cryptographic modules who want their products to work with mozilla client software: how nss calls pkcs #11 functions.
...summarizes the
support nss expects from different kinds of tokens.
... future versions of netscape server products will also
support of pkcs #11 version 2.0.
...And 16 more matches
BudgetService - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbudgetservice experimentaldeprecatednon-standardchrome full
support 55edge full
support ≤79firefox ?
... opera full
support 42safari ?
... webview android full
support 55chrome android full
support 55firefox android ?
...And 16 more matches
IDBKeyRange - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidbkeyrangechrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yesboundchrome full
support ...
... 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support ...
...And 16 more matches
MediaMetadata - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmediametadata experimentalchrome full
support 57edge no
support nofirefox full
support 71ie no
support noopera full
support yessafari ?
... webview android no
support nochrome android full
support 57firefox android ?
... opera android no
support nosafari ios ?
...And 16 more matches
WebGL best practices - Web APIs
when using webgl extensions, if possible, try to make them optional by gracefully adapting to the case there they are not
supported.
... take advantage of universally
supported webgl 1 extensions these webgl 1 extensions are universally
supported: angle_instanced_arrays ext_blend_minmax oes_element_index_uint oes_standard_derivatives oes_vertex_array_object webgl_debug_renderer_info webgl_lose_context (see also: https://jdashg.github.io/misc/webgl/webgl-feature-levels.html) consider polyfilling these into webglrenderingcontext, like: https://github.com/jdashg/misc/blob/master/webgl/webgl-v1.1.js universally
supported limits the minimum requirements for webgl are quite low.
... in practice, effectively all systems
support at least the following: max_cube_map_texture_size: 4096 max_renderbuffer_size: 4096 max_texture_size: 4096 max_viewport_dims: [4096,4096] max_vertex_texture_image_units: 4 max_texture_image_units: 8 max_combined_texture_image_units: 8 max_vertex_attribs: 16 max_varying_vectors: 8 max_vertex_uniform_vectors: 128 max_fragment_uniform_vectors: 64 aliased_point_size_range: [1,100] your desktop may
support 16k textures, or maybe 16 texture units in the vertex shader, but most other systems don't, and content that works for you will not work for them!
...And 16 more matches
:is() (:matches(), :any()) - CSS: Cascading Style Sheets
note that currently browsers
support this functionality as :matches(), or through an older, prefixed pseudo-class — :any(), including older versions of chrome, firefox, and safari.
... :any() works in exactly the same way as :matches()/:is(), except that it requires vendor prefixes and doesn't
support complex selectors.
... p'); } catch(e) { try { matcheditems = document.queryselectorall(':matches(header, main, footer) p'); } catch(e) { try { matcheditems = document.queryselectorall(':-webkit-any(header, main, footer) p'); } catch(e) { try { matcheditems = document.queryselectorall(':-moz-any(header, main, footer) p'); } catch(e) { console.log('your browser doesn\'t
support :is(), :matches(), or :any()'); } } } } matcheditems.foreach(applyhandler); function applyhandler(elem) { elem.addeventlistener('click', function(e) { alert('this paragraph is inside a ' + e.target.parentnode.nodename); }); } simplifying list selectors the :is() pseudo-class can greatly simplify your css selectors.
...And 16 more matches
NSS FAQ
general questions what is network security services (nss) nss is set of libraries, apis, utilities, and documentation designed to
support cross-platform development of security-enabled client and server applications.
... if you want add
support for ssl, s/mime, or other internet security standards to your application, you can use network security services (nss) to do so.
... because nss provides complete
support for all versions of ssl and tls, it is particularly well-suited for applications that need to communicate with the many clients and servers that already
support the ssl protocol.
...And 15 more matches
JSS Provider Notes
contents signed jar file installing the provider specifying the cryptotoken
supported classes what's not
supported signed jar file jss 3.2 implements several jce (java cryptography extension) algorithms.
...dsakpg.initialize(1024); keypair dsapair = dsakpg.generatekeypair();
supported classes cipher dsaprivatekey dsapublickey keyfactory keygenerator keypairgenerator mac messagedigest rsaprivatekey rsapublickey secretkeyfactory secretkey securerandom signature what's not
supported the following classes don't work very well: keystore: there are many serious problems mapping the jca keystore interface onto nss's model of pkcs #11 mo...
... cipher
supported algorithms notes aes des desede (des3 ) rc2 rc4 rsa the following modes and padding schemes are
supported: algorithm mode padding des ecb nopadding cbc nopadding ...
...And 15 more matches
NSS 3.28 release notes
nss 3.28 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_28_rtm/src/ new in nss 3.28 new functionality nss includes
support for tls 1.3 draft -18.
... this includes a number of improvements to tls 1.3: the signed certificate timestamp, used in certificate transparency, is
supported in tls 1.3 (bug 1252745).
... key exporters for tls 1.3 are
supported (bug 1310610).
...And 15 more matches
Introduction to XPCOM for the DOM
i will introduce nscomptr's, interfaces, reference counting, and the nsi
supports interface.
...as opposed to a concreate class, an interface is
supposed to be more stable through time.
...the function that does this is called "addref" and is defined in the nsi
supports interface.
...And 15 more matches
<input type="date"> - HTML: Hypertext Markup Language
the time and datetime-local input types
support time and date+time input.
...in un
supported browsers, the control degrades gracefully to <input type="text">.
... 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.
...And 15 more matches
<input type="datetime-local"> - HTML: Hypertext Markup Language
the control's ui varies in general from browser to browser; at the moment
support is patchy, with only chrome/opera and edge on desktop and most modern versions of mobile browsers having usable implementations.
... because of the limited browser
support for datetime-local, and the variations in how the inputs work, it may currently still be best to use a framework or library to present these, or to use a custom input of your own.
... another option is to use separate date and time inputs, each of which is more widely
supported than datetime-local.
...And 15 more matches
platform/xpcom - Archive of obsolete content
implementing xpcom interfaces this module exports a class called unknown which implements the fundamental xpcom interface nsi
supports.
...helloworld'; // define a component var helloworld = class({ extends: unknown, get wrappedjsobject() this, hello: function() {return 'hello world';} }); // create and register the factory var factory = factory({ contract: contractid, component: helloworld }); // xpcom clients can retrieve and use this new // component in the normal way var wrapper = cc[contractid].createinstance(ci.nsi
supports); var helloworld = wrapper.wrappedjsobject; console.log(helloworld.hello()); using class id you can specify a class id for the factory by setting the id option in the factory's constructor.
... { cc, ci, components } = require('chrome'); // define a component var helloworld = class({ extends: unknown, get wrappedjsobject() this, hello: function() {return 'hello world';} }); // create and register the factory var factory = factory({ component: helloworld }); var id = factory.id; // retrieve the factory by class id var wrapper = components.classesbyid[id].createinstance(ci.nsi
supports); var helloworld = wrapper.wrappedjsobject; console.log(helloworld.hello()); replacing factories if the factory you create has the same contract id as an existing registered factory, then your factory will replace the existing one.
...And 14 more matches
cfx - Archive of obsolete content
cfx is no longer
supported as of firefox 44 and no longer accepted for add-on submission.
...cfx is is no longer
supported as of firefox 44 and no longer accepted for add-on submission, jpm should now be used instead.
...cfx
supports the following global options: -h, --help - show a help message and exit -v, --verbose - enable lots of output "command-specific options" are documented alongside the commands.
...And 14 more matches
Index - Archive of obsolete content
355
suppressonselect xul attributes, xul reference no summary!
... 435 how to implement a custom xul query processor component xul
supports templating to create a block of content from a datasource query.
...the templating system also
supports building custom query processors.
...And 14 more matches
Server-side web frameworks - Learn web development
they provide tools and libraries that simplify common web development tasks, including routing urls to appropriate handlers, interacting with databases,
supporting sessions and user authorization, formatting output (e.g.
...exact, case-insensitive, greater than, etc.), and can
support complex statements (for example, you can specify a search on u11 teams that have a team name that starts with "fr" or ends with "al").
...the template system also provides
support for expressions (with syntax: {% expression %}), which allow templates to perform simple operations like iterating list values passed into the template.
...And 14 more matches
Mozilla accessibility architecture
intro this document is for people who wish to understand the architecture of mozilla's accessibility api module, which provides
support for platform accessibility apis.
...mozilla
supports two accessibility apis: microsoft active accessibility (msaa) on windows and accessibility tool kit (atk) on linux and unix.
... we do not currently
support the carbon accessibility model for apple's os x.
...And 14 more matches
nsIXPConnect
inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) to access the xpconnect service, use code like this: nsresult rv; nscomptr<nsixpconnect> xpconnect = do_getservice(nsixpconnect::getcid(), &rv); if (ns_succeeded(rv)) { /* use the object */ } method overview void addjsholder(in voidptr aholder, in nsscriptobjecttracerptr atracer); native code only!
...amelocation(in pruint32 alanguage, in string afilename, in string afunctionname, in print32 alinenumber, in nsistackframe acaller); void debugdump(in short depth); void debugdumpevalinjsstackframe(in pruint32 aframenumber, in string asourcetext); void debugdumpjsstack(in prbool showargs, in prbool showlocals, in prbool showthisprops); void debugdumpobject(in nsi
supports acomobj, in short depth); [noscript,notxpcom] prbool definedomquickstubs(in jscontextptr cx, in jsobjectptr proto, in pruint32 flags, in pruint32 interfacecount, [array, size_is(interfacecount)] in nsiidptr interfacearray); jsval evalinsandboxobject(in astring source, in jscontextptr cx, in nsixpconnectjsobjectholder sandbox, in prbool returnstringonly); native code only!
... obsolete since gecko 2.0 void getdefaultsecuritymanager(out nsixpcsecuritymanager amanager, out pruint16 flags); nsixpcfunctionthistranslator getfunctionthistranslator(in nsiidref aiid); jsobjectptr getjsobjectofwrapper(in jscontextptr ajscontext, in jsobjectptr ajsobj); [noscript, notxpcom] nsi
supports getnativeofwrapper(in jscontextptr ajscontext, in jsobjectptr ajsobj); void getsecuritymanagerforjscontext(in jscontextptr ajscontext, out nsixpcsecuritymanager amanager, out pruint16 flags); nsixpconnectwrappednative getwrappednativeofjsobject(in jscontextptr ajscontext, in jsobjectptr ajsobj); nsixpconnectwrappednative getwrappednativeofnativeobject(in jscontext...
...And 14 more matches
EventTarget.addEventListener() - Web APIs
common targets are element, document, and window, but the target may be any object that
supports events (such as xmlhttprequest).
... for example, an event handler callback that can be used to handle both fullscreenchange and fullscreenerror might look like this: function eventhandler(event) { if (event.type == 'fullscreenchange') { /* handle a full screen toggle */ } else /* fullscreenerror */ { /* handle a full screen toggle error */ } } safely detecting option
support in older versions of the dom specification, the third parameter of addeventlistener() was a boolean value indicating whether or not to use capture.
... for example, if you want to check for the passive option: let passive
supported = false; try { const options = { get passive() { // this function will be called when the browser // attempts to access the passive property.
...And 14 more matches
FileReaderSync - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilereadersyncchrome full
support yesedge full
support 12firefox full
support 8ie full
support yesopera full
support yessafari full
support yeswebview android ...
...full
support yeschrome android full
support yesfirefox android full
support 8opera android full
support yessafari ios full
support yessamsung internet android full
support yesreadasarraybufferchrome full
support yesedge full
support 12firefox full
support 8ie full
support yesopera full
support yessafari ful...
...l
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support 8opera android full
support yessafari ios full
support yessamsung internet android full
support yesreadasbinarystringchrome full
support yesedge full
support 12firefox full
support 8ie full
support yesopera ...
...And 14 more matches
FileSystemEntry - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilesystementry experimentalchrome full
support 8alternate name full
support 8alternate name alternate name uses the non-standard name: entryedge full
support 79prefixed full
support 79prefixed prefixed implemented with the vendor prefix: webkitfirefox full
sup...
...port 50ie no
support noopera no
support nosafari full
support 11.1webview android full
support ≤37alternate name full
support ≤37alternate name alternate name uses the non-standard name: entrychrome android full
support 18alternate name full
support 18alternate name alternate name uses the non-standard name: entryfirefox android full
support 50opera android no
support ...
... nosafari ios full
support 11.3samsung internet android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitcopyto experimentaldeprecatednon-standardchrome full
support 8edge full
support 79firefox no
support noie no
support noopera no
support nosafari no
support nowebview android full
support �...
...And 14 more matches
MSGestureEvent - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmsgestureevent non-standardchrome no
support noedge no
support 12 — 79firefox no
support noie full
support 10opera no
support nosafari no
support nowebview android no
support ...
... nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support nomsgestureevent() constructor non-standardchrome no
support noedge no
support 12 — 79firefox no
support noie full
support 10opera no
support nosafari no
support ...
...nowebview android no
support nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support noexpansion non-standardchrome no
support noedge no
support 12 — 79firefox no
support noie full
support 10opera no
support nosafari no...
...And 14 more matches
Capabilities, constraints, and settings - Web APIs
the twin concepts of constraints and capabilities let the browser and web site or app exchange information about what constrainable properties the browser's implementation
supports and what values it
supports for each one.
... overview the process works like this (using mediastreamtrack as an example): if needed, call mediadevices.get
supportedconstraints() to get the list of
supported constraints, which tells you what constrainable properties the browser knows about.
... once the script knows whether the property or properties it wishes to use are
supported, it can then check the capabilities of the api and its implementation by examining the object returned by the track's getcapabilities() method; this object lists each
supported constraint and the values or range of values which are
supported.
...And 14 more matches
@font-feature-values - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet@font-feature-valueschrome no
support noedge no
support nofirefox full
support 34 full
support 34 full
support 24disabled disabled from version 24: this feature is behind the layout.css.font-features.enabled preference (need...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support 9.1webview android no
support nochrome android no
support nofirefox android full
support 34 full
support 34 full
support 24disabled disabled from version 24: this feature is behind the layout.css.font-features.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios full
support 9.3samsung internet android no
support no@annotationchrome no
support noedge no
support nofirefox full
support 34 full
support 34 full
support 24disabled disabled from version 24: this feature is behind the layout.css.font-features.enabled preference (needs to be set to true).
...And 14 more matches
max-width - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmax-widthchrome full
support 1edge full
support 12firefox full
support 1notes full
support 1notes notes css 2.1 leaves the behavior of max-width with table undefined.
... firefox
supports applying max-width to table elements.ie full
support 7opera full
support 4notes full
support 4notes notes css 2.1 leaves the behavior of max-width with table undefined.
... opera
supports applying max-width to table elements.safari full
support 1webview android full
support 4.4chrome android full
support 18firefox android full
support 4notes full
support 4notes notes css 2.1 leaves the behavior of max-width with table undefined.
...And 14 more matches
<input type="month"> - HTML: Hypertext Markup Language
the control's ui varies in general from browser to browser; at the moment
support is patchy, with only chrome/opera and edge on desktop — and most modern mobile browser versions — having usable implementations.
... in browsers that don't
support month inputs, the control degrades gracefully to a simple <input type="text">, although there may be automatic validation of the entered text to ensure it's formatted as expected.
... for those of you using a browser that doesn't
support month, the screenshot below shows what it looks like in chrome and opera.
...And 14 more matches
Working with JSON - Learn web development
this allows you to construct a data hierarchy, like so: { "squadname": "
super hero squad", "hometown": "metro city", "formed": 2016, "secretbase": "
super tower", "active": true, "members": [ { "name": "molecule man", "age": 29, "secretidentity": "dan jukes", "powers": [ "radiation resistance", "turning tiny", "radiation blast" ] }, { "name": "madame uppercut", "age": 39, "secret...
...identity": "jane wilson", "powers": [ "million tonne punch", "damage resistance", "
superhuman reflexes" ] }, { "name": "eternal flame", "age": 1000000, "secretidentity": "unknown", "powers": [ "immortality", "heat immunity", "inferno", "teleportation", "interdimensional travel" ] } ] } if we loaded this object into a javascript program, parsed in a variable called
superheroes for example, we could then access the data inside it using the same dot/bracket notation we looked at in the javascript object basics article.
... for example:
superheroes.hometown
superheroes['active'] to access data further down the hierarchy, you simply have to chain the required property names and array indexes together.
...And 13 more matches
Accessibility Features in Firefox
assistive technology
support on windows "i am a full firefox convert with the release of 1.5.
... at my next opportunity, i intend to convert my family over to it too." darren paskell, from window-eyes beta testing list firefox works with popular screen readers, with the best
support currently coming from gw micro's window-eyes 5.5.
... we are optimistic that jaws
support will catch up this year.
...And 13 more matches
Mozilla-JSS JCA Provider notes
contents signed jar file installing the provider specifying the cryptotoken
supported classes what's not
supported signed jar file jss implements several jce (java cryptography extension) algorithms.
...dsakpg.initialize(1024); keypair dsapair = dsakpg.generatekeypair();
supported classes cipher dsaprivatekey dsapublickey keyfactory keygenerator keypairgenerator mac messagedigest rsaprivatekey rsapublickey secretkeyfactory secretkey securerandom signature cipher
supported algorithms notes aes des desede (des3) rc2 rc4 rsa the following modes and padding schemes are
supported: algorithm mode padding ...
...cs5 padding aes ecb nopadding cbc nopadding pkcs5 padding rc4 none none rc2 cbc nopadding pkcs5padding the securerandom argument passed to initsign() and initverify() is ignored, because nss does not
support specifying an external source of randomness.
...And 13 more matches
nsIDOMWindowUtils
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 49.0 (firefox 49.0 / thunderbird 49.0 / seamonkey 2.46) implemented by: window.
...ent, in astring apropertyname); boolean isinmodalstate(); void leavemodalstate(); void loadsheet(in nsiuri sheeturi, in unsigned long type); nsidomnodelist nodesfromrect(in float ax, in float ay, in float atopsize, in float arightsize, in float abottomsize, in float aleftsize, in boolean aignorerootscrollframe, in boolean aflushlayout); void proces
supdates(); obsolete since gecko 13.0 void purgepccounts(); unsigned long redraw([optional] in unsigned long acount); void renderdocument(in nsconstrect arect, in pruint32 aflags, in nscolor abackgroundcolor, in gfxcontext athebescontext); native code only!
...difiers, [optional] in boolean aignorerootscrollframe); void setcssviewport(in float awidthpx, in float aheightpx); void setdisplayport(in float axpx, in float aypx, in float awidthpx, in float aheightpx); void setresolution(in float axresolution, in float ayresolution); void startpccountprofiling(); void stoppccountprofiling(); void
suppresseventhandling(in boolean a
suppress); void suspendtimeouts(); nsidomfile wrapdomfile(nsifile afile); attributes attribute type description currentinnerwindowid unsigned long long the id of the window's current inner window.
...And 13 more matches
nsITransferable
inherits from: nsi
supports last changed in gecko 13.0 (firefox 13.0 / thunderbird 13.0 / seamonkey 2.10) implemented by: @mozilla.org/widget/transferable;1.
... to create an instance, use: var transferable = components.classes["@mozilla.org/widget/transferable;1"] .createinstance(components.interfaces.nsitransferable); it's important to note that a flavor, which specifies a type of data the transferable
supports, is represented by a null-terminated string indicating the mime type of the format
supported by the flavor.
... method overview void adddataflavor( in string adataflavor ); nsi
supportsarray flavorstransferablecanexport( ); nsi
supportsarray flavorstransferablecanimport( ); void getanytransferdata( out string aflavor, out nsi
supports adata, out unsigned long adatalen ); void gettransferdata( in string aflavor, out nsi
supports adata, out unsigned long adatalen ); void init(in nsiloadcontext acontext); boolean islargedataset( ); void removedataflavor( in string adataflavor ); void settransferdata( in string aflavor, in nsi
supports adata, in unsigned long adatalen ); attributes attribute type description converter nsiformatconverter an nsiformatconverter instance which implements the co...
...And 13 more matches
Key Values - Web APIs
modifies keystrokes to allow typing upper (or other) case letters, and to
support typing punctuation and other special characters.
... vk_shift (0x10) vk_lshift (0xa0) vk_rshift (0xa1) kvk_shift (0x38) kvk_rightshift (0x3c) gdk_key_shift_l (0xffe1) gdk_key_shift_r (0xffe2) qt::key_shift (0x01000020) keycode_shift_left (59) keycode_shift_right (60) "
super" [4] the
super key.
... gdk_key_
super_l (0xffeb) gdk_key_
super_r (0xffec) qt::key_
super_l (0x01000053) qt::key_
super_r (0x01000054) "symbol" the symbol modifier key (found on certain virtual keyboards).
...And 13 more matches
NavigationPreloadManager - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnavigationpreloadmanager experimentalchrome full
support 62edge full
support 18firefox no
support nonotes no
support nonotes notes implementation tracked in bug 1290958ie ?
... opera full
support 49safari ?
... webview android full
support 62chrome android full
support 62firefox android no
support nonotes no
support nonotes notes implementation tracked in bug 1290958opera android full
support 46safari ios ?
...And 13 more matches
Using the Payment Request API - Web APIs
note: the code snippets from this section are from our feature detect
support demo.
...this takes two mandatory parameters and one option parameter: methoddata — an object containing information concerning the payment provider, such as what payment methods are
supported, etc.
... so for example, you could create a new paymentrequest instance like so: var request = new paymentrequest(build
supportedpaymentmethoddata(), buildshoppingcartdetails()); the functions invoked inside the constructor simply return the required object parameters: function build
supportedpaymentmethoddata() { // example
supported payment methods: return [{
supportedmethods: 'basic-card', data: {
supportednetworks: ['visa', 'mastercard'],
supportedtypes: ['debit', 'credit'] } }]; } function buildshoppingcartde...
...And 13 more matches
Functions and classes available to Web Workers - Web APIs
unknown no postmessage() yes, on dedicatedworkerglobalscope no no unknown no apis available in workers function functionality
support in gecko (firefox)
support in ie
support in blink (chrome and opera)
support in webkit (safari) broadcast channel api allows simple communication between browsing contexts (that is windows, tabs, frames, or iframes) with the same origin (usually pages from the same site).
... 38 (38) no
support no
support no
support cache cache api provides the ability to programmatically control cache storage associated with current origin.
... (yes) no
support 43 ?
...And 13 more matches
Adding captions and subtitles to HTML5 video - Developer guides
similar to the video controls, if a browser
supports html5 video subtitles, there will be a button provided within the native control set to access them.
... browsers do vary as to what they
support, so we will be attempting to bring a more unified ui to each browser where possible.
...ound:#666; list-style-type:none; margin:0; padding:0; width:100px; padding:10px; } .subtitles-menu li { padding:0; text-align:center; } .subtitles-menu li button { border:none; background:#000; color:#fff; cursor:pointer; width:90%; padding:2px 5px; border-radius:2px; } styling the displayed subtitles one of the less well known about and
supported features of webvtt is the ability to style the individual subtitles (something called text cues) via css extensions.
...And 13 more matches
Live streaming web audio and video - Developer guides
http for now, http is by far the most commonly
supported protocol used to transfer media on demand or live.
... rtmp real time messaging protocol (rtmp) is a proprietary protocol developed by macromedia (now adobe) and
supported by the adobe flash plugin.
...this is not yet
supported natively in most browsers, but be aware that firefox os 1.3
supports rtsp.
...And 13 more matches
<input type="week"> - HTML: Hypertext Markup Language
the control's user interface varies from browser to browser; cross-browser
support is currently a bit limited, with only chrome/opera and microsoft edge
supporting it at this time.
... in non-
supporting browsers, the control degrades gracefully to function identically to <input type="text">.
... 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.
...And 13 more matches
Localization - Archive of obsolete content
the sdk
supports localization of strings appearing in: your main add-on's javascript code html files packaged with your add-on the title, description and homepage fields of your add-on's metadata the title and description fields of your add-on's preferences.
... it doesn't, yet,
support localization of css or content scripts, or the add-on's title and description that appear in the add-ons manager.
...iles: use the .properties format are named "xx-yy.properties", where "xx-yy" is the name of the locale in question contain one entry for each string you want to localize, consisting of an identifier for the string and its translation in that locale, in the format identifier=translation need to use utf-8 without bom encoding lines starting with "#" (after optional whitespace) are comments
suppose your add-on contains a single localizable string, represented in english as "hello!", and you want to
supply us english and french french localizations.
...And 12 more matches
XML in Mozilla - Archive of obsolete content
mozilla has a relatively good
support for xml.
... several world wide web consortium (w3c) recommendations and drafts from the xml family of specifications are
supported, as well as other related technologies.
...
supported core xml w3c recommendations the core xml
support includes parsing xml without validation (we use the expat parser), displaying xml with css, manipulating xml documents with scripts via dom, associating stylesheets with xml documents, and namespaces in xml.
...And 12 more matches
Experimental features in Firefox
html element: <dialog> the html <dialog> element and its associated dom apis provide
support for html-based modal dialog boxes.
... nightly 75 no developer edition 75 no beta 75 no release 75 no preference name layout.css.focus-visible.enabled single numbers as aspect ratio in media queries
support for using a single <number> as a <ratio> when specifying the aspect ratio for a media query.
... nightly 70 no developer edition 70 no beta 70 no release 70 no preference name layout.css.backdrop-filter.enabled grid: masonry layout adds
support for a masonry style layout based on grid layout where one axis has a masonry layout while having normal grid layout on the other.
...And 12 more matches
NSS 3.35 release notes
nss 3.35 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_35_rtm/src/ new in nss 3.35 new functionality tls 1.3
support has been updated to draft -23.
... this includes a large number of changes since 3.34, which
supported only draft -18.
...note that this release does not include
support for the latter.
...And 12 more matches
BudgetState - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbudgetstate experimentaldeprecatednon-standardchrome full
support 60edge full
support ≤79firefox ?
... opera no
support nosafari ?
... webview android no
support nochrome android full
support 60firefox android ?
...And 12 more matches
FederatedCredential - Web APIs
in browsers that
support it, an instance of this interface may be passed in the credential member of the init object for global fetch.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfederatedcredential experimentalchrome full
support 51edge full
support ≤79firefox ?
... opera full
support yessafari ?
...And 12 more matches
URLUtilsReadOnly - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung interneturlutilsreadonlychrome no
support noedge no
support nofirefox full
support 57 full
support 57 no
support 3.5 — 57notes notes firefox has a bug whereby single quotes contained in urls are escaped when accessed via url apis (see bug 138668...
...3).ie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android no
support nofirefox android full
support 57 full
support 57 no
support 4 — 57notes notes firefox has a bug whereby single quotes contained in urls are escaped when accessed via url apis (see bug 1386683).opera android no
support nosafari ios no
support nosamsung inte...
...rnet android no
support nohash experimentalchrome no
support noedge no
support nofirefox full
support 38 full
support 38 no
support 3.5 — 38notes notes before firefox 38, firefox returned the hash percent encoded.
...And 12 more matches
HTML documentation index - HTML: Hypertext Markup Language
39 html attribute: crossorigin advanced, attribute, cors, html, needscontent, reference, security the crossorigin attribute, valid on the <audio>, <img>, <link>, <script>, and <video> elements, provides
support for cors, defining how the element handles crossorigin requests, thereby enabling the configuration of the cors requests for the element's fetched data.
...valid on <link>, <a>, <area>, and <form>, the
supported values depend on the element on which the attribute is found.
...this feature has been removed from whatwg html, and is no longer
supported in browsers.
...And 12 more matches
HTTP Index - HTTP
7 evolution of http guide, http, need
supdate, need
supdate(http/3) http (hypertext transfer protocol) is the underlying protocol of the world wide web.
...over the years, algorithms also got more efficient, and new ones are
supported by clients and servers.
... 30 reason: credential is not
supported if the cors header ‘access-control-allow-origin’ is ‘*’ cors, corsnot
supportingcredentials, cross-origin, error, http, https, messages, reasons, security, console, troubleshooting the cors request was attempted with the credentials flag set, but the server is configured using the wildcard ("*") as the value of access-control-allow-origin, which doesn't allow the use of cre...
...And 12 more matches
Enhanced Extension Installation - Archive of obsolete content
item type the extension system in firefox 1.0
supports only two item types, extensions and themes.
... if the item is not compatible, the extension system asks the appropriate update service (either the one specified by the item, or the default one) if there is remote compatibility information that
supercedes the compatibility information held by the item.
... finalization for themes, the item is immediately installed fully, rather than awaiting the next restart, since themes do not
supply xpcom components, preferences defaults etc.
...And 11 more matches
Gecko FAQ - Gecko Redirect 1
gecko is the open source browser engine designed to
support open internet standards such as html 5, css 3, the w3c dom, xml, javascript, and others.
...gecko also offers the ability to parse various document types (html, xml, svg, etc), advanced rendering capabilities including compositing and transformations, and
support for embedded javascript and plugins.
...gecko's architecture will serve mozilla well into the future, enabling faster time to market, more innovation, less costly development, easier distribution and updating, and better cross platform
support.
...And 11 more matches
Strategies for carrying out testing - Learn web development
instead, you should try to make sure your site works on the most important target browsers and devices, and then code defensively to give your site the widest
support reach it can be expected to have.
...you can make this as simple or as complex as you like — for example a common approach is to have multiple grades of
support level, something like: a grade: common/modern browsers — known to be capable.
... test thoroughly and provide full
support.
...And 11 more matches
nsIDragService
inherits from: nsi
supports last changed in gecko 43 (firefox 43 / thunderbird 43 / seamonkey 2.40) note: using this interface directly from add-on code is deprecated.
... nsidragsession getcurrentsession( ) ; void invokedragsession( in nsidomnode adomnode, in nsi
supportsarray atransferables, in nsiscriptableregion aregion, in unsigned long aactiontype ); void invokedragsessionwithimage(in nsidomnode adomnode, in nsi
supportsarray atransferablearray, in nsiscriptableregion aregion, in unsigned long aactiontype, in nsidomnode aimage, in long aimagex, in long aimagey, in nsidomdragevent adragevent, in nsidomdatatransfer adatatransfer); void in...
...vokedragsessionwithselection(in nsiselection aselection, in nsi
supportsarray atransferablearray, in unsigned long aactiontype, in nsidomdragevent adragevent, in nsidomdatatransfer adatatransfer); void startdragsession( ) ; void
suppress(); void un
suppress(); constants constant value description dragdrop_action_none 0 no action.
...And 11 more matches
nsIXULTemplateQueryProcessor
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) a query processor takes a template query and generates results for it given a datasource and a reference point.
...the template builder will
supply two variables, the reference variable and the member variable to further indicate what part of the datasource is to be examined in addition to the query itself.
...currently, the datasource
supplied to the methods will always be an nsirdfdatasource or a dom node, and will always be the same one in between calls to initializeforbuilding() and done().
...And 11 more matches
IDBFactory - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidbfactorychrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitcmpchrome ...
...And 11 more matches
Backwards Compatibility of Flexbox - CSS: Cascading Style Sheets
flexbox is very well
supported across modern browsers, however there are a few issues that you might run into.
... in this guide we will look at how well flexbox is
supported in browsers, and look at some potential issues, resources and methods for creating workarounds and fallbacks.
...browser
support for the up-to-date version of the specification is excellent from this point forward.
...And 11 more matches
max-height - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmax-heightchrome full
support 18edge full
support 12firefox full
support 1notes full
support 1notes notes css 2.1 leaves the behavior of max-height with table undefined.
... firefox
supports applying max-height to table elements.ie full
support 7opera full
support 7notes full
support 7notes notes css 2.1 leaves the behavior of max-height with table undefined.
... opera
supports applying max-height to table elements.safari full
support 1.3webview android full
support ≤37chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0fit-content experimentalchrome full
support 46 full
support 46 full
support 25prefixed ...
...And 11 more matches
Cross-browser audio basics - Developer guides
ng a cross-browser html5 audio player with all the associated attributes, properties, and events explained a guide to custom controls created using the media api basic audio example the code below is an example of a basic audio implementation using html5: <audio controls> <source src="audiofile.mp3" type="audio/mpeg"> <source src="audiofile.ogg" type="audio/ogg"> <!-- fallback for non
supporting browsers goes here --> <p>your browser does not
support html5 audio, but you can still <a href="audiofile.mp3">download the music</a>.</p> </audio> note: you can also use an mp4 file instead of mp3.
...(currently, browsers that
support mp3 also
support mp4 audio).
... here we define an <audio> element with multiple sources — we do this as not all browsers
support the same audio formats.
...And 11 more matches
Creating a cross-browser video player - Developer guides
using these different source formats gives the best chance of being
supported across all browsers that
support html5 video.
... for further information on video formats and browser compatibility, see
supported media formats.
... for browsers that do not
support html5 video, a flash player is provided that will allow playback of the mp4 video source, provided the end user has flash installed.
...And 11 more matches
Browser detection using the user agent - HTTP
your site needs to use a specific web feature that some browsers don't yet
support, and you want to send those users to an older web site with fewer features but that you know will work.
...in 2017, chrome unflagged experimental lookbehind
support in regular expressions, but no other browser
supported it.
...the user is suspected to
support look-behind regexps // do not use /(?<=[a-z])/.
...And 11 more matches
OpenSearch description format
opensearch is
supported by (at least) firefox, edge, internet explorer, safari, and chrome.
... (see reference material for links to other browsers' documentation.) firefox also
supports additional features not in the opensearch standard, such as search suggestions and the <searchform> element.
... this article focuses on creating opensearch-compatible search plugins that
support these additional firefox features.
...And 11 more matches
XUL Migration Guide - Archive of obsolete content
next, we'll look at some of the main tasks involved in migrating: working with content scripts using the sdk's
supported apis how to go beyond the
supported apis when necessary, by: using third party modules using the sdk's low-level apis getting direct access to xpcom finally, we'll walk through a simple example.
... whether you should migrate a particular add-on is largely a matter of how well the sdk's
supported apis meet its needs.
... if your add-on can accomplish everything it needs using only the
supported apis, it's a good candidate for migration.
...And 10 more matches
Complete - Archive of obsolete content
however, because it is so simple it does not
support some of the usual features of extensions.
...if you want to see these techniques in action, then you can download and install the complete allcustom extension: allcustom.xpi (the link is external only because this wiki does not
support xpi files.) the extension does not contain any useful functions.
...it
supports firefox, thunderbird, sunbird and flock—these are referred to as "firefox etc." in the rest of this page.
...And 10 more matches
WAI-ARIA basics - Learn web development
html5 provides special input types to render such controls: <input type="date"> <input type="range"> these are not well-
supported across browsers, and it is also difficult to style them, making them not very useful for integrating with website designs.
... where is wai-aria
supported?
...it is difficult to find a conclusive resource that states what features of wai-aria are
supported, and where, because: there are a lot of features in the wai-aria spec.
...And 10 more matches
Index - Learn web development
55 making asynchronous programming easier with async and await beginner, codingscripting, guide, javascript, learn, promises, async, asynchronous, await more recent additions to the javascript language are async functions and the await keyword, part of the so-called ecmascript 2017 javascript edition (see ecmascript next
support in mozilla).
...once again the relevant mdn page for each selector is helpful in explaining browser
support.
... 124 styling tables article, beginner, css, codingscripting, guide, need
supdate, styling, tables with styling tables now behind us, we need something else to occupy our time.
...And 10 more matches
CSUN Firefox Materials
assistive technology
support on windows "i am a full firefox convert with the release of 1.5.
..." -- darren paskell, from window-eyes beta testing list firefox works with popular screen readers, with the best
support currently coming from gw micro's window-eyes 5.5.
... jaws
support is quickly catching up as well.
...And 10 more matches
A bird's-eye view of the Mozilla framework
the article focuses on the architecture of the overall framework
supporting the mozilla application suite, not the architecture of the individual applications themselves.
... organization this article first covers some conceptual groundwork, then walks through a user scenario to illustrate how key mozilla architectural components work together to
support a simplehelp viewer ui action.
...
suppose the client already has an nsirdfdatasource object representing a sub-graph of an rdf graph and calls nsirdfdatasource.gettarget(resource, nc_link, true) to obtain an nsirdfnode representing a specific node in the graph, in this case a link to ahelp viewer document page.
...And 10 more matches
NSS_3.12_release_notes.html
a.dev.tech.crypto contents introduction distribution information new in nss 3.12 bugs fixed documentation compatibility feedback introduction network security services (nss) 3.12 is a minor release with the following new features: sqlite-based shareable certificate and key databases libpkix: an rfc 3280 compliant certificate path validation library camellia cipher
support tls session ticket extension (rfc 5077) nss 3.12 is tri-licensed under the mpl 1.1/gpl 2.0/lgpl 2.1.
...uleex (see secmod.h) sec_getregisteredhttpclient (see ocsp.h) sec_pkcs5isalgorithmpbealgtag (see secpkcs5.h) vfy_createcontextdirect (see cryptohi.h) vfy_createcontextwithalgorithmid (see cryptohi.h) vfy_verifydatadirect (see cryptohi.h) vfy_verifydatawithalgorithmid (see cryptohi.h) vfy_verifydigestdirect (see cryptohi.h) vfy_verifydigestwithalgorithmid (see cryptohi.h) new macros for camellia
support (see blapit.h): nss_camellia nss_camellia_cbc camellia_block_size new macros for rsa (see blapit.h): rsa_max_modulus_bits rsa_max_exponent_bits new macros in certt.h: x.509 v3 ku_encipher_only cert_max_serial_number_bytes cert_max_dn_bytes pkix cert_rev_m_do_not_test_using_this_method cert_rev_m_test_using_this_method cert_rev_m_allow_network_fetching cert_rev_m_forbid_network_fetchi...
... tls session ticket extension (off by default) see ssl_enable_session_tickets in ssl.h new ssl error codes (see sslerr.h) ssl_error_un
supported_extension_alert ssl_error_certificate_unobtainable_alert ssl_error_unrecognized_name_alert ssl_error_bad_cert_status_response_alert ssl_error_bad_cert_hash_value_alert ssl_error_rx_unexpected_new_session_ticket ssl_error_rx_malformed_new_session_ticket new tls cipher suites (see sslproto.h): tls_rsa_with_camellia_128_cbc_sha tls_dhe_dss_with_camellia_128_cbc_sha tls_dhe_rsa_with_camellia...
...And 10 more matches
SpiderMonkey 1.8.5
—22 march 2011 platform
support spidermonkey 1.8.5 is
supported on all the platforms where firefox 4 runs.
...it is
supported only on x86, x86_64 and arm architectures.
...
support for extended class methods (in particular, jsequalityop) has been removed.
...And 10 more matches
customDBHeaders Preference
getting started to build upon the reply-to column tutorial, i'll describe the process i went through in developing a custom column to display a '
superfluous' column within thunderbird's main view.
... the data will come from a custom header labeled x-
superfluous.
...in addition to the preference outlined in setting up extension development environment, you'll want to add the following preferences: // this allows you to add extra headers while composing messages user_pref("mail.compose.other.header", "x-
superfluous,x-other,x-whatever"); // this enables the preservation of custom headers as incoming mail is processed user_pref( "mailnews.customdbheaders", "x-
superfluous,x-other"); important: please pay careful attention to the case of the mailnews.customdbheaders preference.
...And 10 more matches
ByteLengthQueuingStrategy - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbytelengthqueuingstrategy experimentalchrome full
support 59edge full
support 16firefox full
support 57disabled full
support 57disabled disabled from version 57: this feature is behind the dom.streams.enabled preference (needs to be set to true) and the javascript.options.streams prefere...
...to change preferences in firefox, visit about:config.ie no
support noopera full
support 46safari ?
... webview android full
support 59chrome android full
support 59firefox android full
support 57disabled full
support 57disabled disabled from version 57: this feature is behind the dom.streams.enabled preference (needs to be set to true) and the javascript.options.streams preference (needs to be set to true).
...And 10 more matches
CountQueuingStrategy - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcountqueuingstrategy experimentalchrome full
support 59edge full
support 16firefox full
support 57disabled full
support 57disabled disabled from version 57: this feature is behind the dom.streams.enabled preference (needs to be set to true) and the javascript.options.streams prefere...
...to change preferences in firefox, visit about:config.ie no
support noopera full
support 46safari ?
... webview android full
support 59chrome android full
support 59firefox android full
support 57disabled full
support 57disabled disabled from version 57: this feature is behind the dom.streams.enabled preference (needs to be set to true) and the javascript.options.streams preference (needs to be set to true).
...And 10 more matches
Guide to the Fullscreen API - Web APIs
prefixing note: currently, only firefox 64 and chrome 71
supports this unprefixed.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfullscreen deprecatedchrome full
support 71 full
support 71 full
support 15alternate name alternate name uses the non-standard name: webkitisfullscreenedge full
support ≤79 full
support ≤79 full
support ...
... ≤79alternate name alternate name uses the non-standard name: webkitisfullscreenfirefox full
support 64 full
support 64 no
support 49 — 65disabled disabled from version 49 until version 65 (exclusive): this feature is behind the full-screen-api.unprefix.enabled preference (needs to be set to true).
...And 10 more matches
NotificationEvent - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnotificationevent experimentalchrome full
support 42edge full
support ≤18firefox full
support 44notes full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie ?
... opera full
support 37safari ?
... webview android no
support nochrome android full
support 42firefox android full
support 44opera android full
support 37safari ios ?
...And 10 more matches
Geometry and reference spaces in WebXR - Web APIs
once created, an xrreferencespace guarantees a certain level of
support for motion and orientation tracking, and provides a mechanism for obtaining an xrviewerpose from which you can get a matrix which represents the position and facing direction of the space relative to the world space, if the space represents a viewer such as the user's headset, an observer's headset, or a virtual camera.
...this is used for environments in which the user can physically move around, and is
supported by all instances of xrsession, both immersive and inline, though it's most useful for inline sessions.
...to that end, webxr defines a set of standard spaces, called reference spaces, each of which
supports a different technique for correlating its local space's reference frame coordinate system to the coordinate system of the space in which it exists.
...And 10 more matches
Starting up and shutting down a WebXR session - Web APIs
webxr availability as a new and still in development api, webxr
support is limited to specific devices and browsers; and even on those, it may not be enabled by default.
... webxr polyfill the team designing the webxr specification has published a webxr polyfill which you can use to simulate webxr on browsers which don't have
support for the webxr apis.
... if the browser
supports the older webvr api, that is used.
...And 10 more matches
WritableStream - Web APIs
it shows the creation of the writablestream with a custom sink and an api-
supplied queueing strategy.
... backpressure because of how backpressure is
supported in the api, its implementation in code may be less than obvious.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetwritablestream experimentalchrome full
support 59edge full
support 16firefox no
support noie no
support noopera full
support 47safari ?
...And 10 more matches
<video>: The Video Embed element - HTML: Hypertext Markup Language
the html video element (<video>) embeds a media player which
supports video playback into the document.
... the content inside the opening and closing <video></video> tags is shown as a fallback in browsers that don't
support the element.
... attributes like all other html elements, this element
supports the global attributes.
...And 10 more matches
Details of the object model - JavaScript
the subclass inherits all the properties of the
superclass and additionally can add new properties or modify the inherited ones.
...in java, you specify the
superclass within the class definition.
... you cannot change the
superclass outside the class definition.
...And 10 more matches
Authoring MathML - MathML
using mathml mathml in html pages you can use presentation mathml inside html5 documents: <!doctype html> <html> <head> <title>mathml in html5</title> </head> <body> <h1>mathml in html5</h1> <p> square root of two: <math> <msqrt> <mn>2</mn> </msqrt> </math> </p> </body> </html> content mathml is not
supported by browsers.
... fallback for browsers without mathml
support unfortunately, some browsers are not able to render mathml equations or only have a limited
support.
...there is also a similar script to display a warning at the top of the page for browsers without good mathml
support and let the users choose between one of the fallback above: <script src="https://fred-wang.github.io/mathml-warning.js/mpadded-min.js"></script> if you don't want to use this link to github but instead to integrate these polyfills or others in your own project, you might need the detection scripts to verify the level of mathml
support.
...And 10 more matches
page-mod - Archive of obsolete content
org": var pagemod = require("sdk/page-mod"); pagemod.pagemod({ include: "*.mozilla.org", contentscript: 'window.alert("page matches ruleset");' }); you can modify the document in your script: var pagemod = require("sdk/page-mod"); pagemod.pagemod({ include: "*.mozilla.org", contentscript: 'document.body.innerhtml = ' + ' "<h1>page matches ruleset</h1>";' }); you can
supply the content script(s) in one of two ways: as a string literal, or an array of string literals, assigned to the contentscript option, as above as separate files
supplied in your add-on's "data" directory.
... if you
supply the scripts as separate files in the "data" directory, you specify them using with a url, typically constructed using the url() method of the self module's data object: var data = require("sdk/self").data; var pagemod = require("sdk/page-mod"); pagemod.pagemod({ include: "*.mozilla.org", contentscriptfile: data.url("my-script.js") }); var data = require("sdk/self").data; var pagemod = require("sdk/page-mod"); pagemod.pagemod({ include: "*.mozilla.org", contentscriptfile: [data.url("jquery-1.7.min.js"), data.url("my-script.js")] }); from firefox 34, you can use "./my-script.js" as an alias for self.data.url("my-script.js").
... the pagemod constructor takes a number of other options to control its behavior: contentstyle lists stylesheets to attach,
supplied as strings.
...And 9 more matches
Frequently Asked Questions - Archive of obsolete content
this is either because your browser doesn't
support svg (you must have mozilla firefox 1.5 or newer), or because the webpage/server isn't correctly telling mozilla that the file contains svg.
... can i use a plugin for svg instead of mozilla's native
support?
...the native svg
support must be turned off before mozilla will look to see if there's an svg plugin installed.
...And 9 more matches
Archived Mozilla and build documentation - Archive of obsolete content
activex control for hosting netscape plug-ins in ie microsoft has removed
support for netscape plug-ins from ie 5.5 sp 2 and beyond.
...mozilla dtrace
support has been added by the sun dtrace team and can be used on solaris 10 and mac os x 10.5.
...liveconnect gives your extension's javascript code (linked from or contained in xul code) access to 2 objects: java and packages (note that per this thread, although the new documentation for the liveconnect reimplementation states that these globals will be deprecated (in the context of applets), "firefox and the java plug-in will continue to
support the global java/packages keywords, in particular in the context of firefox extensions.").
...And 9 more matches
Introduction to Public-Key Cryptography - Archive of obsolete content
certificates are one way of
supporting authentication.
... client and server authentication are not the only forms of authentication that certificates
support.
...the user must
supply a name and password separately for each new server the user wishes to use during a work session.
...And 9 more matches
Client-side form validation - Learn web development
the presence of the required attribute on any element that
supports this attribute means the element matches the :required pseudoclass whether it has a value or not.
...regular expressions are case-sensitive, but we've made it
support capitalized as well as lower-case versions using an extra "aa" pattern nested inside square brackets.
... note: the <textarea> element doesn't
support the pattern attribute.
...And 9 more matches
Introduction to client-side frameworks - Learn web development
it is an older framework that has less users than more modern alternatives such as react and vue, but it still enjoys a fair amount of popularity due to its stability, community
support, and some clever coding principles.
...angular uses typescript, a
superset of javascript that we’ll look at in a little more detail in the next chapter.
... some extra code is inevitable, and a framework that
supports tree-shaking (removal of any code that isn't actually used in the app during the build process) will allow you to keep your applications small, but this is still a factor you need to keep in mind when considering your app's performance, especially on more network/storage-constrained devices, like mobile phones.
...And 9 more matches
Basics
"decrease input">-</a> right size: <a class="control" href="javascript:incrementinput('input12', 1);" title="increase input">+</a> <a class="control" href="javascript:incrementinput('input12',-1);" title="decrease input">-</a> <br/> (click these control buttons to see their effects.) </div> <p> each entry of the following matrix represents <math> <m
sup><mrow><mo>(</mo><mi>x</mi><mo>+</mo><mi>y</mi><mo>)</mo></mrow><mi>n</mi></m
sup> </math> for some <i>n</i>.
...</p> <div> <math display="block"> <mtable> <mtr> <mtd> <mtable align="axis" columnalign="left left left"> <mtr> <mtd> <maction id="a11" actiontype="toggle" selection="2"> <m
sup> <mrow> <mo>(</mo> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> <mo>)</mo> </mrow> <mn>0</mn> </m
sup> <mn>1</mn> </maction> </mtd> <mtd> <maction id="a12" actiontype="toggle" selection="2"> <m
sup> <mrow> <mo>(</mo> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> <mo>)</mo> </mrow> <mn>1</mn> </m
sup> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> </maction> </mtd> <mtd> <maction id="a13" actiontype="tog...
...gle" selection="2"> <m
sup> <mrow> <mo>(</mo> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> <mo>)</mo> </mrow> <mn>2</mn> </m
sup> <mrow> <m
sup> <mi>x</mi> <mn>2</mn> </m
sup> <mo>+</mo> <mrow> <mn>2</mn> <mo>&invisibletimes;</mo> <mi>x</mi> <mo>&invisibletimes;</mo> <mi>y</mi> </mrow> <mo>+</mo> <m
sup> <mi>y</mi> <mn>2</mn> </m
sup> </mrow> </maction> </mtd> </mtr> <mtr> <mtd> <maction id="a21" actiontype="toggle" selection="2"> <m
sup> <mrow> <mo>(</mo> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> <mo>)</mo> </mrow> <mn>1</mn> </m
sup> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> </maction> </mtd> <mtd> <maction id="a22" actiontype="toggle" selection="2"> <m
sup> <mrow> <mo>(</mo> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> <mo>)</mo> </mrow> <mn>2</mn> </m
sup> <mrow> <m
sup> <mi>x</mi>...
...And 9 more matches
Fonts for Mozilla 2.0's MathML engine
these variant or part glyphs do not in general have unicode assignments, and so font-specific
support is required for some characters.
... mozilla has general
support for the common delimiters and arrows that have the necessary unicode assignments.
... for other characters, mozilla has font-specific
support.
...And 9 more matches
Finishing the Component
the danger of using unfrozen interfaces
suppose that you need to use the interface nsifoo that isn't frozen.
...moreover, since this interface was never
supposed to be used by clients other than gecko or mozilla, the maintainers of the interface don't know that it's being used, and don't change the iid of the interface.
...but unfrozen interfaces are not
supported in any formal way, and relying upon a different iid for any change in the interface is not a good idea either.
...And 9 more matches
Observer Notifications
you can cancel the shutdown from here by setting asubject.data to true (asubject is the first parameter to your observer, the data value is an nsi
supportsprbool).
...the data value is an nsi
supportsprbool.
... the window id can be obtained from subject.queryinterface(components.interfaces.nsi
supportspruint64).data outer-window-destroyed nsidomwindow called when an outer window is disconnected from its docshell.
...And 9 more matches
nsIWebBrowserPersist
to create an instance, use: var webbrowserpersist = components.classes["@mozilla.org/embedding/browser/nswebbrowserpersist;1"] .createinstance(components.interfaces.nsiwebbrowserpersist); method overview void cancelsave(); void savechannel(in nsichannel achannel, in nsi
supports afile); void savedocument(in nsidomdocument adocument, in nsi
supports afile, in nsi
supports adatapath, in string aoutputcontenttype, in unsigned long aencodingflags, in unsigned long awrapcolumn); void saveuri(in nsiuri auri, in nsi
supports acachekey, in nsiuri areferrer, in long areferrerpolicy, in nsiinputstream apostdata, in string aextraheaders, in nsi
supports afile, i...
...n nsiloadcontext aprivacycontext); void saveprivacyawareuri(in nsiuri auri, in nsi
supports acachekey, in nsiuri areferrer, in long areferrerpolicy, in nsiinputstream apostdata, in string aextraheaders, in nsi
supports afile, in boolean aisprivate); attributes attribute type description currentstate unsigned long current state of the persister object.
...the object that the embbedder
supplies may also implement nsiinterfacerequestor and be prepared to return nsiauthprompt or other interfaces that may be required to download data.
...And 9 more matches
Document.execCommand() - Web APIs
syntax document.execcommand(acommandname, ashowdefaultui, avalueargument) return value a boolean that is false if the command is un
supported or disabled.
...don't try using the return value to verify browser
support before calling a command.
...(not
supported by internet explorer.) copy copies the current selection to the clipboard.
...And 9 more matches
Media Capabilities API - Web APIs
the media capabilities api allows developers to determine decoding and encoding abilities of the device, exposing information such as whether media is
supported and whether playback should be smooth and power efficient, with real time feedback about playback to better enable adaptive streaming, and access to display property information.
... examples detect audio file
support and expected performance this example defines a audio configuration then checks to see if the user agent
supports decoding that media configuration, and whether it will perform well in terms of smoothness and power efficiency.
... if ('mediacapabilities' in navigator) { const audiofileconfiguration = { type : 'file', audio : { contenttype: "audio/mp3", channels: 2, bitrate: 132700, samplerate: 5200 } }; navigator.mediacapabilities.decodinginfo(audiofileconfiguration).then(result => { console.log('this configuration is ' + (result.
supported ?
...And 9 more matches
Using the Resource Timing API - Web APIs
function calculate_load_times() { // check performance
support if (performance === undefined) { console.log("= calculate load times: performance not
supported"); return; } // get a list of "resource" performance entries var resources = performance.getentriesbytype("resource"); if (resources === undefined || resources.length <= 0) { console.log("= calculate load times: there are no `resource` performance records"); return; } ...
... function display_size_data(){ // check for
support of the performanceresourcetiming.*size properties and print their values // if
supported.
... if (performance === undefined) { console.log("= display size data: performance not
supported"); return; } var list = performance.getentriesbytype("resource"); if (list === undefined) { console.log("= display size data: performance.getentriesbytype() is not
supported"); return; } // for each "resource", display its *size property values console.log("= display size data"); for (var i=0; i < list.length; i++) { console.log("== resource[" + i + "] - " + list[i].name); if ("decodedbodysize" in list[i]) console.log("...
...And 9 more matches
Variable fonts guide - CSS: Cascading Style Sheets
for example linux oses need the latest linux freetype version, and macos prior to 10.13 does not
support variable fonts.
...the lower-level syntax (font-variation-settings) was the first mechanism implemented in order to test the early implementations of variable font
support, and is necessary to utilize new or custom axes beyond the five registered ones.
...if a number value
supplied is outside the range encoded in the font, the browser should render the font at the closest value allowed.
...And 9 more matches
break-before - CSS: Cascading Style Sheets
support in multi-column layout desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet
supported in multi-column layoutchrome full
support 50edge full
support 12firefox full
support ...
... 65ie full
support 10opera full
support 37 full
support 37 no
support 11.1 — 12.1safari no
support nowebview android full
support 50chrome android full
support 50firefox android full
support 65opera android full
support 37 full
support 37 no
support 11.1 — 12.1safari ios no
support ...
...nosamsung internet android full
support 5.0always experimentalchrome no
support noedge no
support nofirefox no
support noie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios ...
...And 9 more matches
MCD, Mission Control Desktop, AKA AutoConfig - Archive of obsolete content
thunderbird (previous release)
support of autoconfig and ldap calls below is a "try and catch" we had in previous release of thunderbird where that feature wasn't compiled in by default, it can help if needed ...
... unfortunately, the autoconfig option and ldap
support for autoconfig (getldapattributes) was not compiled in fedora11 default thunderbird package (thunderbird-3.0-2.3.beta2.fc11.src.rpm) .
... autoconfig option and ldap
support in thunderbird 1.5.x fortunately, autoconfig is now part of thunderbird default packages.
...And 8 more matches
XUL Questions and Answers - Archive of obsolete content
loading remote dtds for xml documents is currenty not
supported in xul.
... is there an editor widget in xul that
supports syntax highlighting?
... there are several options for displaying graphics and animation in xul: <html:canvas> svg <xul:image> (static images or animated gif;
support for apng is planned) plugins templates with non-rdf datasources?
...And 8 more matches
Using the Right Markup to Invoke Plugins - Archive of obsolete content
with the release of netscape 7.1, this kind of activex use of the object element is
supported for use with the microsoft® windows media player.
... only the windows media player is
supported as an activex control in netscape 7.1.
... browsers such as netscape 7 will not render the flash plugin if the above kind of markup is used, because netscape 7 does not
support activex or activex-based component invocations, with the exception of windows media player in netscape 7.1.
...And 8 more matches
The HTML5 input types - Learn web development
note: most of the features discussed in this article have wide
support across browsers.
...if you want more detail on browser
support, you should consult our html forms element reference, and in particular our extensive <input> types reference.
... note: number inputs are not
supported in versions of internet explorer below 10.
...And 8 more matches
Introduction to Network Security Services
network security services (nss) is a set of libraries designed to
support cross-platform development of communications applications that
support ssl, s/mime, and other internet security standards.
... for a general overview of nss and the standards it
supports, see overview of nss.
...three shared libraries export public functions: the ssl library
supports core ssl operations.
...And 8 more matches
NSS tools : modutil
modutil
supports two types of databases: the legacy security databases (cert8.db, key3.db, and secmod.db) and new sqlite databases (cert9.db, key4.db, and pkcs11.txt).
... modutil
supports several mechanisms: rsa, dsa, rc2, rc4, rc5, aes, des, dh, sha1, sha256, sha512, ssl, tls, md5, md2, random (for random number generation), and friendly (meaning certificates are publicly readable).
... modutil -create -dbdir [sql:]directory adding a cryptographic module adding a pkcs #11 module means submitting a
supporting library file, enabling its ciphers, and setting default provider status for various security mechanisms.
...And 8 more matches
NSS tools : modutil
modutil
supports two types of databases: the legacy security databases (cert8.db, key3.db, and secmod.db) and new sqlite databases (cert9.db, key4.db, and pkcs11.txt).
... modutil
supports several mechanisms: rsa, dsa, rc2, rc4, rc5, aes, des, dh, sha1, sha256, sha512, ssl, tls, md5, md2, random (for random number generation), and friendly (meaning certificates are publicly readable).
... modutil -create -dbdir [sql:]directory adding a cryptographic module adding a pkcs #11 module means submitting a
supporting library file, enabling its ciphers, and setting default provider status for various security mechanisms.
...And 8 more matches
Plug-in Basics - Plugins
i found other way how check which paths
support firefox : $ strace -y /usr/bin/firefox 2>&1 | grep acces | grep -v search | grep plugins access("/home/user_name/.mozilla/firefox/dqh2nb5k.default-1441864569209/plugins", f_ok) = -1 enoent (no such file or directory) access("/home/user_name/.mozilla/plugins", f_ok) = -1 enoent (no such file or directory) access("/usr/lib64/firefox/browser/plugins", f_ok) = -1 enoent (no such file or director...
... firefox and opensuse probably use "moz_plugin_path environment variable" in script to run firefox, so in this way /usr/lib64/mozilla/plugins also should be
supported.
...gecko displays a page listing all installed plug-ins and the mime types they handle, as well as optional descriptive information
supplied by the plug-in.
...And 8 more matches
FileSystemDirectoryEntry - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilesystemdirectoryentry experimentalchrome full
support 8alternate name full
support 8alternate name alternate name uses the non-standard name: directoryentryedge full
support 79prefixed full
support 79prefixed prefixed implemented with the vendor prefix: webkitfirefox ...
... full
support 50ie no
support noopera full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitsafari full
support 11.1webview android full
support ≤37alternate name full
support ≤37alternate name alternate name uses the non-standard name: directoryentrychrome android full
support 18alternate name full
support 18alternate name alternate name uses the non-standa...
...rd name: directoryentryfirefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitcreatereader experimentalchrome full
support 13edge full
support 79firefox full
support 50ie no
support noopera no
support ...
...And 8 more matches
FontFaceSetLoadEvent - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfontfacesetloadevent experimentalchrome full
support 35edge full
support ≤79firefox full
support yesie ?
... opera full
support 22safari ?
... webview android no
support nochrome android full
support 35firefox android full
support yesopera android full
support 22safari ios ?
...And 8 more matches
Using IndexedDB - Web APIs
// moreover, you may need references to some window.idb* objects: window.idbtransaction = window.idbtransaction || window.webkitidbtransaction || window.msidbtransaction || {read_write: "readwrite"}; // this line should only be needed if it is needed to
support the object's constants for older browsers window.idbkeyrange = window.idbkeyrange || window.webkitidbkeyrange || window.msidbkeyrange; // (mozilla has never prefixed these objects, so we don't need window.mozidb*) beware that implementations that use a prefix may be buggy, or incomplete, or following an old version of the specification.
...it may be preferable to not
support a browser than to claim to
support it and fail: if (!window.indexeddb) { console.log("your browser doesn't
support a stable version of indexeddb.
... blink/webkit
supports the current version of the spec, as shipped in chrome 23+ and opera 17+; ie10+ does too.
...And 8 more matches
Signaling and video calling - Web APIs
in this article, we will further enhance the websocket chat first created as part of our websocket documentation (this article link is forthcoming; it isn't actually online yet) to
support opening a two-way video call between users.
...the server
supports several message types to handle tasks, such as registering new users, setting usernames, and sending public chat messages.
... to allow the server to
support signaling and ice negotiation, we need to update the code.
...And 8 more matches
HTML in XMLHttpRequest - Web APIs
the w3c xmlhttprequest specification adds html parsing
support to xmlhttprequest, which originally
supported only xml parsing.
... limitations to discourage the synchronous use of xmlhttprequest, html
support is not available in the synchronous mode.
... also, html
support is only available if the responsetype property has been set to "document".
...And 8 more matches
WebKit CSS extensions - CSS: Cascading Style Sheets
applications based on webkit or blink, such as safari and chrome,
support a number of special webkit extensions to css.
...old prefixed syntax is still
supported in some browsers.
...phasis-style -webkit-text-justify -webkit-text-orientation -webkit-text-size-adjust -webkit-text-underline-position -webkit-transform -webkit-transform-origin -webkit-transform-style -webkit-transition -webkit-transition-delay -webkit-transition-duration -webkit-transition-property -webkit-transition-timing-function u-w -webkit-user-select -epub-word-break -epub-writing-mode
supported in non-webkit browsers without a prefix, but not standard the following properties are
supported in at least one browser without a prefix, but are not on the standards track.
...And 8 more matches
break-after - CSS: Cascading Style Sheets
support in multi-column layout desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet
supported in multi-column layoutchrome full
support 50edge full
support 12firefox no
support ...
... noie full
support 10opera full
support 37 full
support 37 no
support 11.1 — 12.1safari no
support nowebview android full
support 50chrome android full
support 50firefox android no
support noopera android full
support 37 full
support 37 no
support 11.1 — 12.1safari ios no
support nosa...
...msung internet android full
support 5.0alwayschrome no
support noedge no
support nofirefox no
support noie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios no
suppor...
...And 8 more matches
<img>: The Image Embed element - HTML: Hypertext Markup Language
supported image formats the html standard doesn't list what image formats to
support, so each user agent
supports different formats.
... a complete guide to image formats
supported by web browsers is available.
..., opera, safari tiff tagged image file format image/tiff .tif, .tiff none built-in; add-ons required webp web picture format image/webp .webp chrome, edge, firefox, opera the abbreviation for each format links to a longer description of the format, its capabilities, and detailed browser compatibility information; including which versions introduced
support and specific special features that may have been introduced later.
...And 8 more matches
Tools for SVG - SVG: Scalable Vector Graphics
browser
support as of internet explorer 9, all major browsers
support svg: ie 9, mozilla firefox, safari, google chrome and opera.
... mobile devices with webkit-based browsers also
support svg.
... on older or smaller devices, chances are that svg tiny is
supported.
...And 8 more matches
ui/toolbar - Archive of obsolete content
unlike a panel, a toolbar: does not overlap with any web content is persistent, remaining visible until the user chooses to close it is a fixed size, and appears in a fixed location usage creating and destroying toolbars you don't specify toolbar content directly: instead, you create other ui components and
supply them to the toolbar constructor.
... you can
supply three sorts of ui components: action buttons toggle buttons frames this add-on builds part of the user interface for a music player using action buttons for the controls and a frame to display art and the currently playing song: var { actionbutton } = require('sdk/ui/button/action'); var { toolbar } = require("sdk/ui/toolbar"); var { frame } = require("sdk/ui/frame"); var previous = actionbutton({ id: "previous", label: "previous", icon: "./icons/previous.png" }); var next = actionbutton({ id: "next", label: "next", icon: "./icons/next.png" }); var play = actionbutton({ id: "play", label: "play", icon: "./icons/play.png" }); var frame = new frame({ url: "./frame-player.html" }); var toolbar = toolbar({ title: "player", items: [previous, nex...
...the only mandatory option is title, but for the toolbar to contain any actual content, the items parameter must also be
supplied, and must contain at least object.
...And 7 more matches
jpm - Archive of obsolete content
jpm usage is: jpm [command] [options] jpm
supports the following global options: -h, --help - show a help message and exit -v, --version - print the jpm version number --addon-dir - directory for your source code, defaulting to the current directory installation jpm is distributed with the node package manager npm.
... command reference jpm
supports the following commands: jpm init create a skeleton add-on as a starting point for your add-on.
... mkdir my-addon cd my-addon jpm init you'll then be asked to
supply some information about your add-on: this will be used to create your add-on's package.json file.
...And 7 more matches
What text editors are available? - Learn web development
do i need
support/help while using my text editor?
... here are some popular editors: editor licence price os
support doc.
... change syntax highlighting settings and colors play with indentation width, setting it to an appropriate setting for your needs check autosave and session saving settings configure any available plugins and investigate how to get new ones change color schemes adjust view settings and see how you can change the layout of the views check what programming languages/technologies your editor
supports while you're learning the default settings of most text editors should be fine to use, but it is important to become familiar with your chosen tools, so you can select the best one for your usage.
...And 7 more matches
Overview of Mozilla embedding APIs
mozilla's xpcom layer consists of a component model (called xpcom) and the infrastructure necessary to
support dynamic registration, instantiation and manipulation of xpcom components.
... nsstring there are a collection of string classes which
support both unicode and ascii strings.
... nsweakptr this is an nscomptr which encapsulates xpcom weak reference
support.
...And 7 more matches
Introduction to NSPR
nspr threads are scheduled in two separate domains: local threads are scheduled within a process only and are handled entirely by nspr, either by completely emulating threads on each host operating system (os) that doesn't
support threads, or by using the threading facilities of each host os that does
support threads to emulate a relatively large number of local threads by using a relatively small number of native threads.
... setting thread priorities the host operating systems
supported by nspr differ widely in the mechanisms they use to
support thread priorities.
... the issue is further muddied by inconsistent offerings from os vendors regarding the priority of their kernel-
supported threads.
...And 7 more matches
JSS FAQ
does jss have 64 bit
support?
... how can i tell which ssl/tls ciphers jss
supports?
... jss 3.2 has jca
support.
...And 7 more matches
NSS functions
in addition to the functions listed here, applications that
support ssl use some of the certificate functions, crypto functions, and utility functions described below on this page.
... other sources of information: the nss_reference documents the functions most commonly used by applications to
support ssl.
...the nss version column indicates which versions of nss
support the function.
...And 7 more matches
Gecko object attributes
« at apis
support page introduction you can obtain object attributes by nsiaccessible.getattributes() method.
...see the live region
support for more information.
...see the live region
support for more information.
...And 7 more matches
Component Internals
these latter
supply ease-of-development utilities like smart pointers, generic modules
support, and simple string implementations.
...additionally, it relates the components to the type libraries in which the binary representations of the interfaces they
support are defined.
...there are two
supported ways to go about registering your xpcom component.
...And 7 more matches
nsIWebNavigationInfo
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) implemented by: @mozilla.org/webnavigation-info;1 as a service: var webnavigationinfo = components.classes["@mozilla.org/webnavigation-info;1"] .getservice(components.interfaces.nsiwebnavigationinfo); method overview unsigned long istype
supported(in acstring atype, in nsiwebnavigation awebnav); constants
support type constants constant value description un
supported 0 returned by istype
supported() to indicate lack of
support fo...
... note: this is guaranteed not to change, so that boolean tests can be done on the return value if istype
supported to detect whether a type is
supported at all.
... image 1 returned by istype
supported() to indicate that a type is
supported as an image.
...And 7 more matches
Weak reference
but in this design, by hitching its life to the observable, it is kept on life-
support long past any need or use.
... the following assumes that any nsiobserver that is passed in also implements nsi
supportsweakreference.
...additionally, nscomptr now
supports the new key do_queryreferent to simplify life even further.
...And 7 more matches
Index
the following preferences are
supported to control how this gets logged: 30 gloda examples thunderbird 3, thunderbird this page provides some examples for using gloda.
...glodaabindexer has the limited address book
support.
... 32 index index found 72 pages: 33 ldap
support administration, enterprise, thunderbird this document is intended to "fill in the gaps" about how enterprise customers can leverage and customize ldap
support in mozilla thunderbird.
...And 7 more matches
Slottable - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetslottable experimentalchrome full
support 53edge full
support 79firefox full
support 63 full
support 63 no
support 59 — 63disabled disabled from version 59 until version 63 (exclusive): this feature is behind the dom.webcomponents.shadowdom.enab...
... no
support ?
...to change preferences in firefox, visit about:config.ie no
support noopera full
support 40safari full
support 10.1webview android full
support 53chrome android full
support 53firefox android full
support 63 full
support 63 no
support 5...
...And 7 more matches
SubtleCrypto.unwrapKey() - Web APIs
not
supported raised when trying to use an algorithm that is either unknown or isn't suitable for encryption or wrapping.
...
supported algorithms the unwrapkey() method
supports the same algorithms as the wrapkey() method.
... /* salt that is to be used in derivation of the key-wrapping key, alongside the password the user
supplies.
...And 7 more matches
ARIA Test Cases - Accessibility
or copy-paste: http://oaa-accessibility.org/examples/ for each example we test the "expected" results with assistive technologies, for each browser that at
supports wai-aria in.
... voiceover (leopard) n/a n/a - fail window-eyes - - - - nvda - - - - zoom (leopard) pass n/a pass pass zoomtext - - - - orca - - - - table legend - no info/test yet n/a not applicable (not
supported technically) pass expected behaviour met fail expected behaviour notmet 1.
...if an item is focused within the list, this should be announced next, followed by an indication of this item's position within the list if the screen reader
supports this in other lists as well.
...And 7 more matches
Accessibility documentation index - Accessibility
it
supplements html so that interactions and widgets commonly used in applications can be passed to assistive technologies 3 aria screen reader implementors guide aria, accessibility this is just a guide.
...the intention is to strike a balance between providing useful guidance on how to use the markup's intended meaning while
supporting live regions as an area for screen readers to innovate and compete.
... 4 aria test cases aria, accessibility for each example we test the "expected" results with assistive technologies, for each browser that at
supports wai-aria in.
...And 7 more matches
background-size - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbackground-sizechrome full
support 3 full
support 3 full
support 1prefixed notes prefixed implemented with the vendor prefix: -webkit-notes webkit-based browsers originally implemented an older draft of css3 background-size in which an omitted second value is treated as duplicating the first value; this draft ...
...does not include the contain or cover keywords.edge full
support 12firefox full
support 4 full
support 4 full
support 49prefixed prefixed implemented with the vendor prefix: -webkit- no
support 3.6 — 4prefixed prefixed implemented with the vendor prefix: -moz-ie full
support 9opera full
support 10 full
support 10 full
support 15prefixed notes prefixed implemented with the vendor prefix: -webkit-notes webkit-base...
... no
support 9.5 — 15prefixed notes prefixed implemented with the vendor prefix: -o-notes opera 9.5's computation of the background positioning area is incorrect for fixed backgrounds.
...And 7 more matches
font-variant - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfont-variantchrome full
support 1edge full
support 12firefox full
support 1ie full
support 4opera full
support 3.5safari full
support 1webview android full s...
...upport 1chrome android full
support 18firefox android full
support 4opera android full
support 11safari ios full
support 1samsung internet android full
support 1.0css fonts module level 3 shorthandchrome full
support 52edge full
support 79firefox full
support 34 full
support 34 no
support 33 — 34disabled disabled from version 33 until vers...
...to change preferences in firefox, visit about:config.ie no
support noopera full
support 39safari full
support 9.1webview android full
support 52chrome android full
support 52firefox android full
support 34 full
support 34 no
support 33 — 34disabled disabled from version 33 until version 34 (exclusive): this feature is behind the layout.css.
...And 7 more matches
position - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpositionchrome full
support 1edge full
support 12firefox full
support 1notes full
support 1notes notes before firefox 57, absolute positioning did not work correctly when applied to elements inside tables that have border-collapse applied to them (bug 137930...
...6).notes before firefox 30, absolute positioning of table rows and row groups was not
supported (bug 63895).ie full
support 4opera full
support 4safari full
support 1webview android full
support ≤37chrome android full
support 18firefox android full
support 4notes full
support 4notes notes before firefox 57, absolute positioning did not work correctly when applied to elements inside tables that have border-collapse applied to them (bug 1379306).notes before firefox 30, absolute pos...
...itioning of table rows and row groups was not
supported (bug 63895).opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0absolutely-positioned flex childrenchrome full
support 52edge full
support 12firefox full
support 52ie full
support 10opera full
support 39safari full
support 11webview android full
support ...
...And 7 more matches
<input type="range"> - HTML: Hypertext Markup Language
if the user's browser doesn't
support type range, it will fall back and treat it as a text input.
... events change and input
supported common attributes autocomplete, list, max, min, and step idl attributes list, value, and valueasnumber methods stepdown() and stepup() validation there is no pattern validation available; however, the following forms of automatic validation are performed: if the value is set to something which can't be converted into a valid floating-point number, validation fails because the input is suffering from a bad input.
... see the range control with hash marks below for an example of how the options on a range are denoted in
supported browsers max the greatest value in the range of permitted values.
...And 7 more matches
HTML elements reference - HTML: Hypertext Markup Language
<rp> the html ruby fallback parenthesis (<rp>) element is used to provide fall-back parentheses for browsers that do not
support display of ruby annotations using the <ruby> element.
... <
sup> the html
superscript element (<
sup>) specifies inline text which is to be displayed as
superscript for solely typographical reasons.
... image and multimedia html
supports various multimedia resources such as images, audio, and video.
...And 7 more matches
Inheritance and the prototype chain - JavaScript
the new keywords include class, constructor, static, extends, and
super.
... 'use strict'; class polygon { constructor(height, width) { this.height = height; this.width = width; } } class square extends polygon { constructor(sidelength) {
super(sidelength, sidelength); } get area() { return this.height * this.width; } set sidelength(newlength) { this.height = newlength; this.width = newlength; } } var square = new square(2); performance the lookup time for properties that are high up on the prototype chain can have a negative impact on the performance, and this may be significant in the code where performance is critical.
... name example(s) pro(s) con(s) new-initialization function foo(){} foo.prototype = { foo_prop: "foo val" }; function bar(){} var proto = new foo; proto.bar_prop = "bar val"; bar.prototype = proto; var inst = new bar; console.log(inst.foo_prop); console.log(inst.bar_prop);
supported in every browser imaginable (
support goes all the way back to ie 5.5!).
...And 7 more matches
WebAssembly.Table - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jstablechrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0table() constructorchrome ...
... full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
support 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support ...
...And 7 more matches
Media type and format guide: image, audio, and video content - Web media technologies
since nearly its beginning, the web has included
support for some form of visual media presentation.
...the modern web has powerful features to
support the presentation and manipulation of media, with several media-related apis
supporting various types of content.
... generally, the media formats
supported by a browser are entirely up to the browser's creators, which can complicate the work of a web developer.
...And 7 more matches
The building blocks of responsive design - Progressive web apps (PWAs)
it is usually much better to create a single version of your code which doesn't care about what browser or platform is accessing the site, but instead uses feature tests to find out what code features the browser
supports or what the values of certain browser features are, and then adjusts the code appropriately.
...you don't get caught in the situation of having to bring out more new site versions as more new browsers and platforms come out, and adjust code as feature
support in existing browsers changes.
...this is probably a more logical place to put such information, but the spec is not as well
supported as the viewport meta tag, therefore you should stick with that for now.
...And 7 more matches
l10n - Archive of obsolete content
localized strings are
supplied by the add-on developer in .properties files stored in the add-ons "locale" directory.
... if you're
supplying different localizations for a string depending on the number of items (that is, whether to use a singular or plural form) then get() takes a second integer parameter which indicates the number of items there are.
... you can
supply one or more placeholders to get(), which are strings, such as proper names, that should not be translated themselves but instead should be inserted into the translated string.
...And 6 more matches
Preferences - Archive of obsolete content
however, there is a concept of complex types, which makes it easier for developers to save and load nsilocalfile and nsi
supportsstring objects in preferences (as strings — note that from the preferences system's point of view, complex values have a nsiprefbranch.pref_string type.) there are two nsiprefbranch methods implementing the concept — setcomplexvalue() and getcomplexvalue().
...here are the idl definitions: void getcomplexvalue(in string aprefname, in nsiidref atype, [iid_is(atype), retval] out nsqiresult avalue); void setcomplexvalue(in string aprefname, in nsiidref atype, in nsi
supports avalue); as you can see, both of them take a parameter, atype, which can have one of the following values (to be precise, you should pass components.interfaces.nsiwhatever instead of just nsiwhatever, which is undefined).
... nsi
supportsstring used to handle unicode strings in preferences.
...And 6 more matches
Migrating from Internal Linkage to Frozen Linkage - Archive of obsolete content
use .setlength() instead: nsstring mystring = somestring; - mystring.truncate(4); + mystring.setlength(4); the frozen string api doesn't
support the iterator or const_iterator classes, but you can use pointers the same way: nsstring mystring = somestring; - nsstring::const_iterator begin, end;- mystring.beginreading(begin); mystring.endreading(end); + const prunichar *begin, *end;+ mystring.beginreading(&begin, &end); the frozen string api uses comparator functions instead of a virtual comparator class.
...you need to
supply the appropriate conversion yourself.
...these classes must now be created using xpcom: // nsi
supportsarray is bad!
...And 6 more matches
Drag and Drop JavaScript Wrapper - Archive of obsolete content
« previousnext » gecko 1.9.1 (firefox 3.5) and later
supports a newer and simpler api.
...get
supportedflavours() this function should return a list of flavors that the object being dragged over can accept.
...for elements that can have objects dropped on them, you should define ondragover, ondrop and get
supportedflavours (and, if desired, ondragexit).
...And 6 more matches
The Joy of XUL - Archive of obsolete content
the key features and benefits of xul will be explored followed by an examination of
supporting mozilla technologies.
... in fact, many developers invest a significant amount of effort to achieve these results in their dhtml web applications but at the cost of complexity and performance and without any
supporting standards.
...considering the broad range of platforms that currently
support mozilla, this may be one of the most compelling features of xul as a technology for building applications.
...And 6 more matches
Common Firefox theme issues and solutions - Archive of obsolete content
please see the following threads on mozillazine for solutions to this issue: http://forums.mozillazine.org/viewtopic.php?f=18&t=2131121 http://forums.mozillazine.org/viewtopic.php?f=18&t=1953371&start=60 windows 7 aero not going into full screen mode properly on win7 with aero glass
support firefox doesn't always go to full screen mode from a normal window properly.
... the resolution to this issue is to add the following code to your browser.css file somewhere below where the main-window is made transparent to
support aero glass.
...themes that use -moz-border-image and
support both firefox 14 and newer as well as older versions of firefox need to use both the older and newer methodologies like the following example.
...And 6 more matches
Using the W3C DOM - Archive of obsolete content
w3c dom standards are well
supported by modern browsers, however the standards are moving target so
support for newer features should be tested before use.
... using w3c standards means that code will run in compliant browsers with minimal need for cross-browser
support, whereas code based on proprietary standards requires much more effort to be compatible with multiple user agents.
... un
supported dom-related properties the following ie proprietary document object properties are not
supported in the w3c document object model: document.layers[] id_attribute_value document.all document.all.id_attribute_value document.all[id_attribute_value] the following form related properties (originally from internet explorer) are not
supported in the w3c document object model: formname.inputname.value inputname.value formctrlname document.forms(0) (note: document.forms[0] (using square brackets) uses the dom standard forms collection) scripts that use these properties will throw errors in most standards-compliant browsers.
...And 6 more matches
HTML forms in legacy browsers - Learn web development
and html5 <input> types don't fail when not
supported: they fall back to type=text.
...just check the
support of the elements (or dom interface) you want to use.
...there are other resources that can be amazingly helpful: browser vendor documentation mozilla: you're in the right place, just browse mdn microsoft: internet explorer standards
support documentation webkit: because there are several different editions of this engine, things are a little trickier.
...And 6 more matches
Other form controls - Learn web development
note: all browsers that
support the <select> element also
support the multiple attribute.
... <label for="myfruit">what's your favorite fruit?</label> <input type="text" name="myfruit" id="myfruit" list="mysuggestion"> <datalist id="mysuggestion"> <option>apple</option> <option>banana</option> <option>blackberry</option> <option>blueberry</option> <option>lemon</option> <option>lychee</option> <option>peach</option> <option>pear</option> </datalist> datalist
support and fallbacks almost all browsers
support datalist, but if you are still
supporting older browsers such as ie versions below 10, there is a trick to provide a fallback: <label for="myfruit">what is your favorite fruit?
...tlist"> <datalist id="fruitlist"> <label for="suggestion">or pick a fruit</label> <select id="suggestion" name="altfruit"> <option>apple</option> <option>banana</option> <option>blackberry</option> <option>blueberry</option> <option>lemon</option> <option>lychee</option> <option>peach</option> <option>pear</option> </select> </datalist> browsers that
support the <datalist> element will ignore all the elements that are not <option> elements, with the datalist working as expected.
...And 6 more matches
Multimedia: Images - Learn web development
both formats
support transparency.
... other formats improve on jpeg's capabilities in regards to compression, but are not available on every browser: webp — created by google and nowadays
supported by all major browsers except safari.
...
supports transparency and also animation, but not progressive display.
...And 6 more matches
Introducing a complete toolchain - Learn web development
many of today's code editors (such as vs code and atom) have integration
support for a lot of tools via plugins.
... for our sample project, we'll be using a toolchain specifically designed to aid our software development and
support the technical choices made during the software design phase.
... we will however be avoiding any
superfluous tooling, with the aim of keeping complexity to a minimum.
...And 6 more matches
Mozilla's Section 508 Compliance
incomplete, we show focus but need to expose it programmatically by
supporting carbon/cocoa accessibility.
...mozilla
supports of <blink> and text-decoration: blink in web pages.
... functional performance criteria requirement windows linux/unix mac os requirement windows linux/unix mac os a) at least one mode of operation and information retrieval that does not require user vision shall be provided, or
support for assistive technology used by people who are blind or visually impaired shall be provided.
...And 6 more matches
Software accessibility: Where are we today?
consistent keyboard
support and hotkeys many people can't use a mouse.
... extremely consistent keystroke
support is a very important consideration.
... blind testers have knack for finding ways to improve keystroke
support in almost any given piece of software.
...And 6 more matches
Error codes returned by Mozilla APIs
this could occur because the implementation has not yet been written, or because the component intentionally does not
support the desired feature.
... ns_error_no_interface (0x80004002) an attempt was made to call queryinterface to retrieve an interface which an object does not
support.
... ns_error_illegal_value (0x80070057) an argument
supplied to a method was not valid, for instance a null value was
supplied as an argument which does not allow null values, or a value was out of range.
...And 6 more matches
IME handling guide
e10s
support even when a remote process has focus, native ime handler in chrome process does its job.
...
supported event messages of them are: equeryselectedtext (only with selectiontype::enormal) equerytextcontent equerytextrect equerycaretrect equeryeditorrect additionally, this does not
support query content events with xp line breakers but this must not be any problem since native ime handlers query contents with native line breakers.
... on some platforms, ime may
support its own style for each clause.
...And 6 more matches
Implementing QueryInterface
if ( !ainstanceptr ) return ns_error_null_pointer; nsi
supports* foundinterface; if ( aiid.equals(nscomtypeinfo<nsix>::getiid()) ) foundinterface = ns_static_cast(nsix*, this); else if ( aiid.equals(nscomtypeinfo<nsiy>::getiid()) ) foundinterface = ns_static_cast(nsiy*, this); // ...as many cases as needed...
... else if ( aiid.equals(nscomtypeinfo<nsi
supports>::getiid()) ) foundinterface = ns_static_cast(nsi
supports*, ns_static_cast(nsix*, this)); // i (may) have multiple |nsi
supports| in me, // so first i cast to a specific base to avoid ambiguity else foundinterface = 0; nsresult status; if ( !foundinterface ) status = ns_nointerface; else { ns_addref(foundinterface); status = ns_ok; } *ainstanceptr = foundinterface; return status; } what's so good about it?
... some alternatives the ns_impl_query_interface[012] macros the sample above implements two xpcom interfaces in addition to nsi
supports.
...And 6 more matches
nsICollection
xpcom/ds/nsicollection.idlscriptable this interface represents a list of nsi
supports items.
... inherits from: nsiserializable last changed in gecko 1.7 method overview void appendelement(in nsi
supports item); void clear(); pruint32 count(); nsienumerator enumerate(); nsi
supports getelementat(in pruint32 index); void queryelementat(in pruint32 index, in nsiidref uuid, [iid_is(uuid),retval] out nsqiresult result); void removeelement(in nsi
supports item); void setelementat(in pruint32 index, in nsi
supports item); methods appendelement() appends a new item to the collection.
... void appendelement( in nsi
supports item ) parameters item nsi
supports item to be appended to the list.
...And 6 more matches
nsIDOMNSHTMLDocument
dom/interfaces/html/nsidomnshtmldocument.idlscriptable this interface defines methods and properties
supported by gecko on the document object that are not part of dom level 2.
... inherits from: nsi
supports 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 querycommandstate(in domstring commandid); boolean querycommand
supported(in domstring commandid); domstring querycommandtext(in domstring commandid); obso...
...see rich-text editing in mozilla for a list of
supported commands.
...And 6 more matches
XUL Overlays
overlays provide a general mechanism for: adding ui for additional components, as described in the example above overriding small pieces of a xul file without having to re
supply the whole ui reusing particular pieces of the ui xul files and overlays work together to describe a single master document.
...the installation of a media plug-in, for example, may add new icons and menu items to the interface: in the navigatoroverlay.xul file or in a separate navigatorsspoverlay.xul file (where navigator.xul defines the basic ui for the navigator package), these new plug-in elements would be defined as a collection of elements or subtrees: <menuitem name="
super stream player"/> <menupopup name="ss favorites"> <menuitem name="wave" src="mavericks.ssp"/> <menuitem name="soccer" src="brazil_soccer.ssp"/> </menupopup> <titledbutton id="ssp" crop="right" flex="1" value="&ssbutton.label;" onclick="firessp()"/> overlays and id attributes bases and overlays are merged when they share the same id attribute.
...and given the following overlay: <?xml version="1.0"?> <overlay id="singleitemex" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <menupopup id="menu_filepopup"> <menu id="file_menu"> <menuitem name="
super stream player"/> </menu> </menupopup> </overlay> the result will be: ...
...And 6 more matches
Mozilla
(to get a stacktrace for thunderbird or some other product, substitute the product name where ever you see firefox in this instructions.) how to implement a custom autocomplete search component the xul textbox element
supports an autocomplete mechanism that is used to create a textbox with a popup containing a list of possible completions for what the user has started to type.
... integrated authentication this entails
support for the the simple and protected gss-api negotiation mechanism (spnego) internet standard (rfc 2478) to negotiate either kerberos, ntlm, or other authentication protocols
supported by the operating system.
... internationalized domain names (idn)
support in mozilla browsers netscape 7.1 is the first commercial browser that has built-in
support for internationalized domain name under the new ietf rfc's established in 2003.
...And 6 more matches
Version, UI, and Status Information - Plugins
int plugin_major, plugin_minor, netscape_major, netscape_minor; // declare variables to hold version numbers void npn_version( &plugin_major, &plugin_minor, &netscape_major, &netscape_minor ); // find version numbers finding out if a feature exists a plug-in can figure out whether it is running in a version of the browser that
supports a particular feature by using version or npvers constants (see version feature constants).
...if the version
supports the feature, the plug-in can operate according to plan.
... detecting windowless
support on ms windows and mac os x in this example, the has_windowless method finds out whether the current version of the api
supports windowless plug-ins.
...And 6 more matches
Basic usage of canvas - Web APIs
it is always a good idea to
supply an id because this makes it much easier to identify it in a script.
... fallback content the <canvas> element differs from an <img> tag in that, like for <video>, <audio>, or <picture> elements, it is easy to define some fallback content, to be displayed in older browsers not
supporting it, like versions of internet explorer earlier than version 9 or textual browsers.
...browsers that don't
support <canvas> will ignore the container and render the fallback content inside it.
...And 6 more matches
FileSystemFlags - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilesystemflags experimentalchrome full
support 13prefixed full
support 13prefixed prefixed implemented with the vendor prefix: webkitedge full
support ≤79prefixed full
support ≤79prefixed prefixed implemented with the vendor prefix: webkitfirefox full
supp...
...ort 50ie no
support noopera no
support nosafari no
support nowebview android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitchrome android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 50opera android no
support nosafari ios ...
... no
support nosamsung internet android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitcreate experimentalchrome full
support 13prefixed full
support 13prefixed prefixed implemented with the vendor prefix: webkitedge full
support ≤79prefixed full
support ≤79prefixed prefixed implemented with the vendor prefix: webkitfirefox partial
support 50notes partial
support 50notes notes ...
...And 6 more matches
MediaCapabilitiesInfo - Web APIs
the mediacapabilitiesinfo interface of the media capabilities api is made available when the promise returned by the mediacapabilities.encodinginfo() or mediacapabilities.decodinginfo() methods of the mediacapabilities interface fulfills, providing information as to whether the media type is
supported, and whether encoding or decoding such media would be smooth and power efficient.
... properties the mediacapabilitiesinfo interface contains three boolean attribues:
supported: given the properties defined in the mediaconfiguration, can the specified piece of media content be encoded (if mediaencodingconfiguration is set) or decode (if mediadecodingconfiguration is set) at all?
... if yes,
supported is true.
...And 6 more matches
Using the Media Capabilities API - Web APIs
with the media capabilities api, you can determine not just if the browser can
support a given format, but whether or not it can do so efficiently and smoothly.
... in short, this api replaces—and improves upon—the mediasource method istype
supported() or the htmlmediaelement method canplaytype().
...
support for getting real-time feedback about the playback of media, so your code can make informed decisions about adapting the stream's quality or other settings to manage the user's perceived media performance and quality.
...And 6 more matches
Pointer events - Web APIs
however, since many devices
support other types of pointing input devices, such as pen/stylus and touch surfaces, extensions to the existing pointing device event models are needed.
... pointerenter onpointerenter fired when a pointer is moved into the hit test boundaries of an element or one of its descendants, including as a result of a pointerdown event from a device that does not
support hover (see pointerdown).
... pointerout onpointerout fired for several reasons including: pointer is moved out of the hit test boundaries of an element; firing the pointerup event for a device that does not
support hover (see pointerup); after firing the pointercancel event (see pointercancel); when a pen stylus leaves the hover range detectable by the digitizer.
...And 6 more matches
RTCRtpTransceiver.setCodecPreferences() - Web APIs
a guide to codecs
supported by webrtc—and each codec's positive and negative characteristics—can be found in codecs used by webrtc.
... syntax rtcrtptransceiver.setcodecpreferences(codecs) parameters codecs an array of rtcrtpcodeccapability objects, in order of preference, each providing the parameters for one of the transceiver's
supported codecs.
... return value undefined exceptions invalidaccesserror the codecs list includes one or more codecs which are not
supported by the transceiver.
...And 6 more matches
Using Service Workers - Web APIs
note: as of firefox 44, when appcache is used to provide offline
support for a page a warning message is now displayed in the console advising developers to use service workers instead (bug 1204581.) service workers should finally fix these issues.
... setting up to play with service workers many service workers features are now enabled by default in newer versions of
supporting browsers.
... chrome canary: go to chrome://flags and turn on experimental-web-platform-features; restart browser (note that some features are now enabled by default in chrome.) opera: go to opera://flags and enable
support for serviceworker; restart browser.
...And 6 more matches
Using Touch Events - Web APIs
a disadvantage to using mouse events is that they do not
support concurrent user input, whereas touch events
support multiple simultaneous inputs (possibly at different locations on the touch surface), thus enhancing user experiences.
... the touch events interfaces
support application specific single and multi-touch interactions such as a two-finger gesture.
... together, these interfaces define a relatively low-level set of features, yet they
support many kinds of touch-based interaction, including the familiar multi-touch gestures such as multi-finger swipe, rotation, pinch and zoom.
...And 6 more matches
Using WebRTC data channels - Web APIs
buffering webrtc data channels
support buffering of outbound data.
...at the application level—that is, within the user agent's implementation of webrtc on which your code is running—the webrtc implementation implements features to
support messages that are larger than the maximum packet size on the network's transport layer.
... concerns with large messages currently, it's not practical to use rtcdatachannel for messages larger than 64kib (16kib if you want to
support cross-browser exchange of data).
...And 6 more matches
WebRTC API - Web APIs
interoperability because implementations of webrtc are still evolving, and because each browser has different levels of
support for codecs and webrtc features, you should strongly consider making use of the adapter.js library provided by google before you begin to write your code.
... adapter.js uses shims and polyfills to smooth over the differences among the webrtc implementations across the environments
supporting it.
... webrtc concepts and usage webrtc serves multiple purposes; together with the media capture and streams api, they provide powerful multimedia capabilities to the web, including
support for audio and video conferencing, file exchange, screen sharing, identity management, and interfacing with legacy telephone systems including
support for sending dtmf (touch-tone dialing) signals.
...And 6 more matches
Using bounded reference spaces - Web APIs
xr hardware that does not have an inherent boundary defined may or may not
support the bounded reference space.
...however, it's entirely possible that the device will simply decline to
support bounded spaces at all, so you should be prepared to fall back to some other type of reference space.
...in this section, we'll look at how to safely create a session that will work whether bounded spaces are
supported or not.
...And 6 more matches
Using the Web Speech API - Web APIs
to run the demo, you can clone (or directly download) the github repo it is part of, open the html index file in a
supporting desktop browser, or navigate to the live demo url in a
supporting mobile browser like chrome.
... browser
support
support for web speech api speech recognition is curently limited to chrome for desktop and android — chrome has
supported it since around version 33 but with prefixed interfaces, so you need to include prefixed versions of them, e.g.
... chrome
support as mentioned earlier, chrome currently
supports speech recognition with prefixed properties, therefore at the start of our code we include these lines to feed the right objects to chrome, and any future implementations that might
support the features without a prefix: var speechrecognition = speechrecognition || webkitspeechrecognition var speechgrammarlist = speechgrammarlist || webkitspee...
...And 6 more matches
Window.open() - Web APIs
this can be a path or url to an html page, image file, or any other resource that is
supported by the browser.
... this is
supported in modern browsers including chrome, and firefox 52+.
...firefox introduced
support for noreferrer in firefox 68.
...And 6 more matches
Relationship of flexbox to other layout methods - CSS: Cascading Style Sheets
there is a note in the flexbox spec stating that in the future, once it is completed, the definitions in box alignment level 3 will
supersede those of flexbox: "note: while the alignment properties are defined in css box alignment [css-align-3], flexible box layout reproduces the definitions of the relevant ones here so as to not create a normative dependency that may slow down advancement of the spec.
...additionally, any new values defined in the box alignment module will apply to flexible box layout; in otherwords, the box alignment module, once completed, will
supercede the definitions here." in a later article in this series — aligning items in a flex container — we will take a thorough look at how the box alignment properties apply to flex items.
...writing modes are fully detailed in the css writing modes specification, which details how css
supports the various different writing modes that exist internationally.
...And 6 more matches
OpenType font features guide - CSS: Cascading Style Sheets
alternates (font-variant-alternates) fonts can
supply a number of different alternatives for various glyphs, such as different styles of lower case 'a' or more or less elaborate swashes in a script typeface.
... this property can activate an entire set of alternates or just a specific one, depending on the values
supplied.the example below is showing several different aspects of working with alternate characters.
... while more common in script typefaces, in the below example they are used to create arrows: position (font-variant-position) position variants are used to enable typographic
superscript and subscript glyphs.
...And 6 more matches
animation-direction - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetanimation-directionchrome full
support 43 full
support 43 full
support 3prefixed prefixed implemented with the vendor prefix: -webkit-edge full
support 12 full
support 12 full
support ...
... 12prefixed prefixed implemented with the vendor prefix: -webkit-firefox full
support 16 full
support 16 full
support 49prefixed prefixed implemented with the vendor prefix: -webkit- full
support 44prefixed disabled prefixed implemented with the vendor prefix: -webkit-disabled from version 44: this feature is behind the layout.css.prefixes.webkit preference (needs to be set to true).
... full
support 5prefixed prefixed implemented with the vendor prefix: -moz-ie full
support 10opera full
support 30 full
support 30 full
support 15prefixed prefixed implemented with the vendor prefix: -webkit- no
support 12.1 — 15 no
support 12 — 15prefixed prefixed implemented with the vendor prefix: -o-safari full
support 9 full
support 9 full
support ...
...And 6 more matches
font-variant-position - CSS: Cascading Style Sheets
the font-variant-position css property controls the use of alternate, smaller glyphs that are positioned as
superscript or subscript.
...these glyphs are typically used in <sub> and <
sup> elements.
... /* keyword values */ font-variant-position: normal; font-variant-position: sub; font-variant-position:
super; /* global values */ font-variant-position: inherit; font-variant-position: initial; font-variant-position: unset; when the usage of these alternate glyphs is activated, if one character in the run doesn't have such a typographically-enhanced glyph, the whole set of characters of the run is rendered using a fallback method, synthesizing these glyphs.
...And 6 more matches
HTML5 - Developer guides
offline & storage offline resources: the application cache firefox fully
supports the html5 offline resource specification.
... most others have offline resource
support at some level.
... online and offline events firefox 3
supports whatwg online and offline events, which let applications and extensions detect whether or not there's an active internet connection, as well as to detect when the connection goes up and down.
...And 6 more matches
Index - Developer guides
5 wai aria live regions/api
support ajax, accessibility firefox 3 contains important improvements to the way the mozilla engine exposes live changes in a document.
...currently, to
support all browsers we need to specify two formats, although with the adoption of mp3 and mp4 formats in firefox and opera, this is changing fast.
... 17 event developer guide dom, event, guide, need
supdate, events events refers both to a design pattern used for the asynchronous handling of various incidents which occur in the lifetime of a web page and to the naming, characterization, and use of a large number of incidents of different types.
...And 6 more matches
MIME types (IANA media types) - HTTP
ing: application/javascript application/ecmascript application/x-ecmascript application/x-javascript text/javascript text/ecmascript text/javascript1.0 text/javascript1.1 text/javascript1.2 text/javascript1.3 text/javascript1.4 text/javascript1.5 text/jscript text/livescript text/x-ecmascript text/x-javascript note: even though any given user agent may
support any or all of these, you should only use text/javascript.
..., opera, safari tiff tagged image file format image/tiff .tif, .tiff none built-in; add-ons required webp web picture format image/webp .webp chrome, edge, firefox, opera the abbreviation for each format links to a longer description of the format, its capabilities, and detailed browser compatibility information; including which versions introduced
support and specific special features that may have been introduced later.
... audio and video types as is the case for images, html doesn't mandate that web browsers
support any specific file and codec types for the <audio> and <video> elements, so it's important to consider your target audience and the range of browsers (and versions of those browsers) they may be using when choosing the file type and codecs to use for media.
...And 6 more matches
Classes - JavaScript
a constructor can use the
super keyword to call the constructor of the
super class.
...
support in browsers is limited, but the feature can be used through a build step with systems like babel.
... class animal { constructor(name) { this.name = name; } speak() { console.log(`${this.name} makes a noise.`); } } class dog extends animal { constructor(name) {
super(name); // call the
super class constructor and pass in the name parameter } speak() { console.log(`${this.name} barks.`); } } let d = new dog('mitzie'); d.speak(); // mitzie barks.
...And 6 more matches
String.fromCharCode() - JavaScript
returning
supplementary characters in utf-16, the most common characters can be represented by a single 16-bit value (i.e.
...the remaining code points, in the range of 65536 (0x010000) to 1114111 (0x10ffff) are known as
supplementary characters.
... in utf-16,
supplementary characters are represented by two 16-bit code units, known as surrogates, that were reserved for this purpose.
...And 6 more matches
WebAssembly.Module - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsmodulechrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0module() constructorchrome ...
... full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
support 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support ...
...And 6 more matches
Using custom elements - Web Components
note: custom elements are
supported by default in firefox, chrome, and edge (76).
... opera and safari so far
support only autonomous custom elements.
...for example, wordcount is structured like so: class wordcount extends htmlparagraphelement { constructor() { // always call
super first in constructor
super(); // element functionality written in here ...
...And 6 more matches
ui/frame - Archive of obsolete content
right now it can be used in conjunction with a toolbar: you create a frame, then
supply it to the toolbar's constructor, and the content is then displayed inside the toolbar.
... constructing frames the frame constructor takes one mandatory option, which is a url pointing to an html document
supplied under your add-ons "data" directory.
...if you don't
supply a name, the id is derived from the frame's url, meaning that if you don't
supply a name, you may not create two frames with the same url.
...And 5 more matches
package.json - Archive of obsolete content
note: jpm
supports nodejs people fields.
... engines object with
supported applications (key) and required version numbers (value).
... private-browsing: a boolean indicating whether or not the add-on
supports private browsing.
...And 5 more matches
Developing for Firefox Mobile - Archive of obsolete content
right now not all modules are fully functional, but we're working on adding
support for more modules.
... the tables at the end of this guide list the modules that are currently
supported on firefox mobile.
... running add-ons on android you can develop your add-on as normal, as long as you restrict yourself to the
supported modules.
...And 5 more matches
XPCOM Objects - Archive of obsolete content
(your build will probably break, we'll cover this later on.) in the components directory, the file xsihellocounter.idl has the following contents: #include "nsi
supports.idl" /** * counter for the hello world extension.
... */ [scriptable, uuid(bd46f689-6c1d-47d0-bc07-bb52b546b8b5)] interface xsihellocounter : nsi
supports { /* the maximum allowed count.
... */ short increment(); }; the bits about nsi
supports are common to most xpcom interface definitions.
...And 5 more matches
Index of archived content - Archive of obsolete content
rosetta running applications svg animation svg general scrollbar sidebar stringview tabbox toolbar tree uri parsing view source for xul applications windows xml-related code snippets xml:base
support in old browsers xpath getattributens common pitfalls communication between html and your extension creating custom firefox extensions with the mozilla build system custom about: urls default preferences deploying a plugin as an extension developing ad...
... displaying web content in an extension without security issues downloading json and javascript in extensions enhanced extension installation extension etiquette extension library extension packaging extension samples extension theming guidelines extension versioning, update and compatibility extensions
support in seamonkey 2 firefox addons developer guide hiding browser chrome hotfix extension how to convert an overlay extension to restartless inline options install manifests installing extensions and themes from web pages interaction between privileged and non-privileged pages jetpack processes lega...
...r notifications and alerts xpcom objects performance best practices in extensions search extension tutorial (draft) security best practices in extensions session store api setting up an extension development environment signing an xpi signing an extension
supporting search suggestions in search plugins tabbed browser techniques promises updating addons broken by private browsing changes using dependent libraries in extension components using the stylesheet service bookmarks.export() bookmarks.import() ...
...And 5 more matches
Actionscript Acceptance Tests - Archive of obsolete content
support files: there are a variety of
support files available for non-standard actionscript tests.
...(see bug 587093 for details.) specifying multiple .abcs: if you desire to run a test with multiple .abc files (e.g: avmshell a.abc b.abc testname.abc) there is a special avm_args directive called multiabc that is specified surrounded by two pipe (|) symbols: |multiabc| $dir/testname_
support/a.abc $dir/testname_
support/b.abc the extra abc files will usually be placed in a _
support dir (see additional files below).
... here is a more complicated example that passes both avm args, multiple abcs and test args: -ojit |multiabc| $dir/testname_
support/a.abc -- test_args a dir.avm_args file can also be created with the same contents that will apply to the entire directory.
...And 5 more matches
Trees - Archive of obsolete content
the tree also
supports nested rows, whereas the listbox does not.
...in a tree, all of the data to be displayed is
supplied by a separate object, called a tree view.
...instead, all drawing is done by the tree body using data
supplied by the view.
...And 5 more matches
XEmbed Extension for Mozilla Plugins - Archive of obsolete content
in your plugin instance npp_getvalue call you need to make sure that you
support the new nppvpluginneedsxembed value.
...telling mozilla you
support xembed as mentioned above, you will need to tell mozilla that you
support the xembed protocol for hosting plugins.
... for backwards compatibility reasons if you don't tell mozilla that you
support it it will try to hand you an xt widget as a parent.
...And 5 more matches
SSL and TLS - Archive of obsolete content
both of these protocols
support using a variety of different cryptographic algorithms, or ciphers, for operations such as authenticating the server and client, transmitting certificates, and establishing session keys.
... clients and servers may
support different cipher suites, or sets of ciphers.
...the most common ssl cipher suites use rsa key exchange, while tls
supports ecc cipher suites as well as rsa.
...And 5 more matches
Developing cross-browser and cross-platform pages - Archive of obsolete content
there are 2 known approaches for such goals: the browser identification approach (also known as useragent string detection and often referred as "browser sniffing") and the object/feature
support detection approach.
... using object/feature
support detection approach: best and overall most reliable when you use object/feature
support detection, you only implement those features whose
support you have first tested and verified on the visiting browser.
... this method has the advantage of not requiring you to test for anything except whether the particular features you code are
supported in the visiting browser.
...And 5 more matches
LiveConnect Overview - Archive of obsolete content
as a javaobject, mystring has access to the public instance methods of java.lang.string and its
superclass, java.lang.object.
...for example,
suppose the redwood corporation uses a java package called redwood to contain various java classes that it implements.
...(although this functionality (along with some others) had been broken in gecko 1.9 (see bug 391642) as the mozilla-specific liveconnect code had not been maintained inside mozilla, with java 6 update 11 and 12 building
support for reliance on mozilla's implementation of the generic (and cross-browser) npapi plugin code, this has again been fixed.) for example,
suppose you are using the java forname method to assign the name of a java class to a variable called theclass.
...And 5 more matches
Audio for Web games - Game development
mobile audio caveats by far the most difficult platforms to provide web audio
support for are mobile platforms.
...although the situation is soon going to get better with the adoption of the web audio api, the current most widely-
supported method — using the vanilla <audio> element — leads to patchy results on mobile devices.
... testing and
support here's a table that shows what mobile platforms
support the features talked about above.
...And 5 more matches
Plug-in Development Overview - Gecko Plugin API Reference
registering plug-ins gecko identifies a plug-in by the mime type it
supports.
... when it needs to display data of a particular mime type, the browser finds and invokes the plug-in object that
supports that type.
...it determines which plug-ins are installed and which types they
support through a combination of user preferences that are private to the browser, the contents of the plug-ins directory, or the registry on windows.
...And 5 more matches
What is CSS? - Learn web development
css specifications all web standards technologies (html, css, javascript, etc.) are defined in giant documents called specifications (or simply "specs"), which are published by standards organizations (such as the w3c, whatwg, ecma, or khronos) and define precisely how those technologies are
supposed to behave.
... as a newcomer to css, it is likely that you will find the css specs overwhelming — they are intended for engineers to use to implement
support for the features in user agents, not for web developers to read to understand css.
...it is however worth knowing that they exist, understanding the relationship between the css you are using, browser
support (see below), and the specs.
...And 5 more matches
How to build custom form controls - Learn web development
.select { /* this will create a positioning context for the list of options; adding this to .select:focus-within will be a better option when fully
supported */ position: relative; /* this will make our control become part of the text flow and sizable at the same time */ display : inline-block; } we need an extra class active to define the look and feel of our control when it is in its active state.
...e context for em value in this context */ font-family : verdana, arial, sans-serif; box-sizing : border-box; /* we need extra room for the down arrow we will add */ padding : .1em 2.5em .2em .5em; width : 10em; /* 100px */ border : .2em solid #000; border-radius : .4em; box-shadow : 0 .1em .2em rgba(0,0,0,.45); /* the first declaration is for browsers that do not
support linear gradients.
... the user is using a legacy browser, and one of the features you require is not
supported: this will happen frequently when you make use of cutting-edge apis.
...And 5 more matches
UI pseudo-classes - Learn web development
some of the others are aimed at solving very specific niche problems, or simply not very well
supported in browsers yet.
... the ones listed above all have pretty good browser
support, but of course, you should test your form implementations carefully to make sure they work for your target audience.
... since form inputs don't directly
support having generated content put on them (this is because generated content is placed relative to an element's formatting box, but form inputs work more like replaced elements and therefore don't have one), we will add an empty <span> to hang the generated content on: <div> <label for="fname">first name: </label> <input id="fname" name="fname" type="text" required> <span></span> </div> th...
...And 5 more matches
Inheritance in JavaScript - Learn web development
we didn't cover those here, as they are not yet
supported very widely across browsers.
... all the other code constructs we discussed in this set of articles are
supported as far back as ie9 or earlier, and there are ways to achieve earlier
support than that.
... note: this modern way of writing classes is
supported in all modern browsers, but it is still worth knowing about the underlying prototypal inheritance in case you work on a project that requires
supporting a browser that doesn't
support this syntax (most notably internet explorer).
...And 5 more matches
Getting started with Svelte - Learn web development
it's main current disadvantages are that it is a young framework — its ecosystem is therefore more limited in terms of tooling,
support, plugins, clear usage patterns, etc.
... note: recently svelte has added official typescript
support, one of its most requested features.
... moreover, with the help of sapper (a framework based on svelte), you can also develop applications with advanced features like server-side rendering, code splitting, file-based routing and offline
support.
...And 5 more matches
Chrome registration
chrome providers a
supplier of chrome for a given window type (e.g., for the browser window) is called a chrome provider.
... the providers work together to
supply a complete set of chrome for a particular window, from the images on the toolbar buttons to the files that describe the text, content, and appearance of the window itself.
...firefox 3, thunderbird 3, and seamonkey 2
support mixed case.
...And 5 more matches
NSS 3.14 release notes
introduction the nss team has released network security services (nss) 3.14, which is a minor release with the following new features:
support for tls 1.1 (rfc 4346) experimental
support for dtls 1.0 (rfc 4347) and dtls-srtp (rfc 5764)
support for aes-ctr, aes-cts, and aes-gcm
support for keying material exporters for tls (rfc 5705) in addition to the above new features, the following major changes have been introduced:
support for certificate signatures using the md5 hash algorithm is now disabled by default.
...
support for tls 1.1 (rfc 4346) has been added (https://bugzilla.mozilla.org/show_bug.cgi?id=565047).
... to better
support tls 1.1 and future versions of tls, a new version range api was introduced to allow applications to specify the desired minimum and maximum versions.
...And 5 more matches
NSS 3.20 release notes
nss 3.20 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_20_rtm/src/ new in nss 3.20 new functionality the tls library has been extended to
support dhe ciphersuites in server applications.
... new types in sslt.h ssldhegrouptype - enumerates the set of dhe parameters embedded in nss that can be used with function ssl_dhegroupprefset new macros in ssl.h ssl_enable_server_dhe - a socket option user to enable or disable dhe ciphersuites for a server socket notable changes in nss 3.20 the tls library has been extended to
support dhe ciphersuites in server applications.
... the server side implementation of the tls does not
support session tickets while using a dhe ciphersuite (see bug 1174677).
...And 5 more matches
NSS 3.24 release notes
also, partial
support for rsa probabilistic signature scheme (rsa-pss) certificates has been added.
...this struct contains
supplementary information about a certificate, such as the intended type of the certificate, stapled ocsp responses, or signed certificate timestamps (used for certificate transparency).
...however, the server-side implementation of the ssl/tls protocol still
supports processing of received v2-compatible client hello messages.
...And 5 more matches
NSS API Guidelines
same level as ssl lib/crmf cmmf.h, crmf.h, crmft.h, cmmft.h, crmffut.h cryptohi provides high-level cryptographic
support operations: such as signing, verifying signatures, key generation, key manipulation, hashing; and data types.
...you must
supply a library that implements the cryptographic operations, such as bsafe from rsa security.
... within pkcs #11, wraps crypto lib/freebl blapi.h, blapit.h jar provides
support for reading and writing data in java archive (jar) format, including zlib compression.
...And 5 more matches
nss tech note1
rather, the goal here is to explain what type of tags the decoder
supports and which macros should be used when defining tags in decoder templates.
... it should be noted that we only
support an older specification of asn.1; multibyte tags are not currently
supported.
... the 8-bit asn.1 tags that we
support are made of three parts : the asn.1 component class type.
...And 5 more matches
SpiderMonkey 1.8.7
—22 march 2011 platform
support spidermonkey 1.8.7 is
supported on all the platforms where firefox 10 runs.
...the jit is
supported only on x86, x86_64 and arm architectures.
...new javascript language features xxx needs updating javascript 1.8.5 adds
support for ecmascript edition 5, including es5 strict mode.
...And 5 more matches
WebReplayRoadmap
new features are possible with time travel, though, which would be nice to
support:
supporting the debugger's event breakpoints would allow searching the recording for places where particular dom events occur, and -- in the same manner as logpoints -- logging them to the console and allowing them to be seeked to later.
... similarly, when the debugger
supports dom mutation breakpoints (bug 1547692), the recording can be searched for dom mutations, and mutations can be logged to the console and seeked to later.
... hide un
supported developer tool features (not yet implemented)
support for the normal features of the developer tools is pretty limited in recording/replaying tabs.
...And 5 more matches
Accessing the Windows Registry Using XPCOM
support in firefox 1.5 or newer in firefox 1.5, a new api was added, nsiwindowsregkey, which provides extensive registry functionality.
...if you are writing an extension that only needs to
support firefox 1.5 or newer, then you only need to read this section.
...the data types
supported by this interface are defined as named constants on the interface as follows: type_none — probably not useful type_string — a unicode string value type_binary — binary data type_int — a 32 bit integer type_int64 — a 64 bit integer each of these types (except type_none) has a corresponding method to read the value data: readstringvalue() readbinaryvalue() readintvalue...
...And 5 more matches
Aggregating the In-Memory Datasource
also, instead of keeping an nscomptr<nsirdfdatasource>, you'll just want an nscomptr<nsi
supports>: class myclass : public nsimyinterface { ...
... private: nscomptr<nsi
supports> minner; }; construct the datasource delegate when your object is constructed (or, at worst, when somebody qi's for it): rv = nscomponentmanager::createinstance( krdfinmemorydatasourcecid, this, /* the "outer" */ nscomtypeinfo<nsi
supports>::getiid(), getter_addrefs(minner)); note passing this as the "outer" parameter.
... now, if the in-memory datasource's implementation of queryinterface() fails because it doesn't
support the requested interface, it willforward the query interface to its "outer" (which is "us").
...And 5 more matches
XPCOM array guide
nsi
supportsarray xpcom object yes no yes* no reference counted, strong (*) note: concrete c++ arrays can be made read-only by declaring them const.
... nsi
supportsarray - obsoleted by nsiarray and nsimutablearray, use those instead.
... do not use nsi
supportsarray; it is deprecated.
...And 5 more matches
nsIClipboard
widget/nsiclipboard.idlscriptable this interface
supports basic clipboard operations such as: setting, retrieving, emptying, matching and
supporting clipboard data.
... inherits from: nsi
supports last changed in gecko 30.0 (firefox 30.0 / thunderbird 30.0 / seamonkey 2.27) method overview void emptyclipboard(in long awhichclipboard); void forcedatatoclipboard(in long awhichclipboard); obsolete since gecko 1.8 void getdata(in nsitransferable atransferable, in long awhichclipboard); boolean hasdatamatchingflavors([array, size_is(alength)] in string aflavorlist, in unsigned long alength, in long awhichclipboard); void setdata(in nsitransferable atransferable, in nsiclipboardowner anowner, in long awhichclipboard); boolean
supportsselectionclipboard(); boolean
supportsfindclipboard(); constants most clipboard operations in firefox use kglobalclipboard, which is the one also used by the...
... forcedatatoclipboard() obsolete since gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) some platforms
support deferred notification for putting data on the clipboard this method forces the data onto the clipboard in its various formats this may be used if the application going away.
...And 5 more matches
nsIComponentRegistrar
inherits from: nsi
supports last changed in gecko 1.0 method overview void autoregister(in nsifile aspec); void autounregister(in nsifile aspec); string cidtocontractid(in nscidref aclass); nscidptr contractidtocid(in string acontractid); nsisimpleenumerator enumeratecids(); nsisimpleenumerator enumeratecontractids(); boolean iscidregistered(in nscidref aclass); boolean iscontractidregistered(in string acontractid); void registerfactory(in nscidref aclass, in string aclassname, in string acontractid, in nsifactory afactory); void registerfactorylocation(in nscidref aclass, in string aclassname, in string acontractid, in nsi...
...this is no longer
supported.
...elements of the enumeration can be queryinterfaced for the nsi
supportsid interface.
...And 5 more matches
nsIDocShell
inherits from: nsi
supports last changed in gecko 12.0 (firefox 12.0 / thunderbird 12.0 / seamonkey 2.9) implemented by @mozilla.org/docshell;1.
... 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 nsi
supports 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 nsidocshell adocshell, out nsirequest arequest); native code only!
...when setting this attribute, a ns_error_not_implemented error may be returned by implementations not
supporting zoom.
...And 5 more matches
nsINavHistoryQueryOptions
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 13.0 (firefox 13.0 / thunderbird 13.0 / seamonkey 2.10) method overview nsinavhistoryqueryoptions clone(); attributes attribute type description applyoptionstocontainers boolean if true, the query options are only applied to the containers.
... asyncenabled boolean when true, the root container node generated by these options and all of its descendant containers are opened asynchronously if they
support doing so.
... note: currently, only bookmark folder containers
support being opened asynchronously.
...And 5 more matches
nsIUserInfo
inherits from: nsi
supports last changed in gecko 1.7 implemented by: @mozilla.org/userinfo;1.
... not
supported.
... not
supported.
...And 5 more matches
nsIXmlRpcClient
last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) inherits from: nsi
supports method overview void init(in string serverurl); void setauthentication(in string username, in string password); void clearauthentication(in string username, in string password); void setencoding(in string encoding); void setencoding(in unsigned long type, out nsiidref uuid, out nsqiresult result); void asynccall (in nsixmlrpcclientlistener listener, in nsi
supports ctxt, in string methodname, in nsi
supports arguments, in pruint32 count); attributes attribute type description serverurl readonly ns...
... result readonly nsi
supports the most recent xml-rpc call result returned from this server.
... constants constant type description int unsigned long nsi
supportsprint32 boolean unsigned long nsi
supportsprbool string unsigned long nsi
supportscstring double unsigned long nsi
supportsdouble datetime unsigned long nsi
supportsprtime array readonly unsigned long nsi
supportsarray struct readonly unsigned long nsi
supportsdictionary methods init() set server url.
...And 5 more matches
Reference Manual
nscomptr<nsifoo> foo = bar; // ns_assertion: "queryinterface needed" // ...even assuming you can get the line to compile // (either by casting, or because the types are related by c ) this invariant is relaxed for nscomptr<nsi
supports>.
... like nsi
supports* (or even void*), people generally use nscomptr<nsi
supports> to mean "any xpcom interface." it would be annoying if nscomptr forced you to queryinterface to the xpcom-correct nsi
supports within an object in places where you don't care to know the exact type.
...because a few key routines are factored out into a common non-template base class, the actual underlying pointer is stored as an nsi
supports* (except in debug builds where nscap_feature_debug_ptr_types is turned on).
...And 5 more matches
nsCOMPtr versus RefPtr
this basic rule derives from the fact that some of the nscomptr<t> code is factored into the nscomptr_base base class, which stores the underlying mrawptr as an nsi
supports*.
...since nscomptr stores the pointer as an nsi
supports*, it must be possible to unambiguously cast from t* to nsi
supports*.
... many concrete classes inherit from nsi
supports in more than one way, so they cannot be unambiguously cast to nsi
supports*.
...And 5 more matches
The libmime module
struct foobarclass { parentclass
superclass; ...any callbacks or class-variables...
... }; then, in the corresponding .c file, the following structure is used: class definition first we pull in the appropriate include file (which includes all necessary include files for the parent classes) and then we define the class object using the mimedefclass macro: #include "foobar.h" #define mime_
superclass parentlclass mimedefclass(foobar, foobarclass, foobarclass, &mime_
superclass); the definition of mime_
superclass is just to move most of the knowlege of the exact class hierarchy up to the file's header, instead of it being scattered through the various methods; see below.
... the way to access earlier methods (methods defined on the
superclass) is to simply extract them from the
superclass's object.
...And 5 more matches
Plug-in Development Overview - Plugins
registering plug-ins gecko identifies a plug-in by the mime type it
supports.
... when it needs to display data of a particular mime type, the browser finds and invokes the plug-in object that
supports that type.
...it determines which plug-ins are installed and which types they
support through a combination of user preferences that are private to the browser, the contents of the plug-ins directory, or the registry on windows.
...And 5 more matches
BasicCardRequest - Web APIs
properties basiccardrequest.
supportednetworks optional secure context an optional array of domstrings representing the card networks that the retailer
supports (e.g.
...if the property is missing, it implies that all networks are
supported.
... 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.
...And 5 more matches
readValue() - Web APIs
the bluetoothremotegattdescriptor.readvalue() method returns a promise that resolves to an arraybuffer holding a duplicate of the value property if it is available and
supported.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreadvalue experimentalchrome full
support 57notes full
support 57notes notes macos only.
... full
support 57notes disabled notes linux and versions of windows earlier than 10.disabled from version 57: this feature is behind the #enable-experimental-web-platform-features preference (needs to be set to enabled).
...And 5 more matches
DOMMatrixReadOnly.scale() - Web APIs
if not
supplied, this defaults to the value of scalex.
... if no origin is
supplied, this defaults to 0.
... if no origin is
supplied, this defaults to 0.
...And 5 more matches
FileSystemDirectoryReader - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilesystemdirectoryreader deprecatednon-standardchrome full
support 8alternate name full
support 8alternate name alternate name uses the non-standard name: directoryreaderedge full
support ≤18alternate name full
support ≤18alternate name alternate name uses the non-standard name: webkitdirect...
...oryreaderfirefox full
support 50ie no
support noopera full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitsafari full
support 11.1webview android full
support ≤37alternate name full
support ≤37alternate name alternate name uses the non-standard name: directoryreaderchrome android full
support 18alternate name full
support 18alternate name a...
...lternate name uses the non-standard name: directoryreaderfirefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitreadentries deprecatednon-standardchrome full
support 8edge ?
...And 5 more matches
FileSystemFileEntry - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilesystemfileentrychrome full
support 8alternate name full
support 8alternate name alternate name uses the non-standard name: fileentryedge full
support 79prefixed full
support 79prefixed prefixed implemented with the vendor prefix: webkitfirefox full...
...
support 50ie no
support noopera no
support nosafari full
support 11.1webview android full
support ≤37alternate name full
support ≤37alternate name alternate name uses the non-standard name: fileentrychrome android full
support 18alternate name full
support 18alternate name alternate name uses the non-standard name: fileentryfirefox android full
support 50opera android no
support ...
... nosafari ios full
support 11.3samsung internet android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitcreatewriter deprecatednon-standardchrome full
support 8edge full
support 79firefox no
support 50 — 52notes no
support 50 — 52notes notes while the createwriter() method existed, it immediately called errorcallback with the ns_error_dom_security_err error.ie no
support noopera no su...
...And 5 more matches
FileSystemSync - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilesystemsync non-standardchrome full
support 13prefixed full
support 13prefixed prefixed implemented with the vendor prefix: webkitedge full
support ≤79prefixed full
support ≤79prefixed prefixed implemented with the vendor prefix: webkitfirefox no
suppor...
...t noie no
support noopera full
support 15prefixed full
support 15prefixed prefixed implemented with the vendor prefix: webkitsafari full
support 6prefixed full
support 6prefixed prefixed implemented with the vendor prefix: webkitwebview android full
support ≤37prefixed full
support ≤37prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 18prefixed full ...
...
support 18prefixed prefixed implemented with the vendor prefix: webkitfirefox android no
support noopera android full
support 14prefixed full
support 14prefixed prefixed implemented with the vendor prefix: webkitsafari ios full
support 6prefixed full
support 6prefixed prefixed implemented with the vendor prefix: webkitsamsung internet android full
support 1.0prefixed full
support 1.0prefixed prefixed implemented with the vendor prefix: webkitname non-s...
...And 5 more matches
GamepadEvent - Web APIs
working draft initial definition browser compatibility desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgamepadeventchrome full
support 35 full
support 35 no
support 21 — 34prefixed prefixed implemented with the vendor prefix: webkitedge full
support ≤18firefox full
support 29 full
support 2...
...9 no
support 24 — 28disabled disabled from version 24 until version 28 (exclusive): this feature is behind the dom.gamepad.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.ie no
support noopera full
support 22 full
support 22 no
support 15 — 21prefixed prefixed implemented with the vendor prefix: webkitsafari full
support 10.1webview android no
support nochrome android full
support yesfirefox android full
support 32opera android full
support 22 full
support 22 no
suppor...
...And 5 more matches
GestureEvent - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgestureevent non-standardchrome no
support noedge no
support nofirefox no
support noie no
support noopera no
support nosafari full
support 9webview android no
support ...
... nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios full
support 2samsung internet android no
support nogestureevent() constructor non-standardchrome no
support noedge no
support nofirefox no
support noie no
support noopera no
support nosafari full
support ...
... 9webview android no
support nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios full
support 2samsung internet android no
support noinitgestureevent non-standardchrome no
support noedge no
support nofirefox no
support noie no
support noopera no
support ...
...And 5 more matches
The HTML DOM API - Web APIs
the html dom api is made up of the interfaces that define the functionality of each of the elements in html, as well as any
supporting types and interfaces they rely upon.
... access to the browser navigation history
supporting and connective interfaces for other apis such as web components, web storage, web workers, websocket, and server-sent events.
... among the things added to document by the html standard are:
support for accessing various information provided by the http headers when loading the page, such as the location from which the document was loaded, cookies, modification date, referring site, and so forth.
...And 5 more matches
Recommended Drag Types - Web APIs
the html drag and drop api
supports dragging various types of data, including plain text, urls, html code, files, etc.
... it is recommended to always add data of the text/plain type as a fallback for applications or drop targets that do not
support other types, unless there is no logical text alternative.
...note that the instanceof operator is used here as the mozgetdataat() method will return an nsi
supports that needs to be checked and converted into an nsifile.
...And 5 more matches
HTML Drag and Drop API - Web APIs
this overview of html drag and drop includes a description of the interfaces, basic steps to add drag-and-drop
support to an application, and an interoperability summary of the interfaces.
...(firefox
supports some gecko-specific extensions to the datatransfer object, but those extensions will only work on firefox.) each datatransfer object contains an items property, which is a list of datatransferitem objects.
... note: dragevent and datatransfer are broadly
supported on desktop browsers.
...And 5 more matches
IDBCursorWithValue - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidbcursorwithvaluechrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitvaluechrome ...
...And 5 more matches
IDBEnvironment - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidbenvironment deprecatednon-standardchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5available in workers deprecatednon-standardchrome ...
... full
support yesedge full
support ≤18firefox full
support 37ie ?
...And 5 more matches
PaymentRequest.PaymentRequest() - Web APIs
each item in the array contains the following fields:
supportedmethods for early implementations of the spec, this was a sequence of identifiers for payment methods that the merchant website accepts.
... 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.
... data a json-serializable object that provides optional information that might be needed by the
supported payment methods.
...And 5 more matches
PaymentRequest.canMakePayment() - Web APIs
the paymentrequest method canmakepayment() determines whether or not the request is configured in a way that is compatible with at least one payment method
supported by the user agent.
...}) canpay = await paymentrequest.canmakepayment(); returns a promise to a boolean that resolves to true if the user agent
supports any of the payment methods
supplied when instantiating the request using the paymentrequest constructor.
... async function initpaymentrquest() { const details = { total: { label: "total", amount: { currency: "usd", value: "0.00", }, }, }; const
supportsapplepay = new paymentrequest( [{
supportedmethods: "https://apple.com/apple-pay" }], details ).canmakepayment(); //
supports apple pay?
...And 5 more matches
ScreenOrientation - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetscreenorientationchrome full
support 38edge full
support 79firefox full
support 43ie no
support noopera full
support 25safari no
support nowebview android full su...
...pport 38chrome android full
support 38firefox android full
support 43opera android full
support 25safari ios no
support nosamsung internet android full
support 3.0anglechrome full
support 38edge full
support 79firefox full
support 43ie no
support noopera full
support 25safari no
support ...
... nowebview android full
support 38chrome android full
support 38firefox android full
support 43opera android full
support 25safari ios no
support nosamsung internet android full
support 3.0lockchrome full
support 38edge full
support 79firefox full
support 43ie no
support noopera full
support 25safar...
...And 5 more matches
Using the Screen Capture API - Web APIs
note: it may be useful to note that recent versions of the webrtc adapter.js shim include implementations of getdisplaymedia() to enable screen sharing on browsers that
support it but do not implement the current standard api.
... there are three new constraints added to mediatrackconstraints (as well as to mediatrack
supportedconstraints and mediatracksettings) for configuring a screen capture stream: cursor indicates whether or not to capture the mouse cursor, and if so, whether to do so all the time or only while the mouse is in motion.
... before starting a project that will require sharing of audio, be sure to check the browser compatibility in mediadevices.getdisplaymedia() to see if the browsers you wish compaibility with have
support for audio in captured screen streams.
...And 5 more matches
Screen Orientation API - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetscreenorientationchrome full
support 38edge full
support 79firefox full
support 43ie no
support noopera full
support 25safari no
support nowebview android full su...
...pport 38chrome android full
support 38firefox android full
support 43opera android full
support 25safari ios no
support nosamsung internet android full
support 3.0anglechrome full
support 38edge full
support 79firefox full
support 43ie no
support noopera full
support 25safari no
support ...
... nowebview android full
support 38chrome android full
support 38firefox android full
support 43opera android full
support 25safari ios no
support nosamsung internet android full
support 3.0lockchrome full
support 38edge full
support 79firefox full
support 43ie no
support noopera full
support 25safar...
...And 5 more matches
Compressed texture formats - Web APIs
if
supported, textures can be stored in a compressed format in video memory.
... as compressed textures require hardware
support, therefore no specific formats are required by webgl; instead, a context can make different formats available, depending on hardware
support.
... this site shows which formats are
supported in the used browser.
...And 5 more matches
Using DTMF with WebRTC - Web APIs
in order to more fully
support audio/video conferencing, webrtc
supports sending dtmf to the remote peer on an rtcpeerconnection.
...webrtc currently ignores these payloads; this is because webrtc's dtmf
support is primarily intended for use with legacy telephone services that rely on dtmf tones to perform tasks such as: teleconferencing systems menu systems voicemail systems entry of credit card or other payment information passcode entry note: while the dtmf is not sent to the remote peer as audio, browsers may choose to play the corresponding tone to the local user as part of their user ...
... hasaddtrack because some browsers have not yet implemented rtcpeerconnection.addtrack(), therefore requiring the use of the obsolete addstream() method, we use this boolean to determine whether or not the user agent
supports addtrack(); if it doesn't, we'll fall back to addstream().
...And 5 more matches
Fundamentals of WebXR - Web APIs
webxr additionally provides
support for accepting inputs from control devices such as handheld vr controllers or specialized mixed reality gamepads.
...as browser developers built
support for webvr and allowed developers to experiment, it became clear that in order to finish an api for virtual environments on the web, it would make more sense to start a new specification than to try to "fix" webvr.
...the most obvious difference, at the highest level, is that webxr
supports not just virtual reality applications, but also augmented reality, which blends virtual objects with the user's true physical environment.
...And 5 more matches
Window.openDialog() - Web APIs
if you want the call to block until the user has closed the dialog,
supply modal as a windowfeatures parameter.
... passing extra parameters to the dialog to pass extra parameters into the dialog, you can simply
supply them after the windowfeatures parameter: opendialog("http://example.tld/zzz.xul", "dlg", "", "pizza", 6.98); the extra parameters will then get packed into a property named arguments of type array, and this property gets added to the newly opened dialog window.
... to be able to pass values back to the caller, you have to
supply some object via the extra parameters.
...And 5 more matches
XRSystem: requestSession() - Web APIs
the
supported modes are: 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.
...inline sessions don't require special hardware and should be avalable on any user agent offering webxr api
support.
... return value a promise that resolves with an xrsession object if the device and user agent
support the requested mode and features.
...And 5 more matches
box-direction - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbox-direction deprecatednon-standardchrome full
support 1prefixed full
support 1prefixed prefixed implemented with the vendor prefix: -webkit-edge full
support 12prefixed full
support 12prefixed prefixed implemented with the vendor prefix: -webkit-firefox full
support ...
... 1prefixed full
support 1prefixed prefixed implemented with the vendor prefix: -moz- full
support 49prefixed prefixed implemented with the vendor prefix: -webkit- full
support 48prefixed disabled prefixed implemented with the vendor prefix: -webkit-disabled from version 48: this feature is behind the layout.css.prefixes.webkit preference (needs to be set to true).
... to change preferences in firefox, visit about:config.ie no
support noopera full
support 15prefixed full
support 15prefixed prefixed implemented with the vendor prefix: -webkit-safari full
support 3prefixed full
support 3prefixed prefixed implemented with the vendor prefix: -webkit- no
support 1.1 — 3prefixed prefixed implemented with the vendor prefix: -khtml-webview android full
support ≤37prefixed full
support ≤37prefixed prefixed implemented wit...
...And 5 more matches
break-inside - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet
supported in multi-column layoutchrome full
support 50edge full
support 12firefox full
support 65ie full
support 10opera full
support 37 full
support ...
... 37 no
support 11.1 — 12.1safari full
support 10webview android full
support 50chrome android full
support 50firefox android full
support 65opera android full
support 37 full
support 37 no
support 11.1 — 12.1safari ios full
support 10samsung internet android full
support 5.0multicol_context: column and avoid-columnchrome full
support ...
... 50edge full
support 12firefox no
support noie full
support 10opera full
support 37safari full
support 10webview android full
support 50chrome android full
support 50firefox android no
support noopera android full
support 37safari ios full
support 10samsung internet android full
support 5.0
supporte...
...And 5 more matches
<audio>: The Embed Audio element - HTML: Hypertext Markup Language
the content inside the opening and closing <audio></audio> tags is shown as a fallback in browsers that don't
support the element.
... waiting playback has stopped because of a temporary lack of data usage notes browsers don't all
support the same file types and audio codecs; you can provide multiple sources inside nested <source> elements, and the browser will then use the first one it understands: <audio controls> <source src="myaudio.mp3" type="audio/mpeg"> <source src="myaudio.ogg" type="audio/ogg"> <p>your browser doesn't
support html5 audio.
...also available is a guide to the codecs
supported for video.
...And 5 more matches
Protocol upgrade mechanism - HTTP
implementations can choose not to take advantage of an upgrade even if they
support the new protocol, and in practice, this mechanism is used mostly to bootstrap a websockets connection.
... sec-websocket-extensions: extensions extensions a comma-separated list of extensions to request (or agree to
support).
... for example: sec-websocket-extensions:
superspeed, colormode; depth=16 sec-websocket-key provides information to the server which is needed in order to confirm that the client is entitled to request an upgrade to websocket.
...And 5 more matches
Public class fields - JavaScript
support in browsers is limited, but the feature can be used through a build step with systems like babel.
...you can also reference it by name, and use
super to get the
superclass constructor (if one exists).
... class classwithstaticfield { static basestaticfield = 'base static field' static anotherbasestaticfield = this.basestaticfield static basestaticmethod() { return 'base static method output' } } class subclasswithstaticfield extends classwithstaticfield { static substaticfield =
super.basestaticmethod() } console.log(classwithstaticfield.anotherbasestaticfield) // expected output: "base static field" console.log(subclasswithstaticfield.substaticfield) // expected output: "base static method output" public instance fields public instance fields exist on every created instance of a class.
...And 5 more matches
Strict mode - JavaScript
browsers not
supporting strict mode will run strict mode code with different behavior from browsers that do, so don't rely on strict mode without feature-testing for
support for the relevant aspects of strict mode.
...the octal syntax isn't part of ecmascript 5, but it's
supported in all browsers by prefixing the octal number with a zero: 0644 === 420 and "\045" === "%".
... in ecmascript 2015 octal number is
supported by prefixing a number with "0o".
...And 5 more matches
Introduction to progressive web apps - Progressive web apps (PWAs)
progressive enhancement
suppport modern web apps can be developed to provide an excellent experience to fully capable browsers, and an acceptable (although not quite as shiny) experience to less capable browsers.
... browser
support as mentioned before, pwas don't depend on a single api, but rather using various technologies to achieve the goal of delivering the best web experience possible.
... the key ingredient required for pwas is service worker
support.
...And 5 more matches
Mobile first - Progressive web apps (PWAs)
if you are using mechanisms like feature detection and matchmedia to conditionally load scripting functionality depending on viewport size, feature
support, etc., you should just load the very basics that pretty much all browsers will need first, then progressively enhance browsers higher up the food chain.
... feature detection feature detection involves doing tests (usually in javascript) to determine whether a browser
supports a certain feature, and then serving css or javascript to suit that situation.
... i put modernizr inside my js/lib directory, then included it by putting the following construct inside my html file: <script type="text/javascript" src="js/lib/modernizr.js"></script> with modernizr in place, we can now use the following js block to test whether media queries are
supported, and if not, to load in respond.js, scott jehl's matchmedia and media query polyfill.
...And 5 more matches
SVG fonts - SVG: Scalable Vector Graphics
« previousnext » when svg was specified,
support for web fonts was not widespread in browsers.
... svg fonts are currently
supported only in safari and android browser.
...other tools however like the adobe svg viewer plugin, batik and parts of inkscape
support svg font embedding.
...And 5 more matches
cfx to jpm - Archive of obsolete content
requiring local modules
suppose your add-on is structured into separate modules: my-addon lib main.js utils.js when you want to use the "utils" module in "main.js", you should use a path relative to "main.js", and prefix the path with "./" to indicate that it's a relative path: var utils = require("./utils"); however, with cfx you are also allowed to omit the "./": var utils = requ...
... requiring modules from test code similarly,
suppose you've written some tests for your add-on: my-addon lib my-addon.js test test-my-addon-js with cfx, code inside "test-my-addon.js" can import "my-addon.js" using a statement like this: var my_addon = require("my-addon"); // this will not work with jpm!
... with jpm, you must specify the path to "my-addon" explicitly, using a relative path: var my_addon = require("../lib/my-addon"); third-party modules the sdk has always
supported third-party modules: developers can write their own modules that extend the sdk's apis or add new apis, and other add-on developers can make use of these modules in the same way that they use the sdk's built-in modules.
...And 4 more matches
Extension Versioning, Update and Compatibility - Archive of obsolete content
the toolkit version format
supports the firefox version format but allows greater flexibility.
... for the maxversion it is generally permissible to use a * in place of the minor version of the application you
support, for example 2.0.0.* would mean that you
support any minor update to version 2 of the application.
... note: starting in gecko 2.0, the automatic add-on update process properly
supports cases in which the add-on's guid changes by uninstalling the old version and then installing the new one.
...And 4 more matches
Install Manifests - Archive of obsolete content
the install manifest must specify at least one of these objects, and may specify more if the add-on targets multiple applications that
support the add-on manager (e.g.
... firefox 2 and previous
supported a value of 16 to represent plug-ins.
... version a version string identifying the version of the add-on being
supplied.
...And 4 more matches
Observer Notifications - Archive of obsolete content
getservice(components.interfaces.nsiobserverservice); let subject = components.classes["@mozilla.org/
supports-string;1"].
... createinstance(components.interfaces.nsi
supportsstring); // assign some text to data attribute subject.data = "this is a test."; // notify all registered observers observerservice.notifyobservers( subject, "xulschoolhello-test-topic", "hello"); } in the notifytest method, the notifyobservers call is used to notify all registered observers about the notification topic "xulschoolhello-test-topic".
... the input parameter is an instance of nsi
supportsstring with some text and the last input parameter is a string "hello".
...And 4 more matches
Inner-browsing extending the browser navigation paradigm - Archive of obsolete content
html and web standards have evolved and now offer flexible and fine-grained control to layout as well
supporting dhtml, powerful programming languages like javascript, and additional media through embeddable third-party resources like flash, java, vrml, etc.
... additionally, server-side technologies have also evolved,
supporting and connecting different resources to different browsers.
...spell check
suppose you have a web publishing system for a portal, and a spell check application on your server.
...And 4 more matches
Repackaging Firefox - Archive of obsolete content
currently that page mentions only firefox 1.5.x, but it
supports firefox 2.
... install.rdf meta-information about your extension, such as the creator (your organization), a unique id, and which versions of firefox are
supported.
... locales there is a difference between the locales you plan to distribute installers for (and will therefore need to repack), and the locales
supported by your dex.
...And 4 more matches
JavaScript crypto - Archive of obsolete content
though some browsers may still
support it, it is in the process of being dropped.
... warning: the features mentioned in this article are deleted proprietary mozilla extensions, and are not
supported in any other browser.
... cipherflags a bit vector indicating all ssl or s/mime cipher functions
supported by the module (see below).
...And 4 more matches
Static Analysis for Windows Code under Linux - Archive of obsolete content
this document will describe how to run mozilla static check for windows code under linux platform by creating a cross-compiler with dehydra
support for mingw.
... build gcc corss-compiler with plugin
support by default gcc does not
support plugins.
... now, the gcc source with plugin
supports is ready, we should now build a cross compiler from this source.
...And 4 more matches
Writing textual data - Archive of obsolete content
writing to a stream in gecko 1.8 (seamonkey 1.0, firefox 1.5), you can use nsiconverteroutputstream: var charset = "utf-8"; // can be any character encoding name that mozilla
supports var os = components.classes["@mozilla.org/intl/converter-output-stream;1"] .createinstance(components.interfaces.nsiconverteroutputstream); // this assumes that fos is the nsioutputstream you want to write to os.init(fos, charset, 0, 0x0000); os.writestring("umlaute: \u00fc \u00e4\n"); os.writestring("hebrew: \u05d0 \u05d1\n"); // etc.
... the example above passes 0 as the third argument, which disables buffering (note: the implementation of the converter stream might not
support buffering).
... un
supported characters you can specify what should happen with characters that are not
supported by the selected character encoding.
...And 4 more matches
Building accessible custom components in XUL - Archive of obsolete content
firefox 1.5 is the first browser to
support dhtml accessibility; it maps the declarations within the html page to the underlying accessibility architecture so that assistive technologies can "read" a web page and know how to present these complex controls to the end user.
...a
super-simple spreadsheet download stage-1.zip install stage-1.xpi to build our xul spreadsheet, we'll use three built-in xul controls: a single grid element to contain the other elements and position them in rows and columns.
... you can find a list of all the
supported roles in firefox 1.5 on mozilla.org.
...And 4 more matches
Introduction to XUL - Archive of obsolete content
xml documents
support the basic dom level 1 core apis.
... xul documents
support an extended set, much as html documents
support dom level 1 html apis.
... mozilla's xul content models also
support nifty features like local/remote merging; see the xul and rdf document for details.
...And 4 more matches
Commands - Archive of obsolete content
in addition, text fields and other widgets have a number of commands which they already
support that you can invoke.
...a controller is expected to implement four methods, which are listed below:
supportscommand (command) this method should return true if the controller
supports a command.
...a single controller may
support multiple commands.
...And 4 more matches
Properly Using CSS and JavaScript in XHTML Documents - Archive of obsolete content
this misunderstanding is compounded by the fact that, prior to version 9, microsoft® internet explorer only
supports xhtml if it is served with mime media type text/html rather than the recommended application/xhtml+xml.
...this example is
supported by netscape 7.x, mozilla, opera 7 and internet explorer 5.5+ which all apply the css rules as expected.
...this example is
supported by netscape 7.x, mozilla, and opera 7 but not internet explorer 5.5+ (see talk:properly_using_css_and_javascript_in_xhtml_documents of this ascertation.
...And 4 more matches
XForms Select1 Element - Archive of obsolete content
note, some representations of the select1 element do not
support visual grouping.
...possible values are open and closed, default is closed (see #representations section to refer if the attribute is
supported for every representation).
... incremental -
supported, default value is true properties selection - see corresponding attribute incremental - see corresponding attribute type restrictions the select1 element can be bound to a node containing simple content.
...And 4 more matches
Choosing Standards Compliance Over Proprietary Practices - Archive of obsolete content
the reason it is consistent and predictable is because microsoft has established a corporate set of usability standards and
supports the relevant international standards.
...by integrating and
supporting the accessibility guidelines, an organization can offer their product lines or services to a larger and more diverse user base.
...each of these applications has followed their own development and
support standards.
...And 4 more matches
Implementing controls using the Gamepad API - Game development
api status and browser
support the gamepad api is still at the working draft stage in the w3c process, which means its implementation might still change, but saying that the browser
support is already quite good.
... firefox 29+ and chrome 35+
support it out of the box.
... opera
supports the api in version 22+ (not surprising given that they now use chrome's blink engine.) and microsoft implemented
support for the api in edge recently, which means four main browsers now
supporting the gamepad api.
...And 4 more matches
CSS values and units - Learn web development
you can use any available <color> values assuming they are
supported by your browser.
... the page on mdn for each value will give you information about browser
support.
... for example, if you look at the page for <color> you will see that the browser compatibility section lists different types of color value and
support for them.
...And 4 more matches
Web fonts - Learn web development
web fonts are a css feature that allows you to specify font files to be downloaded along with your website as it is accessed, meaning that any browser that
supports web fonts can have exactly the fonts you specify available to it.
... there are two important things to bear in mind about web fonts: browsers
support different font formats, so you'll need multiple font formats for decent cross-browser
support.
... for example, most modern browsers
support woff/woff2 (web open font format versions 1 and 2), the most efficient format around, but older versions of ie only
support eot (embedded open type) fonts, and you might need to include an svg version of the font to
support older versions of iphone and android browsers.
...And 4 more matches
Images in HTML - Learn web development
its value is
supposed to be a textual description of the image, for use in situations where the image cannot be seen/displayed or takes a long time to render because of a slow internet connection.
... the browser doesn't
support the image type.
...however, if you really can't avoid doing this, you should
supply the text inside the alt attribute.
...And 4 more matches
From object to iframe — other embedding technologies - Learn web development
they have since fallen out of fashion due to many problems, including accessibility, security, file size, and more; these days most mobile devices don't
support such plugins anymore, and desktop
support is on the way out.
...say you wanted to include the mdn glossary on one of your web pages — you could try something like this: <iframe src="https://udn.realityripple.com/docs/glossary" width="100%" height="500" frameborder="0" allowfullscreen sandbox> <p> <a href="https://udn.realityripple.com/docs/glossary"> fallback link for browsers that don't
support iframes </a> </p> </iframe> this example includes the basic essentials needed to use an <iframe>: allowfullscreen if set, the <iframe> is able to be placed in fullscreen mode using the full screen api (somewhat beyond scope for this article.) frameborder if set to 1, this tells the browser to draw a border between this frame and other frames, which is the default behaviour.
... fallback content in the same way as other similar elements like <video>, you can include fallback content between the opening and closing <iframe></iframe> tags that will appear if the browser doesn't
support the <iframe>.
...And 4 more matches
Responsive images - Learn web development
note: the new features discussed in this article — srcset/sizes/<picture> — are all
supported in release versions of modern desktop and mobile browsers (including microsoft's edge browser, although not internet explorer.) how do you create responsive images?
...at this point, if a
supporting browser with a viewport width of 480px loads the page, the (max-width: 600px) media condition will be true, and so the browser chooses the 480px slot.
... older browsers that don't
support these features will just ignore them.
...And 4 more matches
Making asynchronous programming easier with async and await - Learn web development
previous overview: asynchronous next more recent additions to the javascript language are async functions and the await keyword, part of the so-called ecmascript 2017 javascript edition (see ecmascript next
support in mozilla).
...in addition, this lets synchronous functions avoid any potential overhead that comes with running with
support for using await.
...bye for now!`); }; } let han = new person('han', 'solo', 25, 'male', ['smuggling']); the first class method could now be used something like this: han.greeting().then(console.log); browser
support one consideration when deciding whether to use async/await is
support for older browsers.
...And 4 more matches
Introduction to web APIs - Learn web development
as a real-world example, think about the electricity
supply in your house, apartment, or other dwellings.
...you don't try to wire it directly into the power
supply — to do so would be really inefficient and, if you are not an electrician, difficult and dangerous to attempt.
... apis in client-side javascript client-side javascript, in particular, has many apis available to it — these are not part of the javascript language itself, rather they are built on top of the core javascript language, providing you with extra
superpowers to use in your javascript code.
...And 4 more matches
Deployment and next steps - Learn web development
previous overview: client-side javascript frameworks in the previous article we learning about svelte's typescript
support, and how to use it to make your application more robust.
...vercel is a cloud platform specifically tailored for static sites, which has out-of-the-box
support for most common front-end tools, svelte being one of them.
... related projects there are other projects related to svelte that are worth checking out: sapper: an application framework powered by svelte that provides server-side rendering (ssr), code splitting, file-based routing and offline
support, and more.
...And 4 more matches
Introduction to cross browser testing - Learn web development
you need to think about: different browsers other than the one or two that you use regularly on your devices, including slightly older browsers that some people might still be using, which don't
support all the latest, shiniest css and javascript features.
... some browsers may have different levels of
support for technology features than others.
... this is inevitable when you are dealing with bleeding edge features that browsers are just getting round to implementing, or if you have to
support really old browsers that are no longer being developed, which may have been frozen (i.e.
...And 4 more matches
Adding a new event
the latter is used only for abstruct
super event class whose instance will never be created.
... basicevents.h this header file should be used only for defining generic purpose event class such as a common
super class of various event classes.
...first, this method should call its
super class's this method.
...And 4 more matches
Testopia
testopia 2.5 this versions
supports bugzilla 4.2 and 4.4, and the best news is that it no longer requires a patch for bugzilla.
... testopia 2.4 this version
supports bugzilla 3.6.
...though all attempts have been made to provide continuing
support for positional parameters, please be aware that some api calls may fail until you make this change.
...And 4 more matches
The Firefox codebase: CSS Guidelines
writing cross-platform css firefox
supports many different platforms and each of those platforms can contain many different configurations: windows 7, 8 and 10 default theme aero basic (windows 7, 8) windows classic (windows 7) high contrast (all versions) linux macos file structure the browser/ directory contains styles specific to firefox the toolkit/ directory contains styles that are shared across al...
... do this: @media (-moz-mac-yosemite-theme: 0) { #placeslist { box-shadow: inset -2px 0 0 hsla(0,0%,100%,.2); } } not this: #placeslist { box-shadow: inset -2px 0 0 hsla(0,0%,100%,.2); } @media (-moz-mac-yosemite-theme) { #placeslist { box-shadow: none; } } theme
support firefox comes built-in with 3 themes: default, light and dark.
...in addition to this, firefox
supports a variety of webextension themes that can be installed from amo.
...And 4 more matches
Obsolete Build Caveats and Tips
these tips, while helpful, are jarring and
superfluous to the majority of new mozilla builders who are mainly interested in building the latest version of firefox.
... obsolete caveats and tips from simple_firefox_build install a version of visual studio that
supports c++ development: vs 2012 for windows desktop pro or express (free), or vc++ 2010 pro or express (free), or vc++ 2008 pro or express with sp1 (free) (warning !
... visual c++ 7.1 or visual c++ 8 (vs2005) express these versions are not
supported and the windows 7 sdk will not work with them.
...And 4 more matches
WebRequest.jsm
ern = new matchpattern("https:/developer.mozilla.org/*"); cu.import("resource://gre/modules/matchpattern.jsm"); let pattern = new matchpattern(["https://mozorg.cdn.mozilla.net/*", "https://mdn.mozillademos.org/*", "https://developer.cdn.mozilla.net/*"]); see the match patterns article for details on the syntax of the strings you
supply.
... if you
supply an array of strings, then a url matches if it matches any of the strings.
... the following types are
supported: "main_frame" "sub_frame" "stylesheet" "script" "image" "object" "xmlhttprequest" http headers https headers are represented as objects with two properties, name and value: name type description name string header name, for example "content-type" value string header valu...
...And 4 more matches
Creating localizable web applications
the language_config class expects arrays of valid languages &
supported languages.
...the server's php has been built with gettext
support).
...make sure the content
supports changing the order of the sentence, which may be required by some grammars.
...And 4 more matches
Mozilla MathML Status
an overview of the mathml 3 elements/attributes - excluding deprecated ones - and the current status of the native
support.
...the sections are marked with their current status:
supported, in progress, and not currently
supported.
...if only the main features of an element are implemented then its section is marked as
supported but details of un
supported attributes are specified below.
...And 4 more matches
L20n Javascript API
ctx.registerlocalenegotiator(negotiator: function) register a function which will be used to negotiate the locales
supported by the context instance.
... the final list of locales
supported by the context instance will be negotiated asynchronously by the negotiator registered by registerlocalenegotiator.
... ctx.
supportedlocales a read-only property which holds the current fallback chain of locales which was negotiated between all the available locales, the default locale and the user's preferred locales.
...And 4 more matches
NSS 3.14.2 release notes
new types: in certt.h cert_pi_useonlytrustanchors in secoidt.h sec_oid_ms_ext_key_usage_ctl_signing notable changes in nss 3.14.2 bug 805604 -
support for aes-ni and avx accelerated aes-gcm was contributed by shay gueron of intel.
... if compiled on linux systems in 64-bit mode, nss will include runtime detection to check if the platform
supports aes-ni and pclmulqdq.
...
support for other platforms, such as windows, will follow in a future nss release.
...And 4 more matches
NSS 3.52 release notes
notable changes in nss 3.52 bug 1603628 - update nss to
support pkcs #11 v3.0.
... bug 1623374 -
support new pkcs #11 v3.0 message interface for aes-gcm and chachapoly.
... bug 1629655 -
support temporary session objects in ckfw.
...And 4 more matches
NSS tools : certutil
certutil
supports two types of databases: the legacy security databases (cert8.db, key3.db, and secmod.db) and new sqlite databases (cert9.db, key4.db, and pkcs11.txt).
... · oid (example): 1.2.3.4 · critical-flag: critical or not-critical · filename: full path to a file containing an encoded extension -f password-file specify a file that will automatically
supply the password to include in a certificate or to access a certificate database.
...this argument is provided to
support legacy servers.
...And 4 more matches
TLS Cipher Suite Discovery
each new release of a tls implementation may contain
support for new cipher suites not
supported in previous versions.
... when a new version of a tls implementation is made available for use by applications, those applications may wish to immediately use the newly
supported cipher suites found in the new version, without the application needing to be modified and re-released to know about these new cipher suites.
... to that end, nss's libssl offers a way for applications to discover at run time the set of cipher suites
supported by that version of libssl.
...And 4 more matches
JSAPI User Guide
it is a fine-grained api,
supporting many different combinations of the parts, and giving applications precise control over how spidermonkey behaves.
...in general, if you want to
support multiple instances that share behavior, use js_initclass.
...
support for multiple jscontexts per jsruntime will be removed in the future.
...And 4 more matches
JS_SetOptions
mxr id search for jsoption_varobjfix jsoption_private_is_nsi
supports mozilla extension.
... the context's private data points to an xpcom object (see nsi
supports).
... mxr id search for jsoption_private_is_nsi
supports jsoption_compile_n_go caller of js_compilescript et al promises to execute the compiled script once only, in the same scope object used for compilation.
...And 4 more matches
SpiderMonkey 24
get it here mozilla-esr24 if the download url is outdate you will find it in "firefox extended
support release 24" package on hg release platform
support spidermonkey 24 is
supported on all the platforms where firefox 24 runs.
... (this change was motivated by garbage collector improvements, which lean quite heavily on c++'s
support for raii through constructors and destructors.) if you are compiling with microsoft's visual studio, note that the minimum
supported version is msvc10/2010: msvc8/9
support has been dropped.
...it is
supported on x86, x86_64, and arm architectures.
...And 4 more matches
Shell global objects
shell principals are toys, meant only for testing; one shell principal subsumes another if its set bits are a
superset of the other's.
...if this property is omitted,
supply no principal.
... getmaxargs() return the maximum number of
supported args for a call.
...And 4 more matches
Web Replay
during execution of the wrapped call/message, recording of any inner calls is
suppressed, so that they are performed normally without affecting the recording.
... the following executions are unlikely to be
supported by the initial release, but should be able to be handled at some point in the future: on x64, asm.js code relies on mprotect to handle out of bounds heap accesses; mprotect works differently while replaying, so some cooperation will be needed between the asm.js exception handler and the dirty memory exception handler.
... dom workers are not
supported yet.
...And 4 more matches
Interfacing with the XPCOM cycle collector
the traverse and unlink methods on the helper object are not magic; they are programmer-
supplied and must be correct, or else the collector will fail.
... add a line declaring that your class nsfoo participates in the cycle collection in nsfoo.cpp: ns_impl_cycle_collection_class(nsfoo) change the line ns_decl_i
supports to ns_decl_cycle_collecting_i
supports in the definition of nsfoo.
...or ns_decl_cycle_collection_class_ambiguous(nsfoo, nsibar) if nsfoo inherits from multiple interfaces, where nsibar is the interface which is returned when you queryinterface nsfoo to nsi
supports.
...And 4 more matches
inIDOMUtils
inherits from: nsi
supports 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); nsi
supportsarray 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 aru...
... getcontentstate() a bit mask of the
supported content state flags, which are listed in content state flags.
...And 4 more matches
nsICategoryManager
inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) implemented by: @mozilla.org/categorymanager;1.
...("moz.httprulez.1") apersist no longer
supported.
... return value a simple enumerator, each result qis to nsi
supportscstring.
...And 4 more matches
nsIDOMMozNetworkStatsManager
inherits from: nsi
supports last changed in gecko 18.0 (firefox 18.0 / thunderbird 18.0 / seamonkey 2.15) implemented by: @mozilla.org/networkstatsmanager;1.
...you can test for the presence of the service as follows, for example: if ("moznetworkstats" in navigator) { /* networkstats is available */ } else { alert("i'm sorry, but networkstats services are not
supported."); } method overview nsidomdomrequest getsamples(in nsi
supports network, in jsval start, in jsval end, [optional] in jsval options /* networkstatsgetoptions */); nsidomdomrequest addalarm(in nsi
supports network, in long threshold, ...
... [optional] in jsval options /* networkstatsalarmoptions */); nsidomdomrequest getallalarms([optional] in nsi
supports network); nsidomdomrequest removealarms([optional] in long alarmid); nsidomdomrequest clearstats(in nsi
supports network); nsidomdomrequest clearallstats(); nsidomdomrequest getavailablenetworks(); nsidomdomrequest getavailableservicetypes(); attributes attribute type description samplerate long minimum time in milliseconds between samples stored in the database.
...And 4 more matches
nsIHTMLEditor
inherits from: nsi
supports last changed in gecko 5.0 (firefox 5.0 / thunderbird 5.0 / seamonkey 2.2) method overview void adddefaultproperty(in nsiatom aproperty, in astring aattribute, in astring avalue); void addinsertionlistener(in nsicontentfilter infilter); void align(in astring aalign); boolean breakisvisible(in nsidomnode anode); boolean candrag(in nsidomevent aevent); void checkselectionstateforanonymousbuttons(in nsiselection aselection); nsidomelement createanonymouselement(in astring atag, in nsidomnode aparentnode, in astring aanonclass, in boolean aiscreatedhidden); nsidomelement createelementwithdefaults(in astring...
... getindentstate(out boolean acanindent, out boolean acanoutdent); void getinlineproperty(in nsiatom aproperty, in astring aattribute, in astring avalue, out boolean afirst, out boolean aany, out boolean aall); astring getinlinepropertywithattrvalue(in nsiatom aproperty, in astring aattribute, in astring avalue, out boolean afirst, out boolean aany, out boolean aall); nsi
supportsarray getlinkedobjects(); void getlistitemstate(out boolean amixed, out boolean ali, out boolean adt, out boolean add); void getliststate(out boolean amixed, out boolean aol, out boolean aul, out boolean adl); astring getparagraphstate(out boolean amixed); nsidomelement getselectedelement(in astring atagname); nsidomelement getselectioncontainer();...
... used primarily to
supply new element for various insert element dialogs (image, link, table, and horizontalrule are the only returned elements as of 9/12/18); namedanchor was removed in firefox 63.
...And 4 more matches
nsIMsgMessageService
inherits from: nsi
supports method overview void copymessage(in string asrcuri, in nsistreamlistener acopylistener, in boolean amovemessage, in nsiurllistener aurllistener, in nsimsgwindow amsgwindow, out nsiuri aurl); [noscript] void copymessages(in nsmsgkeyarrayptr keys, in nsimsgfolder srcfolder, in nsistreamlistener acopylistener, in boolean amovemessage, in nsiurllistener aurllistener, in nsimsgwindow amsgwindow, out nsiuri aurl); void displaymessage(in string amessageuri, in nsi
supports adisplayconsumer, in nsimsgwindow amsgwindow, in n...
...siurllistener aurllistener, in string acharsetoverride, out nsiuri aurl); void openattachment(in string acontenttype, in string afilename, in string aurl, in string amessageuri, in nsi
supports adisplayconsumer, in nsimsgwindow amsgwindow, in nsiurllistener aurllistener); void savemessagetodisk(in string amessageuri, in nsifilespec afile, in boolean ageneratedummyenvelope, in nsiurllistener aurllistener, out nsiuri aurl, in boolean canonicallineending, in nsimsgwindow amsgwindow); void geturlforuri(in string amessageuri, out nsiuri aurl, in nsimsgwindow amsgwindow); void displaymessageforprinting(in string amessageuri, in nsi
supports adisplayconsumer, in nsimsgwindow amsgwindow, in nsiurllistener aurllistener, out nsiuri aurl); void search(in nsimsg...
...searchsession asearchsession, in nsimsgwindow amsgwindow, in nsimsgfolder amsgfolder, in string asearchuri); nsiuri streammessage(in string amessageuri, in nsi
supports aconsumer, in nsimsgwindow amsgwindow, in nsiurllistener aurllistener, in boolean aconvertdata, in string aadditionalheader); nsiuri streamheaders(in string amessageuri, in nsistreamlistener aconsumer, in nsiurllistener aurllistener [optional] in boolean alocalonly); boolean ismsginmemcache(in nsiuri aurl, in nsimsgfolder afolder, out nsicacheentrydescriptor acacheentry); nsimsgdbhdr messageuritomsghdr(in string uri); methods copymessage() pass in the uri for the message you want to have copied.
...And 4 more matches
nsIMutableArray
method overview void appendelement(in nsi
supports element, in boolean weak); void clear(); void insertelementat(in nsi
supports element, in unsigned long index, in boolean weak); void removeelementat(in unsigned long index); void replaceelementat(in nsi
supports element, in unsigned long index, in boolean weak); methods appendelement() append an element at the end of the array.
... void appendelement( in nsi
supports element, in boolean weak ); parameters element the element to append.
... exceptions thrown ns_error_failure when a weak reference is requested, but the element does not
support nsiweakreference.
...And 4 more matches
Component; nsIPrefBranch
inherits from: nsi
supports last changed in gecko 58 (firefox 58 / thunderbird 58 / seamonkey 2.55) this object is created with a "root" value which describes the base point in the preferences "tree" from which this "branch" stems.
...server(in string adomain, in nsiobserver aobserver); void resetbranch(in string astartingat); void setboolpref(in string aprefname, in long avalue); void setcharpref(in string aprefname, in string avalue); requires gecko 58 void setstringpref(in string aprefname, in utf8string avalue); void setcomplexvalue(in string aprefname, in nsiidref atype, in nsi
supports avalue); void setintpref(in string aprefname, in long avalue); void unlockpref(in string aprefname); attributes attribute type description root string called to get the root on which this branch is based, such as "browser.startup." read only.
...the object must implement the nsi
supportsweakreference interface or this will fail.
...And 4 more matches
nsIStreamConverter
inherits from: nsistreamlistener last changed in gecko 1.7
suppose you had code that converted plain text into html.
...you can
supply the service with a stream of type x and it will convert it to your desired output type and return a converted (blocking) stream to you.
...you can
supply data directly to the converter by calling it's nsistreamlistener.ondataavailable() method.
...And 4 more matches
nsIWebSocketListener
1.0 66 introduced gecko 8.0 inherits from: nsi
supports last changed in gecko 8.0 (firefox 8.0 / thunderbird 8.0 / seamonkey 2.5) method overview void onacknowledge(in nsi
supports acontext, in pruint32 asize); void onbinarymessageavailable(in nsi
supports acontext, in acstring amsg); void onmessageavailable(in nsi
supports acontext, in autf8string amsg); void onserverclose(in nsi
supports acontext, in unsigned short acode, in autf8string areason); void onstart(in nsi
supports acontext); void onstop(in nsi
supports acontext, in nsresu...
...void onacknowledge( in nsi
supports acontext, in pruint32 asize ); parameters acontext user defined context.
...void onbinarymessageavailable( in nsi
supports acontext, in acstring amsg ); parameters acontext user defined context.
...And 4 more matches
nsIWindowWatcher
inherits from: nsi
supports last changed in gecko 0.9.6 usage notes: this component has an activewindow property.
...ndow); nsiauthprompt getnewauthprompter(in nsidomwindow aparent); nsiprompt getnewprompter(in nsidomwindow aparent); nsidomwindow getwindowbyname(in wstring atargetname, in nsidomwindow acurrentwindow); nsisimpleenumerator getwindowenumerator(); nsidomwindow openwindow(in nsidomwindow aparent, in string aurl, in string aname, in string afeatures, in nsi
supports aarguments); void registernotification(in nsiobserver aobserver); void setwindowcreator(in nsiwindowcreator creator); void unregisternotification(in nsiobserver aobserver); attributes attribute type description activewindow nsidomwindow the watcher serves as a global storage facility for the current active (front most non-float...
... return value an nsisimpleenumerator which will itself return nsi
supports objects which can be nsi
supports.queryinterface() (queryinterfaced) to an nsidomwindow.
...And 4 more matches
nsIXULTemplateBuilder
due to this, the query processor will be
supplied with the datasource and query which the template builder handles in an opaque way, while the query processor handles these more specifically.
...each of these declared bindings must be
supplied to the query processor via its addbinding() method.
...a query processor is not required to provide any
support for updating results after they have been generated.
...And 4 more matches
Using the clipboard
we will use the interface nsi
supportsstring which can be used to represent strings (specifically, unicode strings).
...components.utils.import('resource://gre/modules/services.jsm'); // create a constructor for the built-in
supports-string class.
... const ns
supportsstring = components.constructor("@mozilla.org/
supports-string;1", "nsi
supportsstring"); function
supportsstring(str) { // create an instance of the
supports-string class var res = ns
supportsstring(); // store the javascript string that we want to wrap in the new nsi
supportsstring object res.data = str; return res; } // create a constructor for the built-in transferable class const nstransferable = components.constructor("@mozilla.org/widget/transferable;1", "nsitransferable"); // create a wrapper to construct an nsitransferable instance and set its source to the given window, when necessary function transferable(source) { var res = nstransferable(); if ('init' in res) { // when passed a window object, find a suitable privacy context for ...
...And 4 more matches
Streams - Plugins
in general, this mode is more expensive, because the entire stream must be downloaded to a temporary file before use unless the stream comes from a local file or an http server that
supports the byte-range extension to http.
...seekable streams
support random access (for example, local files or http servers that
support byte-range requests).
... for instance,
suppose the plug-in allocates, in npp_newstream, an 8k buffer to hold the data written from that stream.
...And 4 more matches
Plugin Roadmap for Firefox - Plugins
to
support the transition away from flash, firefox is working with other browsers to progressively and carefully make flash usage less common.
... below is the roadmap of past and future
support for plugins in firefox.
...in addition, the 64-bit firefox for windows only
supports the flash plugin.
...And 4 more matches
AddressErrors - Web APIs
addresserrors is the type of the object returned by shippingaddresserrors in the paymentdetail
supdate passed into paymentrequestupdateevent.updatewith() by the shippingaddresschange event handler if a change to the address resulted in a validation error occurring.
... javascript payment request data first, we declare the variables
supportedhandlers, which is compatible with paymentmethoddata, and defaultpaymentdetails, which is a paymentdetail
supdate object.
... let
supportedhandlers = [ {
supportedmethods: "basic-card", data: {
supportednetworks: ["visa", "mastercard", "amex", "discover"],
supportedtypes: ["credit", "debit"] } } ]; let defaultpaymentdetails = { total: {label: 'donation', amount: {currency: 'usd', value: '65.00'}}, displayitems: [ { label: 'original donation amount', amount: {currency: 'usd', value: '65.00'} } ], shippingoptions: [ { id: 'standard', label: 'standard shipping', amount: {currency: 'usd', value: '0.00'}, selected: true } ] };
supportedhandlers describes the
supported payment handlers and the details for those.
...And 4 more matches
AudioBuffer() - Web APIs
the default is 1, and all user agents are required to
support at least 32 channels.
...user agents are required to
support sample rates from 8,000 hz to 96,000 hz (but are allowed to go farther outside this range).
... exceptions not
supportederror one or more of the options are negative or otherwise has an invalid value (such as numberofchannels being higher than
supported, or a samplerate outside the nominal range).
...And 4 more matches
AudioParam.cancelAndHoldAtTime() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcancelandholdattimechrome full
support 57 full
support 57 no
support ?
... — 56alternate name alternate name uses the non-standard name: cancelvaluesandholdattime()edge full
support ≤79firefox no
support noie no
support noopera full
support 44 full
support 44 no
support ?
... — 43alternate name alternate name uses the non-standard name: cancelvaluesandholdattime()safari no
support nowebview android full
support 57 full
support 57 no
support ?
...And 4 more matches
characteristic - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcharacteristic experimentalchrome full
support 57notes full
support 57notes notes macos only.
... full
support 57notes disabled notes linux and versions of windows earlier than 10.disabled from version 57: this feature is behind the #enable-experimental-web-platform-features preference (needs to be set to enabled).
... full
support 70notes notes windows 10.edge full
support ≤79notes full
support ≤79notes notes macos only.
...And 4 more matches
uuid - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetuuid experimentalchrome full
support 57notes full
support 57notes notes macos only.
... full
support 57notes disabled notes linux and versions of windows earlier than 10.disabled from version 57: this feature is behind the #enable-experimental-web-platform-features preference (needs to be set to enabled).
... full
support 70notes notes windows 10.edge full
support ≤79notes full
support ≤79notes notes macos only.
...And 4 more matches
value - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetvalue experimentalchrome full
support 57notes full
support 57notes notes macos only.
... full
support 57notes disabled notes linux and versions of windows earlier than 10.disabled from version 57: this feature is behind the #enable-experimental-web-platform-features preference (needs to be set to enabled).
... full
support 70notes notes windows 10.edge full
support ≤79notes full
support ≤79notes notes macos only.
...And 4 more matches
writeValue() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetwritevalue experimentalchrome full
support 57notes full
support 57notes notes macos only.
... full
support 57notes disabled notes linux and versions of windows earlier than 10.disabled from version 57: this feature is behind the #enable-experimental-web-platform-features preference (needs to be set to enabled).
... full
support 70notes notes windows 10.edge full
support ≤79notes full
support ≤79notes notes macos only.
...And 4 more matches
BudgetService.getBudget() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetbudget experimentaldeprecatednon-standardchrome full
support 55edge full
support ≤79firefox ?
... opera full
support 42safari ?
... webview android full
support 55chrome android full
support 55firefox android ?
...And 4 more matches
BudgetService.getCost() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetcost experimentaldeprecatednon-standardchrome full
support 55edge full
support ≤79firefox ?
... opera full
support 42safari ?
... webview android full
support 55chrome android full
support 55firefox android ?
...And 4 more matches
BudgetService.reserve() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreserve experimentaldeprecatednon-standardchrome full
support 55edge full
support ≤79firefox ?
... opera full
support 42safari ?
... webview android full
support 55chrome android full
support 55firefox android ?
...And 4 more matches
BudgetState.budgetAt - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbudgetat experimentaldeprecatednon-standardchrome full
support 60edge full
support ≤79firefox ?
... opera no
support nosafari ?
... webview android no
support nochrome android full
support 60firefox android ?
...And 4 more matches
BudgetState.time - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettime experimentaldeprecatednon-standardchrome full
support 60edge full
support ≤79firefox ?
... opera no
support nosafari ?
... webview android no
support nochrome android full
support 60firefox android ?
...And 4 more matches
Document - Web APIs
document.querycommand
supported() returns true if the formating command is
supported on the current range.
...starting with internet explorer 11, that property is no longer
supported.
... internet explorer does not
support all methods from the node interface in the document interface: document.contains as a work-around, document.body.contains() can be used.
...And 4 more matches
FileSystem - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilesystemchrome full
support 7alternate name full
support 7alternate name alternate name uses the non-standard name: domfilesystemedge full
support ≤18prefixed notes full
support ≤18prefixed notes prefixed implemented with the vendor prefix: webkitnotes ...
...edge only
supports this api in drag-and-drop scenarios using the the datatransferitem.webkitgetasentry() method.
... it's not available for use in file or folder picker panels (such as when you use an <input> element with the htmlinputelement.webkitdirectory attribute.firefox full
support 50ie no
support noopera full
support 15prefixed full
support 15prefixed prefixed implemented with the vendor prefix: webkitsafari full
support 11.1webview android full
support ≤37alternate name full
support ≤37alternate name alternate name uses the non-standard name: domfilesystemchrome android ...
...And 4 more matches
Drag Operations - Web APIs
this allows data to be provided in more specific types, often custom types, yet still provide fallback data for drop targets that do not
support more specific types.
...other applications won't
support this type, but you can use a custom type for drags between areas of the same site or application.
... by providing data in other types as well, we can also
support drags to other applications in less specific forms.
...And 4 more matches
IDBObjectStore.name - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnamechrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitrenaming through...
...And 4 more matches
ImageCapture.takePhoto() - Web APIs
the user agent selects the closest height value to this setting if it only
supports discrete heights.
...the user agent selects the closest width value to this setting if it only
supports discrete widths.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettakephoto experimentalchrome full
support 60 full
support 60 no
support 59 — 60notes notes photosettings argument not
supported.edge full
support ≤79firefox ?
...And 4 more matches
MediaStream.id - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidchrome no
support ?
... — 54edge no
support 12 — 79firefox full
support 41ie no
support noopera no
support ?
... — 39safari full
support yeswebview android no
support ?
...And 4 more matches
Metadata - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmetadata experimentalnon-standardchrome full
support 13prefixed full
support 13prefixed prefixed implemented with the vendor prefix: webkitedge full
support ≤79prefixed full
support ≤79prefixed prefixed implemented with the vendor prefix: webkitfirefox no
suppor...
...t noie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitfirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android full
support y...
...esprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitmodificationtime experimentalnon-standardchrome full
support 13edge full
support ≤79firefox no
support noie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android full
support yesfirefox android no
support noopera android ...
...And 4 more matches
PaymentAddress.toJSON() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettojson()chrome full
support 61disabled full
support 61disabled disabled from version 61: this feature is behind the #web-payments preference (needs to be set to enabled).
... to change preferences in chrome, visit chrome://flags.edge full
support 15firefox full
support 62notes disabled full
support 62notes disabled notes available only in nightly builds.
... requires the comma-delineated list in dom.payments.request.
supportedregions to contain one or more of the
supported 2-character iso locales, currently us and ca.disabled from version 62: this feature is behind the dom.payments.request.enabled preference (needs to be set to true).
...And 4 more matches
Payment processing concepts - Web APIs
currently, apple pay is only
supported by safari.
...this is currently
supported only by chrome and chromium-based browsers.
... functions of a payment handler a user agent may provide built-in
support for certain types of payments.
...And 4 more matches
PerformanceLongTaskTiming - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetperformancelongtasktiming experimentalchrome full
support 58edge full
support ≤79firefox no
support nonotes no
support nonotes notes see bug 1348405.ie ?
... opera full
support yessafari ?
... webview android full
support 58chrome android full
support 58firefox android no
support nonotes no
support nonotes notes see bug 1348405.opera android full
support yessafari ios ?
...And 4 more matches
PushEvent - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpushevent experimentalchrome full
support 42edge full
support 16disabled full
support 16disabled disabled from version 16: this feature is behind the enable service workers preference.
... full
support 17firefox full
support 44notes full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie no
support noopera full
support 37safari no
support nowebview android no
support nochrome android full
support 42firefox android full
support 44 full
support 44 ...
... full
support 48notes notes push enabled by default.opera android full
support 37safari ios no
support nosamsung internet android full
support 4.0pushevent() constructor experimentalchrome full
support 42edge full
support 16disabled full
support 16disabled disabled from version 16: this feature is behind the enable service workers preference.
...And 4 more matches
SVGSVGElement - Web APIs
(if the parent uses css or xsl layout, then unitless values represent pixel units for the current css or xsl viewport.) svgsvgelement.pixelunittomillimeterx a float representing the size of the pixel unit (as defined by css2) along the x-axis of the viewport, which represents a unit somewhere in the range of 70dpi to 120dpi, and, on systems that
support this, might actually match the characteristics of the target medium.
... in environments that do not
support interactivity (e.g., print media), then redraw shall not be suspended.
... svgsvgelement.forceredraw() in rendering environments
supporting interactivity, forces the user agent to immediately redraw all regions of the viewport that require updating.
...And 4 more matches
SVGTransformList - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvgtransformlistchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslength non-standardchrome full
support yesedge full
support ≤79firefox full
suppor...
... opera full
support yessafari ?
...And 4 more matches
Using the User Timing API - Web APIs
function create_marks(ev) { if (performance.mark === undefined) { log("create marks: performance.mark not
supported", 0); return; } else { log("create marks", 0); // create several performance marks including two with the same name performance.mark("mark-1"); do_work(50000); performance.mark("mark-2"); do_work(50000); performance.mark("mark-2"); var marks = ["mark-1", "mark-2", "mark-2"]; for (var i=0; i < marks.length; i++) log("...
... function display_marks(ev) { if (performance.getentries === undefined) { log("display marks: performance.getentries not
supported", 0); return; } log("display marks", 0); // display each mark using getentries() var entries = performance.getentries(); var j=0; for (var i=0; i < entries.length; i++) { if (entries[i].entrytype == "mark") { if (j == 0) { log("= getentries()", 0); j++ } log("...
... function clear_marks(obj) { if (performance.clearmarks === undefined) { log("clear marks: performance.clearmarks not
supported", 0); return; } log("clear marks", 0); if (typeof obj == "string") { log("...
...And 4 more matches
Inputs and input sources - Web APIs
to that end, webxr provides
support for a variety of kinds of input devices.
... input device types webxr
supports a variety of different types of devices to handle targeting and action inputs.
...see
supporting advanced controllers and gamepads in webxr applications for more detailed information.
...And 4 more matches
Movement, orientation, and motion: A WebXR example - Web APIs
enableforcepolyfill if this boolean is true, the example will attempt to use the webxr polyfill even if the browser actually has
support for webxr.
... handling the startup and shutdown ui then we call the setupxrbutton() function, which handles configuring the "enter/exit webxr" button to enable or disable it as necessary depending on the availability of webxr
support for the session type specified in the session_type constant.
... function setupxrbutton() { if (navigator.xr.issession
supported) { navigator.xr.issession
supported(session_type) .then((
supported) => { xrbutton.disabled = !
supported; }); } else { navigator.xr.
supportssession(session_type) .then(() => { xrbutton.disabled = false; }) .catch(() => { xrbutton.disabled = true; }); } } the label of the button gets adjusted in the code that handles actuallys ttarting and stopping the webxr session; we'll see that below.
...And 4 more matches
Using XMLHttpRequest - Web APIs
*/ however, more modern techniques are available, since the responsetype attribute now
supports a number of additional content types, which makes sending and receiving binary data much easier.
...
support for dom progress event monitoring of xmlhttprequest transfers follows the specification for progress events: these events implement the progressevent interface.
...this is what i
suppose...: */ /* "4\3\7 - einstein said e=mc2" ----> "4\\3\\7\ -\ einstein\ said\ e\=mc2" */ return stext.replace(/[\s\=\\]/g, "\\$&"); } function submitrequest (otarget) { var nfile, sfieldtype, ofield, osegmreq, ofile, bispost = otarget.method.tolowercase() === "post"; /* console.log("ajaxsubmit - serializing form..."); */ this.contenttype = bispost && otarget.enctype ?
...And 4 more matches
ARIA live regions - Accessibility
advanced live regions (tbd: more granular information on the
support of the individual attributes with combinations of os/browser/at).
... general
support for live regions was added to jaws on version 10.0.
... in windows eyes
supports live regions since version 8.0 "for use outside of browse mode for microsoft internet explorer and mozilla firefox".
...And 4 more matches
ARIA - Accessibility
it
supplements html so that interactions and widgets commonly used in applications can be passed to assistive technologies when there is not otherwise a mechanism.
...
support like any other web technology, there are varying degrees of
support for aria.
...
support is based on the operating system and browser being used, as well as the kind of assistive technology interfacing with it.
...And 4 more matches
@import - CSS: Cascading Style Sheets
syntax @import url; @import url list-of-media-queries; @import url
supports(
supports-query ); @import url
supports(
supports-query ) list-of-media-queries; where: url is a <string> or a <url> representing the location of the resource to import.
...if the browser does not
support any these queries, it does not load the linked resource.
...
supports-query is either a <
supports-condition> or a <declaration>.
...And 4 more matches
-webkit-animation - CSS: Cascading Style Sheets
the -webkit-animation boolean css media feature is a chrome extension whose value is true if vendor-prefixed css animations are
supported.
... note: this media feature is only
supported by webkit.
... if possible, use an @
supports feature query instead.
...And 4 more matches
CSS Scrollbars - CSS: Cascading Style Sheets
scrollbar-width desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetscrollbar-widthchrome no
support noedge no
support nofirefox full
support 64 full
support 64 full
support 63disabled disabled from version 63: this feature is behind the layout.css.scrollbar-width.enabled preference (ne...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android no
support nofirefox android full
support 64 full
support 64 full
support 63disabled disabled from version 63: this feature is behind the layout.css.scrollbar-width.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportuser must explicitly enable this feature.user must explicitly enable this feature.
...And 4 more matches
animation-delay - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetanimation-delaychrome full
support 43 full
support 43 full
support 3prefixed prefixed implemented with the vendor prefix: -webkit-edge full
support 12firefox full
support 16notes full
support ...
... full
support 49prefixed prefixed implemented with the vendor prefix: -webkit- full
support 44prefixed disabled prefixed implemented with the vendor prefix: -webkit-disabled from version 44: this feature is behind the layout.css.prefixes.webkit preference (needs to be set to true).
... full
support 5prefixed prefixed implemented with the vendor prefix: -moz-ie full
support 10opera full
support 30 full
support 30 full
support 15prefixed prefixed implemented with the vendor prefix: -webkit- no
support 12.1 — 15 no
support 12 — 15prefixed prefixed implemented with the vendor prefix: -o-safari full
support 9 full
support 9 full
support ...
...And 4 more matches
font-size-adjust - CSS: Cascading Style Sheets
to use this property in a way that is compatible with browsers that do not
support font-size-adjust, it is specified as a number that the font-size property is multiplied by.
... this will still produce reasonable results in browsers that do not
support font-size-adjust, where a 14px font will be used.
...this means that the first-choice font, when available, will appear the same size in browsers, whether or not they
support font-size-adjust.
...And 4 more matches
list-style-type - CSS: Cascading Style Sheets
a, b, c, … z lower-latin is un
supported in ie7 and earlier see browser compatibility section.
...a, b, c, … z upper-latin is un
supported in ie7 and earlier arabic-indic -moz-arabic-indic example armenian traditional armenian numbering (ayb/ayp, ben/pen, gim/keem… bengali -moz-bengali example cambodian * example is a synonym for khmer cjk-earthly-branch -moz-cjk-earthly-branch example cjk-heavenly-stem -moz-cjk-heavenly-stem example cjk-ideographic identical to trad-chinese-informal e.g.
... non-standard extensions a few more predefined types are provided by mozilla (firefox), blink (chrome and opera) and webkit (safari) to
support list types in other languages.
...And 4 more matches
Introduction to HTML5 - Developer guides
it offers new features that provide not only rich media
support but also enhance
support for creating web applications that can interact with users, their local data, and servers more easily and effectively than was previously possible.
... some html5 features remain un
supported by some browsers.
... however, gecko, and by extension, firefox, has very good
support for html5, and work continues toward
supporting more of its features.
...And 4 more matches
HTML attribute: required - HTML: Hypertext Markup Language
the required attribute is
supported by text, search, url, tel, email, password, date, month, week, time, datetime-local, number, checkbox, radio, file, <input> types along with the <select> and <textarea> form control elements.
... the attribute is not
supported or relevant to range and color, as both have default values.
... it is also not
supported on hidden as it can not be expected that a user to fill out a form that is hidden.
...And 4 more matches
DASH Adaptive Streaming for HTML 5 Video - HTML: Hypertext Markup Language
browser
support firefox 21 includes an implementation of dash for html5 webm video which is turned off by default.
... firefox 23 removed
support for dash for html5 webm video.
... it will be replaced by an implementation of the media source extensions api which will allow
support for dash via javascript libraries such as dash.js.
...And 4 more matches
<noframes>: The Frame Fallback element - HTML: Hypertext Markup Language
the obsolete html no frames or frame fallback element, <noframes>, provides content to be presented in browsers that don't
support (or have disabled
support for) the <frame> element.
... although most commonly-used browsers
support frames, there are exceptions, including certain special-use browsers including some mobile browsers, as well as text-mode browsers.
... a <noframes> element can contain any html elements that are allowed within the body of an html document, with the exception of the <frameset> and <frame> elements, since using frames when they aren't
supported doesn't make sense.
...And 4 more matches
<source>: The Media or Image Source element - HTML: Hypertext Markup Language
it is commonly used to offer the same media content in multiple file formats in order to provide compatibility with a broad range of browsers given their differing
support for image file formats and media file formats.
... for information about image formats
supported by web browsers and guidance on selecting appropriate formats to use, see our image file type and format guide on the web.
... examples video example this example demonstrates how to offer a video in ogg format for users whose browsers
support ogg format, and a quicktime format video for users whose browsers
support that.
...And 4 more matches
Global attributes - HTML: Hypertext Markup Language
class and style are
supported on all elements but <base>, <basefont>, <head>, <html>, <meta>, <param>, <script>, <style>, and <title>.
... dir is
supported on all elements but <applet>, <base>, <basefont>, <bdo>, <br>, <frame>, <frameset>, <iframe>, <param>, and <script>.
... id is
supported on all elements but <base>, <head>, <html>, <meta>, <script>, <style>, and <title>.
...And 4 more matches
Cross-Origin Resource Sharing (CORS) - HTTP
the cors mechanism
supports secure cross-origin requests and data transfers between browsers and servers.
...another article for server developers discussing cross-origin sharing from a server perspective (with php code snippets) is
supplementary reading.
...additionally, for http request methods that can cause side-effects on server data (in particular, http methods other than get, or post with certain mime types), the specification mandates that browsers "preflight" the request, soliciting
supported methods from the server with the http options request method, and then, upon "approval" from the server, sending the actual request.
...And 4 more matches
Object.create() - JavaScript
note that while the setting of null as [[prototype]] is
supported in the real es5 object.create, this polyfill cannot
support it due to a limitation inherent in versions of ecmascript lower than 5.
... if (typeof object.create !== "function") { object.create = function (proto, propertiesobject) { if (typeof proto !== 'object' && typeof proto !== 'function') { throw new typeerror('object prototype may only be an object: ' + proto); } else if (proto === null) { throw new error("this browser's implementation of object.create is a shim and doesn't
support 'null' as the first argument."); } if (typeof propertiesobject != 'undefined') { throw new error("this browser's implementation of object.create is a shim and doesn't
support a second argument."); } function f() {} f.prototype = proto; return new f(); }; } examples classical inheritance with object.create() below is an example ...
...this is for a single inheritance, which is all that javascript
supports.
...And 4 more matches
WebAssembly.Memory - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsmemorychrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0memory() constructorchrome ...
... full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
support 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support ...
...And 4 more matches
Introduction - SVG: Scalable Vector Graphics
svg is
supported by all major browsers.
...svg
supports gradients, rotations, filter effects, animations, interactivity with javascript, and so on.
...not all svg viewers are equal and so there is a good chance that something written for one app will not display exactly the same in another, simply because they
support different levels of the svg specification or another specification that you are using along with svg (that is, javascript or css).
...And 4 more matches
Using templates and slots - Web Components
this was possible before, but it is made a lot easier by the html <template> element (which is well-
supported in modern browsers).
...we'll call it <my-paragraph>: customelements.define('my-paragraph', class extends htmlelement { constructor() {
super(); let template = document.getelementbyid('my-paragraph'); let templatecontent = template.content; const shadowroot = this.attachshadow({mode: 'open'}) .appendchild(templatecontent.clonenode(true)); } } ); the key point to note here is that we append a clone of the template content to the shadow root, created using the node.clonenode() method.
... so for example: <template id="my-paragraph"> <style> p { color: white; background-color: #666; padding: 5px; } </style> <p>my paragraph</p> </template> now we can use it by just adding it to our html document: <my-paragraph></my-paragraph> note: templates are well-
supported in browsers; the shadow dom api is
supported by default in firefox (version 63 onwards), chrome, opera, safari, and edge (starting with version 79).
...And 4 more matches
simple-prefs - Archive of obsolete content
all the inline preferences are
supported.
... to provide this mapping the boolint requires two mandatory attributes called "on" and "off", both of which are
supplied as strings.
... note that even so, the "value" property is
supplied as an integer.
...And 3 more matches
Chapter 5: Let's build a Firefox extension - Archive of obsolete content
to make an extension’s gui
support multiple languages, you can include multiple locale packages, one for each language.
... phase 3: adding multilingual
support the clock window that we created in phase 2 displays everything in english.
... in phase 3, we’re going to add multilingual
support, making it so that it users running firefox in a french environment will see “heure actuelle”, and those running it in english will see “current time” (figure 7).
...And 3 more matches
No Proxy For configuration - Archive of obsolete content
note for former-ie users: "*" is
supported only at the beginning of domain filters (*.mozilla.org).
...only applies to one port (no
support for ranges and/or multiple ports).
... port-only filters ":80" or "*:80" are not
supported.
...And 3 more matches
Source code directories overview - Archive of obsolete content
it is a living document which is (
supposed to be) updated monthly according to changes in the mozilla source tree.
... accessible contains code to
support microsoft active accessibility and sun's atk accessibility api for linux.
...it has not been updated to
support xpcom yet.
...And 3 more matches
File object - Archive of obsolete content
there is currently no
support for p2open()-like semantics.
...if no argument is
supplied to the constructor, the current working directory is the file object that is returned.
...bi-directional pipelines are not
supported.
...And 3 more matches
URIs and URLs - Archive of obsolete content
the protocol handler provides scheme specific information and methods to create new uris of the schemes it
supports.
... one of the main necko goals is to provide a "plug able" protocol
support.
...these schemes
support a hierarchical naming system, where the hierarchy of the name is denoted by a "/" delimiter separating the components in the path.
...And 3 more matches
Elements - Archive of obsolete content
ing with firefox 3, you can also use a data: url to embed the binding inline: div { -moz-binding: url(data:text/xml;charset=utf-8,%3c%3fxml%20version%3d%221.0%22%3f%3e%0a%3cbindings%20id%3d%22xbltestbindings%22%20xmlns%3d%22http%3a//www.mozilla.org/xbl%22%3e%0a%20%20%3cbinding%20id%3d%22xbltest%22%3e%3ccontent%3epass%3c/content%3e%3c/binding%3e%0a%3c/bindings%3e%0a); } since data: urls don't
support fragment identifiers, the first binding found in the embedded xml is used instead.
...in addition, data: urls are only
supported from chrome code (in other words, from the application or an extension).
...if
supported, in strongly typed languages the bound element can be referenced not only as any of the interfaces that the element might already
support (e.g., htmlelement) but also as any of the interfaces described by this attribute.
...And 3 more matches
Using XPInstall to Install Plugins - Archive of obsolete content
this article is about how you can use xpinstall to install plugins to the browsers that
support xpinstall.
... which browsers
support xpinstall?
... currently, all mozilla browsers released by mozilla.org
support xpinstall, and a family of browsers based on mozilla code
support xpinstall.
...And 3 more matches
Textbox (XPFE autocomplete) - Archive of obsolete content
as of gecko 1.9.1, this attribute is
superseded by the completedefaultindex attribute.
...this attribute only works correctly in seamonkey 1.x; for thunderbird and seamonkey 2.0 you should also set the enablehistory attribute; as of gecko 2.0 this attribute is completely
superseded by it.
...as of gecko 1.9.1, this attribute is
superseded by the ontextentered attribute.
...And 3 more matches
XUL Changes for Firefox 1.5 - Archive of obsolete content
the <richlistbox>
supports much of the same api as the <listbox> and single items, created with the <richlistitem> element may be selected.
...these windows are special types of dialogs which
support several panels, each of which may be contained in the same file or a separate file.
... dialog: defaultbutton property the <dialog> binding now
supports the defaultbutton property.
...And 3 more matches
External resources for plugin creation - Archive of obsolete content
platforms
supported include windows, linux, and mac os x (intel).
... feature highlights include thread safety checks, unicode
support (with std::wstring), activex
support, built-in drawing model negotiation for mac, automatic type conversion (including javascript arrays and objects), advanced security features, and more.
...
supported development environments are visual studio on windows, xcode on mac, and gcc on linux.
...And 3 more matches
GetObject - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer versions prior to ie 9 (standards mode).
... remarks the getobject function is not
supported in internet explorer 9 standards mode, internet explorer 10 standards mode, internet explorer 11 standards mode, and windows store apps or later.
...some files, however, may
support more than one class of object.
...And 3 more matches
@cc_on - Archive of obsolete content
warning: conditional compilation is not
supported in internet explorer 11 standards mode and windows 8.x store apps.
... conditional compilation is
supported in internet explorer 10 standards mode and in all earlier versions.
... the @cc_on statement activates conditional compilation
support within comments in a script.
...And 3 more matches
Popup Window Controls - Archive of obsolete content
popup window controls configuration using the preference for privacy & security > popup windows, users can: allow all sites to open popup windows except for sites which the user has explicity denied permission what popup windows are
suppressed?
... mozilla will attempt to
suppress all calls to window.open() which occur in the following circumstances: global script which is executed as the document is loading script executed as part of a onload event handler script executed in settimeout() or setinterval() what popup windows are not
suppressed?
... detecting
suppressed popups windows if a user has popup controls enabled for your site, any attempt to call window.open in global script, in an onload handler or in settimeout() or setinterval() will return null rather than a reference to the opened window.
...And 3 more matches
XUL Parser in Python - Archive of obsolete content
v.00001 to celebrate activestate's recent announcement about
support for perl and python in mozilla, i have put together this little python script that parses your local xul and builds a list of all the xul elements and their attributes in an html page.
...python's
support for xml (and potential with xul) is extensive, and so it's more a matter of choosing an approach and hooking things up than anything else.
...again, you can easily use <tt>ls</tt> instead, as i should have done, and pick up some extra
support.
...And 3 more matches
How CSS works - Learn web development
again, the html is as follows: <p> let's use: <span>cascading</span> <span>style</span> <span>sheets</span> </p> let's
suppose we apply the following css to it: span { border: 1px solid black; background-color: lime; } the browser will parse the html and create a dom from it, then parse the css.
...it will do this if you have made an error and misspelled a property or value, or if the property or value is just too new and the browser doesn't yet
support it.
...coupled with the way that the cascade works, and the fact that browsers will use the last css they come across in a stylesheet when you have two rules with the same specificity you can also offer alternatives for browsers that don't
support new css.
...And 3 more matches
Advanced form styling - Learn web development
newer implementations are more consistent in behavior; interestingly enough, both chromium-based browsers (chrome, opera, edge), safari, and firefox all
support the -webkit- prefixed version (-webkit-appearance).
... if you view these checkboxes in a browser that doesn't
support appearance, your custom design will be lost, but they will still look like checkboxes and be usable.
... note: while internet explorer doesn't
support any version of appearance, the input[type=checkbox]::-ms-check enables the targeting of checkboxes in ie only.
...And 3 more matches
HTML Cheatsheet - Learn web development
ed lower than normal text h<sub>2</sub>o h2o small text used to represent the <small>small print </small>of a document used to represent the small print of a document used for an address <address>main street 67</address> main street 67 used for a textual cite <cite>lorem ipsum</cite> lorem ipsum text displayed higher than normal text x<
sup>2</
sup> x2 a short inline quotation <q>the q element indicates a short inline quotation.</q> the q element indicates a short inline quotation.
... embedded audio <audio controls="controls" src="https://udn.realityripple.com/samples/b7/193cb038d0.mp3">your browser does not
support the html5 audio element.</audio> your browser does not
support the html5 audio element.
... embedded audio with alternative sources <audio controls="controls"><source src="https://udn.realityripple.com/samples/b7/193cb038d0.mp3" type="audio/mpeg"><source src="https://udn.realityripple.com/samples/f7/14a4179ee6.ogg" type="audio/ogg"> your browser does not
support audio.
...And 3 more matches
Adding vector graphics to the Web - Learn web development
svg is not
supported in older browsers, so may not be suitable if you need to
support older versions of internet explorer with your web site (svg started being
supported as of ie9.) raster graphics are arguably better for complex precision images such as photos, for the reasons described above.
... troubleshooting and cross-browser
support for browsers that don't
support svg (ie 8 and below, android 2.3 and below), you could reference a png or jpg from your src attribute and use a srcset attribute (which only recent browsers recognize) to reference the svg.
... this being the case, only
supporting browsers will load the svg — older browsers will load the png instead: <img src="equilateral.png" alt="triangle with equal sides" srcset="equilateral.svg"> you can also use svgs as css background images, as shown below.
...And 3 more matches
Drawing graphics - Learn web development
the situation started to improve when browsers began to
support the <canvas> element and associated canvas api — apple invented it in around 2004, and other browsers followed by implementing it in the years that followed.
... note: basic canvas functionality is
supported well across browsers, with the exception of ie 8 and below for 2d canvas, and ie 11 and below for webgl.
... inside the canvas tags, you can put some fallback content, which is shown if the user's browser doesn't
support canvas.
...And 3 more matches
Information for Assistive Technology Vendors
mozilla now has enough accessibility
support that we're reading for early adopters and testers to start giving it a try.
... gecko info for windows accessibility vendors mozilla
supports msaa (microsoft active accessibility) in html and in our user interface (based on xul technology).
... this makes it possible for the vendors of windows accessibility software, such as screen readers, voice dictation packages and screen magnifiers to provide
support for mozilla.
...And 3 more matches
Mozilla DOM Hacking Guide
mozilla gives you the opportunity not only to use very powerful and complete dom
support, but also to work on a world-class implementation of one of the greatest internet technologies ever created.
...it implements two interfaces besides nsi
supports: nsixpcscriptable and nsiclassinfo.
...basically it contains convenient methods to find out about the interfaces an object promises to
support.
...And 3 more matches
Mozilla Quirks Mode Behavior
support <pre wrap>, <pre cols>, <pre width>.
... the topmargin, bottommargin, leftmargin, and rightmargin attributes on body are
supported only in quirks mode (bug 9258).
... quirks mode has document.all
support (undetected).
...And 3 more matches
Midas
scripting for midas is based on the dhtml commands
supported by internet explorer.
... internet explorer
supports the ability to make an entire document editable by setting the designmode property of the document object; this is how midas is invoked in gecko.
... internet explorer also
supports the ability to edit specific elements using the contenteditable attribute; starting with firefox 3, gecko also
supports contenteditable.
...And 3 more matches
An overview of NSS Internals
in order to
support multiple operating systems (os), it is based on a cross platform portability layer, called the netscape portable runtime (nspr), which provides cross platform application programming interfaces (apis) for os specific apis like file system access, memory management, network communication, and multithreaded programming.
... most of the time certificates and keys are
supposed to be stored in the nss database.
...for example, while nss
supports random calculation (creation) of a new public/private key pair, it's difficult to work with such a raw key pair.
...And 3 more matches
NSS 3.12.4 release notes
currently nss 3.12.4 is in the "review pending" state in the fips 140-2 pre-validation list at http://csrc.nist.gov/groups/stm/cmvp/documents/140-1/140inprocess.pdf added crl distribution point
support (see cert.h).
...
support for openvms has been removed.
... bug 321755: implement crldistributionpoint extension in libpkix bug 391434: avoid multiple encoding/decoding of pkix_pl_oid to and from ascii string bug 405297: problems building nss/lib/ckfw/capi/ with mingw gcc bug 420991: libpkix returns wrong nss error code bug 427135: add
super-h (sh3,4) architecture
support bug 431958: improve des and sha512 for x86_64 platform bug 433791: win16
support should be deleted from nss bug 449332: secu_parsecommandline does not validate its inputs bug 453735: when using cert9 (sqlite3) db, set or change master password fails bug 463544: warning: passing enum* for an int* argument in pkix_validate.c bug 469588: coverity errors reported for softoken bug 470055: pkix_httpcertstore_findsocketconnect...
...And 3 more matches
NSS 3.14.1 release notes
new functions in ocspt.h cert_createocspsingleresponsegood cert_createocspsingleresponseunknown cert_createocspsingleresponserevoked cert_createencodedocspsuccessresponse cert_createencodedocsperrorresponse new types in ocspt.h certocspresponderidtype notable changes in nss 3.14.1 windows ce
support has been removed from the code base.
... bug 357025 - nss 3.14 added
support for tokens that make use of cka_always_authenticate.
... bug 802429 - in previous versions of nss, the "cipherorder" slot configuration flag was not respected, causing the most recently added slot that
supported the requested pkcs#11 mechanism to be used instead.
...And 3 more matches
NSS 3.16.2 release notes
nss 3.16.2 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_16_2_rtm/src/ new in nss 3.16.2 new functionality dtls 1.2 is
supported.
... the tls application layer protocol negotiation (alpn) extension is also
supported on the server side.
... rsa-oeap is
supported.
...And 3 more matches
NSS 3.22 release notes
nss 3.22 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_22_rtm/src/ new in nss 3.22 new functionality rsa-pss signatures are now
supported (bug 1215295) new functions pk11_signwithmechanism() and pk11_signwithmechanism() are provided to allow rsa keys to be used with pss.
... pseudorandom functions based on hashes other than sha-1 are now
supported with pbkdf (bug 554827).
... pk11_createpbev2algorithmid() now
supports sec_oid_pkcs5_pbkdf2 with cipheralgtag and prfalgtag set to sec_oid_hmac_sha256, sec_oid_hmac_sha224, sec_oid_hmac_sha384, or sec_oid_hmac_sha512.
...And 3 more matches
Network Security Services
network security services (nss) is a set of libraries designed to
support cross-platform development of security-enabled client and server applications.
... applications built with nss can
support ssl v3, tls, pkcs #5, pkcs #7, pkcs #11, pkcs #12, s/mime, x.509 v3 certificates, and other security standards.
... for detailed information on standards
supported, see overview of nss.
...And 3 more matches
Rhino overview
first, every context that is created must be
supplied an instance of an object that implements the security
support interface.
... this will provide rhino the
support functionality it needs to perform security-related tasks.
...setting this property to true requires that any calls that compile or evaluate javascript must
supply a security domain object of any object type that will be used to identify javascript code.
...And 3 more matches
SpiderMonkey 31
get it here mozilla-esr31 you will find it in "firefox extended
support release 31" package on hg release platform
support spidermonkey 31 is
supported on all the platforms where firefox 31 runs.
... if you are compiling with microsoft's visual studio, note that the minimum
supported version is msvc10/2010: msvc8/9
support has been dropped.
...it is
supported on x86, x86_64, and arm architectures.
...And 3 more matches
SpiderMonkey 38
get it here mozilla-esr38 you will find it in "firefox extended
support release 38" package on hg release platform
support spidermonkey 38 is
supported on all the platforms where firefox 38 runs.
... if you are compiling with microsoft's visual studio, note that the minimum
supported version is msvc10/2010.
...it is
supported on x86, x86_64, and arm architectures.
...And 3 more matches
Detailed XPCOM hashtable guide
key type: integer string/cstring nsid nsi
supports* complex data type: none (hash set) nsthashtable<...> simple (pruint32) nsdatahashtable nsthashtable<...> <nsuint32hashkey, pruint32> <ns(c)stringhashkey, pruint32> <nsidhashkey, pruint32> <nsi
supportshashkey, pruint32> interface (nsi
supports) nsinterfacehashtable <nsuint32hashkey, nsi
supports> <ns...
...(c)stringhashkey, nsi
supports> <nsidhashkey, nsi
supports> <nsi
supportshashkey, nsi
supports> class (nsstring*) nsclasshashtable <nsuint32hashkey, nsstring> <ns(c)stringhashkey, nsstring> <nsidhashkey, nsstring> <nsi
supportshashkey, nsstring> complex (structures, etc.) nsthashtable<...> pldhash the pldhash implementation is a fairly low-level implementation, written in c.
... nsinterfacehashtable<keyclass, interface> - interface is an xpcom interface such as nsi
supports or nsidomnode nsclasshashtable<keyclass, t> - t is any c++ class.
...And 3 more matches
Mozilla internal string guide
in order to avoid unnecessary copying of string data (which can have significant performance cost), the string classes
support different ownership models.
... all string classes
support the following three ownership models dynamically: reference counted, copy-on-write, buffers (the default) adopted buffers (a buffer that the string class owns, but is not reference counted, because it came from somewhere else) dependent buffers, that is, an underlying buffer that the string class does not own, but that the caller that constructed the string guarantees will outlive the string instance in addition, there is a special string class, ns[c]autostring, that additionally contains an internal 64-unit buffer (intended primarily for use on the stack), leading to a fourth ownership model: storage within an auto string's stack buffer auto strings will prefer reference counting an existing reference-counted buffer over their stack buffer, but will ot...
...we only
support utf-8-encoded file paths on *nix, non-path gtk strings are always utf-8 and cocoa and java strings are always utf-16.
...And 3 more matches
imgILoader
inherits from: nsi
supports last changed in gecko 8.0 (firefox 8.0 / thunderbird 8.0 / seamonkey 2.5) implemented by @mozilla.org/image/loader;1 as a service: var imgiloader = components.classes["@mozilla.org/image/loader;1"] .getservice(components.interfaces.imgiloader); method overview imgirequest loadimage(in nsiuri auri, in nsiuri ainitialdocumenturl, in nsiuri areferreruri, in nsiprincipal aloadingprincipal, in nsiloadgroup aloadgroup, in imgidecoderobserver aobserver, in nsi
supports acx, in nsloadflags aloadflags, in nsi
supports cachekey, in imgirequest arequest, in nsichannelpolicy channelpolicy); imgirequest loadimagewithchannel(in nsichannel achannel, in imgideco...
...derobserver aobserver, in nsi
supports cx, out nsistreamlistener alistener); boolean
supportimagewithmimetype(in string mimetype); constants constant value description load_cors_anonymous 1 << 16 load_cors_use_credentials 1 << 17 methods loadimage() start the load and decode of an image.
... imgirequest loadimage( in nsiuri auri, in nsiuri ainitialdocumenturl, in nsiuri areferreruri, in nsiprincipal aloadingprincipal, in nsiloadgroup aloadgroup, in imgidecoderobserver aobserver, in nsi
supports acx, in nsloadflags aloadflags, in nsi
supports cachekey, in imgirequest arequest, in nsichannelpolicy channelpolicy ); parameters auri the uri to load.
...And 3 more matches
nsIAnnotationService
supported for use from trusted code, such as extensions, but not from web content.
... 1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) implemented by: "@mozilla.org/browser/annotation-service;1".
...you must
supply a valid mime type.
...And 3 more matches
nsICachingChannel
inherits from: nsicacheinfochannel last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) this interface provides:
support for "stream as file" semantics (for jar and plugins).
...
support for "pinning" cached data in the cache (for printing and save-as).
...
support for uniquely identifying cached data in cases when the url is insufficient.
...And 3 more matches
nsIFactory
xpcom/components/nsifactory.idlscriptable this interface is a class factory that allows for the creation of nsi
supports derived classes without specifying a concrete class type.
... inherits from: nsi
supports last changed in gecko 0.9.5 method overview void createinstance(in nsi
supports aouter, in nsiidref iid, [retval, iid_is(iid)] out nsqiresult result); void lockfactory(in prbool lock); methods createinstance() creates an instance of the class associated with this factory.
...(see also nsicomponentmanager.createinstance.) void createinstance( in nsi
supports aouter, in nsiidref iid, [retval, iid_is(iid)] out nsqiresult result ); parameters aouter pointer to a component that wishes to be aggregated in the resulting instance.
...And 3 more matches
nsILoginManager
toolkit/components/passwordmgr/public/nsiloginmanager.idlscriptable used to interface with the built-in password manager 1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) replaces nsipasswordmanager which was used in older versions of gecko.
...is(count)] out nsilogininfo logins); void getalldisabledhosts([optional] out unsigned long count, [retval, array, size_is(count)] out wstring hostnames); void getalllogins([optional] out unsigned long count, [retval, array, size_is(count)] out nsilogininfo logins); boolean getloginsavingenabled(in astring ahost); void modifylogin(in nsilogininfo oldlogin, in nsi
supports newlogindata); void removealllogins(); void removelogin(in nsilogininfo alogin); void searchlogins(out unsigned long count, in nsipropertybag matchdata, [retval, array, size_is(count)] out nsilogininfo logins); void setloginsavingenabled(in astring ahost, in boolean isenabled); methods addlogin() stores a new login in the login manager.
...javascript callers can simply use the array's length property and
supply a dummy argument for this parameter.
...And 3 more matches
nsISHEntry
sion-history-entry;1"] .createinstance(components.interfaces.nsishentry); method overview void addchildshell(in nsidocshelltreeitem shell); nsidocshelltreeitem childshellat(in long index); void clearchildshells(); nsishentry clone(); void create(in nsiuri uri, in astring title, in nsiinputstream inputstream, in nsilayouthistorystate layouthistorystate, in nsi
supports cachekey, in acstring contenttype, in nsi
supports owner, in unsigned long long docshellid, in boolean dynamiccreation); native code only!
... void syncpresentationstate(); attributes attribute type description cachekey nsi
supports set and get the cache key for the entry.
... owner nsi
supports get the owner, if any, that was associated with the channel that the document that was loaded to create this history entry came from.
...And 3 more matches
nsITreeView
inherits from: nsi
supports last changed in gecko 22 (firefox 22 / thunderbird 22 / seamonkey 2.19) implementing a nsitreeview in lieu of dom methods for tree creation can improve performance dramatically, and removes the need to make changes to the tree manually when changes to the database occur.
...long index, in boolean before); obsolete since gecko 1.8 boolean candropon(in long index); obsolete since gecko 1.8 void cyclecell(in long row, in nsitreecolumn col); void cycleheader(in nsitreecolumn col); void drop(in long row, in long orientation, in nsidomdatatransfer datatransfer); astring getcellproperties(in long row, in nsitreecolumn col, in nsi
supportsarray properties obsolete since gecko 22); astring getcelltext(in long row, in nsitreecolumn col); astring getcellvalue(in long row, in nsitreecolumn col); astring getcolumnproperties(in nsitreecolumn col, in nsi
supportsarray properties obsolete since gecko 22); astring getimagesrc(in long row, in nsitreecolumn col); long getlevel(in long index); ...
... long getparentindex(in long rowindex); long getprogressmode(in long row, in nsitreecolumn col); astring getrowproperties(in long index, in nsi
supportsarray properties obsolete since gecko 22); boolean hasnextsibling(in long rowindex, in long afterindex); boolean iscontainer(in long index); boolean iscontainerempty(in long index); boolean iscontaineropen(in long index); boolean iseditable(in long row, in nsitreecolumn col); boolean isselectable(in long row, in nsitreecolumn col); boolean isseparator(in long index); boolean issorted(); void performaction(in wstring action); void performactiononcell(in wstring action, in long row, in nsitreecolumn col); void performaction...
...And 3 more matches
nsIWebSocketChannel
nsiwebsocketchannel netwerk/protocol/websocket/nsiwebsocketchannel.idlscriptable provides
support for websocket channels.
... 1.0 66 introduced gecko 8.0 inherits from: nsi
supports last changed in gecko 8.0 (firefox 8.0 / thunderbird 8.0 / seamonkey 2.5) implemented by: ?????????????????????????????????????.
... to create an instance, use: var websocketchannel = components.classes["@mozilla.org/????????????????????????????"] .createinstance(components.interfaces.nsiwebsocketchannel); method overview void asyncopen(in nsiuri auri, in acstring aorigin, in nsiwebsocketlistener alistener, in nsi
supports acontext); void close(in unsigned short acode, in autf8string areason); void sendbinarymsg(in acstring amsg); void sendmsg(in autf8string amsg); attributes attribute type description extensions acstring sec-websocket-extensions response header value.
...And 3 more matches
wrappedJSObject
there are two kinds of xpconnect wrappers that
support the wrappedjsobject property: xpcnativewrappers which are used to protect the chrome code working with content objects.
... this article focuses on the latter kind of wrappers, which hide any properties or methods on the component that are not part of the
supported interfaces as declared in xpidl.
...
suppose we register the component below with the @myself.com/my-component;1 contract.
...And 3 more matches
Autoconfiguration in Thunderbird
guessing if all other mechanisms failed, thunderbird tries to guess the configuration, by trying common server names like imap.<domain>, smtp.<domain>, mail.<domain> etc., and, when a mail server answers, checking whether it
supports ssl, starttls and encrypted passwords (cram-md5).
...e, for the email address fred@example.com , the lookup is performed as (in this order): tb-install-dir/isp/example.com.xml on the harddisk check for autoconfig.example.com look up of "example.com" in the ispdb look up "mx example.com" in dns, and for mx1.mail.hoster.com, look up "hoster.com" in the ispdb try to guess (imap.example.com, smtp.example.com etc.) we may add dns srv records as
supported mechanism in the future, but we currently do not.
... how to add
support for your domain classification if you are a big isp (> 100,000 users) providing email addresses solely under a few domains like "example.com" and "example.de", you may either submit the configuration to the ispdb or set up a configuration server.
...And 3 more matches
BasicCardResponse.billingAddress - Web APIs
example let's look at a sample payment request: var request = new paymentrequest(
supportedinstruments, details, options); // call show() to trigger the browser's payment flow.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbillingaddresschrome no
support noedge no
support ≤18 — 79firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs to be set to...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari ?
...And 3 more matches
BasicCardResponse.cardNumber - Web APIs
example let's look at a sample payment request: var request = new paymentrequest(
supportedinstruments, details, options); // call show() to trigger the browser's payment flow.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcardnumberchrome no
support noedge no
support ≤18 — 79firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs to be set to...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari ?
...And 3 more matches
BasicCardResponse.cardSecurityCode - Web APIs
example let's look at a sample payment request: var request = new paymentrequest(
supportedinstruments, details, options); // call show() to trigger the browser's payment flow.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcardsecuritycodechrome no
support noedge no
support ≤18 — 79firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs to be set to...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari ?
...And 3 more matches
BasicCardResponse.cardholderName - Web APIs
example let's look at a sample payment request: var request = new paymentrequest(
supportedinstruments, details, options); // call show() to trigger the browser's payment flow.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcardholdernamechrome no
support noedge no
support ≤18 — 79firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs to be set to...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari ?
...And 3 more matches
BasicCardResponse.expiryMonth - Web APIs
example let's look at a sample payment request: var request = new paymentrequest(
supportedinstruments, details, options); // call show() to trigger the browser's payment flow.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetexpirymonthchrome no
support noedge no
support ≤18 — 79firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs to be set to...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari ?
...And 3 more matches
BasicCardResponse.expiryYear - Web APIs
example let's look at a sample payment request: var request = new paymentrequest(
supportedinstruments, details, options); // call show() to trigger the browser's payment flow.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetexpiryyearchrome no
support noedge no
support ≤18 — 79firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs to be set to...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari ?
...And 3 more matches
DirectoryEntrySync - Web APIs
the following creates a new directory called
superseekrit in the root directory.
... 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.
... exceptions this method can raise a fileexception with the following codes: exception description encoding_err the path
supplied is invalid.
...And 3 more matches
Element: mousewheel event - Web APIs
ie and opera (presto) only
support wheeldelta attribute and do not
support horizontal scroll.
...it means that if the mouse wheel doesn't
support high resolution scroll, the value is 120 per notch.
...the value is changed if the device that causes the native wheel event
supports continuous scroll.
...And 3 more matches
FederatedCredential - Web APIs
in
supporting browsers, an instance of this class may be passed the credential received from the init object for global fetch.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfederatedcredential() constructor non-standardchrome full
support 51edge full
support ≤79firefox ?
... webview android full
support 51chrome android full
support 51firefox android ?
...And 3 more matches
FileSystemDirectoryReader.readEntries() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreadentries deprecatednon-standardchrome full
support 8edge ?
... firefox full
support yesie no
support noopera ?
... safari full
support 11.1webview android full
support ≤37chrome android full
support 18firefox android full
support yesopera android no
support nosafari ios full
support 11.3samsung internet android ?
...And 3 more matches
HTMLIFrameElement.allowPaymentRequest - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetallowpaymentrequest experimentalchrome full
support 60disabled full
support 60disabled disabled from version 60: this feature is behind the #web-payments preference (needs to be set to enabled).
... to change preferences in chrome, visit chrome://flags.edge full
support 15firefox full
support 56ie ?
... opera no
support nosafari ?
...And 3 more matches
HTMLImageElement.alt - Web APIs
perhaps the most important reason to use the alt tag is to
support accessibility, as the alt text may be used by screen readers and other assistive technologies to help differently-abled users make full use of your content.
... it will be read aloud or sent to the touch device, for example, to
support visually impaired users.
... in this example, a starburst image with the word "new!" is used to indicate that an article is about something new (and probably
supposedly also exciting).
...And 3 more matches
HTMLImageElement.src - Web APIs
if you use the srcset content attribute to provide multiple image options for different display pixel densities, the url specified by the src attribute is used in one of two ways: as a fallback for browsers that don't
support srcset.
... additionally, if you use src along with both sizes (or the corresponding sizes content attribute) and srcset in order to choose an image based on the viewport size, the src attribute is only used as a fallback for browsers that don't
support sizes and srcset; otherwise, it's not used at all.
... html result specifying a fallback for viewport-based selection when using viewport-bases selection of an image from a srcset by also specifying the sizes property, the src property serves as the fallback to be used on browsers that don't
support viewport-based selection.
...And 3 more matches
IDBVersionChangeRequest - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidbversionchangerequest deprecatednon-standardchrome no
support 12 — 23prefixed no
support 12 — 23prefixed prefixed implemented with the vendor prefix: webkitedge ?
... firefox no
support noie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support nosetversion deprecatednon-standardchrome no
support ...
... noedge no
support nofirefox no
support noie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support nolegend ...
...And 3 more matches
KeyboardEvent.getModifierState() - Web APIs
windows linux (gtk) mac android 2.3 android 3.0 or latter "alt" either alt key or altgr key pressed alt key pressed ⌥ option key pressed alt key or option key pressed "altgraph" both alt and ctrl keys are pressed, or altgr key is pressed level 3 shift key (or level 5 shift key ) pressed ⌥ option key pressed not
supported "capslock" during led for ⇪ caps lock turned on not
supported while capslock is locked "control" either ctrl key or altgr key pressed ctrl key pressed control key pressed menu key pressed.
... "fn" not
supported function key is pressed, but we're not sure what key makes the modifier state active.
... "fnlock" not
supported "hyper" not
supported "meta" not
supported meta key pressed ⌘ command key pressed not
supported ⊞ windows logo key or command key pressed "numlock" during led for num lock turned on a key on numpad pressed not
supported while numlock is locked "os" ⊞ windows logo key pressed
super key or hyper key pressed (typically, mapped to ⊞ windows logo key) not
supported "scrolllock" during led for scroll lock turned on during led for scroll lock turned on, but typically this isn't
supported by platform not
supported while scrolllock is locked "shift" ⇧ shift key pressed "
super" not
supp...
...And 3 more matches
MediaDevices.getUserMedia() - Web APIs
on browsers that
support managing media permissions with feature policy, this error is returned if feature policy is not configured to allow access to the input source(s).
... securityerror user media
support is disabled on the document on which getusermedia() was called.
... the mechanism by which user media
support is enabled and disabled is left up to the individual user agent.
...And 3 more matches
Navigator.requestMediaKeySystemAccess() - Web APIs
this method is part of the encrypted media extensions api, which brings
support for encrypted media and drm-protected video to the web.
... syntax promise = navigator.requestmediakeysystemaccess(keysystem,
supportedconfigurations); parameters keysystem a domstring identifying the key system.
...
supportedconfigurations a non-empty array of mediakeysystemconfiguration objects.
...And 3 more matches
Using the Notifications API - Web APIs
if you want to
support older versions, you might have to use the older callback version, which looks like this: notification.requestpermission(); the callback version optionally accepts a callback function that is called once the user has responded to the request to display permissions.
...!('permission' in notification)) { notification.permission = permission; } // set the button to shown or hidden, depending on what the user answers if(notification.permission === 'denied' || notification.permission === 'default') { notificationbtn.style.display = 'block'; } else { notificationbtn.style.display = 'none'; } } // let's check if the browser
supports notifications if (!('notification' in window)) { console.log("this browser does not
support notifications."); } else { if(checknotificationpromise()) { notification.requestpermission() .then((permission) => { handlepermission(permission); }) } else { notification.requestpermission(function(permission) { handlepermission(permission); ...
... }); } } } looking at the second main block first, you'll see that we first check to see if notifications are
supported.
...And 3 more matches
PhotoCapabilities.imageHeight - Web APIs
the imageheight read-only property of the photocapabilities interface returns a mediasettingsrange object indicating the image height range
supported by the user agent.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetimageheight experimentalchrome full
support 59edge full
support ≤79firefox ?
... opera full
support 46safari ?
...And 3 more matches
imageWidth - Web APIs
the imagewidth read-only property of the photocapabilities interface returns a mediasettingsrange object indicating the image width range
supported by the user agent.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetimagewidth experimentalchrome full
support 59edge full
support ≤79firefox ?
... opera full
support 46safari ?
...And 3 more matches
RTCConfiguration - Web APIs
rtcpmuxpolicy optional the rtcp mux policy to use when gathering ice candidates, in order to
support non-multiplexed rtcp.
... if the remote endpoint is bundle-aware, all media tracks and data channels are bundled onto a single transport at the completion of negotiation, regardless of policy used, and any
superfluous transports that were created initially are closed at that point.
... rtcrtcpmuxpolicy enum the rtcrtcpmuxpolicy enum defines string constants which specify what ice candidates are gathered to
support non-multiplexed rtcp.
...And 3 more matches
SVGCircleElement - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvgcircleelementchrome full
support 1edge full
support 12firefox full
support 1.5ie full
support 9opera full
support 8safari full
support 3.1webview android full...
...
support 3chrome android full
support 18firefox android full
support 4opera android full
support yessafari ios full
support 3.1samsung internet android full
support 1.0cxchrome full
support yesedge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yescychrome full
support yesedge full
support 12firefox full
support ...
...And 3 more matches
SubtleCrypto.deriveBits() - Web APIs
this function
supports the same derivation algorithms as derivekey(): ecdh, hkdf, and pbkdf2.
... see
supported algorithms for some more detail on these algorithms.
... not
supported raised when trying to use an algorithm that is either unknown or isn't suitable for derivation, or if the algorithm requested for the derived key doesn't define a key length.
...And 3 more matches
SubtleCrypto.wrapKey() - Web APIs
not
supported raised when trying to use an algorithm that is either unknown or isn't suitable for encryption or wrapping.
...
supported algorithms all algorithms that are usable for encryption are also usable for key wrapping, as long as the key has the "wrapkey" usage set.
...the key material is a password
supplied by the user.
...And 3 more matches
Touch events - Web APIs
to provide quality
support for touch-based user interfaces, touch events offer the ability to interpret finger (or stylus) activity on touch screens or trackpads.
... the touch events interfaces are relatively low-level apis that can be used to
support application-specific multi-touch interactions such as a two-finger gesture.
... touch events are similar to mouse events except they
support simultaneous touches and at different locations on the touch surface.
...And 3 more matches
UIEvent.initUIEvent() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetinituievent deprecatednon-standardchrome full
support yesedge full
support 12firefox full
support yesie ?
... opera full
support yessafari ?
... webview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios ?
...And 3 more matches
WebGLRenderingContext - Web APIs
to get an access to a webgl context for 2d and/or 3d graphics rendering, call getcontext() on a <canvas> element,
supplying "webgl" as the argument: var canvas = document.getelementbyid('mycanvas'); var gl = canvas.getcontext('webgl'); once you have the webgl rendering context for a canvas, you can render within it.
... if you require a webgl 2.0 context, see webgl2renderingcontext; this
supplies access to an implementation of opengl es 3.0 graphics.
... working with extensions these methods manage webgl extensions: webglrenderingcontext.get
supportedextensions() returns an array of domstring elements with all the
supported webgl extensions.
...And 3 more matches
WebXR Device API - Web APIs
webxr is a group of standards which are used together to
support rendering 3d scenes to hardware designed for presenting virtual worlds (virtual reality, or vr), or for adding graphical imagery to the real world, (augmented reality, or ar).
... webxr device api concepts and usage example webxr hardware setup while the older webvr api was designed solely to
support virtual reality (vr), webxr provides
support for both vr and augmented reality (ar) on the web.
...
support for ar functionality is added by the webxr augmented reality module.
...And 3 more matches
Using the Web Animations API - Web APIs
browser
support the basic web animations api features discussed in this article are available by default in firefox 48+ and chrome 36+.
... safari
supports web animations in its technology preview version and there is also a handy polyfill that tests for feature
support and adds it where necessary.
...if your keyframe list has only one entry, element.animate() may throw a not
supportederror exception in some browsers until they are updated.
...And 3 more matches
Using the Web Storage API - Web APIs
these mechanisms are available via the window.sessionstorage and window.localstorage properties (to be more precise, in
supporting browsers the window object implements the windowlocalstorage and windowsessionstorage objects, which the localstorage and sessionstorage properties are members of) — invoking one of these will create an instance of the storage object, through which data items can be set, retrieved, and removed.
... feature-detecting localstorage to be able to use localstorage, we should first verify that it is
supported and available in the current browsing session.
...testing for availability is necessary only if you must
support very old browsers, such as internet explorer 6 or 7, or in the limited circumstances described below.
...And 3 more matches
Window.customElements - Web APIs
d is to get access to the customelementregistry.define() method to define and register a new custom element, e.g.: let customelementregistry = window.customelements; customelementregistry.define('my-custom-element', mycustomelement); however, it is usually shortened to something like the following: customelements.define('element-details', class extends htmlelement { constructor() {
super(); const template = document .getelementbyid('element-details-template') .content; const shadowroot = this.attachshadow({mode: 'open'}) .appendchild(template.clonenode(true)); } } ); see our web-components-examples repo for more usage examples.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcustomelementschrome full
support 54edge full
support 79firefox full
support 63 full
support 63 no
support 59 — 63disabled disabled from version 59 until version 63 (exclusive): this feature is behind the dom.webcomponents.customelements...
... no
support ?
...And 3 more matches
ARIA: textbox role - Accessibility
to create a multi-line text box which
supports line breaks, as in an html <textarea>, set aria-multiline="true".
...box" contenteditable="true" aria-placeholder="5-digit zipcode" aria-labelledby="txtboxlabel"></div> <!-- multi-line text area --> <div id="txtboxmultilinelabel">enter the tags for the article</div> <div role="textbox" contenteditable="true" aria-multiline="true" aria-labelledby="txtboxmultilinelabel" aria-required="true"></div> semantic elements are more concise and require no javascript to
support textbox features.
...it
supports the following values: inline: predicted text is inserted after the caret.
...And 3 more matches
Architecture - Accessibility
they
support the nsiaccessiblehypertext is implemented on any container element that has both text and embedded objects for accessible children.
...keeping the link name of the interface is unfortunate but necessary for backwards compatibility, without introducing
superfluous interfaces.
...the children of a hypertext object are a
superset of the links it exposes.
...And 3 more matches
:scope - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:scopechrome full
support 27edge full
support 79firefox full
support 32notes full
support 32notes notes firefox 55 removes
support for <style scoped> but not for the :scope pseudo-class, which is still
supported.
... no
support 20 — 32disabled disabled from version 20 until version 32 (exclusive): this feature is behind the layout.css.scope-pseudo.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.ie no
support noopera full
support 15safari full
support 7webview android full
support ≤37chrome android full
support 27firefox android full
support 32notes full
support 32notes notes firefox 55 removes
support for <style scoped> but not for the :scope pseudo-class, which is still
supported.
...And 3 more matches
:visited - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:visitedchrome full
support 1edge full
support 12firefox full
support 1ie full
support 4opera full
support 3.5safari full
support 1webview android full s...
...upport 4.4chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 1samsung internet android full
support 1.0:visited no longer matches <link> elementschrome full
support 1notes full
support 1notes notes chromium has never matched <link> elements with link pseudo-classes.edge full
support 12firefox full
support ...
... 70ie no
support noopera full
support 15notes full
support 15notes notes chromium has never matched <link> elements with link pseudo-classes.safari full
support 12webview android full
support 4.4notes full
support 4.4notes notes chromium has never matched <link> elements with link pseudo-classes.chrome android full
support 18notes full
support 18notes notes chromium has never matched <link> elements with link pseudo-classes.firefox an...
...And 3 more matches
-webkit-transform-2d - CSS: Cascading Style Sheets
the -webkit-transform-2d boolean css media feature is a chrome extension whose value is true if vendor-prefixed css 2d transforms are
supported.
... syntax -webkit-transform-2d is a boolean css media feature whose value is true if the browser
supports -webkit prefixed css 2d transforms.
... values true the browser
supports the 2d css transforms with the -webkit prefix.
...And 3 more matches
-webkit-transform-3d - CSS: Cascading Style Sheets
the -webkit-transform-3d boolean css media feature is a chrome extension whose value is true if vendor-prefixed css 3d transforms are
supported.
... note: this media feature is only
supported by webkit and blink.
... if possible, use an @
supports feature query instead.
...And 3 more matches
Browser compatibility and Scroll Snap - CSS: Cascading Style Sheets
in this article, we consider questions that might arise related to compatibility across browsers and versions of browsers when adding
support for scroll-snap to your web site or app.
... if you have already used the old implementation as a fallback, or feel you want to
support users of old firefox (or -webkit prefixed safari), then you can continue to use the old specification as outlined in the example below.
... in this initial example we have used the old specification alongside the current specification in order to make scroll snapping work in all browsers which
support some form of scroll snapping.
...And 3 more matches
Mozilla CSS extensions - CSS: Cascading Style Sheets
mozilla applications such as firefox
support a number of special mozilla extensions to css, including properties, values, pseudo-elements and pseudo-classes, at-rules, and media queries.
... [prefixed version still accepted] -moz-animation-play-state [prefixed version still accepted] -moz-animation-timing-function [prefixed version still accepted] -moz-appearance b -moz-backface-visibility [prefixed version still accepted] -moz-background-clipobsolete since gecko 2 -moz-background-originobsolete since gecko 2 -moz-background-inline-policyobsolete since gecko 32 [
superseded by the standard version box-decoration-break] -moz-background-sizeobsolete since gecko 2 -moz-border-end [
superseded by the standard version border-inline-end] -moz-border-end-color [
superseded by the standard version border-inline-end-color] -moz-border-end-style [
superseded by the standard version border-inline-end-style] -moz-border-end-width [
superseded by the standard ver...
...sion border-inline-end-width] -moz-border-image -moz-border-start [
superseded by the standard version border-inline-start] -moz-border-start-color [
superseded by the standard version border-inline-start-color] -moz-border-start-style [
superseded by the standard version border-inline-start-style] -moz-border-start-width [
superseded by the standard version border-inline-start-width] -moz-box-sizing [prefixed version still accepted] c clip-path [applying to more than svg] -moz-column-count [prefixed version still accepted] -moz-column-fill [prefixed version still accepted] -moz-column-gap [prefixed version still accepted] -moz-column-width [prefixed version still accepted] -moz-column-rule [prefixed version still accepted] -moz-column-rule-width [pref...
...And 3 more matches
aspect-ratio - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetaspect-ratio experimentalchrome partial
support 79notes partial
support 79notes notes chrome 79 adds internal
support only for mapped valuesedge partial
support 79notes partial
support 79notes notes edge 79 adds internal
support only for mapped valuesfirefox partial
support 71notes partial
support ...
... 71notes notes firefox 71 adds internal
support only for mapped values no
support 69 — 71notes disabled notes firefox 69 adds internal
support only for mapped valuesdisabled from version 69 until version 71 (exclusive): this feature is behind the layout.css.width-and-height-map-to-aspect-ratio.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari no
support nowebview android partial
support 79notes partial
support 79notes notes webview 79 adds internal
support only for mapped valueschrome android partial
support 79notes partial
support 79notes notes chrome 79 adds internal
support only for mapped valuesfirefox android no
support noopera android no
support nosafari ios no
support ...
...And 3 more matches
box-align - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbox-align deprecatednon-standardchrome full
support 1prefixed full
support 1prefixed prefixed implemented with the vendor prefix: -webkit-edge full
support 12prefixed full
support 12prefixed prefixed implemented with the vendor prefix: -webkit-firefox full
support ...
... 1prefixed full
support 1prefixed prefixed implemented with the vendor prefix: -moz- full
support 49prefixed prefixed implemented with the vendor prefix: -webkit-ie no
support noopera full
support 15prefixed full
support 15prefixed prefixed implemented with the vendor prefix: -webkit-safari full
support 3prefixed full
support 3prefixed prefixed implemented with the vendor prefix: -webkit- no
support 1.1 — 3prefixed prefixed i...
...mplemented with the vendor prefix: -khtml-webview android full
support ≤37prefixed full
support ≤37prefixed prefixed implemented with the vendor prefix: -webkit-chrome android full
support 18prefixed full
support 18prefixed prefixed implemented with the vendor prefix: -webkit-firefox android full
support 4prefixed full
support 4prefixed prefixed implemented with the vendor prefix: -moz- full
support 49prefixed prefixed implemented with the vendor prefix: -webkit-opera android ...
...And 3 more matches
caption-side - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcaption-sidechrome full
support 1edge full
support 12firefox full
support 1ie full
support 8opera full
support 4safari full
support 1webview android full
sup...
...port ≤37chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0non-standard values left, right, top-outside, and bottom-outside non-standardchrome no
support noedge no
support nofirefox full
support 1ie no
support noopera no
support ...
... nosafari no
support nowebview android no
support nochrome android no
support nofirefox android full
support 4opera android no
support nosafari ios no
support nosamsung internet android no
support notop and bottom are relative to the writing-mode valuechrome no
support noedge no
support nofirefox full
support 42ie no
support ...
...And 3 more matches
display - CSS: Cascading Style Sheets
note: browsers that
support the two value syntax, on finding the outer value only, such as when display: block or display: inline is specified, will set the inner value to flow.
... note: browsers that
support the two value syntax, on finding the inner value only, such as when display: flex or display: grid is specified, will set their outer value to block.
... note: in browsers that
support the two-value syntax, if no inner value is specified it will default to flow.
...And 3 more matches
image() - CSS: Cascading Style Sheets
the image() css function defines an <image> in a similar fashion to the <url> function, but with added functionality including specifying the image's directionality, specifying fallback images for when the preferred image is not
supported, displaying just a part of that image defined by a media fragment, and specifying a solid color as a fallback in case none of the specified images are able to be rendered.
... coloroptional a color, specifying a solid background color to use as a fallback if no image-src is found,
supported, or declared.
...the spacial dimension definition in the media specification indicates that percentages will be
supported as well: xywh=160,120,320,240 /* results in a 320x240 image at x=160 and y=120 */ xywh=pixel:160,120,320,240 /* results in a 320x240 image at x=160 and y=120 */ xywh=percent:25,25,50,50 /* results in a 50%x50% image at x=25% and y=25% */ the image fragments can be used in url() notation as well.
...And 3 more matches
Guide to scroll anchoring - CSS: Cascading Style Sheets
the feature is enabled by default in
supporting browsers.
... the only possible values are auto or none: auto is the initial value; as long as the user has a
supported browser the scroll anchoring behavior will happen, and they should see fewer content jumps.
...
suppression triggers the specification also details some
suppression triggers, which will disable scroll anchoring in places where it might be problematic.
...And 3 more matches
quotes - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetquoteschrome full
support 11edge full
support 12firefox full
support 1.5ie full
support 8opera full
support 4safari full
support 9webview android full ...
...
support 37chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 9samsung internet android full
support 1.0auto keywordchrome no
support nonotes no
support nonotes notes this value is not
supported, but the default browser behavior is to choose appropriate quotes for the user's language settingedge no
support nonotes no
support ...
... nonotes notes this value is not
supported, but the default browser behavior is to choose appropriate quotes for the user's language settingfirefox full
support 70ie no
support nonotes no
support nonotes notes this value is not
supported, but the default browser behavior is to choose appropriate quotes for the user's language settingopera no
support nonotes no
support nonotes notes this value is not
supported, but the default browser behavior is to choose appropriate quotes for the user's language settingsafari no
support ...
...And 3 more matches
Content categories - Developer guides
m>, <embed>, <fieldset>, <figure>, <footer>, <form>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <header>, <hgroup>, <hr>, <i>, <iframe>, <img>, <input>, <ins>, <kbd>, <keygen>, <label>, <main>, <map>, <mark>, <math>, <menu>, <meter>, <nav>, <noscript>, <object>, <ol>, <output>, <p>, <picture>, <pre>, <progress>, <q>, <ruby>, <s>, <samp>, <script>, <section>, <select>, <small>, <span>, <strong>, <sub>, <
sup>, <svg>, <table>, <template>, <textarea>, <time>, <ul>, <var>, <video>, <wbr> and text.
... note: the <hgroup> element was removed from the w3c html specification prior to html 5 being finalized, but is still part of the whatwg specification and is at least partially
supported by most browsers.
... elements belonging to this category are <abbr>, <audio>, <b>, <bdo>, <br>, <button>, <canvas>, <cite>, <code>, <command>, <data>, <datalist>, <dfn>, <em>, <embed>, <i>, <iframe>, <img>, <input>, <kbd>, <keygen>, <label>, <mark>, <math>, <meter>, <noscript>, <object>, <output>, <picture>, <progress>, <q>, <ruby>, <samp>, <script>, <select>, <small>, <span>, <strong>, <sub>, <
sup>, <svg>, <textarea>, <time>, <var>, <video>, <wbr> and plain text (not only consisting of white spaces characters).
...And 3 more matches
<content>: The Shadow DOM Content Placeholder element (obsolete) - HTML: Hypertext Markup Language
note: for this code to work, the browser you display it in must
support web components.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcontent deprecatednon-standardchrome full
support 35edge full
support 79firefox no
support 33 — 59disabled no
support 33 — 59disabled disabled from version 33 until version 59 (exclusive): this feature is behind the dom.webcomponents.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.ie no
support noopera full
support 26safari no
support nowebview android full
support 37chrome android full
support 37firefox android no
support 33 — 59disabled no
support 33 — 59disabled disabled from version 33 until version 59 (exclusive): this feature is behind the dom.webcomponents.enabled preference (needs to be set to true).
...And 3 more matches
<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.
...in addition, colors with an alpha channel are not
supported; specifying a color in 9-character hexadecimal notation (e.g.
... note: any web browser that doesn't
support an input of type color will naturally fall back to the type text.
...And 3 more matches
<input type="number"> - HTML: Hypertext Markup Language
on browsers that don't
support inputs of type number, a number input falls back to type text.
... events change and input
supported common attributes autocomplete, list, placeholder, readonly idl attributes list, value, valueasnumber methods select(), stepup(), stepdown() value any floating-point number, or empty.
... you can set a default value for the input by including a number inside the value attribute, like so: <input id="number" type="number" value="42"> additional attributes in addition to the attributes commonly
supported by all <input> types, inputs of type number
support these attributes: attribute description list the id of the <datalist> element that contains the optional pre-defined autocomplete options max the maximum value to accept for this input min the minimum value to accept for this input placeholder an example value to display inside the field when it's empty readonly a boolean attribute indicating whether the value is read-only step a stepping interval to use when using up and down arrows t...
...And 3 more matches
<input type="url"> - HTML: Hypertext Markup Language
on browsers that don't
support inputs of type url, a url input falls back to being a standard text input.
... 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().
... additional attributes in addition to the attributes that operate on all <input> elements regardless of their type, url inputs
support the following attributes: attribute description list the id of the <datalist> element that contains the optional pre-defined autocomplete options maxlength the maximum number of characters the input should accept minlength the minimum number of characters long the input can be and still be considered valid pattern a regular expr...
...And 3 more matches
<link>: The External Resource Link element - HTML: Hypertext Markup Language
webtv
supports the use of the value next for rel to preload the next page in a document series.
...html5 extended this to any kind of media queries, which are a
superset of the allowed values of html 4.
... browsers not
supporting css3 media queries won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in html 4.
...And 3 more matches
Preloading content with rel="preload" - HTML: Hypertext Markup Language
this is especially useful when preloading resources — the browser will use the type attribute value to work out if it
supports that resource, and will only download it if so, ignoring it if not.
...on): <head> <meta charset="utf-8"> <title>video preload example</title> <link rel="preload" href="sintel-short.mp4" as="video" type="video/mp4"> <link rel="preload" href="sintel-short.webm" as="video" type="video/webm"> </head> <body> <video controls> <source src="sintel-short.mp4" type="video/mp4"> <source src="sintel-short.webm" type="video/webm"> <p>your browser doesn't
support html5 video.
... here is a <a href="sintel-short.mp4">link to the video</a> instead.</p> </video> </body> so in this case, browsers that
support mp4s will preload and use the mp4, making the video player hopefully smoother/more responsive for users.
...And 3 more matches
Link prefetching FAQ - HTTP
however, if there is sufficient interest, we may expand link prefetching
support to include prefetching <a> tags, which include a relation type of next or prefetch in the future.
...other protocols (such as ftp) do not provide rich enough
support for client side caching.
... which browsers
support link prefetching?
...And 3 more matches
Introduction - JavaScript
core javascript can be extended for a variety of purposes by
supplementing it with additional objects; for example: client-side javascript extends the core language by
supplying objects to control a browser and its document object model (dom).
... server-side javascript extends the core language by
supplying objects relevant to running javascript on a server.
... in contrast to java's compile-time system of classes built by declarations, javascript
supports a runtime system based on a small number of data types representing numeric, boolean, and string values.
...And 3 more matches
constructor - JavaScript
class person { constructor(name) { this.name = name; } introduce() { console.log(`hello, my name is ${this.name}`); } } const otto = new person('otto'); otto.introduce(); if you don't provide your own constructor, then a default constructor will be
supplied for you.
... if your class is a base class, the default constructor is empty: constructor() {} if your class is a derived class, the default constructor calls the parent constructor, passing along any arguments that were provided: constructor(...args) {
super(...args); } that enables code like this to work: class validationerror extends error { printcustomermessage() { return `validation failed :-( (details: ${this.message})`; } } try { throw new validationerror("not a valid phone number"); } catch (error) { if (error instanceof validationerror) { console.log(error.name); // this is error instead of validationerror!
... however, if you provide your own constructor, and your class derives from some parent class, then you must explicitly call the parent class constructor using
super.
...And 3 more matches
Array.prototype.reduce() - JavaScript
syntax arr.reduce(callback( accumulator, currentvalue, [, index[, array]] )[, initialvalue]) parameters callback a function to execute on each element in the array (except for the first, if no initialvalue is
supplied).
...it is the accumulated value previously returned in the last invocation of the callback—or initialvalue, if it was
supplied (see below).
...if no initialvalue is
supplied, the first element in the array will be used as the initial accumulator value and skipped as currentvalue.
...And 3 more matches
Intl - JavaScript
locale identification and negotiation the internationalization constructors as well as several language sensitive methods of other constructors (listed under see also) use a common pattern for identifying locales and determining the one they will actually use: they all accept locales and options arguments, and negotiate the requested locale(s) against the locales they
support using an algorithm specified in the options.localematcher property.
... multiple locales may be specified (and a best-
supported locale determined by evaluating each of them in order and comparing against the locales
supported by the implementation) by passing an array (or array-like object, with a length property and corresponding indexed elements) whose elements are either intl.locale objects or values that convert to unicode bcp 47 locale identifier strings.
... this registry is periodically updated over time, and implementations may not always be up to date, so be careful not to rely too much on tags being universally
supported.
...And 3 more matches
WebAssembly.Global - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsglobalchrome full
support 69edge no
support nofirefox full
support 62ie no
support noopera no
support nosafari no
support nowebview android full
suppor...
...t 69chrome android full
support 69firefox android full
support 62opera android no
support nosafari ios no
support nosamsung internet android full
support 10.0nodejs no
support noglobal() constructorchrome full
support 69edge no
support nofirefox full
support 62ie no
support noopera no
support ...
... nosafari no
support nowebview android full
support 69chrome android full
support 69firefox android full
support 62opera android no
support nosafari ios no
support nosamsung internet android full
support 10.0nodejs no
support novaluechrome full
support 69edge no
support nofirefox full
support ...
...And 3 more matches
WebAssembly.Instance - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsinstancechrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0instance() constructorchrome ...
... full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
support 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support ...
...And 3 more matches
Transport Layer Security - Web security
in general, you should try to limit cipher
support to the newest ciphers possible which are compatible with the browsers you want to be able to connect to your site.
... tls 1.3
supports forward-secure modes only, unless the connection is resumed or it uses a pre-shared key.
...reactive client authentication using certificates is
supported by tls 1.3 but not widely implemented.
...And 3 more matches
<xsl:number> - XSLT: Extensible Stylesheet Language Transformations
any (not
supported at this time.) numbers all matching nodes, regardless of level, sequentially.
...this level is not
supported at this time.
...this is a quick way to format a user-
supplied number (as opposed to a node sequence number) in any of the standard <xsl:number> formats.
...And 3 more matches
PI Parameters - XSLT: Extensible Stylesheet Language Transformations
overview xslt
supports the concept of passing parameters to a stylesheet when executing it.
... to solve this two new pis are implemented in firefox 2 (see
supported versions below for details), <?xslt-param?> and <?xslt-param-namespace?>.
...note that multiple xml-stylesheet xslt pis are not
supported in firefox currently.
...And 3 more matches
Classes and Inheritance - Archive of obsolete content
unlike languages like c++ and java, javascript does not have native
support for classical inheritance.
...however, to fully appreciate how class works, and the problem it is
supposed to solve, it is recommended that you read the entire article.
...to illustrate this, let's add a member function to the class shape: shape.prototype.draw = function () { throw error("not yet implemented"); } let shape = shape(2, 3); shape.draw(); // => error: not yet implemented inheritance and constructors
suppose we want to create a new class, circle, and inherit it from shape.
...And 2 more matches
Content Processes - Archive of obsolete content
a content process was
supposed to run all the code associated with a single tab.
... conversely, an add-on process was
supposed to run all the code associated with a single add-on.
...
suppose we have two event emitters in different processes, and we want them to be able to emit events to each other.
...And 2 more matches
Private Properties - Archive of obsolete content
unlike other languages, javascript does not have native
support for private properties.
...however, note that weakmaps might not be
supported by all implementations yet.
...however, the use of an underscore prefix is just a coding convention and is not enforced by the language: there is nothing to prevent a user from directly accessing a property that is
supposed to be private.
...And 2 more matches
SDK and XUL Comparison - Archive of obsolete content
advantages of the sdk simplicity the sdk provides high-level javascript apis to simplify many common tasks in add-on development, and tool
support which greatly simplifies the process of developing, testing, and packaging an add-on.
... we also expect to
support both desktop and mobile firefox using a single edition of the sdk: so you'll be able to write one extension and have it work on both products.
... mobile
support starting in sdk 1.5, we've added experimental
support for developing add-ons on the new native version of firefox mobile.
...And 2 more matches
panel - Archive of obsolete content
panel content the panel's content is specified as html, which is loaded from the url
supplied in the contenturl option to the panel's constructor.
...et;" + " if (t.nodename == 'a')" + " self.port.emit('click-link', t.tostring());" + "}, false);" var mypanel = require("sdk/panel").panel({ contenturl: "http://www.bbc.co.uk/mobile/index.html", contentscript: myscript }); mypanel.port.on("click-link", function(url) { console.log(url); }); mypanel.show(); this example uses contentscript to
supply the script as a string.
...if this is
supplied the panel will be shown attached to the button.
...And 2 more matches
passwords - Archive of obsolete content
usage a credential is the set of information a user
supplies to authenticate herself with a service.
... you don't
supply this value when storing an add-on credential: it is automatically generated for you.
...credentials which match all the properties you
supplied are returned as an argument to the oncomplete callback.
...And 2 more matches
How to convert an overlay extension to restartless - Archive of obsolete content
step 2a: load your jsm from chrome:// now with that preface out of the way, this part is easy: drop
support for firefox 3.x if you haven't already, move your jsm files to wherever you've got your chrome mapping to for your xul overlay and/or windows, import your files from that new chrome mapped path instead of the old resource one, and remove your "resource" line from your chrome.manifest file.
... also, drop
support for firefox 4 through 9 while you're at it.
...branch : services.prefs; return branch.getcomplexvalue(prefname, components.interfaces.nsi
supportsstring).data; } function setucharpref(prefname,text,branch) // unicode setcharpref { var string = components.classes["@mozilla.org/
supports-string;1"] .createinstance(components.interfaces.nsi
supportsstring); string.data = text; branch = branch ?
...And 2 more matches
Setting Up a Development Environment - Archive of obsolete content
it's based on the mozilla xulrunner platform, so it has
support for some of the particularities in firefox extension development.
... komodo edit has automatic completion for xul tags and attributes, and it
supports mozilla's css extensions (css values and properties beginning with "-moz").
...in order to set the profile location to the right value, you should read the
support article on profiles, at the mozilla
support site.
...And 2 more matches
Underscores in class and ID Names - Archive of obsolete content
note: browser
support for underscores in css has greatly improved since this article was originally published in 2001 and the following recommendation is no longer accurate for most circumstances.
... the css1 specification, published in its final form in 1996, did not allow for the use of underscores in class and id names unless they were "escaped." an escaped underscore would look something like this: p.urgent\_note {color: maroon;} this was not well
supported by browsers at the time, however, and the practice has never caught on.
...
support realities between mistakes in implementation and changes to the specification, browser behavior with regard to underscores is rather convoluted.
...And 2 more matches
Editor Embedding Guide - Archive of obsolete content
call a command -- docommand: commandmanager->docommand(acommand, acommandparams); acommand is a const char * to a
supported command name (see list below).
... getcommandstate "state_all"(boolean), "state_begin"(boolean), "state_end"(boolean), "state_mixed"(boolean), "state_enabled" (boolean) docommand no parameters example normal strikethrough cmd_
superscript toggles
superscript style on selection.
... getcommandstate "state_all"(boolean), "state_begin"(boolean), "state_end"(boolean), "state_mixed"(boolean), "state_enabled" (boolean) docommand no parameters example normal
superscript cmd_subscript toggles subscript style on selection.
...And 2 more matches
Documentation for BiDi Mozilla - Archive of obsolete content
this is preliminary documentation of the changes introduced to mozilla as part of the bidi
support contributed by ibm (a.k.a.
...as far as we could discover, icu is the only one which is 100% compatible with uba, including
support for explicit directional controls (lro, rlo, etc, and their html equivalents).
...we have also tested behaviour of all controls with dir=rtl and added
support where necessary.
...And 2 more matches
Layout System Overview - Archive of obsolete content
additionally, layout must
support a paginated presentation, where the width of the presentation is constrained by the dimensions of the printed output (paper) and the height of each page is fixed.
...the original design of the layout system allowed for multiple, possibly different, presentations to be
supported simultaneously from the same content model.
...the idea of
supporting a non-visual presentation is interesting.
...And 2 more matches
Twitter - Archive of obsolete content
most of twitter's methods are
supported, but not all.
... list methods, spam reporting methods, and oauth are not currently
supported.
... if something is not
supported but you would like it to be, please file a bug.
...And 2 more matches
Mozilla Application Framework - Archive of obsolete content
framework xul a comprehensive, cross-platform ui toolkit with an easy-to-learn xml language for defining ui structure, a schema for localization, and
support for both native and cross-platform (using css) look and feel to make writing uis quick and painless.
... gecko a performant web content rendering/editing engine with world-leading
support for standards that you can drop into your application with a single line of xul.
... necko a wicked-fast, extensible networking library with built-in
support for many common protocols and a well-defined plug-in interface for custom protocol handling so you can add the protocols you need.
...And 2 more matches
SeaMonkey - making custom toolbar (SM ver. 1.x) - Archive of obsolete content
supported applications you can use the steps on this page only with seamonkey 1.x versions.
... seamonkey 2 is being reworked to
support the same process as firefox, thunderbird and others.
... note: for a similar tutorial that applies to seamonkey 2, firefox, thunderbird and sunbird, see: custom toolbar button earlier versions and other mozilla applications also
support extensions, but some parts of this tutorial are not appropriate for them.
...And 2 more matches
Templates - Archive of obsolete content
populating elements xul provides a method in which we create elements from data
supplied by rdf, either from an rdf file or from an internal datasource.
...the values of these attributes are replaced with data
supplied by the datasource which, in this case, is the bookmarks.
...of course, this assumes that the datasource
supplies the appropriate resources.
...And 2 more matches
XPCOM Interfaces - Archive of obsolete content
all interfaces inherit from a top-level interface called nsi
supports.
... it has one function
supplied to javascript, queryinterface(), which we have already seen.
... because the interface nsi
supports is implemented by all components, the function queryinterface() function is available in every component.
...And 2 more matches
Using nsIXULAppInfo - Archive of obsolete content
this is useful, for example, for extensions that
support several mozilla-based applications or several versions of a single application.
... note that while firefox 1.5, thunderbird 1.5, and xulrunner 1.8-based applications
support nsixulappinfo, older applications, such as firefox and thunderbird 1.0, do not
support it.
...the latter is useful if you're trying to
support nightly development builds of the application, and the former can be useful if you only
support official releases, and to distinguish between branch and trunk builds.
...And 2 more matches
The Implementation of the Application Object Model - Archive of obsolete content
when the remote file is subsequently downloaded, these local annotations are sucked in and
superimposed on top of the structure described by the file.
...if we ship a browser that does not have 100%
support for css2, for example, but we've extended html by adding 20-30 new tags, people are going to put down their blinders and see only the fact that we were off adding a whole slew of new stuff to html when we could have been firming up our standards story.
...
suppose that a bookmarks folder contains a mailbox folder, a composer page template, and a bookmark.
...And 2 more matches
richlistbox - Archive of obsolete content
note: in versions of firefox prior to firefox 3, rich list boxes
support only single selection.
... attributes disabled, disablekeynavigation, preference, seltype,
suppressonselect, tabindex, value properties accessibletype, currentindex, currentitem, disabled, disablekeynavigation, itemcount, scrollboxobject, selectedcount, selectedindex, selecteditem, selecteditems, seltype,
suppressonselect, tabindex, value methods additemtoselection, appenditem, clearselection, ensureelementisvisible, ensureindexisvisible, getindexoffirstvisiblerow, getindexofitem, getitematindex, getnumberofvisiblerows, getrowcount, getselecteditem, insertitemat, invertselection, movebyoffset, removeitemat, removeitemfromselection, scrolltoindex, selectall, selectitem, selectitemrange, timedselect, toggleitemselection examples <richlistbox> ...
...
suppressonselect type: boolean if this attribute is not specified, a select event is fired whenever an item is selected, either by the user or by calling one of the select methods.
...And 2 more matches
window - Archive of obsolete content
this is used to prevent the find bar from being displayed when it's not
supported by the content (such as in the add-ons manager tab).
...this is
supported only from window elements, and is ignored on platforms that don't
support drawing into the title bar.
...
supported on mac os x 10.7 lion and later and on windows.
...And 2 more matches
Application Update - Archive of obsolete content
pref("app.update.auto", true); // defines how the application update service notifies the user about updates: // // aum set to: minor releases: major releases: // 0 download no prompt download no prompt // 1 download no prompt download no prompt if no incompatibilities // 2 download no prompt prompt // // see chart in n
supdateservice.js.in for more details // pref("app.update.mode", 1); // if set to true, the update service will present no ui for any event.
...pref("app.update.url.manual", "http://yourserver.net/yourpage"); // a default value for the "more information about this update" link //
supplied in the "an update is available" page of the update wizard.
...other apps may wish to show this ui, and
supply // a whatsnewurl field in their brand.properties that contains a link to a page // which tells users what's new in this new update.
...And 2 more matches
Dialogs in XULRunner - Archive of obsolete content
for instance, windows has
supported built-in file open and file save dialogs for many years, and the macintosh has always had them.
...xul
supports native implementations of filepickers (mozilla terminology for file open and save dialogs).
...nents.classes["@mozilla.org/filepicker;1"].createinstance(nsifilepicker); fp.init(window, "open file", nsifilepicker.modeopen); fp.appendfilters(nsifilepicker.filtertext | nsifilepicker.filterall); var res = fp.show(); if (res == nsifilepicker.returnok) { var thefile = fp.file; alert(thefile.leafname); // --- do something with the file here --- } } xul does not currently
support any other common dialogs.
...And 2 more matches
calICalendarView - Archive of obsolete content
interface code [scriptable, uuid(3e567ccb-2ecf-4f59-b7ca-bf42b0fbf24a)] interface calicalendarview : nsi
supports { attribute calicalendar displaycalender; attribute calicalendarviewcontroller controller; void showdate(in calidatetime adate); void setdaterange(in calidatetime astartdate, in calidatetime aenddate); readonly attribute calidatetime startdate; readonly attribute calidatetime enddate; readonly attribute boolean
supportsdisjointdates; readonly attribute boolean hasdisjointda...
...
supportsdisjointdates consumers of calicalendarview should check this attribute to determine whether or not the implementation allows for calls to setdatelist.
...note: this will likely change to selecteditems and return an array of caliitembases in order to
support selecting multiple items at once.
...And 2 more matches
nsIContentPolicy - Archive of obsolete content
method overview short shouldload(in unsigned long acontenttype, in nsiuri acontentlocation, in nsiuri arequestorigin, in nsi
supports acontext, in acstring amimetypeguess, in nsi
supports aextra, in nsiprincipal arequestprincipal); short shouldprocess(in unsigned long acontenttype, in nsiuri acontentlocation, in nsiuri arequestorigin, in nsi
supports acontext, in acstring amimetype, in nsi
supports aextra, in nsiprincipal arequestprincipal); constants content types constant value description ...
... short shouldload( in unsigned long acontenttype, in nsiuri acontentlocation, in nsiuri arequestorigin, in nsi
supports acontext, in acstring amimetypeguess, in nsi
supports aextra, in nsiprincipal arequestprincipal ); parameters acontenttype the type of content being tested.
... short shouldprocess( in unsigned long acontenttype, in nsiuri acontentlocation, in nsiuri arequestorigin, in nsi
supports acontext, in acstring amimetype, in nsi
supports aextra, in nsiprincipal arequestprincipal ); parameters acontenttype the type of content being tested.
...And 2 more matches
Using IO Timeout And Interrupt On NT - Archive of obsolete content
so we can't go this route as long as we are
supporting nt 3.51.
...for example,
suppose thread a and thread b call <tt>pr_accept()</tt> on the same socket, and they time out at the same time.
...
suppose the file descriptor is intended to be used for the life time of the process, for example, the logging file, this is really not acceptable.
...And 2 more matches
@set - Archive of obsolete content
warning: conditional compilation is not
supported in internet explorer 11 standards mode and windows 8.x store apps.
... conditional compilation is
supported in internet explorer 10 standards mode and in all earlier versions.
... remarks numeric and boolean variables are
supported for conditional compilation.
...And 2 more matches
XForms Custom Controls - Archive of obsolete content
custom data types - existing xforms controls are not able to work properly with your data type advanced xforms controls - you need your controls to be able to do more things than traditional xforms controls can do new host language - you'd like to
support xforms in host languages other than xhtml or xul custom presentation the mozilla xforms extension cannot anticipate all of the possible use cases that will evolve in web applications and web pages as xforms matures and the user base grows.
...however, the mozilla xforms implementation currently doesn't
support this approach.
...shstub; </constructor> <property name="ref1" readonly="true" onget="return this.ownerdocument.getanonymouselementbyattribute(this, 'anonid', 'ref1');"/> <property name="ref2" readonly="true" onget="return this.ownerdocument.getanonymouselementbyattribute(this, 'anonid', 'ref2');"/> </implementation> new host language the mozilla xforms implementation currently only
supports xforms hosted in xhtml or xul documents.
...And 2 more matches
Mozilla XForms Specials - Archive of obsolete content
limitations repeat using attributes the specifications mentions "creating repeating structures via attributes", this is partially
supported.
...pseudo-class
support we currently
support all the css pseudo-classes in xforms (:enabled, :disabled, etc.
...(limitation tracked in bug 313111)pseudo element
support there is no
support for the pseudo elements (::value, ::repeat-item, and ::repeat-index ).
...And 2 more matches
Obsolete: XPCOM-based scripting for NPAPI plugins - Archive of obsolete content
sample .idl file #include "nsi
supports.idl" [scriptable, uuid(bedb0778-2ee0-11d5-9cf8-0060b0fbd8ac)] interface nsitestplugin : nsi
supports { void nativemethod(); }; example 2.
... ns_imethod getinterfaces(pruint32 *count, nsiid * **array) {return ns_error_not_implemented;} ns_imethod gethelperforlanguage(pruint32 language, nsi
supports **_retval) {return ns_error_not_implemented;} ns_imethod getcontractid(char * *acontractid) {return ns_error_not_implemented;} ns_imethod getclassdescription(char * *aclassdescription) {return ns_error_not_implemented;} ns_imethod getclassid(nscid * *aclassid) {return ns_error_not_implemented;} ns_imethod getclassidnoalloc(nscid *aclassidnoalloc) {return ns_error_...
...not_implemented;} }; class nsscriptablepeer : public nsitestplugin, public nsclassinfomixin { public: nsscriptablepeer(); ~nsscriptablepeer(); ns_decl_i
supports ns_decl_nsitestplugin }; nsscriptablepeer::nsscriptablepeer() { ns_init_i
supports(); } nsscriptablepeer::~nsscriptablepeer() { } // notice that we expose our claim to implement nsiclassinfo.
...And 2 more matches
Archive of obsolete content
syntax highliting
support for .htaccess files less.
... localizing an extension this article expands upon the previous samples on extension writing by adding localization
support to our stock watcher extension.
... updating an extension to
support multiple mozilla applications this article shows how to take an existing extension and update it so that it can be used in additional mozilla applications.
...And 2 more matches
Game distribution - Game development
you can put your html5 games into the same arena (see native desktop, later on) and you should because it's good to diversify the platforms you
support, but you have to remember that developers creating desktop games have years of experience, great tools and stable distribution channels.
... tizen is also putting a high value on
supporting apps written in javascript.
...to do the desktop thing properly you should
support all three operating systems: windows, mac os and linux.
...And 2 more matches
Desktop mouse and keyboard controls - Game development
previous overview: control mechanisms next now when we have our mobile controls in place and the game is playable on touch-enabled devices, it would be good to add mouse and keyboard
support, so the game can be playable also on desktop.
... that way we can broaden the list of
supported platforms.
...ot } } if you'd like to differentiate the mouse buttons being pressed, there are three defaults you can pick from: this.game.input.mousepointer.leftbutton.isdown; this.game.input.mousepointer.moddlebutton.isdown; this.game.input.mousepointer.rightbutton.isdown; keep in mind that instead of mousepointer, it's better to use activepointer for platform independent input if you want to keep the
support for mobile touch interactions.
...And 2 more matches
Debugging CSS - Learn web development
css validator html validator is the property and value
supported by the browser you are testing in?
...if the property or value you are using is not
supported by the browser you are testing in then nothing will break, but that css won't be applied.
... devtools will generally highlight un
supported properties and values in some way.
...And 2 more matches
Flexbox - Learn web development
button { flex: 1 auto; margin: 5px; font-size: 18px; line-height: 1.5; } cross browser compatibility flexbox
support is available in most new browsers — firefox, chrome, opera, microsoft edge and ie 11, newer versions of android/ios, etc.
... however you should be aware that there are still older browsers in use that don't
support flexbox (or do, but
support a really old, out-of-date version of it.) while you are just learning and experimenting, this doesn't matter too much; however if you are considering using flexbox in a real website you need to do testing and make sure that your user experience is still acceptable in as many browsers as possible.
...not
supporting flexbox features however will probably break a layout completely, making it unusable.
...And 2 more matches
Beginner's guide to media queries - Learn web development
width and height the feature we tend to detect most often in order to create responsive designs (and that has widespread browser
support) is viewport width, and we can apply css if the viewport is above or below a certain width — or an exact width — using the min-width, max-width, and width media features.
... there are a number of other media features that you can test for, although some of the newer features introduced in level 4 and 5 of the media queries specification have limited browser
support.
... each feature is documented on mdn along with browser
support information, and you can find a full list at using media queries: media features.
...And 2 more matches
Basic native form controls - Learn web development
note: the features discussed in this article are
supported in all browsers, which is not the case for all form controls.
... they can benefit from spell checking (using the spellcheck attribute), if the browser
supports it.
...the value text for this attribute is also the fallback value if the value you specify for the type attribute is unknown by the browser (for example if you specify type="color" and the browser doesn't
support native color pickers).
...And 2 more matches
Advanced text formatting - Learn web development
here you'll learn about marking up quotations, description lists, computer code and other related text, subscript and
superscript, contact information, and more.
...this however has fallen into disuse — it wasn't
supported in browsers as well as <abbr>, and <abbr> has such a similar function that it was considered pointless to have both.
...mple: <address> <p> chris mills<br> manchester<br> the grim north<br> uk </p> <ul> <li>tel: 01234 567 890</li> <li>email: me@grim-north.co.uk</li> </ul> </address> note that something like this would also be ok, if the linked page contained the contact information: <address> <p>page written by <a href="../authors/chris-mills/">chris mills</a>.</p> </address>
superscript and subscript you will occasionally need to use
superscript and subscript when marking up items like dates, chemical formulae, and mathematical equations so they have the correct meaning.
...And 2 more matches
Introduction to events - Learn web development
the other two are relatively interchangeable, at least for simple uses: event handler properties have less power and options, but better cross-browser compatibility (being
supported as far back as internet explorer 8).
... dom level 2 events (addeventlistener(), etc.) are more powerful, but can also become complex and are less well
supported (
supported as far back as internet explorer 9).
... note: if you are called on to
support browsers older than internet explorer 8, you may run into difficulties, as such ancient browsers use different event models from newer browsers.
...And 2 more matches
Accessibility/LiveRegionDevGuide
this developer's guide lays out general guidelines that assistive technology (at) developers can use in developing live region
support.
... this guide was written from an atk/at-spi point of view as part of the orca live region
support project.
...for more information about live regions, please read the aria properties spec or the live region report to learn about aria live region markup and the live region api
support document for the latest firefox api with regards to live regions.
...And 2 more matches
Windows SDK versions
mozilla, from time to time, might
support building against multiple versions of the windows sdk as a compatibility/transitional measure.
...older versions some of the older version are no longer
supported, further information is available at obsolete build caveats and tips [en-us] under the windows sdk article.
... windows 8 sdk (official) features that depend on this sdk include: metro firefox front end gamepad api
support you can download the sdk from the microsoft download center [web setup].
...And 2 more matches
Embedding Tips
you may also use the progress listener to query the request
supplied in onstatechange for more information.
...call the nsiwebbrowserprint::print() method
supplying a print settings object (e.g.
...call the nsiwebbrowserprint::printpreview() method
supplying a print settings object (e.g.
...And 2 more matches
How to implement a custom autocomplete search component
the xul textbox element
supports an autocomplete mechanism that is used to create a textbox with a popup containing a list of possible completions for what the user has started to type.
... thunderbird 2.x and seamonkey 1.1.x
support the toolkit interfaces, although they do not use the same autocomplete widget.
...the toolkit mechanism has built-in
support for several autocomplete sources, including: history: search the browser's url history (firefox: 1.0+; seamonkey: 1.1+) form-history: search the values that the user has entered into form fields.
...And 2 more matches
IPDL Tutorial
ipdl
supports built-in and custom primitive types, as well as unions and arrays.
... using mozilla::plugins::npremoteevent; sync protocol pplugininstance { child: async handleevent(npremoteevent); }; unions ipdl has built-in
support for declaring discriminated unions.
... to initialize a union, simply assign a valid value to it, as follows: avariant = false; structs ipdl has built-in
support for arbitrary collections of serializable data types.
...And 2 more matches
Integrated Authentication
this document provides an overview of mozilla's
support for integrated authentication.
... this entails
support for the the simple and protected gss-api negotiation mechanism (spnego) internet standard (rfc 2478) to negotiate either kerberos, ntlm, or other authentication protocols
supported by the operating system.
... mozilla also
supports raw ntlm authentication using an internal implementation (based on the documentation provided by eric glass) that
supports ntlmv1/lmv1 and ntlm2 session key modes.
...And 2 more matches
Phishing: a short definition
public key cryptography many services will soon
support w3c web authentication, a powerful technology to evade phishing, based on public key cryptography.
... web authentication
supports millions of readily avilable fido u2f usb security keys, and will
support the more advanced fido 2.0 keys, once made available.
... verification via text message if a service
supports verification, via sms, it sends a text message with a one-time pin to the user’s phone number.
...And 2 more matches
PKCS #11 Module Specs
this isn't part of the generic spec (that is other applications need not parse it, nor pkcs #11 modules need
supply them or use them).
... moduledb - this library includes nss specific functions to
supply additional module specs for loading.
...'0' means that tokens on this library should not
supply trust information (default).
...And 2 more matches
FIPS mode of operation
fc_createobject fc_copyobject fc_destroyobject fc_getobjectsize fc_getattributevalue fc_setattributevalue fc_findobjectsinit fc_findobjects fc_findobjectsfinal encryption functions these functions
support triple des and aes in ecb and cbc modes.
... fc_encryptinit fc_encrypt fc_encryptupdate fc_encryptfinal decryption functions these functions
support triple des and aes in ecb and cbc modes.
... fc_decryptinit fc_decrypt fc_decryptupdate fc_decryptfinal message digesting functions these functions
support sha-1, sha-256, sha-384, and sha-512.
...And 2 more matches
NSS tools : pk12util
me pk12util — export and import keys and certificate to or from a pkcs #12 file and the nss database synopsis pk12util [-i p12file|-l p12file|-o p12file] [-d [sql:]directory] [-h tokenname] [-p dbprefix] [-r] [-v] [-k slotpasswordfile|-k slotpassword] [-w p12filepasswordfile|-w p12filepassword] description the pkcs #12 utility, pk12util, enables sharing certificates among any server that
supports pkcs#12.
... pk12util
supports two types of databases: the legacy security databases (cert8.db, key3.db, and secmod.db) and new sqlite databases (cert9.db, key4.db, and pkcs11.txt).
...this allows the certificates to be fed to another application that
supports .p12 files.
...And 2 more matches
NSS_3.12.3_release_notes.html
nss_hash_alg_
support string specifies algorithms allowed to be used in certain applications, such as in signatures on certificates and crls.
... new korean seed cipher: new macros for seed
support: in blapit.h: nss_seed nss_seed_cbc seed_block_size seed_key_length in pkcs11t.h: ckk_seed ckm_seed_key_gen ckm_seed_ecb ckm_seed_cbc ckm_seed_mac ckm_seed_mac_general ckm_seed_cbc_pad ckm_seed_ecb_encrypt_data ...
... ckm_seed_cbc_encrypt_data in secmod.h: public_mech_seed_flag in secmodt.h: secmod_seed_flag in secoidt.h: sec_oid_seed_cbc in sslproto.h: tls_rsa_with_seed_cbc_sha in sslt.h: ssl_calg_seed new structure for seed
support: (see blapit.h) seedcontextstr seedcontext new functions in the nss shared library: cert_rfc1485_escapeandquote (see cert.h) cert_comparecerts (see cert.h) cert_registeralternateocspaiainfocallback (see ocsp.h) pk11_getsymkeyhandle (see pk11pqg.h) util_setforkstate (see secoid.h) nss_getalgor...
...And 2 more matches
NSS Tools certutil
starting from nss 3.35, the database format was upgraded to
support sqlite as described in this document.
... -f password-file specify a file that will automatically
supply the password to include in a certificate or to access a certificate database.
...this extension allows a certificate's key to be dedicated to
supporting specific operations such as ssl server or object signing.
...And 2 more matches
NSS Tools modutil
see the section jar installation file for information on creating the special script needed to perform an installation through a server or with the security module database tool (that is, in environments without javascript
support).
... for general installation instructions and to install a module in environments where javascript
support is available (as in netscape communicator), see the document using the jar installation manager to install a pkcs #11 cryptographic module.
... creating a set of security management database files (key3.db, cert8.db, and secmod.db): -create displaying basic module information or detailed information about the contents of a given module: -list [modulename] adding a pkcs #11 module, which includes setting a
supporting library file, enabling ciphers, and setting default provider status for various security mechanisms: -add modulename -libfile library-file [-ciphers cipher-enable-list] [-mechanisms mechanism-list] adding a pkcs #11 module from an existing jar file: -jar jar-file -installdir root-installation-directory [-tempdir temporary-directory] deleting a specific pkcs #11 module from a sec...
...And 2 more matches
certutil
certutil
supports two types of databases: the legacy security databases (cert8.db, key3.db, and secmod.db) and new sqlite databases (cert9.db, key4.db, and pkcs11.txt).
... -f password-file specify a file that will automatically
supply the password to include in a certificate or to access a certificate database.
...this extension
supports the certificate chain verification process.
...And 2 more matches
NSS tools : pk12util
mmon-options] ] [ -o p12file -n certname [-c keycipher] [-c certcipher] [-m|--key_len keylen] [-n|--cert_key_len certkeylen] [common-options] ] [ common-options are: [-d [sql:]directory] [-p dbprefix] [-k slotpasswordfile|-k slotpassword] [-w p12filepasswordfile|-w p12filepassword] ] description the pkcs #12 utility, pk12util, enables sharing certificates among any server that
supports pkcs#12.
... pk12util
supports two types of databases: the legacy security databases (cert8.db, key3.db, and secmod.db) and new sqlite databases (cert9.db, key4.db, and pkcs11.txt).
...this allows the certificates to be fed to another application that
supports .p12 files.
...And 2 more matches
JIT Optimization Strategies
note: this page is an in-progress documentation of jit optimization strategies planned to
support the "jit coach" feature intended for inclusion in firefox developer tools.
... call a function using f.apply(obj, arguments) if the function contains any use of the arguments object that falls out of the cases defined above, this optimization will be
suppressed.
... call a function using f.apply(obj, arguments) if the function contains any use of the arguments object that falls out of the cases defined above, this optimization will be
suppressed.
...And 2 more matches
SpiderMonkey 1.8.8
—insert-actual-release-date-here platform
support spidermonkey 1.8.8 is
supported on all the platforms where firefox insert-actual-firefox-version-number-here runs.
...it is
supported on x86, x86_64, and arm architectures.
... on some other platforms (sparc, mips), the jit is provided but not
supported.
...And 2 more matches
SpiderMonkey 17
— 25 march 2013 platform
support spidermonkey 17 is
supported on all the platforms where firefox 17 runs.
...it is
supported on x86, x86_64, and arm architectures.
... on some other platforms (sparc, mips), the jit is provided but not
supported.
...And 2 more matches
SpiderMonkey 45
— apr 14, 2016 platform
support spidermonkey 45 is
supported on all platforms able to run firefox 45.
... if you are compiling with microsoft's visual studio, note the minimum
supported version is msvc 2013.
...it is
supported on x86, x86_64, and arm architectures.
...And 2 more matches
Thread Sanitizer
+" \ cflags="-fsanitize=thread -fpic -pie" \ cxxflags="-fsanitize=thread -fpic -pie" \ ldflags="-fsanitize=thread -fpic -pie" \ ../configure --disable-debug --enable-optimize="-o2 -gline-tables-only" --enable-llvm-hacks --disable-jemalloc make -j 8 fi using llvm symbolizer for faster/better traces by default, tsan traces are symbolized because otherwise, the runtime
suppression list wouldn't work.
...it will expand to the appropriate attributes if the compiler
supports them.
... runtime
suppressions to prevent races from showing up at runtime, tsan also provides a runtime
suppression list.
...And 2 more matches
Mozilla Projects
scripting for midas is based on the dhtml commands
supported by internet explorer.
... internet explorer
supports the ability to make an entire document editable by setting the designmode property of the document object; this is how midas is invoked in gecko.
... internet explorer also
supports the ability to edit specific elements using the contenteditable attribute; starting with firefox 3, gecko also
supports contenteditable.
...And 2 more matches
Inheriting from implementation classes
ns_decl_i
supports ns_decl_ia } a.cpp, as usual: ns_impl_i
supports1(a, ia) ns_imethodimp a::funca() { ...
... ns_decl_i
supports_inherited ns_forward_ia(a::) // need to disambiguate ns_decl_ib } b.cpp: ns_impl_i
supports_inherited1(b, a, ib) // this,
superclass,added ifaces ns_imethodimp b::funcb() { ...
... ns_decl_i
supports_inherited ns_forward_ia(b::) ns_forward_ib(b::) ns_decl_ic } c.cpp: ns_impl_i
supports_inherited1(c, b, ic) ns_imethodimp c::funcc() { ...
...And 2 more matches
XPCOM Stream Guide
nsbinaryinputstream @mozilla.org/binaryinputstream;1 nsibinaryinputstream .setinputstream(stream) object read a nsi
supports object from the underlying stream.
... nsbinaryoutputstream @mozilla.org/binaryoutputstream;1 nsibinaryoutputstream .setoutputstream(stream) object write an nsi
supports object to the underlying stream.
... nsconverteroutputstream @mozilla.org/intl/converter-output-stream;1 nsiconverteroutputstream .init(stream, charset, buffersize, replacechar) additional stream interfaces the nsilineinputstream interface
supports a .readline() method for reading a single line from an input stream.
...And 2 more matches
Components.Constructor
syntax var func = [ new ] components.constructor(contractid [, interfacename [, initializer ] ]); parameters contractid a string containing the contract id of the component interfacename if given, nsi
supports.queryinterface() will be called on each newly-created instance with the interface named by this string initializer if given, a string containing the name of a function which will be called on the newly-created instance, using the arguments provided to the created function when called description components.constructor() is a handy shortcut for creating instances of xpcom components.
...the component is then returned immediately, with only the base interface nsi
supports available on it; you must call nsi
supports.queryinterface() on it to call methods on the object.
... for example: var binaryinputstream = components.constructor("@mozilla.org/binaryinputstream;1"); var bis = new binaryinputstream(); print(bis.tostring()); // "[xpconnect wrapped nsi
supports]" try { // someinputstream is an existing nsiinputstream // throws because bis hasn't been qi'd to nsibinaryinputstream bis.setinputstream(someinputstream); } catch (e) { bis.queryinterface(components.interfaces.nsibinaryinputstream); bis.setinputstream(someinputstream); // succeeds now } if two arguments are given, the created instance will be nsi
supports.queryinterface()'d to the xpcom interface whose name is the second argument: var binaryinputstream = components.constructor("@mozilla.org/binaryinputstream;1", "nsibinaryinputstream"); var bi...
...And 2 more matches
nsIAccessibleRole
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) constants constant value description role_nothing 0 used when accessible has no strong defined role.
...it is used by msaa only,
supported automatically by ms windows.
...the role is
supported for caret.
...And 2 more matches
nsIAppShellService
inherits from: nsi
supports last changed in gecko 8.0 (firefox 8.0 / thunderbird 8.0 / seamonkey 2.5) implemented by: @mozilla.org/appshell/appshellservice;1 as a service: var appshellservice = components.classes["@mozilla.org/appshell/appshellservice;1"] .getservice(components.interfaces.nsiappshellservice); method overview void closetoplevelwindow(in nsixulwindow awindow); obsolete since gecko 1.8 void createhiddenwindow(in nsiappshell aappshell); native code only!
... void hidesplashscreen(); obsolete since gecko 1.8 void initialize(in nsicmdlineservice acmdlineservice, in nsi
supports nativeapp
supportorsplashscreen); obsolete since gecko 1.8 void quit(in pruint32 aferocity); obsolete since gecko 1.8 void registertoplevelwindow(in nsixulwindow awindow); void run(); obsolete since gecko 1.8 void toplevelwindowismodal(in nsixulwindow awindow, in boolean amodal); obsolete since gecko 1.9.1 void unregistertoplevelwindow(in nsixulwin...
... nativeapp
support nsinativeapp
support getter for "native application
support." read only.
...And 2 more matches
nsIAuthInformation
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) the caller of nsiauthprompt2.promptusernameandpassword() or nsiauthprompt2.promptpasswordasync() provides an object implementing this interface; the prompt implementation can then read the values here to prefill the dialog.
...if the protocol for this authentication does not
support schemes, this will be the empty string.
...auth prompts should ignore flags they do not understand; especially, they should not throw an exception because of an un
supported flag.
...And 2 more matches
nsIChannel
method overview void asyncopen(in nsistreamlistener alistener, in nsi
supports acontext); nsiinputstream open(); attributes attribute type description contentcharset acstring the character set of the channel's content if available and if applicable.
...the channel may also query the notification callbacks from its load group if its notification callbacks do not
supply the requested interface.
... note: this is distinctly different from the http referer (referring uri), which is typically the page that contained the original uri (accessible from nsihttpchannel.) owner nsi
supports the owner, corresponding to the entity that is responsible for this channel.
...And 2 more matches
nsIClassInfo
inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview nsi
supports gethelperforlanguage(in pruint32 language); void getinterfaces(out pruint32 count, [array, size_is(count), retval] out nsiidptr array); attributes attribute type description classdescription string a human readable string naming the class, or null.
... for example, if asked for the helper for nsiprogramminglanguage::javascript this might return an object that can be nsi
supports.queryinterface()'d into the nsixpcscriptable interface to assist xpconnect in
supplying javascript specific behavior to callers of the instance object.
... nsi
supports gethelperforlanguage( in pruint32 language ); parameters language this parameter selects the language mapping specific helper object to be returned.
...And 2 more matches
nsIContentViewer
inherits from: nsi
supports last changed in gecko 10.0 (firefox 10.0 / thunderbird 10.0 / seamonkey 2.7) implemented by: ?????????????????????????????????????.
... void loadcomplete(in unsigned long astatus); void loadstart(in nsi
supports adoc); void move(in long ax, in long ay); void open(in nsi
supports astate, in nsishentry ashentry); void pagehide(in boolean isunload); boolean permitunload([optional] in boolean acallercloseswindow); boolean requestwindowclose(); void resetclosewindow(); void setbounds([const] in nsintrectref abounds); native code only!
... [noscript,notxpcom,nostdcall] void setnavigationtiming(in nsdomnavigationtimingptr atiming); void setpagemode(in boolean apagemode, in nsiprintsettings aprintsettings); void show(); void stop(); void unload(); obsolete since gecko 1.8 attributes attribute type description container nsi
supports domdocument nsidomdocument enablerendering boolean obsolete since gecko 2.0 historyentry nsishentry get the history entry that this viewer will save itself into when destroyed.
...And 2 more matches
nsIFile
inherits from: nsi
supports last changed in gecko 30.0 (firefox 30.0 / thunderbird 30.0 / seamonkey 2.27) nsifile is the correct platform-agnostic way to specify a file; you should always use this instead of a string to ensure compatibility.
...using the native form limits the ability of your code to deal with the full unicode
support on windows 2000 or later where the os itself does not have such a limitation.
... diskspaceavailable print64 the number of bytes available to non-
superuser on the disk volume containing the nsifile.
...And 2 more matches
nsINavBookmarksService
1.0 67 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 14.0 (firefox 14.0 / thunderbird 14.0 / seamonkey 2.11) implemented by: @mozilla.org/browser/nav-bookmarks-service;1.
... long long afolder); obsolete since gecko 2.0 void removefolderchildren(in long long aitemid); void removeitem(in long long aitemid); void removeobserver(in nsinavbookmarkobserver observer); void replaceitem(in print64 folder, in nsiuri item, in nsiuri newitem); obsolete since gecko 1.9 void runinbatchmode(in nsinavhistorybatchcallback acallback, in nsi
supports auserdata); void setfolderreadonly(in long long afolder, in boolean areadonly); void setfoldertitle(in print64 folder, in astring title); obsolete since gecko 1.9 void setitemdateadded(in long long aitemid, in prtime adateadded); void setitemguid(in long long aitemid, in astring aguid); obsolete since gecko 14.0 void setitemindex(in long long ...
...if ownsweak is true, then aobserver must implement nsi
supportsweakreference, and the bookmark service will keep a weak reference to the observer.
...And 2 more matches
nsIProtocolHandler
inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview boolean allowport(in long port, in string scheme); nsichannel newchannel(in nsiuri auri); nsiuri newuri(in autf8string aspec, in string aorigincharset, in nsiuri abaseuri); attributes attribute type description defaultport long the default port is the port the protocol uses by default.
... uri_norelative 1<<0 the protocol doesn't
support relative uris (for example, about and javascript).
...if the protocol
supports transparent proxying, the handler should implement the nsiproxiedprotocolhandler interface.
...And 2 more matches
nsIScriptableIO
there are alternative xpcom apis you can use, your help in updating this pages to use the
supported api is very much welcome!
... last changed in gecko 1.9 (firefox 3) inherits from: nsi
supports a scriptable io object can be used in an extension or chrome code by referring to the global io object.
... you will need to get a reference as with other components: var scriptableio = components.classes["@mozilla.org/io/scriptable-io;1"] .getservice(); scriptableio.getfile("profile", "cookies.txt"); method overview nsifile getfile(in astring alocation, in astring afilename); nsifile getfilewithpath(in astring afilepath); nsi
supports newinputstream(in nsivariant abase, in astring amode, [optional] in astring acharset, [optional] in astring areplacechar, [optional] in unsigned long abuffersize); nsi
supports newoutputstream(in nsivariant abase, in astring amode, [optional] in astring acharset, [optional] in astring areplacechar, [optional] in unsigned long abuffersize, [optional] in unsigned long apermissio...
...And 2 more matches
nsIServiceManager
inherits from: nsi
supports last changed in gecko 1.0 method overview void getservice(in nscidref aclass, in nsiidref aiid, [iid_is(aiid),retval] out nsqiresult result); void getservicebycontractid(in string acontractid, in nsiidref aiid, [iid_is(aiid),retval] out nsqiresult result); boolean isserviceinstantiated(in nscidref aclass, in nsiidref aiid); boolean isserviceinstantiatedbycontractid(in string acontractid, in nsiidref aiid); methods getservice() this method returns a reference to a particular xpcom se...
... ns_nointerface indicates that the iid given isn't
supported.
... ns_nointerface indicates that the iid given isn't
supported.
...And 2 more matches
nsISocketProvider
inherits from: nsi
supports last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) implemented by: @mozilla.org/network/socket;2?type=foo.
... to create an instance, use: var socketprovider = components.classes["@mozilla.org/network/socket;2?type="] .createinstance(components.interfaces.nsisocketprovider); method overview void addtosocket(in long afamily, in string ahost, in long aport, in string aproxyhost, in long aproxyport, in unsigned long aflags, in prfiledescstar afiledesc, out nsi
supports asecurityinfo); native code only!
... void newsocket(in long afamily, in string ahost, in long aport, in string aproxyhost, in long aproxyport, in unsigned long aflags, out prfiledescstar afiledesc, out nsi
supports asecurityinfo); native code only!
...And 2 more matches
nsITextInputProcessor
dom/interfaces/base/nsitextinputprocessor.idlscriptable this interface is a text input events synthesizer and manages its composition and modifier state 1.0 66 introduced gecko 38 inherits from: nsi
supports last changed in gecko 38.0 (firefox 38.0 / thunderbird 38.0 / seamonkey 2.35) the motivation of this interface is to provide better api than nsidomwindowutils to dispatch key events and create, modify, and commit composition in higher level.
...in this case, you can
suppress the computation with this flag.
...in this case, you can
suppress the computation with this flag.
...And 2 more matches
nsITransport
inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) this interface provides methods to open blocking or non-blocking, buffered or unbuffered streams to the resource.
...in addition, in non-blocking mode, the stream is guaranteed to
support nsiasyncinputstream.
...open_unbuffered if specified, the resulting stream may not
support readsegments.
...And 2 more matches
nsIXULTemplateResult
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) each result is identified by an id, which must be unique within the set of results produced from a query.
...method overview astring getbindingfor(in nsiatom avar); nsi
supports getbindingobjectfor(in nsiatom avar); void hasbeenremoved(); void rulematched(in nsi
supports aquery, in nsidomnode arulenode); attributes attribute type description id astring id of the result.
...nsi
supports getbindingobjectfor( in nsiatom avar ); parameters avar the variable to look up.
...And 2 more matches
nsIZipWriter
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) once all the operations you wish to perform are added to the queue, a call to processqueue() will perform the operations in the order they were added to the queue.
... void addentrystream(in autf8string azipentry, in prtime amodtime, in print32 acompression, in nsiinputstream astream, in boolean aqueue); void close(); nsizipentry getentry(in autf8string azipentry); boolean hasentry(in autf8string azipentry); void open(in nsifile afile, in print32 aioflags); void processqueue(in nsirequestobserver aobserver, in nsi
supports acontext); void removeentry(in autf8string azipentry, in boolean aqueue); attributes attribute type description comment acstring gets or sets the comment associated with the currently open zip file.
...if the operation is performed on the queue then the channel will be opened asynchronously, otherwise the channel must
support being opened synchronously.
...And 2 more matches
XPCOM primitive
(however, if you are designing that kind of api today, you should probably use nsivariant instead.) idl data type interface component idl nsidptr nsi
supportsid @mozilla.org/
supports-id;1 [scriptable, uuid(d18290a0-4a1c-11d3-9890-006008962422)] interface nsi
supportsid : nsi
supportsprimitive { attribute nsidptr data; string tostring(); }; astring nsi
supportsstring @mozilla.org/
supports-string;1 [scriptable, uuid(d79dc970-4a1c-11d3-9890-006008962422)] interface nsi
supportsstring : nsi
supportsprimitive { attribute astring data; wstr...
...ing tostring(); }; prbool nsi
supportsprbool @mozilla.org/
supports-prbool;1 [scriptable, uuid(ddc3b490-4a1c-11d3-9890-006008962422)] interface nsi
supportsprbool : nsi
supportsprimitive { attribute prbool data; string tostring(); }; pruint8 nsi
supportspruint8 @mozilla.org/
supports-pruint8;1 [scriptable, uuid(dec2e4e0-4a1c-11d3-9890-006008962422)] interface nsi
supportspruint8 : nsi
supportsprimitive { attribute pruint8 data; string tostring(); }; pruint16 nsi
supportspruint16 @mozilla.org/
supports-pruint16;1 [scriptable, uuid(dfacb090-4a1c-11d3-9890-006008962422)] interface nsi
supportspruint16 : nsi
supportsprimitive { attribute pruint16 data; string tostring(); }; pruint32 nsi
supportspruint32 @mozilla.org/
supports-pruint32;1 [scriptable, uuid(e01dc470-4a1c-11d3-9890-...
...006008962422)] interface nsi
supportspruint32 : nsi
supportsprimitive { attribute pruint32 data; string tostring(); }; pruint64 nsi
supportspruint64 @mozilla.org/
supports-pruint64;1 [scriptable, uuid(e13567c0-4a1c-11d3-9890-006008962422)] interface nsi
supportspruint64 : nsi
supportsprimitive { attribute pruint64 data; string tostring(); }; prtime nsi
supportsprtime @mozilla.org/
supports-prtime;1 [scriptable, uuid(e2563630-4a1c-11d3-9890-006008962422)] interface nsi
supportsprtime : nsi
supportsprimitive { attribute prtime data; string tostring(); }; char nsi
supportschar @mozilla.org/
supports-char;1 [scriptable, uuid(e2b05e40-4a1c-11d3-9890-006008962422)] interface nsi
supportschar : nsi
supportsprimitive { attribute char data; string tostring(); }; print16 nsisu...
...And 2 more matches
XPCOM Interface Reference by grouping
security this section contains apis for secure channel communications system this section contains application level interfaces including calls to external
support elements (such as device calls).
... nsifeedprogresslistener nsifeedresult nsifeedresultlistener nsifeedtextconstruct script mozijssubscriptloader storage mozistoragevacuumparticipant util nsieffectivetldservice worker nsiabstractworker data nsiarray nsicategorymanager nsicollection nsidictionary nsimutablearray nsisimpleenumerator nsi
supportschar nsi
supportsdouble nsi
supportsfloat nsi
supportsid nsi
supportsinterfacepointer nsi
supportsprbool nsi
supportsprimitive nsi
supportsprint16 nsi
supportsprint32 nsi
supportsprint64 nsi
supportspriority nsi
supportsprtime nsi
supportspruint16 nsi
supportspruint32 nsi
supportspruint64 nsi
supportspruint8 nsi
supportsstring nsi
supportsvoi...
...d nsi
supportsweakreference nsivariant do not use nsienumerator nsiinprocesscontentframemessagemanager nsiscriptableio nsixpcscriptable future nsixmlhttprequestupload obsolete nsixmlrpcclient nsixmlrpcfault security auth nsiauthmodule nsiauthprompt nsiauthpromptprovider nsiauthpromptwrapper nsiasyncverifyredirectcallback content nsicontentpolicy credentials nsilogininfo nsiloginmanager using nsiloginmanager nsiloginmanagerstorage nsiloginmetainfo history nsiglobalhistory nsiglobalhistory2 nsiglobalhistory3 ssl ns...
...And 2 more matches
Setting HTTP request headers
however, it is passed to us as an nsi
supports.
... so we need to change the nsi
supports into a nsihttpchannel which is what the queryinterface call does.
...if you want to
support gecko2 (firefox4) you need to register your javascript component as described here: https://developer.mozilla.org/en/xpcom/xpcom_changes_in_gecko_2.0#javascript_components.
...And 2 more matches
Storage
executing a statement you may execute statements either synchronously (which is
supported in firefox gecko 1.8 and 1.9) or asynchronously (starting in gecko 1.9.1).
... asynchronously gecko 1.9.1 introduced
support for asynchronous execution of a statement by calling mozistoragestatement.executeasync() on the statement.
... note: the database engine does not
support nested transactions, so attempting to start a transaction when one is already active will throw an exception.
...And 2 more matches
xptcall FAQ
xptcall exists for two reasons: to
support invoking arbitrary methods on xpcom interfaces.
... to
support dynamically impersonating any xpcom interface.
... the core invoke function has the declaration: xptc_public_api(nsresult) xptc_invokebyindex(nsi
supports* that, pruint32 methodindex, pruint32 paramcount, nsxptcvariant* params); nsxptcvariant is a discriminated union of the types that can be passed as parameters to the target function (including void* to represent arbitrary pointer types).
...And 2 more matches
Xptcall Porting Guide
overview xptcall is a library that
supports both invoking methods on arbitrary xpcom objects and implementing classes whose objects can impersonate any xpcom interface.
...this code needs to be ported to all platforms that want to
support xptcall (and thus mozilla).
...the invoke functionality requires the implementation of the following on each platform (from xptcall/public/xptcall.h): xptc_public_api(nsresult) ns_invokebyindex(nsi
supports* that, pruint32 methodindex, pruint32 paramcount, nsxptcvariant* params); calling code is expected to
supply an array of nsxptcvariant structs.
...And 2 more matches
XPIDL
ns[c]string, refptr<t>, or uint32_t) string, wstring, [ptr] native and [ref] native are un
supported as element types.
...dictionaries, enums, and unions), are not currently
supported.
...the only constants
supported are those which become integer types when compiled to source code; string constants and floating point constants, though parseable, cannot be made into a header or xpt file.
...And 2 more matches
Using COM from js-ctypes
this started out with dynamic data exchange (dde), which was
superseded by object linking and embedding (ole) and later by the component object model (com), automation objects, activex controls, and the .net framework.
... basis and reference for this article bugzilla :: bug 738501 - implement ability to create windows shortcuts from javascript - comment 4 relavent topic bugzilla :: bug 505907 -
support c++ calling from jsctypes converting com code to c code to convert com code to js-ctypes, we need to write c++ vtable pointers in c.
... ulong* pulstreamnumber); void* speakstream; void* getstatus; void* skip; void* setpriority; void* getpriority; void* setalertboundary; void* getalertboundary; void* setrate; void* getrate; void* setvolume; void* getvolume; void* waituntildone; void* setsyncspeaktimeout; void* getsyncspeaktimeout; void* speakcompleteevent; void* isui
supported; void* displayui; /* end ispvoice */ }; int main(void) { if (succeeded(coinitialize(null))) { struct myispvoice* pvoice = null; hresult hr = cocreateinstance(&clsid_spvoice, null, clsctx_all, &iid_ispvoice, (void**)&pvoice); if (succeeded(hr)) { pvoice->lpvtbl->speak(pvoice, l"hello, firefox!"...
...And 2 more matches
Standard OS Libraries
you just need to
supply the path to appropriate files and set up the proper types of values/arguments in the js-ctypes code.
... this article allows you to find out what types to give to values/arguments by
supplying links to the documentation of the os libraries.
...wayland is not considered stable, but it's
supposed to replace xorg in the long term.
...And 2 more matches
The JavaScript input interpreter - Firefox Developer Tools
cd(): you can pass the iframe dom element: var frame = document.getelementbyid("frame1"); cd(frame); you can pass a css selector that matches the iframe: cd("#frame1"); you can pass the iframe's global window object: var frame = document.getelementbyid("frame1"); cd(frame.contentwindow); to switch the context back to the top-level window, call cd() with no arguments: cd(); for example,
suppose we have a document that embeds an iframe: <!doctype html> <html> <head> <meta charset="utf-8"> </head> <body> <iframe id="frame1" src="static/frame/my-frame1.html"></iframe> </body> </html> the iframe defines a new function: <!doctype html> <html> <head> <meta charset="utf-8"> <script> function whoareyou() { return "i'm frame1"; } </script> ...
...you can
supply any of the following: a selector string that will be passed to document.queryselector to locate the iframe element the iframe element itself the content window inside the iframe see working with iframes.
...create a screenshot of the current page with the
supplied filename.
...And 2 more matches
CSS Typed Object Model API - Web APIs
cssstylevalue.parseall() the parseall() method of the cssstylevalue interface sets all occurences of a specific css property to the specified valueand returns an array of cssstylevalue objects, each containing one of the
supplied values.
... cssnumericvalue an interface representing operations that all numeric values can perform, including: cssnumericvalue.add - adds
supplied numbers to the cssnumericvalue.
... cssnumericvalue.sub - subtracts
supplied numbers to the cssnumericvalue.
...And 2 more matches
CustomElementRegistry.define() - Web APIs
one option is currently
supported: extends: string specifying the name of a built-in element to extend.
... exceptions exception description not
supportederror the customelementregistry already contains an entry with the same name or the same constructor (or is otherwise already defined), or extends is specified and it is a valid custom element name, or extends is specified but the element it is trying to extend is an unknown element.
... note: you'll often get not
supportederrors thrown that seem like define() is failing, but instead it is likely a problem with element.attachshadow().
...And 2 more matches
DOMException() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdomexception() constructorchrome full
support yesedge full
support 79firefox ?
... opera full
support yessafari ?
... webview android full
support yeschrome android full
support yesfirefox android ?
...And 2 more matches
DirectoryReaderSync - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdirectoryreadersync non-standardchrome full
support 13prefixed full
support 13prefixed prefixed implemented with the vendor prefix: webkitedge full
support 79prefixed full
support 79prefixed prefixed implemented with the vendor prefix: webkitfirefox no
support ...
... noie no
support noopera no
support nosafari no
support nowebview android full
support 37prefixed full
support 37prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 18prefixed full
support 18prefixed prefixed implemented with the vendor prefix: webkitfirefox android no
support noopera android no
support nosafari ios no...
...
support nosamsung internet android full
support 1.0prefixed full
support 1.0prefixed prefixed implemented with the vendor prefix: webkitlegend full
support full
support no
support no
supportnon-standard.
...And 2 more matches
FeaturePolicy.features() - Web APIs
the features() method of the featurepolicy interface returns a list of names of all features
supported by the user agent.
... syntax const
supportedfeatures = featurepolicy.features() parameters none.
... return value a list of strings that represent names of all feature policy directives
supported by the user agent.
...And 2 more matches
FileEntrySync - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfileentrysync non-standardchrome full
support 13prefixed full
support 13prefixed prefixed implemented with the vendor prefix: webkitedge full
support ≤79prefixed full
support ≤79prefixed prefixed implemented with the vendor prefix: webkitfirefox no
suppor...
...t noie no
support noopera no
support nosafari no
support nowebview android full
support 37prefixed full
support 37prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 18prefixed full
support 18prefixed prefixed implemented with the vendor prefix: webkitfirefox android no
support noopera android no
support nosafari ios ...
... no
support nosamsung internet android full
support 1.0prefixed full
support 1.0prefixed prefixed implemented with the vendor prefix: webkitlegend full
support full
support no
support no
supportnon-standard.
...And 2 more matches
FileList - Web APIs
note: prior to gecko 1.9.2, the input element only
supported a single file being selected at a time, meaning that the filelist would contain only one file.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilelistchrome full
support 1edge full
support 12firefox full
support 3ie full
support 10opera full
support 11.1safari full
support 4webview android full...
...
support 1chrome android full
support 18firefox android full
support 4opera android full
support 11.1safari ios full
support 3.2samsung internet android full
support 1.0itemchrome full
support yesedge full
support 12firefox full
support yesie ?
...And 2 more matches
FileSystemDirectoryEntry.removeRecursively() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetremoverecursively deprecatednon-standardchrome full
support 8edge full
support 79firefox no
support 50 — 52notes no
support 50 — 52notes notes while the removerecursively() method existed, it immediately called the error callback with ns_error_dom_security_err.ie no
support noop...
...era no
support nosafari no
support nowebview android full
support ≤37chrome android full
support 18firefox android no
support 50 — 52notes no
support 50 — 52notes notes while the removerecursively() method existed, it immediately called the error callback with ns_error_dom_security_err.opera android no
support nosafari ios no
support nosamsung internet android full
support yeslegend full
supp...
...ort full
support no
support no
supportnon-standard.
...And 2 more matches
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()).
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettourl experimentaldeprecatednon-standardchrome full
support 8edge full
support 79firefox no
support noie no
support noopera no
support nosafari no
support nowebview android full
support...
... ≤37chrome android full
support 18firefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
...And 2 more matches
FileSystemFileEntry.createWriter() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcreatewriter deprecatednon-standardchrome full
support 8edge full
support 79firefox no
support 50 — 52notes no
support 50 — 52notes notes while the createwriter() method existed, it immediately called errorcallback with the ns_error_dom_security_err error.ie no
support noop...
...era no
support nosafari no
support nowebview android full
support ≤37chrome android full
support 18firefox android no
support 50 — 52notes no
support 50 — 52notes notes while the createwriter() method existed, it immediately called errorcallback with the ns_error_dom_security_err error.opera android no
support nosafari ios no
support nosamsung internet android full
support yeslegend full
supp...
...ort full
support no
support no
supportnon-standard.
...And 2 more matches
FontFaceSetLoadEvent.FontFaceSetLoadEvent() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfontfacesetloadevent() constructor experimentalchrome full
support 57edge full
support ≤79firefox ?
... opera full
support 44safari ?
... webview android no
support nochrome android full
support 57firefox android ?
...And 2 more matches
HTMLIFrameElement.csp - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcsp experimentalchrome full
support 61edge full
support ≤79firefox ?
... opera full
support 48safari ?
... webview android full
support 61chrome android full
support 61firefox android ?
...And 2 more matches
HTMLMediaElement.controlsList - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcontrolslistchrome full
support 58edge full
support ≤79firefox ?
... opera full
support 45safari ?
... webview android full
support 58chrome android full
support 58firefox android ?
...And 2 more matches
HTMLMediaElement.onwaitingforkey - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonwaitingforkeychrome full
support 55edge full
support 79firefox full
support yesie ?
... opera full
support 42safari ?
... webview android full
support 55chrome android full
support 55firefox android ?
...And 2 more matches
HTMLMediaElement.srcObject - Web APIs
note: as of march 2020, only safari
supports setting objects other than mediastream.
... syntax var sourceobject = htmlmediaelement.srcobject; htmlmediaelement.srcobject = sourceobject; value a mediastream, mediasource, blob, or file object (though see the compatibility table for what is actually
supported).
... const mediasource = new mediasource(); const video = document.createelement('video'); video.srcobject = mediasource;
supporting fallback to the src property the examples below
support older browser versions that require you to create an object url and assign it to src if srcobject isn't
supported.
...And 2 more matches
HTMLSlotElement.name - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetname experimentalchrome full
support 53edge full
support 79firefox full
support 63 full
support 63 no
support 59 — 63disabled disabled from version 59 until version 63 (exclusive): this feature is behind the dom.webcomponents.shadowdom.enab...
... no
support ?
...to change preferences in firefox, visit about:config.ie no
support noopera full
support 40safari full
support 10.1webview android full
support 53chrome android full
support 53firefox android full
support 63 full
support 63 no
support 5...
...And 2 more matches
Dragging and Dropping Multiple Items - Web APIs
mozilla
supports the ability to drag multiple items using some additional non-standard methods.
...if a particular drop target only
supports dropping a single item, it could either reject the dragged items or it could just use just the first item.
...this is convenient as drop targets which only need to
support a single item do not need to do anything extra.
...And 2 more matches
Working with the History API - Web APIs
example of pushstate() method
suppose http://mozilla.org/foo.html executes the following javascript: let stateobj = { foo: "bar", } history.pushstate(stateobj, "page 2", "bar.html") this will cause the url bar to display http://mozilla.org/bar.html, but won't cause the browser to load bar.html or even check that bar.html exists.
...
suppose now that the user navigates to http://google.com, then clicks the back button.
... example of replacestate() method
suppose http://mozilla.org/foo.html executes the following javascript: let stateobj = { foo: "bar" } history.pushstate(stateobj, "page 2", "bar.html") the explanation of these two lines above can be found at the above section example of pushstate() method section.
...And 2 more matches
IDBCursor.key - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetkeychrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yesbinary keyschrome full
support ...
... 58edge full
support ≤79firefox full
support 51ie ?
...And 2 more matches
IDBDatabase.transaction() - Web APIs
if you need to open the object store in readwrite mode to change data, you would use the following: var transaction = db.transaction('my-store-name', "readwrite"); as of firefox 40, indexeddb transactions have relaxed durability guarantees to increase performance (see bug 1112702), which is the same behaviour as other indexeddb-
supporting browsers.
... details optional dictionary of other settings,
supported only by chrome: return value an idbtransaction object.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettransactionchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
...And 2 more matches
IDBDatabaseException - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidbdatabaseexception deprecatednon-standardchrome full
support 12prefixed full
support 12prefixed prefixed implemented with the vendor prefix: webkitedge full
support ≤79prefixed full
support ≤79prefixed prefixed implemented with the vendor prefix: webkitfirefox no
support ...
... 4 — 14ie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android no
support nofirefox android no
support 4 — 14opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support ...
... no
supportnon-standard.
...And 2 more matches
IDBIndex.name - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnamechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5renaming with name setterchrome full
support yesedge full
support ≤79firefox full
support 49ie ?
...And 2 more matches
IDBRequest.error - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung interneterrorchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitdomexception val...
...And 2 more matches
IDBTransaction.error - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung interneterrorchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitdomexception val...
...And 2 more matches
IDBVersionChangeEvent.version - Web APIs
see the compatibility table to know what browsers
support them.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetversion deprecatednon-standardchrome full
support 12edge full
support ≤18firefox full
support 16 full
support 16 full
support 10prefixed prefixed implemented with the vendor prefix: mozie no
support ...
... noopera no
support nosafari no
support nowebview android full
support yeschrome android full
support 18firefox android full
support 22opera android full
support 22safari ios no
support nosamsung internet android full
support 1.0legend full
support full
support no
support no
supportnon-standard.
...And 2 more matches
MediaKeyStatusMap.entries() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetentries experimentalchrome full
support 42edge full
support 16firefox ?
... opera full
support 29safari ?
... webview android full
support 43chrome android full
support 42firefox android ?
...And 2 more matches
MediaKeyStatusMap.forEach() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetforeach experimentalchrome full
support 42edge full
support 13firefox ?
... opera full
support 29safari ?
... webview android full
support 43chrome android full
support 42firefox android ?
...And 2 more matches
MediaKeyStatusMap.keys() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetkeys experimentalchrome full
support 42edge full
support 16firefox ?
... opera full
support 29safari ?
... webview android full
support 43chrome android full
support 42firefox android ?
...And 2 more matches
MediaKeyStatusMap.values() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetvalues experimentalchrome full
support 42edge full
support 16firefox ?
... opera full
support 29safari ?
... webview android full
support 43chrome android full
support 42firefox android ?
...And 2 more matches
MediaRecorder.ignoreMutedMedia - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetignoremutedmedia deprecatednon-standardchrome no
support 49 — 57edge no
support nofirefox ?
... ie no
support noopera no
support 36 — 44safari no
support nowebview android no
support 49 — 57chrome android no
support 49 — 57firefox android ?
... opera android no
support 36 — 44safari ios no
support nosamsung internet android no
support 5.0 — 7.0legend no
support no
support compatibility unknown compatibility unknownnon-standard.
...And 2 more matches
Transcoding assets for Media Source Extensions - Web APIs
getting started the first and most important step is to ensure that your files are comprised of a container and codec that users' browsers
support.
... container and codec
support as specified in section 1.1 of the mse spec: goals, mse is designed not to require
support for any particular media format or codec.
... while this is true on paper, browser
support varies for specific container/codec combinations.
...And 2 more matches
Media Source API - Web APIs
while browser
support for the various media containers with mse is spotty, usage of the h.264 video codec, aac audio codec, and mp4 container format is a common baseline.
... mse also provides an api for runtime detection of container and codec
support.
...while there are other protocols available (such as http live streaming (hls)), dash has the most platform
support.
...And 2 more matches
Navigator - Web APIs
navigator.maxtouchpoints read only returns the maximum number of simultaneous touch contact points are
supported by the current device.
... navigatorplugins.mimetypes read only returns an mimetypearray listing the mime types
supported by the browser.
... navigator.mediadevices returns a reference to a mediadevices object which can then be used to get information about available media devices (mediadevices.enumeratedevices()), find out what constrainable properties are
supported for media on the user's computer and user agent (mediadevices.get
supportedconstraints()), and to request access to media using mediadevices.getusermedia().
...And 2 more matches
Node - Web APIs
supplying null for the prefix will return the default namespace.
... node.is
supported() returns a boolean flag containing the result of a test whether the dom implementation implements a specific feature and this feature is
supported by the specific node.
... removed the following methods: is
supported(), hasattributes(), getfeature(), setuserdata(), and getuserdata().
...And 2 more matches
NonDocumentTypeChildNode.nextElementSibling - Web APIs
e is div-02</div> <script type="text/javascript"> var el = document.getelementbyid('div-01').nextelementsibling; console.log('siblings of div-01:'); while (el) { console.log(el.nodename); el = el.nextelementsibling; } </script> this example outputs the following into the console when it loads: siblings of div-01: div script polyfill for internet explorer 8 this property is un
supported prior to ie9, so the following snippet can be used to add
support to ie8: // source: https://github.com/alhadis/snippets/blob/master/js/polyfills/ie8-child-elements.js if(!("nextelementsibling" in document.documentelement)){ object.defineproperty(element.prototype, "nextelementsibling", { get: function(){ var e = this.nextsibling; while(e && 1 !== e.node...
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnextelementsiblingchrome full
support 4edge full
support 12notes full
support 12notes notes before edge 79, this property was only implemented for element, not for characterdata.firefox full
support 3.5ie partial
support 9notes ...
... partial
support 9notes notes only implemented for element, not for characterdata.
...And 2 more matches
PaymentRequest.prototype.id - Web APIs
when constructing an instance of the paymentrequest, you are able to
supply an custom id via paymentdetailsinit dictionary's id member.
... const details = { id: "
super-store-order-123-12312", total: { label: "total due", amount: { currency: "usd", value: "65.00" }, }, }; const request = new paymentrequest(methoddata, details); console.log(request.id); //
super-store-order-123-12312 the id is then also available in the paymentresponse returned from the show() method, but under the requestid attribute.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetidchrome full
support 61edge full
support 16firefox full
support 55notes disabled full
support 55notes disabled notes available only in nightly builds.disabled from version 55: this feature is behind the dom.payments.request.enabled preference (needs t...
...And 2 more matches
PaymentRequest.onshippingoptionchange - Web APIs
var request = new paymentrequest(
supportedinstruments, details, options); // when user selects a shipping address request.addeventlistener('shippingaddresschange', e => { e.updatewith(((details, addr) => { var shippingoption = { id: '', label: '', amount: { currency: 'usd', value: '0.00' }, selected: true }; // shipping to us is
supported if (addr.country === 'us') { shippingoption.id...
... = 'us'; shippingoption.label = 'standard shipping in us'; shippingoption.amount.value = '0.00'; details.total.amount.value = '55.00'; // shipping to jp is
supported } else if (addr.country === 'jp') { shippingoption.id = 'jp'; shippingoption.label = 'international shipping'; shippingoption.amount.value = '10.00'; details.total.amount.value = '65.00'; // shipping to elsewhere is un
supported } else { // empty array indicates rejection of the address details.shippingoptions = []; return promise.resolve(details); console.log(details.error); } // hardcode for simplicity if (details.displayitems.length === 2) { details.displayitems[2] = shippingoption; } else { details.displayitems.push(sh...
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonshippingoptionchangechrome full
support 61edge full
support 15firefox full
support 55notes disabled full
support 55notes disabled notes available only in nightly builds.disabled from version 55: this feature is behind the dom.payments.request.enabled preference (needs t...
...And 2 more matches
PaymentRequest.show() - Web APIs
note: in reality, despite the fact that the specification says this can't be done, some browsers, including firefox,
support multiple active payment requests at a time.
...the promise should resolve with a paymentdetail
supdate object containing the updated information.
... not
supportederror the promise rejects with a not
supportederror if the user agent does not
support the payment methods specified when the paymentrequest constructor was called.
...And 2 more matches
PaymentResponse.complete() - Web APIs
var payment = new paymentrequest(
supportedinstruments, details, options); payment.show().then(function(paymentresponse) { var fetchoptions = { method: 'post', credentials: include, body: json.stringify(paymentresponse) }; var serverpaymentrequest = new request('secure/payment/endpoint'); fetch(serverpaymentrequest, fetchoptions).then( response => { if (response.status < 400) { paymentresponse.complete(...
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcomplete()chrome full
support 61edge full
support 15firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs t...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support yeswebview android no
support nochrome android full
support 56 full
support 56 no
support 53 — 56disabled disabled from version 53 until version 56 (exclusive): this feature is behind the #web-payments preference (needs to be set to enabled).
...And 2 more matches
PaymentResponse.payerEmail - Web APIs
the payeremail read-only property of the paymentresponse interface returns the email address
supplied by the user.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpayeremailchrome full
support 61edge full
support 15firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs t...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support yeswebview android no
support nochrome android full
support 56 full
support 56 no
support 53 — 56disabled disabled from version 53 until version 56 (exclusive): this feature is behind the #web-payments preference (needs to be set to enabled).
...And 2 more matches
PaymentResponse.shippingAddress - Web APIs
var payment = new paymentrequest(
supportedinstruments, details, options); request.addeventlistener('shippingaddresschange', function(evt) { evt.updatewith(new promise(function(resolve) { updatedetails(details, request.shippingaddress, resolve); })); }); payment.show().then(function(paymentresponse) { // processing of paymentresponse exerpted for the same of brevity.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetshippingaddresschrome full
support 61edge full
support 15firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs t...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support yeswebview android no
support nochrome android full
support 56 full
support 56 no
support 53 — 56disabled disabled from version 53 until version 56 (exclusive): this feature is behind the #web-payments preference (needs to be set to enabled).
...And 2 more matches
PaymentResponse.shippingOption - Web APIs
var payment = new paymentrequest(
supportedinstruments, details, options); request.addeventlistener('shippingoptionchange', function(evt) { evt.updatewith(new promise(function(resolve, reject) { updatedetails(details, request.shippingoption, resolve, reject); })); }); payment.show().then(function(paymentresponse) { // processing of paymentresponse exerpted for the same of brevity.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetshippingoptionchrome full
support 61edge full
support 15firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs t...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support yeswebview android no
support nochrome android full
support 56 full
support 56 no
support 53 — 56disabled disabled from version 53 until version 56 (exclusive): this feature is behind the #web-payments preference (needs to be set to enabled).
...And 2 more matches
PaymentResponse - Web APIs
paymentresponse.payeremail read only secure context returns the email address
supplied by the user.
... paymentresponse.payername read only secure context returns the name
supplied by the user.
... paymentresponse.payerphone read only secure context returns the phone number
supplied by the user.
...And 2 more matches
Using Performance Timeline - Web APIs
the performance timeline standard defines extensions to the performance interface to
support client-side latency measurements within applications.
...performance.mark not
supported"); return; } // create some performance entries via the mark() and measure() methods performance.mark("begin"); do_work(50000); performance.mark("end"); do_work(50000); performance.measure("measure1", "begin", "end"); // use getentries() to iterate all entries var p = performance.getentries(); for (var i=0; i < p.length; i++) { log("all entry[" + i + "]"); ...
...ytype", "starttime", "duration"]; // create a few performance entries performance.mark("start"); do_work(50000); performance.mark("stop"); performance.measure("measure-1"); var p = performance.getentries(); for (var i=0; i < p.length; i++) { log("perfentry[" + i + "]"); for (var j=0; j < properties.length; j++) { // check each property in window.performance var
supported = properties[j] in p[i]; if (
supported) { var pe = p[i]; log("...
...And 2 more matches
PhotoCapabilities.fillLightMode - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilllightmode experimentalchrome full
support 59edge full
support ≤79firefox ?
... opera full
support 46safari ?
... webview android full
support 59chrome android full
support 59firefox android ?
...And 2 more matches
PhotoCapabilities.redEyeReduction - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetredeyereduction experimentalchrome full
support 59edge full
support ≤79firefox ?
... opera full
support 46safari ?
... webview android full
support 59chrome android full
support 59firefox android ?
...And 2 more matches
Multi-touch interaction - Web APIs
pointer events extend dom input events to
support various pointing input devices such as pen/stylus and touch screens as well as mouse.
... pointer events have many similarities to mouse events but they
support multiple simultaneous pointers such as multiple fingers on a touch screen.
... <style> div { margin: 0em; padding: 2em; } #target1 { background: white; border: 1px solid black; } #target2 { background: white; border: 1px solid black; } #target3 { background: white; border: 1px solid black; } </style> global state to
support multi-touch interaction, preserving a pointer's event state during various event phases is required.
...And 2 more matches
PublicKeyCredentialCreationOptions.extensions - Web APIs
as of june 2020, only appid (used during creation with publickeycredentialrequestoptions.extensions) is
supported by chrome and edge.
... firefox does not seem to
support any extension.
... also chrome doesn't plan to
support any other extension in future extension identifier type description authnsel array of buffersource authenticator selection.
...And 2 more matches
RTCPeerConnection.canTrickleIceCandidates - Web APIs
ideally, your signaling protocol provides a way to detect trickling
support, so that you don't need to rely on this property.
... a webrtc browser will always
support trickle ice.
... if trickling isn't
supported, or you aren't able to tell, you can check for a falsy value for this property and then wait until the value of icegatheringstate changes to "completed" before creating and sending the initial offer.
...And 2 more matches
RTCPeerConnection - Web APIs
the answer contains information about any media already attached to the session, codecs and options
supported by the browser, and any ice candidates already gathered.
... if the remote endpoint is bundle-aware, all media tracks and data channels are bundled onto a single transport at the completion of negotiation, regardless of policy used, and any
superfluous transports that were created initially are closed at that point.
... rtcrtcpmuxpolicy enum the rtcrtcpmuxpolicy enum defines string constants which specify what ice candidates are gathered to
support non-multiplexed rtcp.
...And 2 more matches
RTCRtpContributingSource.source - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsourcechrome full
support 59edge full
support ≤79firefox full
support 59disabled full
support 59disabled disabled from version 59: this feature is behind the media.peerconnection.rtpsourcesapi.enable preference (needs to be set to true).
... to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari ?
... webview android full
support 59chrome android full
support 59firefox android full
support 59disabled full
support 59disabled disabled from version 59: this feature is behind the media.peerconnection.rtpsourcesapi.enable preference (needs to be set to true).
...And 2 more matches
RTCRtpReceiver.getCapabilities() static function - Web APIs
the static function rtcrtpreceiver.getcapabilities() returns an rtcrtpcapabilities object describing the codecs and capabilities
supported by rtcrtpreceivers on the current device.
...all browsers
support the primary media kinds: audio and video.
...if the browser doesn't have any
support for the given media kind, the returned value is null.
...And 2 more matches
RTCRtpSender.getCapabilities() static function - Web APIs
the static function rtcrtpsender.getcapabilities() returns an rtcrtpcapabilities object describing the codecs and capabilities
supported by the rtcrtpsender.
...all browsers
support the primary media kinds: audio and video.
...if the browser doesn't have any
support for the given media kind, the returned value is null.
...And 2 more matches
Slottable: assignedSlot - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetassignedslot experimentalchrome full
support 53edge full
support 79firefox full
support 63 full
support 63 no
support 59 — 63disabled disabled from version 59 until version 63 (exclusive): this feature is behind the dom.webcomponents.shadowdom.enab...
... no
support ?
...to change preferences in firefox, visit about:config.ie no
support noopera full
support 40safari full
support 10.1webview android full
support 53chrome android full
support 53firefox android full
support 63 full
support 63 no
support 5...
...And 2 more matches
Multi-touch interaction - Web APIs
the touch event interfaces
support application-specific single and multi-touch interactions.
...l=document.getelementbyid(name); el.ontouchstart = start_handler; el.ontouchmove = move_handler; // use same handler for touchcancel and touchend el.ontouchcancel = end_handler; el.ontouchend = end_handler; } function init() { set_handlers("target1"); set_handlers("target2"); set_handlers("target3"); set_handlers("target4"); } move/pinch/zoom handler this function provides very basic
support for 2-touch horizontal move/pinch/zoom handling.
...ntx); // this threshold is device dependent as well as application specific var pinch_threshhold = ev.target.clientwidth / 10; if (diff1 >= pinch_threshhold && diff2 >= pinch_threshhold) ev.target.style.background = "green"; } else { // empty tpcache tpcache = new array(); } } } touch start handler the touchstart event handler caches touch points to
support 2-touch gestures.
...And 2 more matches
Using WebGL extensions - Web APIs
webgl, like its sister apis (opengl and opengl es),
supports extensions.
... canonical extension names, vendor prefixes and preferences extensions may be
supported by browser vendors before being officially ratified (but only when they are in draft stage).
... querying available extensions the webgl context
supports querying what extensions are available.
...And 2 more matches
Improving compatibility using WebRTC adapter.js - Web APIs
the adapter is a javascript shim which lets your code to be written to the specification so that it will "just work" in all browsers with webrtc
support.
... note: since there is ongoing fluidity in functionality and naming of api terms in webrtc and
supporting browsers, use of this adapter is generally recommended.
... what adapter.js does for each version of each browser that
supports webrtc, adapter.js implements the needed polyfills, establishes the non-prefixed names of apis, and applies any other changes needed to make the browser run code written to the webrtc specification.
...And 2 more matches
Background audio processing using AudioWorklet - Web APIs
basic code framework the barest framework of an audio processor class looks like this: class myaudioprocessor extends audioworkletprocessor { constructor() {
super(); } process(inputlist, outputlist, parameters) { /* using the inputs (or not, as needed), write the output into each of the outputs */ return true; } }; registerprocessor("my-audio-processor", myaudioprocessor); after the implementation of the processor comes a call to the global function registerprocessor(), which is only available within the scope of the audio conte...
...
supporting audio parameters just like any other web audio node, audioworkletnode
supports parameters, which are shared with the audioworkletprocessor that does the actual work.
... adding parameter
support to the processor to add parameters to an audioworkletnode, you need to define them within your audioworkletprocessor-based processor class in your module.
...And 2 more matches
Using the Web Audio API - Web APIs
browser
support modern browsers have good
support for most features of the web audio api.
... several audio sources with different channel layouts are
supported, even within a single context.
... controlling sound programmatically from javascript code is covered by browsers' autoplay
support policies, as such is likely to be blocked without permission being granted by the user (or a whitelist).
...And 2 more matches
Window.minimize() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetminimize non-standardchrome no
support noedge no
support nofirefox no
support noie ?
... webview android no
support nochrome android no
support nofirefox android no
support noopera android ?
... samsung internet android no
support nolegend no
support no
support compatibility unknown compatibility unknownnon-standard.
...And 2 more matches
Window.prompt() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpromptchrome full
support 1notes full
support 1notes notes starting with chrome 46, this method is blocked inside an <iframe> unless its sandbox attribute has the value allow-modals.edge full
support 12firefox full
support 1ie full
support ...
... 4notes full
support 4notes notes this function has no effect in the modern ui/metro version of internet explorer for windows 8.
...desktop versions of ie do implement this function.opera full
support 3notes full
support 3notes notes starting with opera 33, this method is blocked inside an <iframe> unless its sandbox attribute has the value allow-modals.safari full
support 1webview android full
support 1notes full
support 1notes notes starting with webview 46, this method is blocked inside an <iframe> unless its sandbox attribute has the value allow-modals.chrome andro...
...And 2 more matches
Window.requestFileSystem() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetrequestfilesystem experimentalnon-standardchrome full
support 13prefixed full
support 13prefixed prefixed implemented with the vendor prefix: webkitedge full
support ≤18prefixed full
support ≤18prefixed prefixed implemented with the vendor prefix: webkitfirefox no
suppor...
...t noie no
support noopera no
support nosafari no
support nowebview android full
support 37prefixed full
support 37prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitfirefox android no
support noopera android no
support nosafari ios ...
... no
support nosamsung internet android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitlegend full
support full
support no
support no
supportexperimental.
...And 2 more matches
Window.routeEvent() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetrouteevent deprecatednon-standardchrome no
support noedge no
support nofirefox no
support noie ?
... webview android no
support nochrome android no
support nofirefox android no
support noopera android ?
... samsung internet android no
support nolegend no
support no
support compatibility unknown compatibility unknownnon-standard.
...And 2 more matches
Window.setCursor() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsetcursor non-standardchrome no
support noedge no
support nofirefox no
support noie ?
... webview android no
support nochrome android no
support nofirefox android no
support noopera android ?
... samsung internet android no
support nolegend no
support no
support compatibility unknown compatibility unknownnon-standard.
...And 2 more matches
Window.showModalDialog() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetshowmodaldialog deprecatednon-standardchrome no
support ?
... — 43edge no
support nofirefox no
support 3 — 56ie full
support 4opera no
support nosafari full
support 5.1notes full
support 5.1notes notes see webkit bug 151885 for possible future removal from safari.webview android no
support nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios no
support ...
... nosamsung internet android no
support nolegend full
support full
support no
support no
supportnon-standard.
...And 2 more matches
Window.updateCommands() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetupdatecommands non-standardchrome no
support noedge no
support nofirefox full
support yesie ?
... webview android no
support nochrome android no
support nofirefox android full
support yesopera android ?
... samsung internet android no
support nolegend full
support full
support no
support no
support compatibility unknown compatibility unknownnon-standard.
...And 2 more matches
Synchronous and asynchronous requests - Web APIs
xmlhttprequest
supports both synchronous and asynchronous communications.
...the additional arguments (if any)
supplied to the invocation of function loadfile are "applied" to the running of the callback function.
...starting with the third argument, all remaining arguments are collected, assigned to the arguments property of the variable xhr, passed to the success callback function xhrsuccess., and ultimately
supplied to the callback function (in this case, showmessage) which is invoked by function xhrsuccess.
...And 2 more matches
XRSessionInit - Web APIs
optionalfeatures optional an array of values identifying features which the returned xrsession may optionally
support.
... requiredfeatures optional an array of values which the returned xrsession must
support.
... default features immersive sessions all immersive (both immersive-vr and immersive-ar) sessions
support both the viewer and local reference spaces.
...And 2 more matches
XRSystem - Web APIs
methods in addition to inheriting methods from its parent interface, eventtarget, the xrsystem interface includes the following methods: issession
supported() returns a promise which resolves to true if the browser
supports the given xrsessionmode.
... resolves to false if the specified mode isn't
supported.
... examples the following example shows how to use both issession
supported() and requestsession().
...And 2 more matches
XSL Transformations in Mozilla FAQ - Web APIs
note: starting in gecko 7.0, both text/xsl and application/xslt+xml are
supported mime types for xslt media stylesheets.
...the latter is pretty much the only issue to us, and we're sorry that we can't
support it.
... but mixing parsing with xslt is brittle and we rather not
support d-o-e than either crash or be even slower.
...And 2 more matches
ARIA: switch role - Accessibility
the switch role does not
support the value mixed for the aria-checked attribute; assigning a value of mixed to a switch instead sets the value to false.
...a value of true represents the "on" state; false represents the "off" state; a value of mixed is not
supported by the switch role, and is treated as false.
... aria-readonly attribute the aria-readonly attribute is
supported by the switch role.
...And 2 more matches
ARIA: listbox role - Accessibility
if an option or item is focused within the list, it gets announced next, followed by an indication of the item's position with the list if the screen reader
supports this.
...
supporting this key is strongly recommended for lists with more than five options.
...
supporting this key is strongly recommended for lists with more than five options.
...And 2 more matches
Accessibility: What users can do to browse more safely - Accessibility
this article discusses making web content accessible for those with vestibular disorders, and those who
support them, by taking advantage of personalization and accessibility settings built into the operating systems.
...learn personalization and accessibility settings firefox 73 and above (dekstop) firefox added
support for css prefers-reduced-motion in october 2018.
... chrome 74 and above (desktop) chrome 74 added
support for reduced-motion-query, it has even added
support to detect whether the user has requested a reduced motion experience.
...And 2 more matches
::slotted() - CSS: Cascading Style Sheets
ersonal id card</h2> <slot name="person-name">name missing</slot> <ul> <li><slot name="person-age">age missing</slot></li> <li><slot name="person-occupation">occupation missing</slot></li> </ul> </div> </template> a custom element — <person-details> — is defined like so: customelements.define('person-details', class extends htmlelement { constructor() {
super(); let template = document.getelementbyid('person-template'); let templatecontent = template.content; const shadowroot = this.attachshadow({mode: 'open'}); let style = document.createelement('style'); style.textcontent = 'div { padding: 10px; border: 1px solid gray; width: 200px; margin: 10px; }' + 'h2 { margin: 0 0 10px; }' + ...
...shazaam</p> <span slot="person-age">immortal</span> <span slot="person-occupation">
superhero</span> </person-details> specifications specification status comment css scoping module level 1the definition of '::slotted' in that specification.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet::slottedchrome full
support 50edge full
support 79firefox full
support 63 full
support 63 no
support 59 — 63disabled disabled from version 59 until version 63 (exclusive): this feature is behind the dom.webcomponents.shadowdom.enab...
...And 2 more matches
:has() - CSS: Cascading Style Sheets
/* selects any <a>, as long as it has an <img> element directly inside it */ /* note that this is not
supported in any browser yet */ let test = document.queryselector('a:has(> img)'); syntax :has( <relative-selector-list> )where <relative-selector-list> = <relative-selector>#where <relative-selector> = <combinator>?
...instead, browsers currently only
support the use of :has() within stylesheets.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:has()chrome no
support nonotes no
support nonotes notes see bug 669058edge no
support nonotes no
support nonotes notes see bug 669058firefox no
support nonotes no
support ...
...And 2 more matches
-webkit-transition - CSS: Cascading Style Sheets
the -webkit-transition boolean css media feature is a chrome extension whose value is true if the browsing context
supports css transitions.
... it was never
supported in browsers not based on webkit or blink.
...use an @
supports feature query instead.
...And 2 more matches
background-position - CSS: Cascading Style Sheets
candidate recommendation adds
support for multiple backgrounds and the four-value syntax.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbackground-positionchrome full
support 1edge full
support 12firefox full
support 1ie full
support 4opera full
support 3.5safari full
support 1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0multiple backgroundschrome full
support 1edge full
support 12firefox full
support 3.6ie full
support 9opera full
support 10.5safari full
supp...
...And 2 more matches
<color> - CSS: Cascading Style Sheets
this is because most devices are not calibrated, and some browsers do not
support output devices' color profiles.
... although various colors not in the specification (mostly adapted from the x11 colors list) were
supported by early browsers, it wasn't until svg 1.0 and css colors level 3 that they were formally defined.
... functional notation: rgb[a](r g b[ / a]) css colors level 4 adds
support for space-separated values in the functional notation.
...And 2 more matches
column-count - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcolumn-countchrome full
support 50 full
support 50 full
support 1prefixed prefixed implemented with the vendor prefix: -webkit-edge full
support 12 full
support 12 full
support ...
... 12prefixed prefixed implemented with the vendor prefix: -webkit-firefox full
support 52 full
support 52 no
support 1.5 — 74prefixed notes prefixed implemented with the vendor prefix: -moz-notes prior to version 37, multiple columns didn't work with display: table-caption elements.ie full
support 10opera full
support 11.1 full
support 11.1 full
support 15prefixed prefixed implemented with the vendor prefix: -webkit-safari full
support 9 ...
...full
support 9 full
support 3prefixed prefixed implemented with the vendor prefix: -webkit-webview android full
support 50 full
support 50 full
support ≤37prefixed prefixed implemented with the vendor prefix: -webkit-chrome android full
support 50 full
support 50 full
support 18prefixed prefixed implemented with the vendor prefix: -webkit-firefox android full
support 52 full
support ...
...And 2 more matches
element() - CSS: Cascading Style Sheets
examples these examples can be viewed live in builds of firefox that
support -moz-element().
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetelement() experimentalchrome no
support noedge no
support nofirefox full
support 57prefixed full
support 57prefixed prefixed implemented with the vendor prefix: -moz- no
support 29 — 57prefixed notes prefixed implemented with the vendor prefi...
... no
support 4 — 29prefixed notes prefixed implemented with the vendor prefix: -moz-notes -moz-element() is limited to background-image and background.ie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android no
support nofirefox android full
support 60prefixed full
support 60prefixed prefixed implemented wi...
...And 2 more matches
image-set() - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetimage-set()chrome full
support 21prefixed full
support 21prefixed prefixed implemented with the vendor prefix: -webkit-edge full
support 79prefixed full
support 79prefixed prefixed implemented with the vendor prefix: -webkit-firefox no
support ...
... nonotes no
support nonotes notes see bug 1107646.ie no
support noopera full
support 15prefixed full
support 15prefixed prefixed implemented with the vendor prefix: -webkit-safari partial
support 6prefixed notes partial
support 6prefixed notes prefixed implemented with the vendor prefix: -webkit-notes
support for url images only and x is the only
supported resolution unit.
... see bug 160934.webview android full
support 4.4prefixed full
support 4.4prefixed prefixed implemented with the vendor prefix: -webkit-chrome android full
support 25prefixed full
support 25prefixed prefixed implemented with the vendor prefix: -webkit-firefox android no
support nonotes no
support nonotes notes see bug 1107646.opera android full
support 14prefixed full
support 14prefixed prefixed implemented with the vendor prefix: -webk...
...And 2 more matches
outline-color - CSS: Cascading Style Sheets
note that browsers are not required to
support this value; if they don't, this keyword is considered invalid.
... webaim: color contrast checker mdn understanding wcag, guideline 1.4 explanations understanding success criterion 1.4.3 | w3c understanding wcag 2.0 formal definition initial valueinvert, for browsers
supporting it, currentcolor for the otherapplies toall elementsinheritednocomputed valuefor the keyword invert, the computed value is invert.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetoutline-colorchrome full
support 1edge full
support 12firefox full
support 1.5 full
support 1.5 no
support 1 — 3.6prefixed prefixed implemented with the vendor prefix: -moz-ie full
support 8o...
...And 2 more matches
vertical-align - CSS: Cascading Style Sheets
for example, it could be used to vertically position an <img> in a line of text: <p> top:<img style="vertical-align:top" src="https://udn.realityripple.com/samples/16/ed9c61c3b6.png"/> middle:<img style="vertical-align:middle" src="https://udn.realityripple.com/samples/16/ed9c61c3b6.png"/> bottom:<img style="vertical-align:bottom" src="https://udn.realityripple.com/samples/16/ed9c61c3b6.png"/>
super:<img style="vertical-align:
super" src="https://udn.realityripple.com/samples/16/ed9c61c3b6.png"/> sub:<img style="vertical-align:sub" src="https://udn.realityripple.com/samples/16/ed9c61c3b6.png"/> </p> <p> text-top:<img style="vertical-align:text-top" src="https://udn.realityripple.com/samples/16/ed9c61c3b6.png"/> text-bottom:<img style="vertical-align:text-bottom" src="https://udn.realityrip...
... syntax /* keyword values */ vertical-align: baseline; vertical-align: sub; vertical-align:
super; vertical-align: text-top; vertical-align: text-bottom; vertical-align: middle; vertical-align: top; vertical-align: bottom; /* <length> values */ vertical-align: 10em; vertical-align: 4px; /* <percentage> values */ vertical-align: 20%; /* global values */ vertical-align: inherit; vertical-align: initial; vertical-align: unset; the vertical-align property is specified as one of the values ...
...
super aligns the baseline of the element with the
superscript-baseline of its parent.
...And 2 more matches
HTML5 Parser - Developer guides
in other words, in
supporting html5, gecko, webkit, and internet explorer (ie) will behave more consistently with each other.
...in addition,
supporting reparsing led to unnecessarily complex parsing code.
...the older practice of escaping the string </script> by surrounding it with comment markers, while
supported by html5, is problematic in cases where the closing comment marker is omitted (see preceding point).
...And 2 more matches
Writing forward-compatible websites - Developer guides
don't assume that browsers with
support for a given dom feature must also have some other, especially nonstandard, dom feature.
... or, conversely, that they don't have
support for some other feature (e.g., don't assume that a browser that
supports onload on script elements will never
support onreadystatechange on them).
... don't use unprefixed versions of css properties or apis until at least one browser
supports them until there's decently widespread
support of the unprefixed version of something, its behavior can still change in unexpected ways.
...And 2 more matches
Applying color to HTML elements using CSS - HTML: Hypertext Markup Language
other ways to use color css isn't the only web technology that
supports color.
... there are graphics technologies that are available on the web which also
support color.
...the value can be specified in any <angle> unit
supported by css, including degrees (deg), radians (rad), gradians (grad), or turns (turn).
...And 2 more matches
disabled - HTML: Hypertext Markup Language
the disabled attribute is
supported by <button>, <command>, <fieldset>, <keygen>, <optgroup>, <option>, <select>, <textarea> and <input>.
... when a
supporting element has the disabled attribute applied, the :disabled pseudo-class also applies to it.
... conversely, elements that
support the disabled attribute but don't have the attribute set match the :enabled pseudo-class.
...And 2 more matches
HTML attribute: readonly - HTML: Hypertext Markup Language
the readonly attribute is
supported by text, search, url, tel, email, password, date, month, week, time, datetime-local, and number<input> types and the <textarea> form control elements.
... the attribute is not
supported or relevant to <select> or input types that are already not mutable, such as checkbox and radio or cannot, by definition, start with a value, such as the file input type.
...it is also not
supported on hidden as it can not be expected that a user to fill out a form that is hidden.
...And 2 more matches
HTML attribute: rel - HTML: Hypertext Markup Language
valid on <link>, <a>, <area>, and <form>, the
supported values depend on the element on which the attribute is found.
...if the attribute is omitted or if none of the values in the attribute are
supported, then the document has no particular relationship with the destination resource other than there being a hyperlink between the two.
...if the most appropriate icon is later found to be inappropriate, for example because it uses an un
supported format, the browser proceeds to the next-most appropriate, and so on.
...And 2 more matches
<applet>: The Embed Java Applet element - HTML: Hypertext Markup Language
use of java applets on the web is deprecated; most browsers no longer
support use of plug-ins, including the java plug-in.
...the html 4.01 specification defines values of bottom, left, middle, right, and top, whereas microsoft and netscape also might
support absbottom, absmiddle, baseline, center, and texttop.
... alt this attribute causes a descriptive text alternate to be displayed on browsers that do not
support java.
...And 2 more matches
<details>: The Details disclosure element - HTML: Hypertext Markup Language
events in addition to the usual events
supported by html elements, the <details> element
supports the toggle event, which is dispatched to the <details> element whenever its state changes between open and closed.
... an input device as well as some form of output device is recommended.</p> </details> result customizing the disclosure widget the disclosure triangle itself can be customized, although this is not as broadly
supported.
... there are variations in how browsers
support this customization due to experimental implementations as the element was standardized, so we'll have to use multiple approaches for a while.
...And 2 more matches
<input type="radio"> - HTML: Hypertext Markup Language
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.
... additional attributes in addition to the common attributes shared by all <input> elements, radio inputs
support the following attributes: attribute description checked a boolean indicating whether or not this radio button is the currently-selected item in the group value the string to use as the value of the radio when submitting the form, if the radio is currently toggled on checked a boolean attribute which, if present, indicates that this radio button...
...:checked { border: 6px solid black; } button, legend { color: white; background-color: black; padding: 5px 10px; border-radius: 0; border: 0; font-size: 14px; } button:hover, button:focus { color: #999; } button:active { background-color: white; color: black; outline: 1px solid black; } most notable here is the use of the -moz-appearance property (with prefixes needed to
support some browsers).
...And 2 more matches
<input type="search"> - HTML: Hypertext Markup Language
events change and input
supported common attributes autocomplete, list, maxlength, minlength, pattern, placeholder, required, size.
... additional attributes in addition to the attributes that operate on all <input> elements regardless of their type, search field inputs
support the following attributes: attribute description list the id of the <datalist> element that contains the optional pre-defined autocomplete options maxlength the maximum number of characters the input should accept minlength the minimum number of characters long the input can be and still be considered valid pattern a regular expr...
... incremental the boolean attribute incremental is a webkit and blink extension (so
supported by safari, opera, chrome, etc.) which, if present, tells the user agent to process the input as a live search.
...And 2 more matches
<script>: The Script element - HTML: Hypertext Markup Language
see browser compatibility for notes on browser
support.
... nomodule this boolean attribute is set to indicate that the script should not be executed in browsers that
support es2015 modules — in effect, this can be used to serve fallback scripts to older browsers that do not
support modular javascript code.
... note: an empty string value ("") is both the default value, and a fallback value if referrerpolicy is not
supported.
...And 2 more matches
<tr>: The Table Row element - HTML: Hypertext Markup Language
to provide additional control over how cells fit into (or span across) columns, both <th> and <td>
support the colspan attribute, which lets you specify how many columns wide the cell should be, with the default being 1.
...this alignment type was never widely
supported.
... this attribute is obsolete, and was never widely
supported anyway.
...And 2 more matches
Microformats - HTML: Hypertext Markup Language
microformats use
supporting vocabularies to describe objects and name-value pairs to assign values to their properties.
... microformats are
supported by all major search engines.
...developer</a> on <time class="dt-published" datetime="2013-06-13 12:00:00">13<
sup>th</
sup> june 2013</time></p> <p class="p-summary">in which i extoll the virtues of using microformats.</p> <div class="e-content"> <p>blah blah blah</p> </div> </article> properties property description p-name entry name/title p-author who wrote the entry, optionally embedded h-card dt-published when the entry was published ...
...And 2 more matches
Configuring servers for Ogg media - HTTP
handle http 1.1 byte range requests correctly in order to
support seeking and playing back regions of the media that aren't yet downloaded, gecko uses http 1.1 byte-range requests to retrieve the media from the seek target position.
...it must return 206: partial content to all byte range requests; otherwise, browsers can't be sure you actually
support byte range requests.
... configuration for older firefox versions serve x-content-duration headers note: as of firefox 41, the x-content-duration header is no longer
supported.
...And 2 more matches
Want-Digest - HTTP
if want-digest does not include any digest algorithms that the server
supports, the server may respond with: a digest calculated using a different digest algorithm, or a 400 bad request error, and include another want-digest header with that response, listing the algorithms that it does
support.
... header type general header forbidden header name no syntax want-digest: <digest-algorithm> // multiple algorithms, weighted with the quality value syntax: want-digest: <digest-algorithm><q-value>,<digest-algorithm><q-value> directives <digest-algorithm>
supported digest algorithms are defined in rfc 3230 and rfc 5843, and include sha-256 and sha-512.
... some of the
supported algorithms, including unixsum and md5 are subject to collisions and are thus not suitable for applications in which collision-resistance is important.
...And 2 more matches
X-Frame-Options - HTTP
the added security is provided only if the user accessing the document is using a browser that
supports x-frame-options.
... note: the content-security-policy http header has a frame-ancestors directive which obsoletes this header for
supporting browsers.
...also see browser compatibility for
support details.
...And 2 more matches
HTTP headers - HTTP
accept-ch servers can advertise
support for client hints using the accept-ch header field or an equivalent html <meta> element with http-equiv attribute ([html5]).
... accept-ch-lifetime servers can ask the client to remember the set of client hints that the server
supports for a specified period of time, to enable delivery of client hints on subsequent requests to the server’s origin ([rfc6454]).
... response context allow lists the set of http request methods
supported by a resource.
...And 2 more matches
HTTP range requests - HTTP
checking if a server
supports partial requests if the accept-ranges is present in http responses (and its value isn't "none"), the server
supports range requests.
... if sites omit the accept-ranges header, they likely don't
support partial requests.
... some sites also explicitly send "none" as a value, indicating no
support.
...And 2 more matches
501 Not Implemented - HTTP
the hypertext transfer protocol (http) 501 not implemented server error response code means that the server does not
support the functionality required to fulfill the request.
... this status can also send a retry-after header, telling the requester when to check back to see if the functionality is
supported by then.
... 501 is the appropriate response when the server does not recognize the request method and is incapable of
supporting it for any resource.
...And 2 more matches
A re-introduction to JavaScript (JS tutorial) - JavaScript
javascript
supports object-oriented programming with object prototypes, instead of classes (see more about prototypical inheritance and es2015 classes).
... javascript also
supports functional programming — because they are objects, functions may be stored in variables and passed around like any other object.
... the standard arithmetic operators are
supported, including addition, subtraction, modulus (or remainder) arithmetic, and so forth.
...And 2 more matches
Expressions and operators - JavaScript
suppose you define the following variables: var myfun = new function('5 + 2'); var shape = 'round'; var size = 1; var foo = ['apple', 'mango', 'orange']; var today = new date(); the typeof operator returns the following results for these variables: typeof myfun; // returns "function" typeof shape; // returns "string" typeof size; // returns "number" typeof foo; // retur...
...use this either with the dot or the bracket notation: this['propertyname'] this.propertyname
suppose a function called validate validates an object's value property, given the object and the high and low values: function validate(obj, lowval, hival) { if ((obj.value < lowval) || (obj.value > hival)) console.log('invalid value!'); } you could call validate in each form element's onchange event handler, using this to pass it to the form element, as in the following example: <p>enter ...
...use new as follows: var objectname = new objecttype([param1, param2, ..., paramn]);
super the
super keyword is used to call functions on an object's parent.
...And 2 more matches
Function.prototype.bind() - JavaScript
when using bind to create a function (
supplied as a callback) inside a settimeout, any primitive value passed as thisarg is converted to object.
... 'what is trying to be bound is not callable'); } return function(){ var funcargs = args.concat(slice.call(arguments)) return thatfunc.apply(thatarg, funcargs); }; }; })(); you can partially work around this by inserting the following code at the beginning of your scripts, allowing use of much of the functionality of bind() in implementations that do not natively
support it.
...(this could be added if the implementation
supports object.defineproperty, or partially implemented [without throw-on-delete behavior] if the implementation
supports the __definegetter__ and __definesetter__ extensions.) the partial implementation creates functions that have a prototype property.
...And 2 more matches
Promise - JavaScript
this lets asynchronous methods return values like synchronous methods: instead of immediately returning the final value, the asynchronous method returns a promise to
supply the value at some point in the future.
...for the nesting shown above,
suppose the .then() associated with "promise b" returns a nextvalue of "promise x".
...the constructor is primarily used to wrap functions that do not already
support promises.
...And 2 more matches
String.prototype.replace() - JavaScript
a number of special replacement patterns are
supported; see the "specifying a string as a parameter" section below.
...the arguments
supplied to this function are described in the "specifying a function as a parameter" section below.
...only available in browser versions
supporting named capturing groups.
...And 2 more matches
Performance fundamentals - Web Performance
text and images reflow automatically, ui elements automatically receive the system theme, and the system provides "built-in"
support for some use cases developers may not think of initially, like different-resolution displays or right-to-left languages.
... gecko rendering the gecko javascript engine
supports just-in-time (jit) compilation.
...the html/css layout and graphics code in gecko reduces invalidation and repainting for common cases like scrolling; developers get this
support "for free".
...And 2 more matches
Media - Progressive web apps (PWAs)
printing css has specific
support for printing and for paged media in general.
... example this rule sets the page margins to one inch on all four sides: @page {margin: 1in;} this rule ensures that every h1 element starts on a new page: h1 {page-break-before: always;} more details for full details of css
support for paged media, see paged media in the css specification.
...for example, the mozilla browser
supplies default margins, headers, and footers for printing.
...And 2 more matches
vector-effect - SVG: Scalable Vector Graphics
however, it does not specify the
suppression of rotation and skew.
...since this value
suppresses scaling of the user coordinate system, it also has the characteristics of non-scaling-stroke.
...the rotation and skew of that user coordinate system is
suppressed in spite of any transformation changes from a host coordinate space.
...And 2 more matches
Features restricted to secure contexts - Web security
note: only the browsers that actually
support secure contexts are listed in this document.
... see here for information on secure contexts
support.
... api chrome/opera edge safari firefox async clipboard api 66 not
supported not
supported 63 background sync (see syncmanager, for example) 49 not
supported not
supported not
supported cache-control: immutable not
supported 15 11 49 credential management api 51 not
supported not
supported not
supported generic sensor api 67 not
supported not
supported not
supported payment request api (and basic card payment).
...And 2 more matches
Understanding WebAssembly text format - WebAssembly
(we specify utf8 here, but many other encodings are
supported.) function consolelogstring(offset, length) { var bytes = new uint8array(memory.buffer, offset, length); var string = new textdecoder('utf8').decode(bytes); console.log(string); } the last missing piece of the puzzle is where consolelogstring gets access to the webassembly memory.
...since webassembly is typechecked, and the funcref can be potentially any function signature, we have to
supply the presumed signature of the callee at the callsite, hence we include the $return_i32 type, to tell the program a function returning an i32 is expected.
... reference types the reference types proposal (
supported in firefox 79) provides two main features: a new type, externref, which can hold any javascript value, for example strings, dom references, objects, etc.
...And 2 more matches
Communicating using "postMessage" - Archive of obsolete content
as an alternative to port, content modules
support the built-in message event.
...however, the context-menu module does not
support port, so to send messages from a content script to the add-on via a context menu object, you must use message events.
...again, panel and page integrate worker directly: // post a message to the panel's content scripts panel.postmessage(addonmessage); however, for page-mod objects you need to listen to the onattach event and use the worker
supplied to that: var pagemod = require('sdk/page-mod').pagemod({ include: ['*'], contentscript: pagemodscript, onattach: function(worker) { worker.postmessage(addonmessage); } }); to receive messages from a content script, use the worker's on function.
...
suppose the content script wants to send mouseout events as well as mouseover.
Contributor's Guide - Archive of obsolete content
unlike languages like c++ and java, javascript does not have native
support for classical inheritance.
... content processes a content process was
supposed to run all the code associated with a single tab.
... conversely, an add-on process was
supposed to run all the code associated with a single add-on.
...unfortunately, javascript does not yet have native
support for modules: it has to rely on the host application to provide it with functionality such as loading subscripts, and exporting/ importing names.
SDK API Lifecycle - Archive of obsolete content
at the same time, developers maintaining and extending the sdk's apis need to be able to introduce new apis that aren't yet fully proven, and to retire old apis when they're no longer optimal or
supported by the underlying platform.
... stable the module is a fully-
supported part of the sdk.
...the sdk team will track usage of deprecated modules on addons.mozilla.org and
support developers migrating their code.
... if it's not ok to remove it, the team will continue to
support migration and aim to remove the module in the next release.
Two Types of Scripts - Archive of obsolete content
each module is
supplied as a script stored under the lib directory under your add-on's root directory.
... content scripts may be
supplied as literal strings or maintained in separate files and referenced by filename.
... if require() is available, then so are the modules
supplied in the sdk.
... ✔ ✘ the console global
supplied by the sdk.
Working with Events - Archive of obsolete content
the add-on sdk
supports event-driven programming.
... in the latter case the options object passed to the constructor typically defines properties whose names are the names of
supported event types prefixed with "on": for example, "onopen", "onready" and so on.
... the following add-on creates a button and assigns a listener to the onclick property of the options object
supplied to the button's constructor.
...ucting the button and then calling the button's on() method: var button = require("sdk/ui/button/action").actionbutton({ id: "visit-mozilla", label: "visit mozilla", icon: "./icon-16.png" }); button.on("click", function() { require("sdk/tabs").open("https://developer.mozilla.org/"); }); removing event listeners event listeners can be removed by calling removelistener(type, listener),
supplying the type of event and the listener to remove.
widget - Archive of obsolete content
for example,
suppose we want to implement a media player as an add-on.
...f").data; var player = widgets.widget({ id: "player", width: 72, label: "player", contenturl: data.url("buttons.html") }); player.port.emit("init"); player.port.on("play", function() { console.log("playing"); }); player.port.on("pause", function() { console.log("pausing"); }); player.port.on("stop", function() { console.log("stopping"); }); attaching panels to widgets you can
supply a panel to the widget's constructor: if you do this, the panel is automatically displayed when the user clicks the widget.
... you must
supply the panel in the widget's constructor for it to work.
... to learn more about private windows, how to opt into private browsing, and how to
support private browsing, refer to the documentation for the private-browsing module.
/loader - Archive of obsolete content
resolve is assigned a function that takes: the id of the module passed into require() the id of the module that called require() on each require() call, the
supplied function is then called with the id of the required module and that of the requiring module.
... let sandbox = sandbox({ name: 'resource:///modules/foo/bar.js', wantxrays: false, prototype: { console: { log: dump.bind(dump, 'log: '), info: dump.bind(dump, 'info: '), warn: dump.bind(dump, 'warn: '), error: dump.bind(dump, 'error: ') } } }); evaluate() evaluates code in the
supplied sandbox.
... if options.source is provided then its value is evaluated, otherwise source is read from the
supplied uri.
...it examines each element until it finds the prefix matching the
supplied id and replaces it with the location it maps to: let mapping = [ [ 'sdk/', 'resource://gre/modules/commonjs/sdk/' ], [ './', 'resource://my-addon/' ], [ '', 'resource:///modules/' ] ]; resolveuri('./main', mapping); // => resource://my-addon/main.js resolveuri('devtools/gcli', mapping); // => resource:///modules/devtools/gcli.js resolveuri('sdk/core/pr...
dev/panel - Archive of obsolete content
basic usage defining the panel constructor to add a new tool you first need to define a constructor that inherits from the panel class, and in that constructor you need to
supply values for various properties .
...}); in the constructor definition there are a number of mandatory and optional parameters for you to
supply.
... note that at the moment volcan.js does not
support the complete remote debugging protocol.
... we're still working on documenting exactly which messages are
supported by volcan.js.
User Notifications and Alerts - Archive of obsolete content
the main disadvantage of using alerts is that
support for the alerts service is not guaranteed for all platforms and firefox versions.
...
support for windows has existed since firefox 2.
... for mac os x,
support was added on firefox 3, and only through a third-party tool called growl.
... because of the inconsistent
support and temporary nature of these alerts, we don't recommend using this service to show information the user needs to know and can't get in any other way.
Promises - Archive of obsolete content
while this api does not have direct
support for promises, its standard usage is very easy to adapt to a promise-based approach.
... moreover, many third-party wrappers for the xmlhttprequest api now
support promises out of the box.
... notifyuser(xhr.responsetext); }); downloading remote files nearly all previous methods of downloading remote files have been
superseded by the much simpler downloads.jsm module.
... the downloads object provides a promise-based api for downloading remote files, with full
support for progress tracking, pause and resume, and, optionally, integration with the download manager ui.
An Interview With Douglas Bowman of Wired News - Archive of obsolete content
besides the fact that the engineers can finally focus on building out the working functionality of the site rather than worrying about appearance or where the next spacer.gif is
supposed to go?
...first of all, since wired news is a heavily ad-
supported site, our advertising units were the cause of several important decisions.
...not every browser will be able to
support the css used to replace table layouts.
... in those cases, the browser will either render your documents with many bugs, or you'll have to consciously choose to hide certain bits of style information from browsers that can't
support css adequately enough.
Creating a status bar extension - Archive of obsolete content
xample.com</em:id> <em:version>1.0</em:version> <em:type>2</em:type> <!-- front end metadata --> <em:name>status bar sample 1</em:name> <em:description>sample static status bar panel</em:description> <em:creator>my name</em:creator> <em:homepageurl>http://developer.mozilla.org/en/docs/creating_a_status_bar_extension</em:homepageurl> <!-- describe the firefox versions we
support --> <em:targetapplication> <description> <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <em:minversion>1.5</em:minversion> <em:maxversion>2.0.0.*</em:maxversion> </description> </em:targetapplication> </description> </rdf> let's take a look at some key parts of the manifest.
...it's also necessary to indicate what versions of the target application or applications your extension
supports.
... if it won't work in older versions of firefox, or hasn't been tested on newer versions, you can restrict the extension so that only
supported versions of the target application will attempt to use it.
... minversion the oldest version of the target application on which the extension is
supported.
MMgc - Archive of obsolete content
gcfinalizedobject base class: gcobject a garbage collected object with finalization
support.
... finalizers if your c++ class is a subclass of gcfinalizedobject or rcfinalizedobject, it has finalizer
support.
...this approach was not chosen for the following reasons: coordinating the marking thread and the main thread will require locking and may suffer due to lock overhead/contention
supporting mac classic's cooperative threads makes this approach harder flash's frame based architecture gives us a very natural place to do this work we have better control over how much time is spent marking without threads when smp systems become more prevalent it may be worth investigating this approach because true parallelism may afford better performance.
...we currently use virtualalloc for windows (
supported on all flavors of windows back to 95), mmap on mach-o and linux.
Images, Tables, and Mysterious Gaps - Archive of obsolete content
there isn't
supposed to be, since it's an example of how browsers have traditionally behaved.
...should this property be adopted, then any browser
supporting it could emulate traditional "shrinkwrap" behavior without risking other layout upset with the following rule: td {line-box-contain: font replaced;} /* proposed for css3 */ there are other possible fixes contained within the current css3 working drafts, such as line-height-policy.
... recommendations absent
support for css3, it is difficult to provide a clear set of steps for fixing every instance of these problems, because the best solution for a given document will greatly depend on its structure.
... with a judicious mixture of approaches and a reduction of single-pixel image tricks-- which, in a css-capable browser, are unnecessary anyway-- it is quite possible to sidestep this strange effect of standards
support.
Drag and Drop Example - Archive of obsolete content
« previous gecko 1.9.1 (firefox 3.5) and later
supports a newer and simpler api.
...the boardobserver will need three functions, get
supportedflavours, ondragover and ondrop.
...var boardobserver = { get
supportedflavours : function () { var flavours = new flavourset(); flavours.appendflavour("text/unicode"); return flavours; }, ondragover: function (event, flavour, session) {}, ondrop: function (event, dropdata, session) { if (dropdata.data != "") { var elem = document.createelement(dropdata.data); event.target.appendchild(elem); elem.setattribute("left", "" + event.pagex); elem.setattribute("top", "" + event.pagey); elem.setattribute("label", dropdata.data); } } } the get
supportedflavours function needs only to return a list of flavours that the stack can accept to be dropped on it.
...text box" elem="textbox" ondraggesture="nsdraganddrop.startdrag(event, listobserver)"/> </vbox> </window> var listobserver = { ondragstart: function (event, transferdata, action) { var txt = event.target.getattribute("elem"); transferdata.data = new transferdata(); transferdata.data.adddataforflavour("text/unicode", txt); } }; var boardobserver = { get
supportedflavours : function () { var flavours = new flavourset(); flavours.appendflavour("text/unicode"); return flavours; }, ondragover: function (event, flavour, session) {}, ondrop: function (event, dropdata, session) { if (dropdata.data != "") { var elem = document.createelement(dropdata.data); event.target.appendchild(elem); elem.setattribute("left", ""...
Helper Apps (and a bit of Save As) - Archive of obsolete content
limitations of nsimimeinfo no way to say "do whatever the os default is." no
support for command-line arguments.
... no
support for multiple commands connected by pipes (mostly useful on unix).
... ongoing work
support synchronous dialogs, not just asynchronous ones (fixes many issues related to pre-downloading, content-decoding, etc).
... better
support for mailcap syntax.
Plug-n-Hack Phase1 - Archive of obsolete content
security tool manifest to
support pnh-1 security tools provide a manifest over http(s) which defines the capabilities that the browser can make use of.
...for example: var manifest = {"detail":{"url":"http://localhost:8080/manifest"}}; var evt = new customevent('configuresectool', manifest); it is suggested that browsers wishing to
support pnh restrict handling of customevents such that they’re ignored where the event happens outside of user initiated actions.
... the configuration document should then listen for a number of other events: configuresectoolstarted - this notifies the document that the browser is processing the configuration; if this event is not received within a reasonable amount of time after the configuresectool event has been fired, you might want to warn the user that pnh does not seem to be
supported by this browser (perhaps prompting them to install the appropriate addon).
... configuresectoolactivated - this notifies the document that pnh
support (perhaps previously unavailable, e.g.
Plug-n-Hack - Archive of obsolete content
pnh allows security tools to declare the functionality that they
support which is suitable for invoking directly from the browser.
... a browser that
supports pnh can then allow the user to invoke such functionality without having to switch to and from the tool.
...implementing the above features in firefox and the tools that we work on and
support gives our team an advantage, however we believe that opening up such capabilities to all browsers and all security tools is much more useful for security researchers and application developers and testers.
...plug-n-hack topics phase 1 this provides simplified integration and allows tools to advertize their capabilities to browsers phase 2 this will allow browsers to advertize their capabilities to security tools tools
supporting pnh the browsers and tools known to
support or be working on
support for pnh get involved how to implement pnh in your tool or get involved with pnh development ...
Tamarin build documentation - Archive of obsolete content
supported platforms tamarin currently
supports the following operating systems and/or architectures.
... the tamarin codebase has the ability to build additional code which
supports debugging hooks.
...visual studio 2003 and 2005 are no longer
supported.
... you must install vs2008 with x64
support to build the 64-bit configurations.
Writing to Files - Archive of obsolete content
there are alternative xpcom apis you can use, your help in updating this pages to use the
supported api is very much welcome!
...the writestring method is called to write a single string to the file,
supplied as an argument to the method.
...for a list of
supported character encodings, see
supported character sets.
...if the
supplied value is larger than 8 bits, only the lowest significant 8 bits are written.
Introduction - Archive of obsolete content
several types of datasources are
supported by default, rdf, xml and sqlite databases, however, processors may be written to
support other types of datasources.
...only local files are
supported, so a file url should be used.
... if the datasource type
supports it, the template builder can also use multiple datasources which are all combined into a single datasource as if they were all in one datasource to begin with.
... only the built-in rdf type
supports this mechanism; the xml and sqlite types do not.
Custom toolbar button - Archive of obsolete content
supported applications you can use the steps on this page with any or all of these mozilla applications: firefox 1.5 or a later version seamonkey 2.0 or a later version thunderbird 1.5 or a later version sunbird 0.3 or a later version pre-release versions of these (alphas, betas and release candidates) are also ok.
... note: there is a similar tutorial for seamonkey 1.x on the page: custom toolbar button:seamonkey earlier versions and other mozilla applications also
support extensions, but some parts of this tutorial are not appropriate for them.
... if your text editor does not
support utf-8, search the internet for a better one that you can download.
...the images
supplied here are 40 pixels wide and 48 pixels high, with a 256-colour palette and a transparent background, in png format.
Introduction - Archive of obsolete content
the contents of menus, trees and other elements can be populated with this data, or with your own data
supplied in an rdf file.
... xul is
supported in mozilla and browsers that are also based upon on the gecko engine, such as netscape 6 or later and mozilla firefox.
...xul is fairly similar in firefox and to other browsers, although it has some specific differences such as
support for customizable toolbars.
...once you are familiar with xul, you can use the xul reference to find out about other features
supported by specific elements.
Styling a Tree - Archive of obsolete content
setting properties for the custom view for trees with a custom view script, you can set properties by
supplying the functions getrowproperties(), getcolumnproperties() and getcellproperties() in the view.
...the function getcolumnproperties() also
supplies the corresponding treecol element for the column.
...(we don't use getrowproperties() as the text color will not be inherited into each cell.) prior to gecko 22 the properties object that is passed as the last argument to the getcellproperties() is an xpcom object that implements nsi
supportsarray.
... getcellproperties: function(row,col){ if ((row %4) == 0){ return "makeitblue"; } } to
support gecko versions before and after this change use.
listbox - Archive of obsolete content
attributes disabled, disablekeynavigation, preference, rows, seltype,
suppressonselect, tabindex, value properties accessibletype, currentindex, currentitem, disabled, disablekeynavigation, itemcount, listboxobject, selectedcount, selectedindex, selecteditem, selecteditems, seltype,
suppressonselect, tabindex, value methods additemtoselection, appenditem, clearselection, ensureelementisvisible, ensureindexisvisible, getindexoffirstvisiblerow, getindexofitem, ...
...
suppressonselect type: boolean if this attribute is not specified, a select event is fired whenever an item is selected, either by the user or by calling one of the select methods.
...
suppressonselect type: boolean gets and sets the value of the
suppressonselect attribute.
..., focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata additemtoselection( item ) return type: no return value selects the given item, without de...
panel - Archive of obsolete content
warning: for firefox versions between 3.6 and 4.0, placing an iframe, browser or editor inside a panel is not
supported.
..., focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata hidepopup() return type: no return value closes the popup immediately.
...to anchor a popup to a node,
supply an anchor node and set the position to a string indicating the manner in which the popup should be anchored.
...unanchored popups may be created by
supplying null as the anchor node.
prefwindow - Archive of obsolete content
if it is set to true any changes to settings are
supposed to be applied immediately.
..., focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata acceptdialog() return type: no return value accepts the dialog and closes i...
...the arguments are similar to the window's opendialog method except that the window name does not need to be
supplied.
...if a window of the type is not open, a new one is opened displaying the
supplied url.
textbox - Archive of obsolete content
this is
superseded by the placeholder attribute in gecko 2.0.
... autocomplete a textbox that
supports autocomplete.
...this is
superseded by the placeholder property in gecko 2.0.
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes the following classes may be used to style the element.
XULRunner Hall of Fame - Archive of obsolete content
now available with xulrunner 30 with i18n
support.
... mathml
support is significant.
...build instructions convertigo enterprise mashup server a web integrator and web clipper tool to build enterprise mashups nightingale nightingale is a communtiy fork of the songbird media player, bringing back linux
support and much more.
...latest release 0.5 febuary 2010 - source daim (fr) / daim (english)
superb tool for image analysis build on top of a professional imagelib.
Extentsions FAQ - Archive of obsolete content
however, it's functional and does allow for the explorer to be handling the display of the folder contents, and all of the right-click context menu
support is present so it should meet my needs.
... storing files within the extension directory is a no-no because it might break the multi-user
support of those mozilla products, as it is possible to install extensions directly within the application directory.
... customizegoogle extension already has
support for switching gmail to https (and calendar possibly, too).
...however not all servers
support user flags, in which case you get reduced functionality as follows: all flags are stored in your local cache and are lost if your cache gets invalidated, and only "known" properties are copied when messages are copied.
Adobe Flash - Archive of obsolete content
these block-listed modules include various fingerprinting and http_cookie#
supercookie modules.
...and, of course, eventually flash
support will be removed from firefox entirely.
...future flash versions may
support the object element for use with fscommands in netscape gecko browsers.
... function myflash_dofscommand(command, args) { // handle any callback logic that you may have designed into your flash plugin // the flash animation will
supply you with the values for command and args // this is a function that handles any information that the flash animation may pass it // actionscript can communicate with javascript via fscommands!
Theme changes in Firefox 2 - Archive of obsolete content
global/browser.css revised to
support new styles for the main browser window.
... global/globalbindings.xml updated to
support changes to the tab bar, including per-tab close buttons.
...updated to
support the new features of the firefox 2 add-ons manager.
...the following styles must be implemented to
support the window that appears when the user browses to a suspected phishing site: #safebrowsing-dim-area-canvas #safebrowsing-page-canvas #safebrowsing-palm-close #safebrowsing-palm-close-container #safebrowsing-palm-google-logo #safebrowsing-palm-message #safebrowsing-palm-message-actionbox #safebrowsing-palm-message-content #safebrowsing-palm-message-tail #safebrowsing-palm-message-ta...
-ms-filter - Archive of obsolete content
endcolor the end color,
supports only opaque colors in the #rrggbb notation.
... endcolorstr the end color,
supports both opaque colors (#rrggbb) and colors with alpha opacity using the #aarrggbb notation.
... gradienttype default: 0 (equivalent to linear-gradient(to bottom, …)) set to a non-zero value to make the gradient horizontal (equivalent to linear-gradient(to right, …)) startcolor the end color,
supports only opaque colors in the #rrggbb notation.
... startcolorstr the end color,
supports both opaque colors (#rrggbb) and colors with alpha opacity using the #aarrggbb notation.
Processing XML with E4X - Archive of obsolete content
compatibility issues prior to widespread browser
support for the <script> element, it was common for javascript embedded in a page to be surrounded by html comment tags to prevent <script> unaware browsers from displaying javascript code to the user.
...they
support javascript's regular dot and [] notation, but instead of accessing object properties e4x overloads these operators to access the element's children: var person = <person> <name>bob smith</name> <likes> <os>linux</os> <browser>firefox</browser> <language>javascript</language> <language>python</language> </likes> </person>; alert(person.name); // bob smith alert(person['...
...despite these similarities to regular arrays, xmllist does not
support array methods such as foreach, and array generics such as array.foreach() are not compatible with xmllist objects.
... we can also use the for each...in statement introduced in javascript 1.6 as part of javascript's e4x
support: for each (var lang in languages.lang) { alert(lang); } for each...in can also be used with regular javascript objects to iterate over the values (as opposed to the keys) contained in the object.
ActiveXObject - Archive of obsolete content
warning: this object is a microsoft extension and is
supported in internet explorer only, not in windows 8.x store apps.
...excelsheet.application.quit(); requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards, internet explorer 11 standards.
... not
supported in windows 8.x store apps.
... note: creating an activexobject on a remote server is not
supported in internet explorer 9 standards mode, internet explorer 10 standards mode, internet explorer 11 standards mode, and windows store apps or later.
Debug.msTraceAsyncCallbackStarting - Archive of obsolete content
}, function (error) { debug.mstraceasyncoperationcompleted(opid, debug.ms_async_op_status_error); debug.mstraceasynccallbackstarting(opid); }); debug.mstraceasynccallbackcompleted(); } function dosomethingasync() { return winjs.promise.as(true); } asyncwrapperfunction(); requirements
supported in the internet explorer 11 standards document mode.
... also
supported in store apps (windows 8.1 and windows phone 8.1).
... not
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards.
... not
supported in windows 8.
Debug.msTraceAsyncCallbackCompleted - Archive of obsolete content
}, function (error) { debug.mstraceasyncoperationcompleted(opid, debug.ms_async_op_status_error); debug.mstraceasynccallbackstarting(opid); }); debug.mstraceasynccallbackcompleted(); } function dosomethingasync() { return winjs.promise.as(true); } asyncwrapperfunction(); requirements
supported in the internet explorer 11 standards document mode.
... also
supported in store apps (windows 8.1 and windows phone 8.1).
... not
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards.
... not
supported in windows 8.
VBArray.toArray - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
...for example, a vbarray with three dimensions and three elements in each dimension is converted into a javascript array as follows:
suppose the vbarray contains: (1, 2, 3), (4, 5, 6), (7, 8, 9).
... next createvbarray = a end function --> </script> <script type="text/javascript"> <!-- function vbarraytest(vbarray) { var a = new vbarray(vbarray); var b = a.toarray(); var i; for (i = 0; i < 9; i++) { document.writeln(b[i]); } } --> </script> </head> <body> <script type="text/javascript"> <!-- vbarraytest(createvbarray()); --> </script> </body> requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
@if - Archive of obsolete content
warning: conditional compilation is not
supported in internet explorer 11 standards mode and windows 8.x store apps.
... conditional compilation is
supported in internet explorer 10 standards mode and in all earlier versions.
...this enables hosts that do not
support conditional compilation to ignore it.
... /*@cc_on @*/ /*@ document.write("javascript version: " + @_jscript_version + "."); document.write("<br />"); @if (@_win32) document.write("running on a 32-bit version of windows."); @elif (@_win16) document.write("running on a 16-bit version of windows."); @else document.write("running on a different operating system."); @end @*/ requirements
supported in all versions of internet explorer, but not in windows 8.x store apps.
New in JavaScript - Archive of obsolete content
ecmascript 5
support implementation status for the current standard ecma-262 edition 5.1 in mozilla-based engines and products.
... ecmascript 2015
support implementation status for the draft ecma-262 edition 6 (es2015) in mozilla-based engines and products.
... ecmascript next
support implementation status for upcoming ecma-262 features as per the yearly (es2016/es2017/es2018/...) release schedule in mozilla-based engines and products.
... includes the tracemonkey jit and
supports native json.
XForms Select Element - Archive of obsolete content
note, some representations of the select element do not
support visual grouping.
... single-node binding special selection - isn't currently
supported.
... incremental -
supported, default value is true properties selection - see corresponding attribute incremental - see corresponding attribute type restrictions the select element can be bound to a node containing simple content capable of holding a sequence.
...characteristics appearance attribute contains the value full there are no analogue widgets in xhtml or in xul visual grouping by choices element is
supported if incremental attribute value is false then bound node is updated when item is blurred examples <xf:model> <xf:instance> <data xmlns=""> <values>g</values> </data> </xf:instance> </xf:model> <xf:select ref="/data/values" appearance="full"> <xf:choices> <xf:label>green colors</xf:label> <xf:item> <xf:label>pale green</xf:label> <xf:value>pg</xf:v...
Archived open Web documentation - Archive of obsolete content
znerd 04 august 2009 browser detection and cross browser
support improper browser detection can lead to web maintenance nightmares.
... browser feature detection an experimental approach to discovering degree of
support for standards css obsolete css features displaying notifications (deprecated) firefox offers
support for "desktop notifications"; these are notifications that are displayed to the user outside the context of the web content, using the standard notification system provided by the operating system.
... e4x ecmascript for xml (e4x) is a programming language extension that adds native xml
support to javascript.
...to ensure that your code executes in parallel, it is suggested that the functions should be limited to the parallelizable subset of js that firefox
supports.
The Business Benefits of Web Standards - Archive of obsolete content
while some browsers have quirks that cause different behavior by platform, mozilla-based browsers are designed to behave identically on all
supported platforms (mac, linux, unix, windows...) web content is increasingly being accessed by a growing number of user agents other than browsers, or by browsers on different platforms - for example mobile telephones.
...content management systems attempt with some success to
supply that level of functionality.
...it
supplies a far better development framework, for content providers, for web developers, and for css stylists alike.
...although in some ways a controversial move - the announcement has attracted widespread
support from leading developers and standards advocates, led by jeffrey zeldman.
HTML: A good basis for accessibility - Learn web development
table layouts are a relic of the past — they made sense back when css
support was not widespread in browsers, but now they just create confusion for screen reader users.
...these provide extra semantics for screen readers (and other tools) to give user extra clues about the content they are navigating (see screen reader
support for new html5 section elements for an idea of what screen reader
support is like).
...however, longdesc is not
supported consistently by screen readers, and the content is completely inaccessible to non-screen reader users.
... html5 includes two new elements — <figure> and <figcaption> — which are
supposed to associate a figure of some kind (it could be anything, not necessarily an image) with a figure caption: <figure> <img src="dinosaur.png" alt="the mozilla tyrannosaurus"> <figcaption>a red tyrannosaurus rex: a two legged dinosaur standing upright like a human, with small arms, and a large head with lots of sharp teeth.</figcaption> </figure> unfortunately, most screen readers don't seem to associate figure captions with their figures yet.
HTML: A good basis for accessibility - Learn web development
table layouts are a relic of the past — they made sense back when css
support was not widespread in browsers, but now they just create confusion for screen reader users.
...these provide extra semantics for screen readers (and other tools) to give user extra clues about the content they are navigating (see screen reader
support for new html5 section elements for an idea of what screen reader
support is like).
...however, longdesc is not
supported consistently by screen readers, and the content is completely inaccessible to non-screen reader users.
... html5 includes two new elements — <figure> and <figcaption> — which are
supposed to associate a figure of some kind (it could be anything, not necessarily an image) with a figure caption: <figure> <img src="dinosaur.png" alt="the mozilla tyrannosaurus"> <figcaption>a red tyrannosaurus rex: a two legged dinosaur standing upright like a human, with small arms, and a large head with lots of sharp teeth.</figcaption> </figure> unfortunately, most screen readers don't seem to associate figure captions with their figures yet.
Handling different text directions - Learn web development
these physical dimensions map very neatly to content that is viewed horizontally, and by default the web tends to
support left-to-right languages (e.g.
... in recent years however, css has evolved in order to better
support different directionality of content, including right-to-left but also top-to-bottom content (such as japanese) — these different directionalities are called writing modes.
... currently, only firefox
supports flow relative values for float.
...you can check any property page on mdn to see how far back the browser
support goes.
Fundamental text and font styling - Learn web development
my big red elephant font stacks since you can't guarantee the availability of the fonts you want to use on your webpages (even a web font could fail for some reason), you can
supply a font stack so that the browser has multiple fonts it can choose from.
...this makes doing the maths to work out your font sizes much easier, although if you want to
support really old browsers, you might struggle — rem is not
supported in internet explorer 8 and below.
... font-variant-position: control the usage of alternate glyphs of smaller sizes positioned as
superscript or subscript.
... direction: define the text direction (this depends on the language and usually it's better to let html handle that part as it is tied to the text content.) hyphens: switch on and off hyphenation for
supported languages.
Client-side storage - Learn web development
previous overview: client-side web apis modern web browsers
support a number of ways for web sites to store data on the user's computer — with the user's permission — then retrieve it when necessary.
... the future: cache api some modern browsers
support the new cache api.
... note: service workers and cache are
supported in most modern browsers now.
...if this returns true, then we know that at least the basics of service workers are
supported.
Fetching data from the server - Learn web development
xhr has been around for a long time now and has very good cross-browser
support.
... fetch and promises, on the other hand, are a more recent addition to the web platform, although they're
supported well across the browser landscape, with the exception of internet explorer.
... if you need to
support older browsers, then an xhr solution might be preferable.
...we have created a sample site called the can store — it's a fictional
supermarket that only sells canned goods.
Working with Svelte stores - Learn web development
moreover, because web storage only
supports saving string values, we will have to convert from string to object when saving, and vice versa when we are loading the value from local storage.
...svelte also
supports specifying different transitions to apply when the element is added or removed from the dom with the in:fn/out:fn directives, and it also allows you to define your custom css and javascript transitions.
... in the next article we will learn how add typescript
support to our svelte application.
...ed properties vue conditional rendering: editing existing todos focus management with vue refs vue resources svelte getting started with svelte starting our svelte todo list app dynamic behavior in svelte: working with variables and props componentizing our svelte app advanced svelte: reactivity, lifecycle, accessibility working with svelte stores typescript
support in svelte deployment and next steps ...
Introduction to automated testing - Learn web development
pinch/zoom, two fingers to scroll) on the touchpads of
supporting devices (e.g.
... help (question mark) — accesses help/
support functions.
... features — shows you what features the current configuration
supports, e.g.
... copy to clipboard, gesture
support, etc.
Client-side tooling overview - Learn web development
transformation this stage of your web app lifecycle typically allows you to code in either "future code" (such as the latest css or javascript features that might not have native
support in browsers yet) or code using another language entirely, such as typescript.
...for example, you might want to write javascript using cutting-edge new language features, but still have your final production code work on older browsers that don’t
support those features.
... typescript: typescript is a
superset of javascript that offers a bunch of additional features.
... again, you’ll probably go through several different tools as you search for the right ones for you, trying them out to see if they make sense, are well-
supported, and do what you want them to do.
Multiprocess on Windows
ensuring that the interceptor
supports your interfaces this information is current, but is likely to change when bug 1346957 is landed.
...typelib metadata is limited to
supporting the same language features which were
supported by vb at that time.
...however, for various reasons, our com interceptor currently only
supports typelib metadata.
...without the
support for length_is and size_is annotations, the interceptor cannot tell the difference between a scalar outparam and an array outparam.
Accessibility and Mozilla
they also define a list of possible object states, such as focused, read-only, checked, etc.accessibility features in firefoxfirefox works with popular screen readers, with the best
support currently coming from gw micro's window-eyes 5.5.
... we are optimistic that jaws
support will catch up this year.
... this developer's guide lays out general guidelines that assistive technology (at) developers can use in developing live region
support.
... this guide was written from an atk/at-spi point of view as part of the orca live region
support project.
Add-ons
other toolsets, such as overlay add-ons, bootstrapped add-ons, and the add-on sdk, are no longer
supported.
...you can see the apis currently
supported in firefox and other browsers.
...we are currently building
support for the webextensions api on geckoview.
... for more information about transition
support, please visit our wiki page.
Eclipse CDT
note that you can switch between "show the type hierarchy", "show the
supertype hierarchy", and "show the subtype hierarchy" using the buttons to the right of the "type hierarchy" tab.
...one suggested configuration for building gdb is '--prefix="$home" --disable-debug --with-python=/usr' (create an optimized build with
support for python (so that you can use python to much better control when you break etc.), and install it in $home/bin).
... building eclipse's
support for building only in certain directories is non-existent.
... yes, but eclipse doesn't currently
support it.
Embedding the editor
<htmlarea> is intended as a shorthand for a rich-text multiline text widget embedded in an html document, and is not meant to infer that future versions of mozilla will
support this specific tag.
...(the current nseditorshell makes assumptions about the hosting xul document, which need to be broken.) composer embedded in a web page (<htmlarea>) ie 5
supports the <htmlarea> element; if mozilla is to
support something similar, editor needs to be embeddable to the extent that this can be done.
...briefly, the embedding objectives are: <editor> should get you a working editor in a xul application should be able to have multiple <editor>s per xul window should be able to embed an editable content frame in a native application embedders should be able to
supply their own chrome (toolbars etc).
... decide on how to implement editing session multiple-editor
support eliminate specific interdependencies between composer and the xul document, via nsieditoruserinterface create bottleneck for getting to the focussed editor; ensure that focus changes update state move editor ownership to docshell, creating nsieditorframe created the editing session api which copes with collections of editors (or make editor refocussable) open questions where should f...
Implementing Download Resuming
introduction various protocols
support getting partial files.
...the necko implementations of http 1.1 (rfc 2616) as well as ftp
support this feature.
...if it does not, the protocol does not
support resuming.
... resuming not
supported in some cases, it's not possible to detect whether the server
supports resuming until the user actually tries to resume.
OS.File for the main thread
let sessionstore = os.path.join(os.constants.path.profiledir, "sessionstore.js"); // under linux, this is generally "$home/.firefox/profiles/$profilename/sessionstore.js" // under macos, this is generally "$home/library/application
support/firefox/$profilename/sessionstore.js" // under windows, this is generally "%appdata%\local\temp\%profilename%"\sessionstore.js // etc.
...at the time of this writing, write does not
support encoding option so the text to be written has to be encoded with textencoder.
... encoding instead of using textdecoder, you can
supply a string to this option.
...instead of using textencoder, you can
supply a string to this option.
Index
most translation tools
support the xliff standard, making localizing the xliff files for firefox for ios easy to do using translation tools.
... 22 localizing extension metadata on addons.mozilla.org add-ons, extensions, internationalization, localization amo
supports localized metadata for each extension.
...different gettext function name) for string which are
supposed to
support plurals.
...for messages with plural
support, the default keyword is ngettext().
Localization content best practices
for example,
suppose this string needs to be changed from "event" to "add new event": new-event-header = event add-new-event-header is definitely a better choice for the new string than new-event-header1.
... don't forget to add a localization note when: part of the string is not
supposed to be localized (for example, the name of an html attribute in a warning).
... use proper plural forms firefox
supports proper plural forms.
...some examples: hard-coded strings, implicit grammar structure in the code, lack of plural forms
support, ui that breaks with long strings, etc.
Using the viewport meta tag to control layout on mobile browsers
many other mobile browsers now
support this tag, although it is not part of any web standard.
...if web developers want their scale settings to remain consistent when switching orientations on the iphone, they must add a maximum-scale value to prevent this zooming, which has the sometimes-unwanted side effect of preventing users from zooming in: <meta name="viewport" content="initial-scale=1, maximum-scale=1">
suppress the small zoom applied by many smartphones by setting the initial scale and minimum-scale values to 0.86.
... the result is horizontal scroll is
suppressed in any orientation and the user can zoom in if they want to.
... working draft non-normatively describes the viewport meta element there is clearly demand for the viewport meta tag, since it is
supported by most popular mobile browsers and used by thousands of web sites.
Profiling with the Firefox Profiler
profiling try builds profiling try builds is
supported, but to have symbols in the profiles, they need to be available on the symbol server.
...a build job with the "nightly configuration.) profiling firefox mobile firefox 61 for android
supports gecko profiler again; see remote profiling on android for details.
... profiling threads the firefox profiler has rudimentary
support for profiling multiple threads.
...if the filter is left empty, only the main thread is captured (as if you had not enabled multi-thread.) profiler features the profiler
supports several features.
Scroll-linked effects
however, most browsers now
support some sort of asynchronous scrolling in order to provide a consistent 60 frames per second experience to the user.
... future improvements going forward, we would like to
support more effects in the compositor.
... in order to do so, we need you (yes, you!) to tell us more about the kinds of scroll-linked effects you are trying to implement, so that we can find good ways to
support them in the compositor.
...as of this writing, mozilla does not plan to
support this proposal, but it is included for completeness.
PRNetAddr
nspr
supports only the internet address family.
... by default, nspr is built to
support only ipv4, but it's possible to build the nspr library to
support both ipv4 and ipv6.
... therefore, the family field can be pr_af_inet only for default nspr, and can also be pr_af_inet6 if the binary
supports ipv6.
...the raw member of the union is equivalent to struct sockaddr, the inet member is equivalent to struct sockaddr_in, and if the binary is built with ipv6
support, the ipv6 member is equivalent to struct sockaddr_in6.
PR_dtoa
this gives a return value similar to that of ecvt, except that trailing zeros are
suppressed.
...this gives a return value similar to that from fcvt, except that trailing zeros are
suppressed, and ndigits can be negative.
...trailing zeros are
suppressed.
... sufficient space is allocated to the return value to hold the
suppressed trailing zeros.
NSS 3.12.6 release notes
new in nss 3.12.6 ssl3 & tls renegotiation indication extension (rfc 5746) by default, nss 3.12.6 uses the new tls renegotiation indication extension for tls renegotiation but allows simple ssl/tls connections (without renegotiation) with peers that don't
support the tls renegotiation indication extension.
...if true, a connection will be dropped at initial handshake if the peer server or client does not
support safe renegotiation.
... bug 275744:
support for tls compression rfc 3749 bug 494603: update nss's copy of sqlite3 to 3.6.22 to get numerous bug fixes bug 496993: add accessor functions for ssl_implementedciphers bug 515279: cert_pkixverifycert considers a certificate revoked if cert_processocspresponse fails for any reason bug 515870: gcc compiler warnings in nss 3.12.4 bug 518255: the input...
...532417: build problem with spaces in path names bug 534943: clean up the makefiles in lib/ckfw/builtins bug 534945: lib/dev does not need to include headers from lib/ckfw bug 535669: move common makefile code in if and else to the outside bug 536023: der_utctimetotime and der_generalizedtimetotime ignore all bytes after an embedded null bug 536474: add
support for logging pre-master secrets bug 537356: implement new safe ssl3 & tls renegotiation bug 537795: nss_initcontext does not work with nss_registershutdown bug 537829: allow nss to build for android bug 540304: implement ssl_handshakenegotiatedextension bug 541228: remove an obsolete nspr version check in lib/util/secport.c bug 541231: nssi...
NSS 3.15.1 release notes
distribution information nss 3.15.1 source distributions are also available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_15_1_rtm/src/ new in nss 3.15.1 new functionality tls 1.2: tls 1.2 (rfc 5246) is
supported.
... hmac-sha256 cipher suites (rfc 5246 and rfc 5289) are
supported, allowing tls to be used without md5 and sha-1.
... aes gcm cipher suites are not yet
supported.
... in sslerr.h ssl_error_un
supported_hash_algorithm, ssl_error_digest_failure, ssl_error_incorrect_signature_algorithm - new error codes for tls 1.2.
NSS 3.15 release notes
nss 3.15 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_15_rtm/src/ new in nss 3.15 new functionality
support for ocsp stapling (rfc 6066, certificate status request) has been added for both client and server sockets.
...
support for single-operation (eg: not multi-part) symmetric key encryption and decryption, via pk11_encrypt and pk11_decrypt.
... certutil has been updated to
support creating name constraints extensions.
... dropped (32-bit) sparc v8 processor
support on solaris.
NSS 3.30 release notes
support for callback functions that can be used to monitor ssl/tls alerts that are sent or received.
... new macros in ciferfam.h pkcs12_aes_cbc_128, pkcs12_aes_cbc_192, pkcs12_aes_cbc_256 - cipher family identifiers corresponding to the pkcs#5 v2.1 aes based encryption schemes used in the pkcs#12
support in nss in pkcs11n.h cka_nss_mozilla_ca_policy - identifier for a boolean pkcs#11 attribute, that should be set to true, if a ca is present because of it's acceptance according to the mozilla ca policy notable changes in nss 3.30 the tls server code has been enhanced to
support session tickets when no rsa certificate (e.g.
... rsa-pss signatures produced by key pairs with a modulus bit length that is not a multiple of 8 are now
supported.
... the pk12util tool now
supports importing and exporting data encrypted in the aes based schemes defined in pkcs#5 v2.1.
NSS 3.54 release notes
notable changes in nss 3.54
support for tls 1.3 external pre-shared keys (bug 1603042).
... bug 1603042 - add tls 1.3 external psk
support.
... bug 1642802 - add uint128
support for hacl* curve25519 on windows.
... bug 1643123 -
support ssl_exportearlykeyingmaterial with external psks.
NSS Sample Code Sample1
(this key will also be used for // storage of the keys, since nss does not
support permanent symmetric // keys at the current time.) // 3.
... [need
support for digest check values] // 5.
...// note: currently nss does not
support permanent symmetric keys.
... // nss actually has some
support for permanent symmetric keys.
nss tech note7
nss
supports pkcs #1 v1.5.
... nss doesn't yet
support pkcs #1 v2.0 and v2.1, in particular oaep, but oaep
support is on our to-do list.
...(this api pretty much consists of what was needed to implement ssl and s/mime, plus a few enhancements over the years to
support jss.) when using the pk11_ interfaces, the same principal applies: use the highest available function.
...it's used to
support ssl2, which modifies the key encoding to include the ssl version number.
Overview of NSS
open source crypto libraries proven application security architecture if you want to add
support for ssl, s/mime, or other internet security standards to your application, you can use network security services (nss) to implement all your security features.
... suse linux enterprise server
supports nss and the mod_nss ssl module for the apache web server.
... interoperability and open standards you can use nss to
support a range of security standards in your application, including the following: ssl v3.
...the transport layer security (tls) protocol from the ietf that
supersedes ssl.
NSS Tools crlutil
-i crl-import-file specify the file which contains the crl to import -f password-file specify a file that will automatically
supply the password to include in a certificate or to access a certificate database.
...this extension allows users to easily determine when a particular crl
supersedes another crl crlnumber non-critical number where: crlnumber: identifies the name of an extension critical: should be set to 0 since this is non-critical extension number: value of long which identifies the sequential number of a crl.
... reasoncode non-critical code where: reasoncode: identifies the name of an extension non-critical: should be set to 0 since this is non-critical extension code: the following codes are available: unspecified (0), keycompromise (1), cacompromise (2), affiliationchanged (3),
superseded (4), cessationofoperation (5), certificatehold (6), removefromcrl (8), privilegewithdrawn (9), aacompromise (10) add invalidity date extension: the invalidity date is a non-critical crl entry extension that provides the date on which it is known or suspected that the private key was compromised or that the certificate otherwise ...
...to modify while importing crl from file user should
supply -i import-crl-file option.
NSS tools : signtool
communicator
supports the public-key cryptography standard known as pkcs #12, which governs key portability.
...even if signtool creates more than one archive file, you need to
supply the key database password only once.
...a value of -1
suppresses most messages, but not error messages.
...to sign with a smart card, you
supply only the fully qualified name of the certificate.
Proxies in Necko
depending on the type of the proxy info, it either asks the http protocol handler or the protocol handler for the requested uri for a new channel with the nsiproxyinfo - if the channel
supports nsiproxiedprotocolhandler.
...if this protocol handler does not
support proxies, resolve returns null.
...note that the proxy method is only used when the protocol handler
supports http proxies, as indicated by its protocol flags.
...therefore, nsisockettransportservice
supports creating socket transports using an nsiproxyinfo.
The JavaScript Runtime
interpretation beginning with rhino 1.4 release 2, an interpretive mode is
supported.
...execution proceeds by evaluating this compiled form using
support routines in rhino.
...the generated bytecodes in turn depend upon runtime
support routines.
... compilation of javascript source to class files is
supported.
Animated PNG graphics
authors the apng specification was authored by: stuart parmenter <pavlov@pavlov.net> vladimir vukicevic <vladimir@pobox.com> andrew smith <asmith15@littlesvr.ca> overview apng is an extension of the portable network graphics (png) format, adding
support for animated images.
... it is intended to be a replacement for simple animated images that have traditionally used the gif format, while adding
support for 24-bit images and 8-bit transparency.
... terminology the default image is the image described by the standard 'idat' chunks, and is the image that is displayed by decoders that do not
support apng.
... added note to clarify that palette animation is not
supported.
Gecko Roles
« at apis
support page this page offers a list of accessible roles used in gecko.
...used by msaa only, this is
supported automatically by microsoft windows.
...the role is
supported automatically by microsoft windows.
...a pane that
supports internal frames and iconified versions of those internal frames.
Implementation Details
supported features interfaces refer to specific pages to get information of
supported interfaces for interested at api: core: gecko interfaces windows: msaa, ia2, ienumvariant and isimpledom* interfaces linux: at-spi roles refer to specific pages to get information of
supported roles for interested at api: gecko msaa ia2 at-spi states refer to specific pages to get information of
supported states for interested at api: gecko msaa ia2 at-spi relations refer to specific pages to get information of
supported relations for interested at api: gecko msaa ia2 at-spi attributes object attributes refer to specific pages to get information of
supported object attributes for interested at api: gecko msaa ia2 at-spi text at...
...tributes refer to specific pages to get information of
supported text attributes for interested at api: gecko msaa - doesn't have a way to expose text attributes, use ia2 ia2 at-spi document attributes refer to specific pages to get information of
supported document attributes for interested at api: gecko/msaa/ia2 - document attributes are not exposed.
...at-spi events refer to specific pages to get information of
supported events for interested at api: gecko msaa ia2 at-spi implementation features this section highlights special features of at apis implementation by gecko.
... un
supported features we do not
support some at apis features.
Generic factory
*/ class nsigenericfactory : public nsifactory { public: static const nsiid& iid() { static nsiid iid = ns_igenericfactory_iid; return iid; } typedef ns_callback(constructorprocptr) (nsi
supports *aouter, refnsiid aiid, void **aresult); /** * establishes the generic factory's constructor function, which will be called * by createinstance.
... examples class nsicomponent : public nsi
supports { public: ns_imethod dosomething() = 0; }; class mycomponent : public nsicomponent { public: mycomponent(); virtual ~mycomponent(); static ns_method create(nsi
supports *aouter, refnsiid aiid, void **aresult); ns_impl_i
supports ns_imethod dosomething(); }; to create a factory for this class, simply write the following: nsifactory* newcomponentfactory(nsirepository* reposito...
... #include "nsifactory.h" class nsgenericfactory : public nsifactory { public: typedef nsresult (*creatorprocptr) (nsi
supports *aouter, refnsiid aiid, void **aresult); nsgenericfactory(creatorprocptr creator); virtual ~nsgenericfactory(); ns_decl_i
supports ns_imethod createinstance(nsi
supports *aouter, refnsiid aiid, void **aresult); ns_imethod lockfactory(prbool alock); private: creatorprocptr mcreator; }; nsgenericfactory::nsgenericfactory(cr...
...eatorprocptr creator) : mcreator(creator) { ns_init_refcnt(); } nsgenericfactory::~nsgenericfactory() {} static ns_define_iid(kifactoryiid, ns_ifactory_iid); ns_impl_i
supports(nsgenericfactory, kifactoryiid) ns_imethodimp nsgenericfactory::createinstance(nsi
supports *aouter, refnsiid aiid, void **aresult) { return mcreator(aouter, aiid, aresult); } ns_imethodimp nsgenericfactory::lockfactory(prbool alock) { return ns_ok; } many of our classes already have a static entry point that serves as the creator function, so in most cases, creating a new factory for a class is just: nsifactory* newmallocfactory() { nsifactory* factory = new nsgenericfactory(&nsmalloc::create); factory->addref(); return factory;...
XPCOM changes in Gecko 2.0
all existing xpcom components will need to be updated to
support this.
... however, it's very easy to do, and you can actually
support both types of registration for backward compatibility.
...this is no longer
supported.
...xpcnativewrapper changes you can't disable xpcnativewrappers from your manifest specifying xpcnativewrappers=no in your manifest (that is, xpcnativewrapper automation) is no longer
supported.
Setting up the Gecko SDK
as described in the section exceptions in xpcom, exception handling isn't
supported across interface boundaries, so setting this option may catch problems during development.
... ispecialthing.idl #include "nsi
supports.idl" [scriptable, uuid(263ed1ba-5cc1-11db-9673-00e08161165f)] interface ispecialthing : nsi
supports { attribute astring name; long add(in long a, in long b); }; next is to build the .h file to compile against and the .xpt for gecko to understand your new interface.
...__specialthing_impl_h__ #define __specialthing_impl_h__ #include "ispecialthing.h" #include "nsstringapi.h" #define specialthing_contractid "@starkravingfinkle.org/specialthing;1" #define specialthing_classname "specialthing" #define specialthing_cid { 0x245626, 0x5cc1, 0x11db, { 0x96, 0x73, 0x0, 0xe0, 0x81, 0x61, 0x16, 0x5f } } class cspecialthing : public ispecialthing { public: ns_decl_i
supports ns_decl_ispecialthing cspecialthing(); private: ~cspecialthing(); protected: /* additional members */ nsstring mname; }; #endif cspecialthing.cpp #include "cspecialthing.h" ns_impl_i
supports1(cspecialthing, ispecialthing) cspecialthing::cspecialthing() { /* member initializers and constructor code */ mname.assign(l"default name"); } cspecialthing::~cspec...
... also, if you notice, this turns on "xp_win" and "xp_win32" definitions, this allows xp and onward
support.
mozIRegistry
it's not really about any "registry interface" so much as it's about how mozilla
supports a more dynamic binding between interface clients and the code that actually provides the implementation of those interfaces.
...which explains how this information came to be associated with the notion of a "registry." someday (i hope) this page will be properly titled so that everybody knows it is the place to come to in order to find out how they are
supposed to link together the various xpcom components that together form the mozilla browser.
...in addition, it likely will have a couple of minor extensions:
support for specifying the .reg file name on initialize().
... adding
support so that the underlying moziregistry implementation can be tailored by the initializer (client application).
nsIAccessible
« gecko at interfaces page summary the nsiaccessible interface is a cross-platform interface that
supports platform-specific accessibility apis like msaa and atk.
... contains the sum of what's needed to
support iaccessible as well as atk's generic accessibility objects.
... [scriptable, uuid=(c7520419-87ec-42bc-98cc-04c0bf173530)] interface nsiaccessible : nsi
supports { ...
...nsiaccessible.getchildatpoint() to get child accessible from point nsiaccessible.getaccessibletoleft(), nsiaccessible.getaccessibletoright(), nsiaccessible.getaccessibleabove() or nsiaccessible.getaccessiblebelow() to get left, right, top or below placed accessible methods getkeybindings provides array of localized string of global keyboard accelerator for the given action index
supported by accessible.
nsIAccessibleEditableText
the operations it
supports includes setting text attributes and text contents while also replacing old text of an object with new text.
... it also includes and
support basic operations such as, inserting text, copying text, cutting text, pasting text and deleting text at the specified position.
... inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) method overview void copytext(in long startpos, in long endpos); void cuttext(in long startpos, in long endpos); void deletetext(in long startpos, in long endpos); void inserttext(in astring text, in long position); void pastetext(in long position); void setattributes(in long startpos, in long endpos, in nsi
supports attributes); unimplemented void settextcontents(in astring text); attributes attribute type description associatededitor nsieditor returns an editor associated with the accessible.
... void setattributes( in long startpos, in long endpos, in nsi
supports attributes ); parameters startpos the start index of the text whose attributes are modified.
nsIAccessibleStates
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) prior to gecko 1.9, these constants were implemented in nsiaccessible.
... state_multiselectable 0x01000000
supports multiple selection.
... state_extselectable 0x02000000
supports extended selection.
... state_checkable state_marqueed extended state constants extended state flags (for now non-msaa, for java and gnome/atk
support) constant value description ext_state_
supports_autocompletion 0x00000001 for editable areas that have any kind of auto completion.
nsIAlertsService
1.0 66 introduced gecko 1.7 inherits from: nsi
supports last changed in gecko 22 (firefox 22 / thunderbird 22 / seamonkey 2.19) by default a message is displayed in a small window that slides up from the bottom of the screen, holds there for a few seconds, then slides down.
... note: prior firefox 22, the alerts service was only
supported on windows in gecko 1.7, had no effect on mac os x in gecko 1.8, but was fully
supported in mac os x in gecko 1.9.
...only available on
supported platforms.
...only available on
supported platforms.
nsIAppStartup
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 9.0 (firefox 9.0 / thunderbird 9.0 / seamonkey 2.6) implemented by: @mozilla.org/toolkit/app-startup;1.
...eservice acmdlineservice, in boolean caninteract); obsolete since gecko 1.9.1 void ensure1window(in nsicmdlineservice acmdlineservice); obsolete since gecko 1.9.1 void enterlastwindowclosingsurvivalarea(); void exitlastwindowclosingsurvivalarea(); void getstartupinfo(); void hidesplashscreen(); obsolete since gecko 1.9.1 void initialize(in nsi
supports nativeapp
supportorsplashscreen); obsolete since gecko 1.9.1 void quit(in pruint32 amode); void restartinsafemode(in pruint32 aquitmode); void run(); attributes attribute type description interrupted boolean true if the startup process was interrupted by an interactive prompt.
... nativeapp
support nsinativeapp
support getter for "native application
support." read only.
... void initialize( in nsi
supports nativeapp
supportorsplashscreen ); parameters nativeapp
supportorsplashscreen is an object that can be qi'd to either an nsinativeapp
support or nsisplashscreen; this object will be used to implement hidesplashscreen.
nsIArray
inherits from: nsi
supports last changed in gecko 1.7 an indexed collection of elements.
...null is a valid entry in the array, and as such any nsi
supports parameters may be null, except where noted.
... method overview nsisimpleenumerator enumerate(); unsigned long indexof(in unsigned long startindex, in nsi
supports element); void queryelementat(in unsigned long index, in nsiidref uuid, [iid_is(uuid), retval] out nsqiresult result); attributes attribute type description length unsigned long the number of elements in the array.
...unsigned long indexof( in unsigned long startindex, in nsi
supports element ); parameters startindex the initial element to search in the array.
nsIAuthPromptCallback
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) callers must call exactly one method if nsiauthprompt2.asyncpromptauth() returns successfully.
...method overview void onauthavailable(in nsi
supports acontext, in nsiauthinformation aauthinfo); void onauthcancelled(in nsi
supports acontext, in boolean usercancel); methods onauthavailable() authentication information is available.
...void onauthavailable( in nsi
supports acontext, in nsiauthinformation aauthinfo ); parameters acontext the context as passed to nsiauthprompt2.asyncpromptauth().
...void onauthcancelled( in nsi
supports acontext, in boolean usercancel ); parameters acontext the context that was passed to nsiauthprompt2.asyncpromptauth().
nsIBidiKeyboard
a user is a bidirectional writer if they have keyboard layouts in both left-to-right and right-to-left directions (that is users who use arabic, iranian (persian), or israel (hebrew) keyboard layout, beside an us (english) layout.) inherits from: nsi
supports last changed in gecko 9.0 (firefox 9.0 / thunderbird 9.0 / seamonkey 2.6) method overview boolean islangrtl(); void setlangfrombidilevel(in pruint8 alevel); attributes attribute type description havebidikeyboards boolean indicates whether or not the system has at least one keyboard for each direction (left-to-right and right-to-left...
...(
supported on: win32, mac, gtk2) note: prior to gecko 1.9 this method used a parameter 'out prbool aisrtl' to return the value.
...(
supported on: win32) void setlangfrombidilevel( in pruint8 alevel ); parameters alevel if odd set the keyboard to right-to-left, if even set left-to-right.
...more info: bug 348724, bug 348724, and gnome bug: 116626 mac only islangrtl is
supported on this platform.
nsIBoxObject
inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) to get an instance, use the boxobject property.
...method overview wstring getlookandfeelmetric(in wstring propertyname); obsolete since gecko 1.9 wstring getproperty(in wstring propertyname); nsi
supports getpropertyas
supports(in wstring propertyname); void removeproperty(in wstring propertyname); void setproperty(in wstring propertyname, in wstring propertyvalue); void setpropertyas
supports(in wstring propertyname, in nsi
supports value); attributes attribute type description element nsidomelement read only.
... methods getlookandfeelmetric() obsolete since gecko 1.9 (firefox 3) wstring getlookandfeelmetric( in wstring propertyname ); parameters propertyname return value getproperty() wstring getproperty( in wstring propertyname ); parameters propertyname return value getpropertyas
supports() nsi
supports getpropertyas
supports( in wstring propertyname ); parameters propertyname return value removeproperty() void removeproperty( in wstring propertyname ); parameters propertyname setproperty() void setproperty( in wstring propertyname, in wstring propertyvalue ); parameters propertyname propertyvalue setpropertyas
supports() void setpropertyas
supports( in ws...
...tring propertyname, in nsi
supports value ); parameters propertyname value ...
nsIComponentManager
66 introduced gecko 0.7 inherits from: nsi
supports last changed in gecko 8.0 (firefox 8.0 / thunderbird 8.0 / seamonkey 2.5) method overview void addbootstrappedmanifestlocation(in nsilocalfile alocation); void createinstance(in nscidref aclass, in nsi
supports adelegate, in nsiidref aiid, [iid_is(aiid),retval] out nsqiresult result); void createinstancebycontractid(in string acontractid, in nsi
supports adelegate, in nsiidref aiid, [iid_is(aiid),retval] out nsqiresult result); void getclassobject(in nscidref aclass, in nsiidref aiid, [iid_is(aiid),retval] out nsqiresult result);...
...a "bootstrapped" chrome manifest
supports some of the instructions allowed in a regular chrome manifest, see the chrome registration documentation for details.
...(see also nsifactory.createinstance.) void createinstance( in nscidref aclass, in nsi
supports adelegate, in nsiidref aiid, [iid_is(aiid),retval] out nsqiresult result ); parameters aclass the classid of the object instance that is being requested.
... void createinstancebycontractid( in string acontractid, in nsi
supports adelegate, in nsiidref aiid, [iid_is(aiid),retval] out nsqiresult result ); parameters acontractid the contractid of the object instance that is being requested.
nsIContentSecurityPolicy
1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview boolean permitsancestry(in nsidocshell docshell); void refinepolicy(in astring policystring, in nsiuri selfuri); void scanrequestdata(in nsihttpchannel achannel); void sendreports(in astring blockeduri, in astring violateddirective); short shouldload(in unsigned long acontenttype, in nsiuri acontentlocation, in nsiuri arequestorigin, in nsi
supports acontext, in acstring amimetypeguess, in nsi
supports aextra); short shouldprocess(in unsigned long acontenttype, in nsiur...
...i acontentlocation, in nsiuri arequestorigin, in nsi
supports acontext, in acstring amimetype, in nsi
supports aextra); attributes attribute type description allowseval boolean whether this policy allows eval and eval-like functions such as settimeout("code string", time).
...short shouldload( in unsigned long acontenttype, in nsiuri acontentlocation, in nsiuri arequestorigin, in nsi
supports acontext, in acstring amimetypeguess, in nsi
supports aextra ); parameters acontenttype acontentlocation arequestorigin acontext amimetypeguess aextra return value shouldprocess() delegate method called by the service when sub-elements of the protected document are being processed.
...short shouldprocess( in unsigned long acontenttype, in nsiuri acontentlocation, in nsiuri arequestorigin, in nsi
supports acontext, in acstring amimetype, in nsi
supports aextra ); parameters acontenttype acontentlocation arequestorigin acontext amimetype aextra return value ...
nsIController
inherits from: nsi
supports last changed in gecko 1.7 method overview void docommand(in string command); boolean iscommandenabled(in string command); void onevent(in string eventname); boolean
supportscommand(in string command); methods docommand() when this method is called, your implementation should execute the command with the specified name.
...
supportscommand() implement this method to report whether or not the command with the specified name is
supported.
... boolean
supportscommand( in string command ); parameters command the name of the command to determine whether or not it is
supported.
... return value true if the specified command is
supported; otherwise false.
nsICryptoHash
the hash algorithms
supported are md2, md5, sha-1, sha-256, sha-384, and sha-512.
... 1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview acstring finish(in prbool aascii); void init(in unsigned long aalgorithm); void initwithstring(in acstring aalgorithm); void update([const, array, size_is(alen)] in octet adata, in unsigned long alen); void updatefromstream(in nsiinputstream astream, in unsigned long alen); constants hash algorithms these constants are used by the init() method to indicate which hashing function to use.
... exceptions thrown ns_error_invalid_arg indicates that an un
supported algorithm type was passed initwithstring() initialize the hashing object.
... exceptions thrown ns_error_invalid_arg indicates that an un
supported algorithm type was passed update() adds an array of data to be hashed to the object.
nsIDictionary
method overview boolean haskey(in string key); void getkeys(out pruint32 count, [retval, array, size_is(count)] out string keys); nsi
supports getvalue(in string key); void setvalue(in string key, in nsi
supports value); nsi
supports deletevalue(in string key); void clear(); methods haskey() check if a given key is present in the dictionary.
... nsi
supports getvalue( in string key ); parameters key the lookup key indicating the value.
... void setvalue( in string key, in nsi
supports value ); parameters key the key by which the value can be accessed.
... nsi
supports deletevalue( in string key ); parameters key the key indicating the pair to be removed.
nsIDocumentLoader
inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) implemented by: @mozilla.org/docloaderservice;1.
...nce gecko 1.8 void destroy(); obsolete since gecko 1.8 void fireonlocationchange(in nsiwebprogress awebprogress, in nsirequest arequest, in nsiuri auri); obsolete since gecko 1.8 void fireonstatuschange(in nsiwebprogress awebprogress, in nsirequest arequest, in nsresult astatus, in wstring amessage); obsolete since gecko 1.8 void getcontentviewercontainer(in nsi
supports adocumentid, out nsicontentviewercontainer aresult); native code only!
... obsolete since gecko 1.8 nsiloadgroup getloadgroup(); obsolete since gecko 1.8 boolean isbusy(); obsolete since gecko 1.8 void stop(); attributes attribute type description container nsi
supports read only.
...void getcontentviewercontainer( in nsi
supports adocumentid, out nsicontentviewercontainer aresult ); parameters adocumentid aresult getloadgroup() obsolete since gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) nsiloadgroup getloadgroup(); parameters none.
nsIDragSession
widget/public/nsidragsession.idlscriptable provides
support for interacting with an ongoing drag session during a drag and drop operation.
... inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview void getdata( in nsitransferable atransferable, in unsigned long aitemindex ); boolean isdataflavor
supported( in string adataflavor ); attributes attribute type description candrop boolean set the current state of the drag, whether it can be dropped or not.
... isdataflavor
supported() checks to see if any of the native data on the clipboard matches a given data flavor.
... boolean isdataflavor
supported( in string adataflavor ); parameters adataflavor a string representing the mime type of the data to be matched, such as "text/unicode".
nsIHttpServer
(not
supported) * @param function callback optional callback */ listen: function(port, opt, callback) { if (arguments.length == 2 && "function" == typeof opt) { callback = opt; } if (callback) { this.registerprefixhandler("/", callback); } let host = "localhost"; if (typeof...
... handlercallback(req, resp); }); }, close: function(){ server.stop(function(){}); }, get port() { return server.identity.primaryport } } } reference : mozilla-release/netwerk/test/httpserver/nsihttpserver.idl [scriptable, uuid(cea8812e-faa6-4013-9396-f9936cbb74ec)] interface nsihttpserver : nsi
supports { /** * starts up this server, listening upon the given port.
... */ nsi
supports getobjectstate(in astring key); /** * sets the object associated with the given key in this in object-valued * saved state.
... */ void setobjectstate(in astring key, in nsi
supports value); }; ...
nsIJumpListBuilder
1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) jump lists are built and then applied.
...method overview void abortlistbuild(); boolean addlisttobuild(in short acattype, in nsiarray items optional, in astring catname optional); boolean commitlistbuild(); boolean deleteactivelist(); boolean initlistbuild(in nsimutablearray removeditems); attributes attribute type description available short indicates whether jump list taskbar features are
supported by the current host.
...exceptions thrown ns_error_not_available on all calls if taskbar functionality is not
supported by the operating system.
... maxlistitems short the maximum number of jump list items the current desktop can
support.
nsILocalFileMac
note:
supported only for xp_macosx.
...note:
supported only for xp_macosx.
...note:
supported only for xp_macosx.
...note:
supported only for xp_macosx.
nsIMsgDBView
inherits from: nsi
supports implemented by: @mozilla.org/messenger/msgdbview;1.
...
suppressmsgdisplay boolean
suppress displaying messages.
...
suppresscommandupdating boolean
suppress command updating.
...
supportsthreading boolean readonly: does the current database
support threading?
nsIMsgIncomingServer
inherits from: nsi
supports last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) method overview void clearallvalues(); void cleartemporaryreturnreceiptsfilter(); void closecachedconnections(); void configuretemporaryfilters(in nsimsgfilterlist filterlist); void configuretemporaryreturnreceiptsfilter(in nsimsgfilterlist filterlist); obsolete since gecko 1.8 void displayofflinemsg(in nsimsgwindow awindow); boolean equals(in nsimsgincomingserver server); void forgetpassword(); void forgetsessionpassword(); astring generateprettynameformigration(); boolean getboolattribute(in string name); boolean getboolvalue(in st...
... defaultcopiesandfoldersprefstoserver boolean if the server
supports fcc/sent/etc, default prefs can point to the server.
... loginatstartup boolean logonfallback boolean maxmessagesize long offline
supportlevel long password acstring passwordpromptrequired boolean if the password for the server is available either via authentication in the current session or from password manager stored entries, return false.
...
supportsdiskspace boolean read only.
nsIMsgSearchSession
searchsession.addscopeterm(components.interfaces.nsmsgsearchscope.offlinemail, afolder); var searchterm = searchsession.createterm(); var value = searchterm.value; value.str = avalue; searchterm.value = value; searchterm.op = searchsession.booleanor; searchterm.booleanand = false; searchsession.appendterm(searchterm); searchsession.search(null); inherits from: nsi
supports method overview void addsearchterm(in nsmsgsearchattribvalue attrib, in nsmsgsearchopvalue op, in nsimsgsearchvalue value, in boolean booleanand, in string arbitraryheader); nsimsgsearchterm createterm(); void appendterm(in nsimsgsearchterm term); void registerlistener(in nsimsgsearchnotify listener); void unregisterlistener(in nsimsgsearchnotif...
...script] nsmsgsearchtype setsearchparam(in nsmsgsearchtype type, in voidptr param); [noscript] void addresultelement(in nsmsgresultelement element); boolean matchhdr(in nsimsgdbhdr amsghdr, in nsimsgdatabase adatabase); void addsearchhit(in nsimsgdbhdr header, in nsimsgfolder folder); attributes attribute type description searchterms nsi
supportsarray readonly: numsearchterms unsigned long readonly: runningadapter nsimsgsearchadapter readonly: searchparam voidptr not scriptable and readonly: searchtype nsmsgsearchtype readonly: numresults long readonly: window nsimsgwindow constants name value description ...
...it informs the fe if the current scope
support custom header use.
... fes should not display the custom header dialog if custom headers are not
supported.
nsINavHistoryService
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 22 (firefox 22 / thunderbird 22 / seamonkey 2.19) implemented by: "@mozilla.org/browser/nav-history-service;1".
...); autf8string queriestoquerystring([array, size_is(aquerycount)] in nsinavhistoryquery aqueries, in unsigned long aquerycount, in nsinavhistoryqueryoptions options); void addobserver(in nsinavhistoryobserver observer, in boolean ownsweak); void removeobserver(in nsinavhistoryobserver observer); void runinbatchmode(in nsinavhistorybatchcallback acallback, in nsi
supports aclosure); void importhistory(in nsifile file); astring getcharsetforuri(in nsiuri auri); astring setcharsetforuri(in nsiuri auri, in astring acharset); attributes attribute type description hashistoryentries boolean true if there is any history.
...if ownsweak is true, then aobserver must implement nsi
supportsweakreference, and the history service will keep a weak reference to the observer.
... void runinbatchmode( in nsinavhistorybatchcallback acallback, in nsi
supports aclosure ); parameters acallback nsinavhistorybatchcallback interface to call.
nsIObserverService
inherits from: nsi
supports last changed in gecko 0.9.6 the xpcom nsobserverservice implements this interface to provide global notifications for a variety of subsystems.
...er-service;1 as a service: var observerservice = components.classes["@mozilla.org/observer-service;1"] .getservice(components.interfaces.nsiobserverservice); method overview void addobserver( in nsiobserver anobserver, in string atopic, in boolean ownsweak); nsisimpleenumerator enumerateobservers( in string atopic ); void notifyobservers( in nsi
supports asubject, in string atopic, in wstring somedata ); void removeobserver( in nsiobserver anobserver, in string atopic ); methods addobserver() registers a given listener for a notifications regarding the specified topic.
...if set to true and anobserver
supports the nsi
supportsweakreference interface, a weak reference will be held.
... void notifyobservers( in nsi
supports asubject, in string atopic, in wstring somedata ); parameters asubject a notification specific interface pointer.
nsIPrintingPrompt
inherits from: nsi
supports last changed in gecko 1.7 this interface is identical to nsipintingpromptservice but without the parent nsidomwindow parameter.
... windows: the gfx layer no longer
supports default toolkit behavior for displaying the native print dialog.
... defaults for platform service: showprintdialog - displays a native dialog showpagesetup() - displays a xul dialog showprogress() - displays a xul dialog summary for windows embedders: stated once again: there is no "fallback" native platform
support in gfx for the displaying of the native print dialog.
... mac: the gfx layer still
supports default toolkit behavior for displaying the print dialog.
nsIProgressEventSink
inherits from: nsi
supports last changed in gecko 1.7 this interface is used to asynchronously convey channel status and progress information that is generally not critical to the processing of the channel.
...method overview void onprogress(in nsirequest arequest, in nsi
supports acontext, in unsigned long long aprogress, in unsigned long long aprogressmax); void onstatus(in nsirequest arequest, in nsi
supports acontext, in nsresult astatus, in wstring astatusarg); methods onprogress() called to notify the event sink that progress has occurred for the given request.
... void onprogress( in nsirequest arequest, in nsi
supports acontext, in unsigned long long aprogress, in unsigned long long aprogressmax ); parameters arequest the request being observed (may qi to nsichannel).
...void onstatus( in nsirequest arequest, in nsi
supports acontext, in nsresult astatus, in wstring astatusarg ); parameters arequest the request being observed (may qi to nsichannel).
nsIProperties
inherits from: nsi
supports last changed in gecko 1.2 implemented by: @mozilla.org/file/directory_service;1.
...var properties = components.classes["@mozilla.org/file/directory_service;1"] .getservice(components.interfaces.nsiproperties); method overview void get(in string prop, in nsiidref iid, [iid_is(iid),retval] out nsqiresult result); void getkeys(out pruint32 count, [array, size_is(count), retval] out string keys); boolean has(in string prop); void set(in string prop, in nsi
supports value); void undefine(in string prop); methods get() gets the xpcom object associated with a particular name.
...ns_error_no_interface if the property exists, but does not
support the requested interface.
...void set( in string prop, in nsi
supports value ); parameters prop the property name.
nsIResumableChannel
netwerk/base/public/nsiresumablechannel.idlscriptable this interface is meant to be implemented by the channels that
support resuming broken downloads (for example necko's html and ftp channels).
... inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview void asyncopenat(in nsistreamlistener listener, in nsi
supports ctxt, in unsigned long startpos, in nsiresumableentityid entityid); obsolete since gecko 1.8 void resumeat(in unsigned long long startpos, in acstring entityid); attributes attribute type description entityid acstring the entity id for this uri.
...void asyncopenat( in nsistreamlistener listener, in nsi
supports ctxt, in unsigned long startpos, in nsiresumableentityid entityid ); parameters listener as for asyncopen.
...during onstartrequest, this channel will have a status of ns_error_not_resumable if the file cannot be resumed, for example because the server doesn't
support this.
nsISHistory
inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) in an embedded browser environment, the nsiwebbrowser object creates an instance of session history for each open window.
...the object returned by this step is of type nsi
supports.
...note: a listener object must implement nsishistorylistener and ns
supportsweakreference.
...note: a listener object must implement nsishistorylistener and ns
supportsweakreference.
nsISmsService
dom/sms/interfaces/nsismsservice.idlscriptable used to send sms text messages for the websms api 1.0 66 introduced gecko 13.0 inherits from: nsi
supports last changed in gecko 15.0 (firefox 15.0 / thunderbird 15.0 / seamonkey 2.12) implemented by: @mozilla.org/sms/smsservice;1.
...ms/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 has
support(); void send(in domstring number, in domstring message, in long requestid, [optional] in unsigned long long processid); methods createsmsmessage() [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 ); parameters id a n...
... has
support() checks if the current platform has sms
support.
... boolean has
support(); return value boolean.
nsIVariant
inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview acstring getasacstring(); native code only!
... nsi
supports getasi
supports(); native code only!
...native code only!getasinterface void getasinterface( out nsiidptr iid, [iid_is(iid), retval] out nsqiresult iface ); parameters iid the iid of the interface pointer, or nsi
supports if no iid was provided.
...(the reference count of the object is incremented.) native code only!getasi
supports nsi
supports getasi
supports(); parameters none.
nsIXULWindow
inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) an nsixulwindow is created as part of the creation of a top-level chrome window.
...or down the road any other object that
supports being a docshelltreeitem query accordingly to determine the capabilities.
... getcontentshellbyid() the content shell specified by the
supplied id.
...or down the road any other object that
supports being a docshelltreeitem query accordingly to determine the capabilities.
XPCOM Interface Reference
lselectcontrolelementnsidomxulselectcontrolitemelementnsidatasignatureverifiernsidebugnsidebug2nsidevicemotionnsidevicemotiondatansidevicemotionlistenernsidialogcreatornsidialogparamblocknsidictionarynsidirindexnsidirindexlistenernsidirindexparsernsidirectoryenumeratornsidirectoryiteratornsidirectoryservicensidirectoryserviceprovidernsidirectoryserviceprovider2nsidiskcachestreaminternalnsidispatch
supportnsidocshellnsidocumentloadernsidownloadnsidownloadhistorynsidownloadmanagernsidownloadmanageruinsidownloadobservernsidownloadprogresslistenernsidownloadernsidragdrophandlernsidragservicensidragsessionnsidroppedlinkhandlernsidroppedlinkitemnsidynamiccontainernsieditornsieditorboxobjectnsieditordocshellnsieditorime
supportnsieditorloggingnsieditormail
supportnsieditorobservernsieditorspellchecknsi...
...iinputstreamcallbacknsiinstalllocationnsiinterfacerequestornsijscidnsijsidnsijsiidnsijsonnsijetpacknsijetpackservicensijumplistbuildernsijumplistitemnsilivemarkservicensiloadgroupnsilocalfilensilocalfilemacnsilocalensilocaleservicensilogininfonsiloginmanagernsiloginmanagercryptonsiloginmanageriemigrationhelpernsiloginmanagerprompternsiloginmanagerstoragensiloginmetainfonsimimeinputstreamnsimacdock
supportnsimarkupdocumentviewernsimemorynsimemorymultireporternsimemorymultireportercallbacknsimemoryreporternsimemoryreportermanagernsimenuboxobjectnsimessagebroadcasternsimessagelistenernsimessagelistenermanagernsimessagesendernsimessagewakeupservicensimessengernsimicrosummarynsimicrosummarygeneratornsimicrosummaryobservernsimicrosummaryservicensimicrosummarysetnsimimeconverternsimimeheadersnsimodul...
...nstartupnsisessionstorensisimpleenumeratornsismsdatabaseservicensismsrequestmanagernsismsservicensisocketprovidernsisocketproviderservicensisockettransportnsisockettransportservicensisoundnsispeculativeconnectnsistackframensistandardurlnsistreamconverternsistreamlistenernsistringbundlensistringbundleoverridensistringbundleservicensistringenumeratornsistructuredclonecontainernsistylesheetservicensi
supportsnsi
supports proxiesnsi
supportsarraynsi
supportscstringnsi
supportscharnsi
supportsdoublensi
supportsfloatnsi
supportsidnsi
supportsinterfacepointernsi
supportsprboolnsi
supportsprint16nsi
supportsprint32nsi
supportsprint64nsi
supportsprtimensi
supportspruint8nsi
supportspruint16nsi
supportspruint32nsi
supportspruint64nsi
supportsprimitivensi
supportsprioritynsi
supportsstringnsi
supportsvoidnsi
supportsweakrefer...
...nfonsivariantnsiversioncomparatornsiweakreferencensiwebbrowsernsiwebbrowserchromensiwebbrowserchrome2nsiwebbrowserchrome3nsiwebbrowserchromefocusnsiwebbrowserfindnsiwebbrowserfindinframesnsiwebbrowserpersistnsiwebcontenthandlerregistrarnsiwebnavigationnsiwebnavigationinfonsiwebpagedescriptornsiwebprogressnsiwebprogresslistenernsiwebprogresslistener2nsiwebsocketchannelnsiwebsocketlistenernsiwebapps
supportnsiwifiaccesspointnsiwifilistenernsiwifimonitornsiwinaccessnodensiwinapphelpernsiwintaskbarnsiwindowcreatornsiwindowmediatornsiwindowwatchernsiwindowsregkeynsiwindowsshellservicensiworkernsiworkerfactorynsiworkerglobalscopensiworkermessageeventnsiworkermessageportnsiworkerscopensiwritablepropertybagnsiwritablepropertybag2nsixformsmodelelementnsixformsnsinstanceelementnsixformsnsmodelelementnsi...
Getting Started Guide
nsresult nscacherecord::getfilespec( nsifilespec** afilespec ) /* ...fills in the callers |nsfilespec*| (which the caller
supplied the address of) with a copy of my member variable |mfilespec|, an |nscomptr|.
...nscomptr is not currently directly
supported by idl.
... void f( const nscomptr<t>& ) don't pass an nscomptr by const reference exactly as the signature above, this practice is wasteful, but not otherwise harmful, and has the same impact as passing an nscomptr by value if the caller only
supplied a raw pointer.
... when assigning into an nscomptr, you will usually just
supply another pointer (either a raw xpcom interface pointer or an nscomptr), with no additional directives (see, e.g., the nscomptr side of comparison 1).
Mozilla technologies
accessibility api implementation detailsthese pages contain documentation on mozilla specific implementation details of assistive technology apis.animated png graphicsapng is an extension of the portable network graphics (png) format, adding
support for animated images.
...starting with mozilla 1.9, it was phased out in favor of sqlite, a more widely-
supported file format.placesplaces is the bookmarks and history management system introduced in firefox 3.
...it has multiple language bindings, allowing xpcom components to be used and implemented in javascript, java, and python in addition to c++.xpidlxpidl is an interface description language used to specify xpcom interface classes.xray visiongecko runs javascript from a variety of different sources and at a variety of different privilege levels.xslt 2.0although xslt 2.0 is not natively
supported in firefox, it is possible via saxon-b (java) or, more recently, saxon-ce (javascript) to perform xslt 2.0.xtfthe extensible tag framework (xtf) allows adding
support for new namespaces using xpcom components to mozilla (written in javascript or c++).
... for example, the mozilla xforms project uses xtf to add
support for the xforms namespace.
The Valgrind Test Job
it also prints a
suppression, which is a sequence of text that can be put in a
suppression file (and specified via valgrind's --
suppressions option) if you want valgrind to ignore such errors in future runs.
... for example, we have a small number of deliberate but inconsequential memory leaks in the codebase that have corresponding
suppressions.
... but generally errors should be fixed rather than
suppressed.
... errors in system libraries can generally be ignored, because they are out of our control and the kind of thing we
suppress on the test machines.
Mail composition back end
the caller has the ability to add or remove listener interfaces to the nsimsgsend object and the interface can
support multiple listeners.
... ns_imethod onstartcopy( nsi
supports *listenerdata) = 0; - the nsi
supports pointer passed in to the original copy operation onprogress the onprogress interface is called with progress notification for the copy operation.
... ns_imethod onprogress( pruint32 aprogress, - the progress so far pruint32 aprogressmax) = 0; - the maximum progress (aprogress should be used as a numerator and aprogressmax as a denominator for a message sent percentage) nsi
supports *listenerdata) = 0; - the nsi
supports pointer passed in to the original copy operation onstopcopy the onstopcopy interface is called when the copy operation has completed.
... ns_imethod onstopcopy( nsresult astatus, - the resulting status for the send operation nsi
supports *listenerdata) = 0; - the nsi
supports pointer passed in to the original copy operation copy operations there are various copy operations that can result as a part of message creation and delivery.
Working with windows in chrome code
suppose you're developing a browser extension that consists of a browser.xul overlay and an options window.
...
suppose the overlay contains a button to open the extension's options window which needs to read some data from the browser window.
...by passing args to openwindow xpconnect will automatically wrap it as a generic nsi
supports.
...the application object
supports a storage property which can be used to store data globally.
Drawing and Event Handling - Plugins
note: windowless plug-ins were not
supported on the x window system platform prior to gecko 1.9 alpha 7 (bug 137189).
... on mac os, the browser does not give a windowed plug-in a native window, because the mac os platform does not
support child windows.
...mac os does not
support child windows.
... the browser
supports off-screen drawing of plug-ins.
DOM Inspector internals - Firefox Developer Tools
this is the two-pane inspector that appears when ctrl+shift+i (or cmd+shift+i) is pressed from one of the applications for which dom inspector has explicit
support (i.e., menuitems placed via overlay).
...either the host applications must provide these themselves (usually bundling dom inspector with the application, too), or dom inspector must explicitly
support them by providing its own menu items and keyboard shortcuts with host-integration overlays.
... dom inspector explicitly
supports several mozilla project applications by providing its own host-integration overlays.
...the same is true for the find menuitems and the "select element by click" menuitem in the edit menu, since no other viewers besides the dom nodes viewer
support these features.
DevTools API - Firefox Developer Tools
methods istarget
supported(target) a method that is called during toolbox construction to check if the tool
supports debugging the given target.
... return value: a boolean indicating if the tool
supports the given target.
... let def = { id: "my-tool", label: "my tool", icon: "chrome://browser/skin/devtools/tool-webconsole.svg", url: "about:blank", istarget
supported: target => true, build: (window, toolbox) => new mytoolpanel(window, toolbox) }; // register it.
... id: "inspector", icon: "chrome://browser/skin/devtools/inspector-icon.png", url: "chrome://browser/content/devtools/inspector/inspector.xul", get label() { let strings = services.strings.createbundle("chrome://browser/locale/devtools/inspector.properties"); return strings.getstringfromname("inspector.label"); }, istarget
supported: function(target) { return !target.isremote; }, build: function(iframewindow, toolbox, node) { return new inspectorpanel(iframewindow, toolbox, node); } }); open a tool, or select it if the toolbox is already open: let target = targetfactory.fortab(gbrowser.selectedtab); let toolbox = gdevtools.opentoolbox(target, null, "inspector"); toolbox.once("inspector-ready", functi...
Index - Firefox Developer Tools
this is the two-pane inspector that appears when ctrl+shift+i (or cmd+shift+i) is pressed from one of the applications for which dom inspector has explicit
support (i.e., menuitems placed via overlay).
...dom inspector is standalone; it
supports all toolkit applications, and it's possible to embed it in your own xulrunner app.
...at the moment it
supports three main sorts of targets: restartless add-ons, tabs, and workers.
...at the moment it
supports three main sorts of targets: restartless add-ons, tabs, and workers.
Edit fonts - Firefox Developer Tools
they are applied to the element as part of the browser's default styling (times new roman for most browsers), and no author-defined font has been
supplied.
... variable font
support in firefox developer tools firefox 62 added
support for variable fonts and firefox 63 features
support for editing the properties of variable fonts in the font editor.
...for example, font-weight can be set to any value between 1 and 1000 in variable fonts (although it is not guaranteed that a variable font will
support this entire range).
...for example linux oses need the latest linux freetype version, and macos prior to 10.13 does not
support variable fonts.
Style Editor - Firefox Developer Tools
it also
supports a number of keyboard shortcuts.
... the style editor
supports autocomplete.
... source map
support web developers often create css files using a preprocessor like sass, less, or stylus.
...other preprocessors are actively working on adding
support, or considering it.
Web Console Helpers - Firefox Developer Tools
you can
supply any of the following: a selector string to be passed to document.queryselector to locate the iframe element the iframe element itself the content window inside the iframe see working with iframes.
... :screenshot creates a screenshot of the current page with the
supplied filename.
... if you don't
supply a filename, the image file will be named with the following format: screen shot yyy-mm-dd at hh.mm.ss.png the command has the following optional parameters: command type description --clipboard boolean when present, this parameter will cause the screenshot to be copied to the clipboard.
...when
supplied, only this element will be included in the screenshot.
AudioContext() - Web APIs
the value may be any value
supported by audiobuffer.
... exceptions not
supportederror the specified samplerate isn't
supported by the context.
... usage notes the specification doesn't go into a lot of detail about things like how many audio contexts a user agent should
support, or minimum or maximum latency requirements (if any), so these details can vary from browser to browser.
... google chrome per-tab audio context limitation in chrome prior to version 66 google chrome only
supported up to six audio contexts per tab at a time.
BiquadFilterNode() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbiquadfilternode() constructorchrome full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.edge full
support ≤79firefox full
support 53ie no
support noopera full
suppo...
...rt 42notes full
support 42notes notes before opera 46, the default values were not
supported.safari ?
... webview android full
support 55notes full
support 55notes notes before version 59, the default values were not
supported.chrome android full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.firefox android full
support 53opera android full
support 42notes full
support 42notes notes before opera 46, the default values were not
supported.safari ios ?
... samsung internet android full
support 6.0notes full
support 6.0notes notes before samsung internet 7.0, the default values were not
supported.legend full
support full
support no
support no
support compatibility unknown compatibility unknownsee implementation notes.see implementation notes.
CSSNumericValue - Web APIs
event handlers no methods cssnumericvalue.add adds a
supplied number to the cssnumericvalue.
... cssnumericvalue.sub subtracts a
supplied number from the cssnumericvalue.
... cssnumericvalue.mul multiplies the cssnumericvalue by the
supplied value.
... cssnumericvalue.div divides the cssnumericvalue by the
supplied value.
ConvolverNode() - Web APIs
exceptions exception explanation not
supportederror the referenced audiobuffer does not have the correct number of channels, or it has a different sample rate to the associated audiocontext.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetconvolvernode() constructorchrome full
support 55edge full
support ≤79firefox full
support 53ie no
support noopera full
support 42safari ?
... webview android full
support 55chrome android full
support 55firefox android full
support 53opera android full
support 42safari ios ?
... samsung internet android full
support 6.0legend full
support full
support no
support no
support compatibility unknown compatibility unknown ...
Element.currentStyle - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcurrentstyle non-standardchrome no
support noedge no
support nofirefox no
support noie full
support 6opera no
support nosafari no
support nowebview android no
support ...
... nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportnon-standard.
... expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.
Element.runtimeStyle - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetruntimestyle non-standardchrome no
support noedge no
support nofirefox no
support noie full
support 6opera no
support nosafari no
support nowebview android no
support ...
... nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportnon-standard.
... expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.
Element.scrollLeftMax - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetscrollleftmax non-standardchrome no
support noedge no
support nofirefox full
support 16ie no
support noopera no
support nosafari no
support nowebview android no
support ...
... nochrome android no
support nofirefox android full
support 16opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportnon-standard.
... expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.
Event.initEvent() - Web APIs
living standard from document object model (dom) level 2 events specification, deprecated it,
superseded by event constructors.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetinitevent deprecatedchrome full
support yesedge full
support 12firefox full
support 17 full
support 17 no
support ?
... — 17notes notes before firefox 17, a call to this method after the dispatching of the event raised an exception instead of doing nothing.ie full
support yesopera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support 17 full
support 17 no
support ?
... — 17notes notes before firefox 17, a call to this method after the dispatching of the event raised an exception instead of doing nothing.opera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
supportdeprecated.
FederatedCredential.protocol - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetprotocol experimentalchrome full
support 51edge full
support ≤79firefox ?
... opera full
support yessafari ?
... webview android full
support 51chrome android full
support 51firefox android ?
... samsung internet android full
support 5.0legend full
support full
support compatibility unknown compatibility unknownexperimental.
FederatedCredential.provider - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetprovider experimentalchrome full
support 51edge full
support ≤79firefox ?
... opera full
support yessafari ?
... webview android full
support 51chrome android full
support 51firefox android ?
... samsung internet android full
support 5.0legend full
support full
support compatibility unknown compatibility unknownexperimental.
Using Fetch - Web APIs
supplying request options the fetch() method can optionally accept a second parameter, an init object that allows you to control a number of different settings: see fetch() for the full options available, and more details.
...the code would look something like this: fetch('flowers.jpg') .then(response => { if (!response.ok) { throw new error('network response was not ok'); } return response.blob(); }) .then(myblob => { myimage.src = url.createobjecturl(myblob); }) .catch(error => { console.error('there has been a problem with your fetch operation:', error); });
supplying your own request object instead of passing a path to the resource you want to request into the fetch() call, you can create a request object using the request() constructor, and pass that in as a fetch() method argument: const myheaders = new headers(); const myrequest = new request('flowers.jpg', { method: 'get', headers: myheaders, mode: 'cors', cache: 'default', }); fetch(myr...
... feature detection fetch api
support can be detected by checking for the existence of headers, request, response or fetch() on the window or worker scope.
...} polyfill to use fetch in un
supported browsers, there is a fetch polyfill available that recreates the functionality for non-
supporting browsers.
FileException - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfileexception deprecatednon-standardchrome no
support 13 — 29prefixed no
support 13 — 29prefixed prefixed implemented with the vendor prefix: webkitedge no
support nofirefox no
support noie no
support noopera no
support nosafa...
...ri no
support nowebview android no
support nochrome android no
support 18 — 29prefixed no
support 18 — 29prefixed prefixed implemented with the vendor prefix: webkitfirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support 1.0 — 3.0prefixed no
support 1.0 — 3.0prefixed prefixed implemented with the vendor prefix: webkitlegend no
support no
supportnon-st...
...expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.deprecated.
FileSystemDirectoryEntry.getDirectory() - Web APIs
fileerror.type_mismatch_err the path specified is not a directory; it's probably a file, but might be an un
supported file descriptor such as a pipe; this depends on the user agent to some extent.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetdirectory experimentalchrome full
support 8edge full
support 79firefox full
support 50notes full
support 50notes notes in firefox, the errorcallback's input parameter is a domexception rather than a fileerror object.ie no
support ...
... noopera no
support nosafari full
support 11.1webview android full
support ≤37chrome android full
support 18firefox android full
support 50notes full
support 50notes notes in firefox, the errorcallback's input parameter is a domexception rather than a fileerror object.opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend ...
... full
support full
support no
support no
supportexperimental.
FileSystemDirectoryEntry.getFile() - Web APIs
fileerror.type_mismatch_err the path specified is not a file; it's probably a directory, but might be an un
supported file descriptor such as a pipe; this depends on the user agent to some extent.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetfile experimentalchrome full
support 8edge full
support 79firefox full
support 50notes full
support 50notes notes in firefox, the errorcallback's input parameter is a domexception rather than a fileerror object.ie no
support ...
... noopera no
support nosafari full
support 11.1webview android full
support ≤37chrome android full
support 18firefox android full
support 50notes full
support 50notes notes in firefox, the errorcallback's input parameter is a domexception rather than a fileerror object.opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend ...
... full
support full
support no
support no
supportexperimental.
FileSystemEntry.copyTo() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcopyto experimentaldeprecatednon-standardchrome full
support 8edge full
support 79firefox no
support noie no
support noopera no
support nosafari no
support nowebview android full
support...
... ≤37chrome android full
support 18firefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
...expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.deprecated.
FileSystemEntry.getMetadata() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetmetadata experimentaldeprecatednon-standardchrome full
support 8edge full
support 79firefox no
support noie no
support noopera no
support nosafari no
support nowebview android full
support...
... ≤37chrome android full
support 18firefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
...expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.deprecated.
FileSystemEntry.moveTo() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmoveto experimentaldeprecatednon-standardchrome full
support 8edge full
support 79firefox no
support noie no
support noopera no
support nosafari no
support nowebview android full
support...
... ≤37chrome android full
support 18firefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
...expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.deprecated.
FileSystemEntry.remove() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetremove experimentaldeprecatednon-standardchrome full
support 8edge full
support 79firefox no
support noie no
support noopera no
support nosafari no
support nowebview android full
support...
... ≤37chrome android full
support 18firefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
...expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.deprecated.
FileSystemFlags.create - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcreate experimentalchrome full
support 13prefixed full
support 13prefixed prefixed implemented with the vendor prefix: webkitedge full
support ≤79prefixed full
support ≤79prefixed prefixed implemented with the vendor prefix: webkitfirefox partial
sup...
...port 50notes partial
support 50notes notes for security reasons, firefox does not
support creating files.
... this option has no effect.ie no
support noopera no
support nosafari no
support nowebview android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitchrome android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitfirefox android partial
support 50notes partial
support 50notes notes for security reasons, firefox does not
support c...
...this option has no effect.opera android no
support nosafari ios no
support nosamsung internet android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitlegend full
support full
support partial
support partial
support no
support no
supportexperimental.
FileSystemFlags.exclusive - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetexclusive experimentalchrome full
support 13prefixed full
support 13prefixed prefixed implemented with the vendor prefix: webkitedge full
support ≤79prefixed full
support ≤79prefixed prefixed implemented with the vendor prefix: webkitfirefox partial
sup...
...port 50notes partial
support 50notes notes for security reasons, firefox does not
support creating files.
... this option has no effect.ie no
support noopera no
support nosafari no
support nowebview android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitchrome android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitfirefox android partial
support 50notes partial
support 50notes notes for security reasons, firefox does not
support c...
...this option has no effect.opera android no
support nosafari ios no
support nosamsung internet android full
support yesprefixed full
support yesprefixed prefixed implemented with the vendor prefix: webkitlegend full
support full
support partial
support partial
support no
support no
supportexperimental.
FontFaceSetLoadEvent.fontfaces - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfontfaces experimentalchrome full
support 35edge full
support ≤79firefox full
support yesie ?
... opera full
support 22safari ?
... webview android no
support nochrome android full
support 35firefox android full
support yesopera android full
support 22safari ios ?
... samsung internet android full
support 3.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
HTMLInputElement.webkitEntries - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetwebkitentries non-standardchrome full
support 13edge full
support ≤18firefox full
support 50ie no
support noopera no
support nosafari full
support 11.1webview android fu...
...ll
support ≤37chrome android full
support 18firefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend full
support full
support no
support no
supportnon-standard.
... expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.
HTMLInputElement.webkitdirectory - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetwebkitdirectory non-standardchrome full
support 13edge full
support 13firefox full
support 50ie no
support noopera no
support nosafari full
support 11.1webview android full ...
...
support yeschrome android full
support yesfirefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend full
support full
support no
support no
supportnon-standard.
... expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.
IDBDatabase.createObjectStore() - Web APIs
// this handler is only
supported in recent browsers.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcreateobjectstorechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBFactory.cmp() - Web APIs
ison; the table below lists the possible values and their meanings: returned value description -1 1st key is less than the 2nd key 0 1st key is equal to the 2nd key 1 1st key is greater than the 2nd key exceptions this method may raise a domexception of the following types: attribute description dataerror one of the
supplied keys was not a valid key.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcmpchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBKeyRange.includes() - Web APIs
exceptions this method may raise a domexception of the following type: attribute description dataerror the
supplied key was not a valid key.
...for browsers that do not
support it, the following polyfill can be used.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetincludeschrome full
support 52edge full
support ≤18firefox full
support 47ie ?
... opera full
support 39safari full
support 10.1webview android full
support 52chrome android full
support 52firefox android full
support yesopera android full
support 41safari ios full
support 10.3samsung internet android full
support 6.0legend full
support full
support compatibility unknown ...
IDBObjectStore.add() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetaddchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.autoIncrement - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetautoincrementchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.clear() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetclearchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.count() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcountchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.createIndex() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcreateindexchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.delete() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdeletechrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.deleteIndex() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdeleteindexchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.get() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.index() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetindexchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.indexNames - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetindexnameschrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.keyPath - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetkeypathchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.openCursor() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetopencursorchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.put() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetputchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBObjectStore.transaction - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettransactionchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBOpenDBRequest.onblocked - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonblockedchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBOpenDBRequest.onupgradeneeded - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonupgradeneededchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBTransaction.db - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdbchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBTransaction.oncomplete - Web APIs
as of firefox 40, indexeddb transactions have relaxed durability guarantees to increase performance (see bug 1112702), which is the same behaviour as other indexeddb-
supporting browsers.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetoncompletechrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBVersionChangeEvent.newVersion - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnewversionchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBVersionChangeEvent.oldVersion - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetoldversionchrome full
support 24 full
support 24 no
support 23 — 57prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — 57prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25 full
support 25 no
support 25 — 57prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5 full
support 1.5 no
support 1.5 — 7.0prefixed prefixed implemented with the vendor prefix: webkitlegend ...
... full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBVersionChangeRequest.setVersion() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsetversion deprecatednon-standardchrome no
support noedge no
support nofirefox no
support noie no
support noopera no
support nosafari no
support nowebview android no
support ...
... nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support nolegend no
support no
supportnon-standard.
... expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.deprecated.
KeyboardEvent - Web APIs
this was implemented only by firefox, and is no longer
supported even there; instead, you should use the keyboardevent() constructor.
...num lock was
supported on some older laptop models (2007 models and older), but since then, macos hasn't
supported num lock even on external keyboards.
...gecko does
support the scroll lock key if an external keyboard which has an f14 key is connected.
...both have been
superseded by the modern usage of a constructor: keyboardevent().
MediaCapabilities.decodingInfo() - Web APIs
the mediacapabilities.decodinginfo() method, part of the media capabilities api, returns a promise with the tested media configuration's mediacapabilitiesinfo; this contains the three boolean properties
supported, smooth, and powerefficient, which describe whether decoding the media described would be
supported, smooth, and powerefficient.
... return value a promise fulfilling with a mediacapabilitiesinfo interface containing three boolean attributes:
supported smooth powerefficient exceptions a typeerror is raised if the mediaconfiguration passed to the decodinginfo() method is invalid, either because the type is not video or audio, the contenttype is not a valid codec mime type, the media decoding configuration is not a valid value for the media decoding type, or any other error in the media configuration passed to the method, including omi...
... }, }; // check
support and performance navigator.mediacapabilities.decodinginfo(mediaconfig).then(result => { console.log('this configuration is ' + (result.
supported ?
... '' : 'not ') + '
supported, ' + (result.smooth ?
MediaCapabilities.encodingInfo() - Web APIs
the mediacapabilities.encodinginfo() method, part of the mediacapabilities interface of the media capabilities api, returns a promise with the tested media configuration's mediacapabilitiesinfo; this contains the three boolean properties
supported, smooth, and powerefficient, which describe how compatible the device is with the type of media.
... return value a promise fulfilling with a mediacapabilitiesinfo interface containing three boolean attributes:
supported smooth powerefficient exceptions a typeerror is raised if the mediaconfiguration passed to the encodinginfo() method is invalid, either because the type is not video or audio, the contenttype is not a valid codec mime type, or any other error in the media configuration passed to the method, including omitting any of the media encoding configuration elements.
... } }; // check
support and performance navigator.mediacapabilities.encodinginfo(mediaconfig).then(result => { console.log('this configuration is ' + (result.
supported ?
... '' : 'not ') + '
supported, ' + (result.smooth ?
MediaKeyStatusMap.get() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetget experimentalchrome full
support 42edge full
support 13firefox full
support yesie ?
... opera full
support 29safari ?
... webview android full
support 43chrome android full
support 42firefox android full
support yesopera android full
support 29safari ios ?
... samsung internet android full
support 4.0legend full
support full
support compatibility unknown compatibility unknownexperimental.
MediaKeyStatusMap.has() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internethas experimentalchrome full
support 42edge full
support 13firefox full
support yesie ?
... opera full
support 29safari ?
... webview android full
support 43chrome android full
support 42firefox android full
support yesopera android full
support 29safari ios ?
... samsung internet android full
support 4.0legend full
support full
support compatibility unknown compatibility unknownexperimental.
MediaKeyStatusMap.size - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsize experimentalchrome full
support 42edge full
support 13firefox full
support yesie ?
... opera full
support 29safari ?
... webview android full
support 43chrome android full
support 42firefox android full
support yesopera android full
support 29safari ios ?
... samsung internet android full
support 4.0legend full
support full
support compatibility unknown compatibility unknownexperimental.
MediaMetadata.album - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetalbum experimentalchrome full
support 57edge no
support nofirefox full
support 71ie no
support noopera full
support yessafari ?
... webview android no
support nochrome android full
support 57firefox android ?
... opera android no
support nosafari ios ?
... samsung internet android full
support 7.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
MediaMetadata.artist - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetartist experimentalchrome full
support 57edge no
support nofirefox full
support 71ie no
support noopera full
support yessafari ?
... webview android no
support nochrome android full
support 57firefox android ?
... opera android no
support nosafari ios ?
... samsung internet android full
support 7.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
MediaMetadata.artwork - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetartwork experimentalchrome full
support 57edge no
support nofirefox full
support 71ie no
support noopera full
support yessafari ?
... webview android no
support nochrome android full
support 57firefox android ?
... opera android no
support nosafari ios ?
... samsung internet android full
support 7.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
MediaMetadata.title - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettitle experimentalchrome full
support 57edge no
support nofirefox full
support 71ie no
support noopera full
support yessafari ?
... webview android no
support nochrome android full
support 57firefox android ?
... opera android no
support nosafari ios ?
... samsung internet android full
support 7.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
MediaTrackSettings - Web APIs
properties some or all of the following will be included in the object, either because it's not
supported by the browser or because it's not available due to context.
... noise
suppression a boolean which indicates the current value of the noise
supression property, which is true if noise
suppression is enabled and is false otherwise.
...this value will be between 0.0 (silent) to 1.0 (maximum
supported volume).
... properties of shared screen tracks tracks containing video shared from a user's screen (regardless of whether the screen data comes from the entire screen or a portion of a screen, like a window or tab) are generally treated like video tracks, with the exception that they also
support the following added settings: cursor a domstring which indicates whether or not the mouse cursor is being included in the generated stream and under what conditions.
Metadata.modificationTime - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmodificationtime experimentalnon-standardchrome full
support 13edge full
support ≤79firefox no
support noie no
support noopera no
support nosafari no
support nowebview android no
suppo...
...rt nochrome android full
support yesfirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
...expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.
Metadata.size - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsize experimentalnon-standardchrome full
support 13edge full
support ≤79firefox no
support noie no
support noopera no
support nosafari no
support nowebview android no
suppo...
...rt nochrome android full
support yesfirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
...expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.
MutationEvent - Web APIs
the practical reasons to avoid the mutation events are performance issues and cross-browser
support.
... cross-browser
support these events are not implemented consistently across different browsers, for example: ie prior to version 9 didn't
support the mutation events at all and does not implement some of them correctly in version 9 (for example, domnodeinserted) webkit doesn't
support domattrmodified (see webkit bug 8191 and the workaround) "mutation name events", i.e.
... domelementnamechanged and domattributenamechanged are not
supported in firefox (as of version 11), and probably in other browsers as well.
... dottoro documents browser
support for mutation events.
OVR_multiview2 - Web APIs
the ovr_multiview2 extension is part of the webgl api and adds
support for rendering into multiple views simultaneously.
... availability:
support depends on the system's graphics driver (windows+angle and android are
supported; windows+gl, mac, linux are not
supported).
...however, the oculus browser (6+) also
supports multisampling using the oculus_multiview extension.
...most vr headsets have two views, but there are prototypes of headset with ultra-wide fov using 4 views which is currently the maximum number of views
supported by multiview.
Page Visibility API - Web APIs
the example, which pauses the video when you switch to another tab and plays again when you return to its tab, was created with the following code: // set the name of the hidden property and the change event for visibility var hidden, visibilitychange; if (typeof document.hidden !== "undefined") { // opera 12.10 and firefox 18 and later
support hidden = "hidden"; visibilitychange = "visibilitychange"; } else if (typeof document.mshidden !== "undefined") { hidden = "mshidden"; visibilitychange = "msvisibilitychange"; } else if (typeof document.webkithidden !== "undefined") { hidden = "webkithidden"; visibilitychange = "webkitvisibilitychange"; } var videoelement = document.getelementbyid("videoelement"); // if the page ...
...is hidden, pause the video; // if the page is shown, play the video function handlevisibilitychange() { if (document[hidden]) { videoelement.pause(); } else { videoelement.play(); } } // warn if the browser doesn't
support addeventlistener or the page visibility api if (typeof document.addeventlistener === "undefined" || hidden === undefined) { console.log("this demo requires a browser, such as google chrome or firefox, that
supports the page visibility api."); } else { // handle page visibility change document.addeventlistener(visibilitychange, handlevisibilitychange, false); // when the video pauses, set the title.
... note: not all browsers
support prerendering.
... note: not all browsers
support the unloaded value.
PaymentRequest.abort() - Web APIs
var request = new paymentrequest(
supportedinstruments, details, options); var paymenttimeout = window.settimeout(() => { window.cleartimeout(paymenttimeout); request.abort().then(() => { print('payment timed out after 20 minutes.'); }).catch(() => { print('unable to abort, because the user is currently in the process ' + 'of paying.'); }); }, 20 * 60 * 1000); /* 20 minutes */ specifications spe...
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetabort()chrome full
support 61edge full
support 15firefox full
support 55notes disabled full
support 55notes disabled notes available only in nightly builds.disabled from version 55: this feature is behind the dom.payments.request.enabled preference (needs t...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support 11.1webview android no
support nochrome android full
support 53firefox android full
support 55notes disabled full
support 55notes disabled notes available only in nightly builds.disabled from version 55: this feature is behind the dom.payments.request.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios full
support 11.3samsung internet android full
support 6.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.user must explicitly enable this feature.user must explicitly enable this feature.
PaymentRequest.onshippingaddresschange - Web APIs
var payment = new paymentrequest(
supportedinstruments, details, options); request.addeventlistener('shippingaddresschange', function(evt) { evt.updatewith(new promise(function(resolve) { updatedetails(details, request.shippingaddress, resolve); })); }); payment.show().then(function(paymentresponse) { // processing of paymentresponse exerpted for the same of clarity.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonshippingaddresschangechrome full
support 61edge full
support 15firefox full
support 55notes disabled full
support 55notes disabled notes available only in nightly builds.disabled from version 55: this feature is behind the dom.payments.request.enabled preference (needs t...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support 11.1webview android no
support nochrome android full
support 53firefox android full
support 55notes disabled full
support 55notes disabled notes available only in nightly builds.disabled from version 55: this feature is behind the dom.payments.request.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios full
support 11.3samsung internet android full
support 6.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.user must explicitly enable this feature.user must explicitly enable this feature.
PaymentResponse.details - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdetailschrome full
support 61edge full
support 15firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs t...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support yeswebview android no
support nochrome android full
support 56 full
support 56 no
support 53 — 56disabled disabled from version 53 until version 56 (exclusive): this feature is behind the #web-payments preference (needs to be set to enabled).
... to change preferences in chrome, visit chrome://flags.firefox android full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios full
support yessamsung internet android full
support 6.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.user must explicitly enable this feature.user must explicitly enable this feature.
PaymentRequest.payerName - Web APIs
the payername read-only property of the paymentresponse interface returns the name
supplied by the user.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpayernamechrome full
support 61edge full
support 15firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs t...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support yeswebview android no
support nochrome android full
support 58firefox android full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios full
support yessamsung internet android full
support 7.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.user must explicitly enable this feature.user must explicitly enable this feature.
PaymentResponse.requestId - Web APIs
the requestid read-only property of the paymentresponse interface rreturns the free-form identifier
supplied by the paymentresponse() constructor by details.id.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetrequestidchrome full
support 61edge full
support 16firefox full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs t...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support yeswebview android no
support nochrome android full
support 60firefox android full
support 56notes disabled full
support 56notes disabled notes available only in nightly builds.disabled from version 56: this feature is behind the dom.payments.request.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios full
support yessamsung internet android full
support 8.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.user must explicitly enable this feature.user must explicitly enable this feature.
PerformanceLongTaskTiming.attribution - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetattribution experimentalchrome full
support 58edge full
support ≤79firefox no
support noie ?
... opera full
support yessafari ?
... webview android full
support 58chrome android full
support 58firefox android no
support noopera android full
support yessafari ios ?
... samsung internet android full
support 7.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
Performance API - Web APIs
the high resolution time standard defines a performance interface that
supports client-side latency measurements within applications.
...the interfaces
support a number of use cases including calculating frame-rates (potentially important in animations) and benchmarking (such as the time to load a resource).
... since a platform's system clock is subject to various skews (such as ntp adjustments), the interfaces
support a monotonic clock i.e.
... to test your browser's
support for the performance interface, run the perf-api-
support application.
Performance Timeline - Web APIs
the performance timeline api defines extensions to the performance interface to
support client-side latency measurements within applications.
... performance interface extensions: as shown in the performance interface's browser compatibility table, most of these interfaces are broadly implemented by desktop browsers and have less
support on mobile devices.
... performanceentry: as shown in the performanceentry interface's browser compatibility table, most of these interfaces are broadly implemented by desktop browsers and have less
support on mobile devices.
... to test your browser's
support for these interfaces, run the perf-api-
support application.
Permissions.query() - Web APIs
an up-to-date list of permission names can be found in the spec under the permissionname enum, but bear in mind that the actual permissions
supported by browsers is currently much smaller than this.
... firefox for example currently
supports geolocation, notifications, push, and persistent-storage (see our permissions.webidl file).
... uservisibleonly: (push only, not
supported in firefox — see the browser
support section below) indicates whether you want to show a notification for every message or be able to send silent push notifications.
... exceptions exception explanation typeerror retrieving the permissiondescriptor information failed in some way, or the permission doesn't exist or is currently un
supported (e.g.
Pinch zoom gestures - Web APIs
<style> div { margin: 0em; padding: 2em; } #target { background: white; border: 1px solid black; } </style> global state
supporting a two-pointer gesture requires preserving a pointer's event state during various event phases.
... // this event is cached to
support 2-finger gestures evcache.push(ev); log("pointerdown", ev); } pointer move the pointermove event handler detects if a user is invoking a two-pointer pinch/zoom gesture.
...nd color will change to pink if the pinch is opening (zoom in) or changes to lightblue if the pinch is closing (zoom out).</div> <!-- ui for logging/debugging --> <button id="log" onclick="enablelog(event);">start/stop event logging</button> <button id="clearlog" onclick="clearlog(event);">clear the log</button> <p></p> <output></output> </body> miscellaneous functions these functions
support the application but aren't directly involved in the event flow.
... function remove_event(ev) { // remove this event from the target's cache for (var i = 0; i < evcache.length; i++) { if (evcache[i].pointerid == ev.pointerid) { evcache.splice(i, 1); break; } } } event logging these functions are used to send event activity to the application's window (to
support debugging and learning about the event flow).
RTCRtpCapabilities - Web APIs
an rtcrtpcapabilities object contains an array of objects conforming to rtcrtpcodeccapability (each describing the capabilities of one codec) and an array of the
supported rtp header extensions for that codec.
... properties codecs an array of rtcrtpcodeccapability objects, each describing one of the codecs
supported by the rtcrtpsender or rtcrtpreceiver.
...there may be multiple entries for red if different forms are
supported; each will have a unique media type in that case.
...there may also be multiple fec entries if more than one form is
supported.
SVGAnimatedPoints - Web APIs
svg animated points interface the svganimatedpoints interface
supports elements which have a points attribute which holds a list of coordinate values and which
support the ability to animate that attribute.
... edge full
support ≤18firefox ?
... webview android no
support nochrome android ?
... legend full
support full
support no
support no
support compatibility unknown compatibility unknown ...
SVGAnimatedString - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatedstringchrome full
support yesedge full
support ≤18firefox full
support yesie no
support noopera full
support yessafari full
support yeswebview android ...
... full
support yeschrome android no
support nofirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android no
support noanimvalchrome full
support yesedge full
support 12firefox full
support yesie no
support noopera full
support yessafari full
support ...
... yeswebview android full
support yeschrome android no
support nofirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android no
support nobasevalchrome full
support yesedge full
support 12firefox full
support yesie no
support noopera full
support ...
... yessafari full
support yeswebview android full
support yeschrome android no
support nofirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android no
support nolegend full
support full
support no
support no
support ...
Screen Capture API - Web APIs
mediatrack
supportedconstraints mediatrack
supportedconstraints.cursor a boolean which is true if the user agent and device
support the mediatrackconstraints.cursor constraint.
... mediatrack
supportedconstraints.displaysurface a boolean which is true if the current environment
supports the mediatrackconstraints.displaysurface constraint.
... mediatrack
supportedconstraints.logicalsurface a boolean which is true if the current environment
supports the constraint mediatrackconstraints.logicalsurface.
... feature policy validation user agents that
support feature policy (either using http's feature-policy header or the <iframe> attribute allow) can specify a desire to use the screen capture api using the policy control directive display-capture: <iframe allow="display-capture" src="/some-other-document.html"> the default allow list is self, which lets the any content within the document use screen capture.
Selection.toString() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettostring experimentalchrome full
support 1edge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari ?
... webview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios ?
... samsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknownexperimental.
StorageManager.persist() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpersistchrome full
support 52 full
support 52 no
support 48 — 52alternate name alternate name uses the non-standard name: requestpersistentedge full
support ≤79firefox full
support 55ie ?
... opera full
support yessafari ?
... webview android full
support 52 full
support 52 no
support 48 — 52alternate name alternate name uses the non-standard name: requestpersistentchrome android full
support 52 full
support 52 no
support 48 — 52alternate name alternate name uses the non-standard name: requestpersistentfirefox android full
support 55opera android full
support yessafari ios ?
... samsung internet android full
support 6.0 full
support 6.0 no
support 5.0 — 6.0alternate name alternate name uses the non-standard name: requestpersistentlegend full
support full
support compatibility unknown compatibility unknownuses a non-standard name.uses a non-standard name.
SubtleCrypto.deriveKey() - Web APIs
see
supported algorithms for some more detail on this.
... not
supported raised when trying to use an algorithm that is either unknown or isn't suitable for derivation, or if the algorithm requested for the derived key doesn't define a key length.
...
supported algorithms the three algorithms
supported by derivekey() have quite different characteristics and are appropriate in different situations.
...the key material is a password
supplied by the user.
TaskAttributionTiming.containerId - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcontainerid experimentalchrome full
support 58edge full
support ≤79firefox no
support noie ?
... opera full
support yessafari ?
... webview android full
support 58chrome android full
support 58firefox android no
support noopera android full
support yessafari ios ?
... samsung internet android full
support 7.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
TaskAttributionTiming.containerType - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcontainertype experimentalchrome full
support 58edge full
support ≤79firefox no
support noie ?
... opera full
support yessafari ?
... webview android full
support 58chrome android full
support 58firefox android no
support noopera android full
support yessafari ios ?
... samsung internet android full
support 7.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
TextRange - Web APIs
although it is well
supported by ie, most other browsers no longer
support this property.
... note that this interface is not
supported in non ie browsers.
...ie9
supports the standard alternative range.
...therefore, the best way is to deal with both at the same time, that is, try to use textrange mode when the standard interface is not
supported, but do not regard it as the only choice.
TransformStream - Web APIs
'symbol': controller.error("cannot send a symbol as a chunk part") break case 'undefined': controller.error("cannot send undefined as a chunk part") default: controller.enqueue(this.textencoder.encode(string(chunk))) break }, flush() { /* do any destructor work here */ } } class anytou8stream extends transformstream { constructor() {
super({...transformcontent, textencoder: new textencoder()}) } } polyfilling textencoderstream and textdecoderstream note that this is deprecated by the native constructors.
... this is intended as a polyfill for un
supported platforms.
... const tes = { start(){this.encoder = new textencoder()}, transform(chunk, controller) { controller.enqueue(this.encoder.encode(chunk)) } } let _jstes_wm = new weakmap(); /* info holder */ class jstextencoderstream extends transformstream { constructor() { let t = {...tes}
super(t) _jstes_wm.set(this, t) } get encoding() {return _jstes_wm.get(this).encoder.encoding} } similarly, textdecoderstream can be written as such: const tes = { start(){ this.decoder = new textdecoder(this.encoding, this.options) }, transform(chunk, controller) { controller.enqueue(this.decoder.decode(chunk)) } } let _jstds_wm = new weakmap(); /* info holder */ class jstextdecoderstream extends transformstream { constructor(encoding = 'utf-8', {...options} = {}) { le...
...t t = {...tds, encoding, options}
super(t) _jstes_wm.set(this, t) } get encoding() {return _jstds_wm.get(this).decoder.encoding} get fatal() {return _jstds_wm.get(this).decoder.fatal} get ignorebom() {return _jstds_wm.get(this).decoder.ignorebom} } chaining multiple readablestreams together this is a useful one, where multiple streams can be conjoined.
UIEvent.layerX - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetlayerx non-standardchrome full
support yesedge full
support 12firefox full
support yesie full
support 9opera full
support yessafari full
support yeswebview android ...
...full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
supportnon-standard.
... expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.
WebGLRenderingContext.vertexAttribPointer() - Web APIs
description let's assume we want to render some 3d geometry, and for that we will need to
supply our vertices to the vertex shader.
... each vertex has a few attributes, like position, normal vector, or texture coordinate, that are defined in an arraybuffer and will be
supplied to the vertex buffer object (vbo).
...instead, we can
supply a default value that will be identical for all vertices.
...then we could load the binary file and interpret it as an array buffer: const response = await fetch('assets/geometry.bin'); const buffer = await response.arraybuffer(); consume array buffer with webgl first, we create a new vertex buffer object (vbo) and
supply it with our array buffer: //bind array buffer to a vertex buffer object const vbo = gl.createbuffer(); gl.bindbuffer(gl.array_buffer, vbo); gl.bufferdata(gl.array_buffer, buffer, gl.static_draw); then, we specify the memory layout of the array buffer, either by setting the index ourselves: //describe the layout of the buffer: //1.
Clearing with colors - Web APIs
<p>a very simple webgl program that shows some color.</p> <!-- text within a canvas element is displayed only if canvas is not
supported.
... --> <canvas>your browser does not seem to
support html5 canvas.</canvas> body { text-align : center; } canvas { display : block; width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } // run everything inside window load event handler, to make sure // dom is fully loaded and styled before trying to manipulate it, // and to not mess up the global scope.
..." + "your browser or device may not
support webgl."; return; } paragraph.innerhtml = "congratulations!
... your browser
supports webgl.
WebRTC connectivity - Web APIs
see the individual articles on these properties and methods for more specifics, and codecs used by webrtc for information about codecs
supported by webrtc and which are compatible with which browsers.
...not all browsers
support ice over tcp, however.
... ice allows candidates to represent connections over either tcp or udp, with udp generally being preferred (and being more widely
supported).
... each protocol
supports a few types of candidate, with the candidate types defining how the data makes its way from peer to peer.
Viewpoints and viewers: Simulating cameras in WebXR - Web APIs
in a side-scrolling or top-scrolling game such as
super mario bros., the camera moves along left and right (or up and down, or both) to ensure that the action remains visible even though the game level is much larger than the viewport.
... to zoom using a scaling factor or percentage, you can map 1x (100% of normal size) to the largest value of fov you allow (which leads to the most content being visible), then map your maximum magnification to the maximum value of fov you
support and map corresponding values in between.
...it's also of course useful for implementing
support for a player looking up and down.
...you can tell which eye a given xrview represents by checking the value of its eye property, which is a string whose value is left or right (a third possible value, none, theoretically may be used to represent another point of view, but
support for this is not entirely available in the current api).
Window.event - Web APIs
this property is not universally
supported and even when
supported introduces potential fragility to your code.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung interneteventchrome full
support 1edge full
support 12firefox full
support 63notes disabled full
support 63notes disabled notes this was briefly enabled by default in 65, then removed again while related compatibility issues are sorted out (see bug 1520756).disab...
...to change preferences in firefox, visit about:config.ie full
support 4opera full
support 7safari full
support 1.1webview android full
support 1chrome android full
support 18firefox android full
support 63notes disabled full
support 63notes disabled notes this was briefly enabled by default in 65, then removed again while related compatibility issues are sorted out (see bug ...
...to change preferences in firefox, visit about:config.opera android full
support 10.1safari ios full
support 1samsung internet android full
support 1.0legend full
support full
supportsee implementation notes.see implementation notes.user must explicitly enable this feature.user must explicitly enable this feature.
Window.print() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetprintchrome full
support 1notes full
support 1notes notes starting with chrome 46, this method is blocked inside an <iframe> unless its sandbox attribute has the value allow-modals.edge full
support 12firefox full
support 1ie full
support ...
... 5opera full
support 6notes full
support 6notes notes starting with opera 33, this method is blocked inside an <iframe> unless its sandbox attribute has the value allow-modals.safari full
support 1.1webview android full
support 1notes full
support 1notes notes starting with webview 46, this method is blocked inside an <iframe> unless its sandbox attribute has the value allow-modals.chrome android full
support 18notes full
support 18notes notes starting ...
...with chrome 46, this method is blocked inside an <iframe> unless its sandbox attribute has the value allow-modals.firefox android no
support nonotes no
support nonotes notes see bug 1247609.opera android full
support 10.1notes full
support 10.1notes notes starting with opera 33, this method is blocked inside an <iframe> unless its sandbox attribute has the value allow-modals.safari ios full
support 1samsung internet android full
support 1.0notes full
support 1.0notes notes startin...
...g with samsung internet 5.0, this method is blocked inside an <iframe> unless its sandbox attribute has the value allow-modals.legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.
Window.releaseEvents() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreleaseevents deprecatednon-standardchrome full
support yesedge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknownnon-standard...
...expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.deprecated.
Window.scrollBy() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetscrollbychrome full
support 1edge full
support 79 full
support 79 no
support 12 — 79notes notes only scrollby(x-coord, y-coord) is
supported.firefox full
support 1ie partial
support 11notes ...
...partial
support 11notes notes only scrollby(x-coord, y-coord) is
supported.opera full
support 3safari full
support 1webview android full
support 1chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 1samsung internet android full
support 1.0scrolltooptions parameterchrome full
support 45edge full
support ...
... 79firefox full
support yesie no
support noopera full
support 32safari no
support nowebview android full
support 45chrome android full
support 45firefox android full
support yesopera android full
support 32safari ios no
support nosamsung internet android full
support 5.0legend full
support ...
... full
support partial
support partial
support no
support no
supportsee implementation notes.see implementation notes.
WindowOrWorkerGlobalScope.setInterval() - Web APIs
callback arguments as previously discussed, internet explorer versions 9 and below do not
support the passing of arguments to the callback function in either settimeout() or setinterval().
...also, es2015
supports arrow functions, with lexical this allowing us to write setinterval( () => this.mymethod) if we're inside myarray method.
...however, the daemon constructor itself is nothing but a clone of minidaemon with an added
support for init and onstart functions declarable during the instantiation of the daemon.
...if you want to work on it with browsers that natively do not
support this feature, use one of the methods proposed above.
XMLHttpRequest.sendAsBinary() - Web APIs
the send() method now
supports binary data and should now be used instead.
...you should instead simply use the send() method, which now
supports binary data in various forms.
... polyfill since sendasbinary() is an experimental feature, here is a polyfill for browsers that don't
support the sendasbinary() method but
support typed arrays.
...another possible approach to send binary data is the stringview non native typed arrays
superclass in conjunction with the send() method.
XRSessionMode - Web APIs
inline sessions don't require special hardware and should be avalable on any user agent offering webxr api
support.
... usage notes the xrsessionmode type indicates the values that can be specified when calling xr.issession
supported() to determine whether or not the specified session type is
supported and available to be used, and by requestsession() to attempt to open a new webxr session.
... the immersive-ar mode
supports all the same features and reference spaces that immersive-vr does, since both are immersive sessions.
... browsers may
support either or both of these modes, but if webxr is available, the inline mode is always
supported.
ARIA: button role - Accessibility
if the attribute is omitted or set to its default value of aria-pressed="undefined", the element does not
support being pressed.
... html <button type="button" onclick="handlebtnclick()" onkeydown="handlebtnkeydown()"> mute audio </button> <span role="button" tabindex="0" aria-pressed="false" onclick="handlebtnclick(event)" onkeydown="handlebtnkeydown(event)"> mute audio </span> <audio id="audio" src="https://udn.realityripple.com/samples/41/191d072707.mp3"> your browser does not
support the <code>audio</code> element.
... border: 2px solid transparent; } button:active, button:focus, [role="button"][aria-pressed="true"] { border: 2px solid #000; } javascript function handlebtnclick(event) { togglebutton(event.target); } function handlebtnkeydown(event) { // check to see if space or enter were pressed if (event.key === " " || event.key === "enter" || event.key === "spacebar") { // "spacebar" for ie11
support // prevent the default action to stop scrolling when space is pressed event.preventdefault(); togglebutton(event.target); } } function togglebutton(element) { var audio = document.getelementbyid('audio'); // check to see if the button is pressed var pressed = (element.getattribute("aria-pressed") === "true"); // change aria-pressed to the opposite state element.setatt...
... where possible, it is recommended to use native html buttons (<button>, <input type="button">, <input type="submit">, <input type="reset"> and <input type="image">) rather than the button role, as native html buttons are
supported by all user agents and assistive technology and provide keyboard and focus requirements by default, without need for additional customization.
:where() - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:where()chrome full
support 72disabled full
support 72disabled disabled from version 72: this feature is behind the #enable-experimental-web-platform-features preference (needs to be set to enabled).
... to change preferences in chrome, visit chrome://flags.edge no
support nofirefox full
support 78 full
support 78 full
support 77notes disabled notes enabled by default in firefox nightly.disabled from version 77: this feature is behind the layout.css.is-where-selectors.enabled preference (needs to be set to enabled).
... to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android full
support 72disabled full
support 72disabled disabled from version 72: this feature is behind the #enable-experimental-web-platform-features preference (needs to be set to enabled).
... to change preferences in chrome, visit chrome://flags.firefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportsee implementation notes.see implementation notes.user must explicitly enable this feature.user must explicitly enable this feature.
system - CSS: Cascading Style Sheets
] | [ extends <counter-style-name> ]where <counter-style-name> = <custom-ident> examples cyclic counter if your browser
supports it, this example will render a list like this: ◉ one ◉ two ◉ three css <ul> <li>one</li> <li>two</li> <li>three</li> </ul> @counter-style fisheye { system: cyclic; symbols: ◉; suffix: " "; } ul { list-style: fisheye; } result fixed counter if your browser
supports it, this example will render a list like this: ➀ one ➁ two ➂ three 4 four 5 five...
... css <ul> <li>one</li> <li>two</li> <li>three</li> <li>four</li> <li>five</li> </ul> @counter-style circled-digits { system: fixed; symbols: ➀ ➁ ➂; suffix: ' '; } ul { list-style: circled-digits; } result symbolic counter if your browser
supports it, this example will render a list like this: a.
..."; } ul { list-style: abc; } result alphabetic counter if your browser
supports it, this example will render a list like this: a.
..."; } ul { list-style: abc; } result numeric counter if your browser
supports it, this example will render a list like this: b.
color-gamut - CSS: Cascading Style Sheets
the color-gamut css media feature can be used to test the approximate range of colors that are
supported by the user agent and the output device.
... srgb the output device can
support approximately the srgb gamut or more.
... p3 the output device can
support approximately the gamut specified by the dci p3 color space or more.
... rec2020 the output device can
support approximately the gamut specified by the itu-r recommendation bt.2020 color space or more.
Controlling Ratios of Flex Items Along the Main Axis - CSS: Cascading Style Sheets
in a browser that
supports this keyword you should be able to see that the text has taken all of the soft wrapping opportunities available to it, becoming as small as it can be without overflowing.
... if your browser does not yet
support these keywords both paragraphs will be rendered as normal paragraphs in block flow; the below screenshots show the expected rendering.
...this is a newer keyword and has less browser
support, however you can always get the same effect by using auto as the flex-basis and ensuring that your item does not have a width set, in order that it will be auto-sized.
... is flex-basis set to auto or content (in a
supporting browser)?
Cross-browser Flexbox mixins - CSS: Cascading Style Sheets
this article provides a set of mixins for those who want to mess around with flexbox using the native
support of current browsers.
...ired by: http://dev.opera.com/articles/view/advanced-cross-browser-flexbox/ with help from: http://w3.org/tr/css3-flexbox/ http://the-echoplex.net/flexyboxes/ http://msdn.microsoft.com/en-us/library/ie/hh772069(v=vs.85).aspx http://css-tricks.com/using-flexbox/ a complete guide to flexbox | css-tricks visual guide to css3 flexbox: flexbox playground | note: mixins are not currently
supported natively in browsers.
... values: see the flex reference for values and default spec: https://drafts.csswg.org/css-flexbox/#flex-property @mixin flex($fg: 1, $fs: 0, $fb: auto) { // set a variable to be used by box-flex properties $fg-boxflex: $fg; // box-flex only
supports a flex-grow value so lets grab the // first item in the list and just return that.
... note: space-* values not
supported in older syntaxes.
Basic concepts of Logical Properties and Values - CSS: Cascading Style Sheets
the below diagram shows the inline and block directions in a horizontal writing mode: this diagram shows block and inline in a vertical writing mode: browser
support logical properties and values can be thought of as a couple of groups in terms of current browser
support.
...these mapped properties are starting to see good browser
support, and if you look at the individual pages for the properties in the reference here on mdn you will see that edge is the only modern browser currently missing these.
... testing for browser
support you can test for
support of logical properties and values using feature queries.
... for example you could set a width, test for inline-size and, if it is
supported, set the width to auto and the inline-size to the original width value.
appearance (-moz-appearance, -webkit-appearance) - CSS: Cascading Style Sheets
note that firefox and edge also
support -webkit-appearance, for compatibility reasons.
...although it is
supported in most modern browsers, its implementation varies widely.
... in older browsers, even the keyword none does not have the same effect on all form elements across different browsers, and some do not
support it at all.
...available on the web starting in ios 10.1 and macos 10.12.1 obsolete values the following values were at some point implemented for a prefixed property, but are no longer
supported.
Adapting to the new two-value syntax of display - CSS: Cascading Style Sheets
t is specified then the specification explains that the outer value should be set to block: "if a <display-inside> value is specified but <display-outside> is omitted, the element’s outer display type defaults to block—except for ruby, which defaults to inline." finally, we have some legacy pre-composed inline-level values of: inline-block inline-table inline-flex inline-grid if a
supporting browser comes across these as single values then it treats them the same as the two-value versions: inline flow-root inline table inline flex inline grid so all of the current situations are neatly covered, meaning that we maintain compatibility of existing and new sites that use the single values, while allowing the spec to evolve.
...you can see current
support in the compat data for the two-value syntax: the compatibility table on this page is generated from structured data.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmulti-keyword values experimentalchrome no
support noedge no
support nofirefox full
support 70ie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android ...
... no
support nofirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
font-stretch - CSS: Cascading Style Sheets
however, note that the <percentage> syntax is not yet
supported by all browsers: check the browser compatibility table for details.
... font face selection the face selected for a given value of font-stretch depends on the faces
supported by the font in question.
... the table below demonstrates the effect of
supplying various different percentage values of font-stretch on two different fonts: 50% 62.5% 75% 87.5% 100% 112.5% 125% 150% 200% helvetica neue league mono variable helvetica neue, which is installed by default on macos, has a single condensed face in addition to the normal face.
... ::first-line.inheritedyescomputed valueas specifiedanimation typea font stretch formal syntax <font-stretch-absolute>where <font-stretch-absolute> = normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage> examples setting font stretch percentages note that this example will only work in browsers that
support <percentage> values.
font-variant-caps - CSS: Cascading Style Sheets
in each case, if the font doesn't
support the opentype value, then it synthesizes the glyphs.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfont-variant-capschrome full
support 52edge full
support 79firefox full
support 34 full
support 34 no
support 24 — 34disabled disabled from version 24 until version 34 (exclusive): this feature is behind the layout.css.font-features.enabled...
...to change preferences in firefox, visit about:config.ie no
support noopera full
support 39safari no
support nowebview android full
support 52chrome android full
support 52firefox android full
support 34 full
support 34 no
support 24 — 34disabled disabled from version 24 until version 34 (exclusive): this feature is behind the layout.css.font-features.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android full
support 41safari ios no
support nosamsung internet android full
support 6.0legend full
support full
support no
support no
supportuser must explicitly enable this feature.user must explicitly enable this feature.
<integer> - CSS: Cascading Style Sheets
opera 12.1
supports values up to 215-1, ie up to 220-1, and other browsers even higher.
... during the css3 values cycle there was a lot of discussion about setting a minimum range to
support: the latest decision, in april 2012 during the lc phase, was [-227-1; 227-1], but other values like 224-1 and 230-1 were also proposed.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet<integer>chrome full
support 1edge full
support 12firefox full
support 1ie full
support 3opera full
support 3.5safari full
support 1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support ...
object-position - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetobject-positionchrome full
support 31edge full
support 16firefox full
support 36ie no
support noopera full
support 19 full
support 19 full
support ...
... 11.6prefixed prefixed implemented with the vendor prefix: -o-safari full
support 10webview android full
support 4.4.3chrome android full
support 31firefox android full
support 36opera android full
support 19 full
support 19 full
support 12prefixed prefixed implemented with the vendor prefix: -o-safari ios full
support 10samsung internet android full
support 2.0
support for three-v...
...alue syntax of positionchrome no
support 31 — 68edge no
support 16 — 79firefox no
support 36 — 70ie no
support noopera no
support 19 — 55 no
support 19 — 55 full
support 11.6prefixed prefixed implemented with the vendor prefix: -o-safari full
support 10webview android no
support 4.4.3 — 68chrome android no
support 31 — 68firefox android full
support 36opera android no
support 19 — 48 ...
... no
support 19 — 48 full
support 12prefixed prefixed implemented with the vendor prefix: -o-safari ios full
support 10samsung internet android no
support 2.0 — 10.0legend full
support full
support no
support no
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
ruby-position - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetruby-position experimentalchrome no
support noedge no
support 12 — 79firefox full
support 38ie no
support nonotes no
support nonotes notes internet explorer 9 and later
support an old draft values: inline (equivalent of having display: inline on ...
...the ruby), and above (synonym of the modern over).opera no
support nosafari no
support nonotes no
support nonotes notes safari implements a non-standard, prefixed, version of ruby-position, -webkit-ruby-position: it has two properties: before and after (both equivalent, for ltr and rtl scripts to the standard over value used with ruby-align: start).webview android no
support nochrome android no
support nofirefox android full
support 38opera android no
support nosafari ios ...
... no
support nonotes no
support nonotes notes safari implements a non-standard, prefixed, version of ruby-position, -webkit-ruby-position: it has two properties: before and after (both equivalent, for ltr and rtl scripts to the standard over value used with ruby-align: start).samsung internet android no
support nointer-character experimentalchrome no
support noedge no
support nofirefox no
support noie no
support noopera no
support nosafari ...
... no
support nowebview android no
support nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
<shape> - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet<shape> deprecatedchrome full
support 1edge full
support 12firefox full
support 1ie full
support 5.5opera full
support 9.5safari full
support 1.3webview android fu...
...ll
support 37chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0rect() deprecatedchrome full
support 1edge full
support 12firefox full
support 1ie full
support 5.5notes full
support 5.5notes notes for internet explorer ...
...for internet explorer 8 and later versions, only the standard comma-separated syntax is
supported.opera full
support 9.5safari full
support 1.3webview android full
support 37chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend ...
... full
support full
supportdeprecated.
Setting up adaptive streaming media sources - Developer guides
this article explains how, looking at two of the most common formats: mpeg-dash and hls (http live streaming.) choosing formats in terms of adaptive streaming formats, there are many to choose from; we decided to choose the following two as between them we can
support most modern browsers.
... other reasons to use live profile over ondemand for vod content may be: your client or server does not
support range requests your server cannot cache range requests efficiently your server cannot prefetch range requests efficiently the sidx* is large and having to load it first slows down startup a little you want to use the original files for both dash and other forms of delivery (such as microsoft smooth streaming) as a transition strategy you can use the same media files for both live transmi...
... <video src="my.mpd" type="application/dash+xml"></video> it might be wise to provide a fallback for browsers that don't yet
support mpeg-dash: <video> <source src="my.mpd" type="application/dash+xml"> <!-- fallback --> <source src="my.mp4" type="video/mp4"> <source src="my.webm" type="video/webm"> </video> live profile a useful piece of software when dealing with mpeg-dash is dash encoder.
...ile you can reference as expected it from within the <video> element: <video src="my.mpd" type="application/dash+xml"></video> it might be wise to provide a fallback: <video> <source src="my.mpd" type="application/dash+xml"> <!-- fallback --> <source src="my.mp4" type="video/mp4"> <source src="my.webm" type="video/webm"> </video> note: mpeg-dash playback relies on dash.js and browser
support for media source extensions, see the latest dash.js reference player.
Writing Web Audio API code that works in every browser - Developer guides
if it's using, for example, oscillatornode, you will have to wait until it is
supported, or maybe, if you're really eager, hack in some replacement using scriptprocessornode, which allows you to write a node with callbacks that get called periodically, so that your javascript code generates or processes audio.
... the node parameters you use must also be
supported in firefox too.
...for example, up until a couple of days ago pannernode did not
support the default hrtf panning model yet, and attempting to use a pannernode with that configuration simply resulted in silence or a mono output coming out from that node, depending on the build you used.
... today the
support is already present in nightly, but not quite yet in aurora.
Mutation events - Developer guides
the practical reasons to avoid the mutation events are performance issues and cross-browser
support.
... cross-browser
support these events are not implemented consistently across different browsers, for example: ie prior to version 9 didn't
support the mutation events at all and does not implement some of them correctly in version 9 (for example, domnodeinserted) webkit doesn't
support domattrmodified (see webkit bug 8191 and the workaround) "mutation name events", i.e.
... domelementnamechanged and domattributenamechanged are not
supported in firefox (as of version 11), and probably in other browsers as well.
... dottoro documents browser
support for mutation events.
<acronym> - HTML: Hypertext Markup Language
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetacronym deprecatednon-standardchrome full
support yesedge full
support 12firefox full
support yesie full
support yesopera full
support yessafari full
support yeswebview android ...
... full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
supportnon-standard.
... expect poor cross-browser
support.non-standard.
... expect poor cross-browser
support.deprecated.
<input type="email"> - HTML: Hypertext Markup Language
on browsers that don't
support inputs of type email, a email input falls back to being a standard text input.
... 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 validated as conforming to e-mail syntax.
... additional attributes in addition to the attributes that operate on all <input> elements regardless of their type, email inputs
support the following attributes: attribute description list the id of the <datalist> element that contains the optional pre-defined autocomplete options maxlength the maximum number of characters the input should accept minlength the minimum number of characters long the input can be and still be considered valid multiple whether or no...
... basic validation browsers that
support the email input type automatically provide validation to ensure that only text that matches the standard format for internet e-mail addresses is entered into the input box.
<input type="file"> - HTML: Hypertext Markup Language
events 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 pa...
... additional attributes in addition to the common attributes shared by all <input> elements, inputs of type file also
support the following attributes: attribute description accept one or more unique file type specifiers describing file types to allow capture what source to use for capturing image or video data files a filelist listing the chosen files multiple a boolean which, if present, indicates that the user may choose more than one file ac...
...however, even though it has relatively broad
support, it is still not standard and should not be used unless you have no alternative.
...there are some historical reasons for this quirk, but it is
supported across all modern browsers, and in fact is defined in the spec.
<input type="tel"> - HTML: Hypertext Markup Language
note: browsers that don't
support type tel fall back to being a standard text input.
... 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 value attribute contains a domstring that either represents a telephone number or is an empty string ("").
... additional attributes in addition to the attributes that operate on all <input> elements regardless of their type, telephone number inputs
support the following attributes: attribute description list the id of the <datalist> element that contains the optional pre-defined autocomplete options maxlength the maximum length, in utf-16 characters, to accept as a valid input minlength the minimum length that is considered valid for the field's contents pattern a regular expression the entered value must match to pass constraint validation placeholder an example value to display inside the field when it has no value readonly a boolean attribute which, if present, indicates that the field's contents should not...
... mozactionhint a mozilla extension,
supported by firefox for android, which provides a hint as to what sort of action will be taken if the user presses the enter or return key while editing the field.
<picture>: The Picture element - HTML: Hypertext Markup Language
if no matches are found—or the browser doesn't
support the <picture> element—the url of the <img> element's src attribute is selected.
... offering alternative image formats, for cases where certain formats are not
supported.
... content categories flow content, phrasing content, embedded content permitted content zero or more <source> elements, followed by one <img> element, optionally intermixed with script-
supporting elements.
...if the user agent does not
support the given type, the <source> element is skipped.
<template>: The Content Template element - HTML: Hypertext Markup Language
content categories metadata content, flow content, phrasing content, script-
supporting element permitted content no restrictions tag omission none, both the starting and ending tag are mandatory.
... permitted parents any element that accepts metadata content, phrasing content, or script-
supporting elements.
... // test to see if the browser
supports the html template element by checking // for the presence of the template element's content attribute.
... tbody.appendchild(clone); // clone the new row and insert it into the table var clone2 = template.content.clonenode(true); td = clone2.queryselectorall("td"); td[0].textcontent = "0384928528"; td[1].textcontent = "acme kidney beans 2"; tbody.appendchild(clone2); } else { // find another way to add the rows to the table because // the html template element is not
supported.
<tfoot>: The Table Foot element - HTML: Hypertext Markup Language
note: do not use this attribute as it is obsolete (not
supported) in the latest standard.
... note: do not use this attribute as it is obsolete (and not
supported) in the latest standard.
... note: do not use this attribute as it is obsolete (and not
supported) in the latest standard.
... note: do not use this attribute as it is obsolete (and not
supported) in the latest standard: instead set the css vertical-align property on it.
<thead>: The Table Head element - HTML: Hypertext Markup Language
note: do not use this attribute as it is obsolete (not
supported) in the latest standard.
... note: do not use this attribute as it is obsolete (and not
supported) in the latest standard.
... note: do not use this attribute as it is obsolete (and not
supported) in the latest standard.
... note: do not use this attribute as it is obsolete (and not
supported) in the latest standard: instead set the css vertical-align property on it.
accesskey - HTML: Hypertext Markup Language
note: in the whatwg spec, it says you can specify multiple space-separated characters, and the browser will use the first one it
supports.
...ie/edge uses the first one it
supports without problems, provided there are no conflicts with other commands.
...e n/a control + option + key control + option + shift + key google chrome alt + shift + key safari n/a opera 15+ alt + key control + alt + key opera 12 shift + esc opens a contents list which are accessible by accesskey, then, can choose an item by pressing key accessibility concerns in addition to poor browser
support, there are numerous concerns with the accesskey attribute: an accesskey value can conflict with a system or browser keyboard shortcut, or assistive technology functionality.
... recommendation only
supported on <a>, <area>, <button>, <input>, <label>, <legend> and <textarea> ...
Compression in HTTP - HTTP
over the years, algorithms also got more efficient, and new ones are
supported by clients and servers.
... all modern browsers and servers do
support it and the only thing to negotiate is the compression algorithm to use.
...the browser sends an accept-encoding header with the algorithm it
supports and its order of precedence, the server picks one, uses it to compress the body of the response and uses the content-encoding header to tell the browser the algorithm it has chosen.
... apache
supports compression and uses mod_deflate; for nginx there is ngx_http_gzip_module; for iis, the <httpcompression> element.
Connection management in HTTP/1.x - HTTP
unless dealing with a very old system, which doesn't
support a persistent connection, there is no compelling reason to use this model.
... for these reasons, pipelining has been
superseded by a better algorithm, multiplexing, that is used by http/2.
... today, every http/1.1-compliant proxy and server should
support pipelining, though many have limitations in practice: a significant reason no modern browser activates this feature by default.
...however, the failure of pipelining has lead to designing
superior connection management models, which have been incorporated into http/2.
Content negotiation - HTTP
initial
support is in chrome 46 or later.
... with utf-8 now being well-
supported, being the preferred way of encoding characters, and to guarantee better privacy through less configuration-based entropy, browsers omit the accept-charset header: internet explorer 8, safari 5, opera 11, firefox 10 and chrome 27 have abandoned this header.
... the accept-encoding header the accept-encoding header defines the acceptable content-encoding (
supported compressions).
... the user-agent header though there are legitimate uses of this header for selecting content, it is considered bad practice to rely on it to define what features are
supported by the user agent.
Access-Control-Allow-Headers - HTTP
header type response header forbidden header name no syntax access-control-allow-headers: <header-name>[, <header-name>]* access-control-allow-headers: * directives <header-name> the name of a
supported request header.
...it indicates that in addition to the cors-safelisted request headers, a custom header named x-custom-header is
supported by cors requests to the server.
... access-control-allow-headers: x-custom-header multiple headers this example shows access-control-allow-headers when it specifies
support for multiple headers.
...est-method, access-control-request-headers, and origin, such as: options /resource/foo access-control-request-method: delete access-control-request-headers: origin, x-requested-with origin: https://foo.bar.org response if the server allows cors requests to use the delete method, it responds with an access-control-allow-methods response header, which lists delete along with the other methods it
supports: http/1.1 200 ok content-length: 0 connection: keep-alive access-control-allow-origin: https://foo.bar.org access-control-allow-methods: post, get, options, delete access-control-max-age: 86400 if the requested method isn't
supported, the server will respond with an error.
Index - HTTP
6 accept-ranges http, http header, range requests, reference, response header the accept-ranges response http header is a marker used by the server to advertise its
support of partial requests.
... 16 allow entity header, http, http header, reference, header the allow header lists the set of methods
support by a resource.
... 107 trailer http, reference, header the trailer response header allows the sender to include additional fields at the end of chunked messages in order to
supply metadata that might be dynamically generated while the message body is sent, such as a message integrity check, digital signature, or post-processing status.
...although these protections are largely unnecessary in modern browsers when sites implement a strong content-security-policy that disables the use of inline javascript ('unsafe-inline'), they can still provide protections for users of older web browsers that don't yet
support csp.
Proxy Auto-Configuration (PAC) file - HTTP
javascript function returns a single string if the string is null, no proxies should be used the string can contain any number of the following building blocks, separated by a semicolon: direct connections should be made directly, without any proxies proxy host:port the specified proxy should be used socks host:port the specified socks server should be used recent versions of firefox
support as well: http host:port the specified proxy should be used https host:port the specified https proxy should be used socks4 host:port socks5 host:port the specified socks server (with the specified sock version) should be used if there are multiple semicolon-separated settings, the left-most setting will be used, until firefox fails to establish the connection to the proxy.
...are always
supported, while [characters] and [^characters] are
supported by some implmentations including firefox.
...they have defined some new "ex" suffixed functions around the address handling parts to
support ipv6.
... the feature is
supported by chromium, but not yet by firefox (bugzilla #558253).
HTTP response status codes - HTTP
415 un
supported media type the media format of the requested data is not
supported by the server, so the server is rejecting the request.
... 501 not implemented the request method is not
supported by the server and cannot be handled.
... the only methods that servers are required to
support (and therefore that must not return this code) are get and head.
... 505 http version not
supported the http version used in the request is not
supported by the server.
Working with objects - JavaScript
for example,
suppose you want to create an object type for cars.
...for example,
suppose you define an object called person as follows: function person(name, age, sex) { this.name = name; this.age = age; this.sex = sex; } and then instantiate two new person objects as follows: var rand = new person('rand mckinnon', 33, 'm'); var ken = new person('ken jones', 39, 'm'); then, you can rewrite the definition of car to include an owner property that takes a person object, ...
...for example,
suppose you have 2 objects, managerand intern.
...you can define getters and setters on any predefined core object or user-defined object that
supports the addition of new properties.
Number.prototype.toLocaleString() - JavaScript
english locale checking for
support for locales and options arguments the locales and options arguments are not
supported in all browsers yet.
... to check for
support in es5.1 and later implementations, the requirement that illegal language tags are rejected with a rangeerror exception can be used: function tolocalestring
supportslocales() { var number = 0; try { number.tolocalestring('i'); } catch (e) { return e.name === 'rangeerror'; } return false; } prior to es5.1, implementations were not required to throw a range error exception if tolocalestring is called with arguments.
... a check that works in all hosts, including those
supporting ecma-262 prior to ed 5.1, is to test for the features specified in ecma-402 that are required to
support regional options for number.prototype.tolocalestring directly: function tolocalestring
supportsoptions() { return !!(typeof intl == 'object' && intl && typeof intl.numberformat == 'function'); } this tests for a global intl object, checks that it's not null and that it has a numberformat property that is a function.
...chinese decimal console.log(number.tolocalestring('zh-hans-cn-u-nu-hanidec')); // → 一二三,四五六.七八九 // when requesting a language that may not be
supported, such as // balinese, include a fallback language, in this case indonesian console.log(number.tolocalestring(['ban', 'id'])); // → 123.456,789 using options the results provided by tolocalestring can be customized using the options argument: var number = 123456.789; // request a currency format console.log(number.tolocalestring('de-de', { style: 'currency', currency: 'eur' })); // �...
String.fromCodePoint() - JavaScript
polyfill the string.fromcodepoint() method has been added to ecmascript 2015 and may not be
supported in all web browsers or environments yet.
...en = codeunits.push( (codepoint >> 10) + 0xd800, // highsurrogate (codepoint % 0x400) + 0xdc00 // lowsurrogate ); } if (codelen >= 0x3fff) { result += stringfromcharcode.apply(null, codeunits); codeunits.length = 0; } } return result + stringfromcharcode.apply(null, codeunits); }; try { // ie 8 only
supports `object.defineproperty` on dom elements object.defineproperty(string, "fromcodepoint", { "value": fromcodepoint, "configurable": true, "writable": true }); } catch(e) { string.fromcodepoint = fromcodepoint; } }(string.fromcharcode)); examples using fromcodepoint() valid input: string.fromcodepoint(42); // "*" string.fromcodepoint(65, 90); // "az...
...x1d307); // "\ud834\udf06a\ud834\udf07" invalid input: string.fromcodepoint('_'); // rangeerror string.fromcodepoint(infinity); // rangeerror string.fromcodepoint(-1); // rangeerror string.fromcodepoint(3.14); // rangeerror string.fromcodepoint(3e-2); // rangeerror string.fromcodepoint(nan); // rangeerror compared to fromcharcode() string.fromcharcode() cannot return
supplementary characters (i.e.
...instead, it requires the utf-16 surrogate pair in order to return a
supplementary character: string.fromcharcode(0xd83c, 0xdf03); // code point u+1f303 "night with string.fromcharcode(55356, 57091); // stars" == "\ud83c\udf03" string.fromcodepoint(), on the other hand, can return 4-byte
supplementary characters, as well as the more common 2-byte bmp characters, by specifying their code point (which is equivalent to the utf-32 code unit): string.fromcodepoint(0x1f303); // or 127747 in decimal specifications specification ecmascript (ecma-262)the definition of 'string.fromcodepoint' in that specification.
String.prototype.replaceAll() - JavaScript
as of august 2020 the replaceall() method is
supported by firefox but not by chrome.
...a number of special replacement patterns are
supported; see the "specifying a string as a parameter" section below.
...the arguments
supplied to this function are described in the "specifying a function as a parameter" section below.
... the arguments to the function are as follows: possible name
supplied value match the matched substring.
WebAssembly.CompileError - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jscompileerrorchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0compileerror() constructorchrome ...
... full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
support 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support ...
... 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.LinkError - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jslinkerrorchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0linkerror() constructorchrome ...
... full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
support 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support ...
... 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Memory() constructor - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsmemory() constructorchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0shared flagchrome full...
...
support 74edge full
support 79firefox full
support 78ie no
support noopera full
support 62safari no
support nowebview android no
support nochrome android no
support nofirefox android no
support noopera android no
support nosafari ios no
support nosamsung internet android no
support ...
... nonodejs full
support 12.0.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.RuntimeError - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsruntimeerrorchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0runtimeerror() constructorchrome ...
... full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
support 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support ...
... 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.
JavaScript typed arrays - JavaScript
each entry in a javascript typed array is a raw binary value in one of a number of
supported formats, from 8-bit integers to 64-bit floating-point numbers.
...moreover, not all methods available for normal arrays are
supported by typed arrays (e.g.
... xmlhttprequest.prototype.send() xmlhttprequest instances' send() method now
supports typed arrays and arraybuffer objects as argument.
...this can be done using array.from(), or using the following code where array.from() is un
supported.
<mmultiscripts> - MathML
mathml uses a special syntax to describe subscripts and
superscripts for both, postscripts and prescripts, attached to a base expression: <mmultiscripts> base (subscript
superscript)* [ <mprescripts/> (presubscript pre
superscript)* ] </mmultiscripts> after the base expression you can specify a postsubscript and a post
superscript.
...
superscriptshift the minimum space by which to shift the
superscript above the baseline of the expression, as a css length.
... examples using <mprescripts/> sample rendering: rendering in your browser: x d c b a <math> <mmultiscripts> <mi>x</mi> <!-- base expression --> <mi>d</mi> <!-- postsubscript --> <mi>c</mi> <!-- post
superscript --> <mprescripts /> <mi>b</mi> <!-- presubscript --> <mi>a</mi> <!-- pre
superscript --> </mmultiscripts> </math> using <none/> sample rendering: rendering in your browser: x c b <math> <mmultiscripts> <mi>x</mi> <!-- base expression --> <none /> <!-- postsubscript --> <mi>c</mi> <!-- post
superscript --> <mprescripts /> <mi>b</mi> <!-- presubscr...
...ipt --> <none /> <!-- pre
superscript --> </mmultiscripts> </math> specifications specification status comment mathml 3.0the definition of 'mmultiscripts' in that specification.
Guide to streaming audio and video - Web media technologies
https live streaming https live streaming (hls) is a protocol developed by apple and
supported by safari on all of their platforms.
... hls may also be
supported in other environments, although in some cases this
support is conditional.
... for example, because many web sites' mobile-specific content assume that mobile browsers
support hls, firefox for android does as well, in order to avoid strange compatibility errors from occurring due to this assumption being incorrect.
... the desktop version of android, however, does not
support hls.
Populating the page: how browsers work - Web Performance
to be fast to load, the developers’ goals include sending requested information as fast as possible, or at least seem
super fast.
... in our example,
suppose the initial layout occurs before the image is returned.
...the browser needs to do this
super quickly.
... in this case the user would see the page
super quickly, but wouldn't be able to scroll without jank until the script was downloaded, parsed and executed.
Navigation and resource timings - Web Performance
while deprecated, they are
supported in all browsers.
... performance timings the performancetiming api, a javascript api for measuring the loading performance of the requested page, is deprecated but
supported in all browsers.
... ssl = time.requeststart - time.secureconnectionstart; performance entry api the general performance timings above are deprecated but fully
supported.
...ach((resource) => { console.dir(resource); }); performance.getentriesbytype('mark').foreach((mark) => { console.dir(mark); }); performance.getentriesbytype("measure").foreach((measure) => { console.dir(measure); }); performance.getentriesbytype('paint').foreach((paint) => { console.dir(paint); }); performance.getentriesbytype('frame').foreach((frame) => { console.dir(frame); }); in
supporting browsers, you can use performance.getentriesbytype('paint') to query the measure for first-paint and first-contentful-paint.
Installing and uninstalling web apps - Progressive web apps (PWAs)
what browsers
support installation?
... installation is
supported by chrome for android and android webview version 31 and later, opera for android 32 onward, samsung internet from version 4 onward, and firefox for android version 58 and later.
...some parts of the pwa ecosystem are
supported, while others are not.
... safari for ios / iphoneos / ipados on apple's ios (including iphoneos and ipados), the safari browser built into the device has some
support for web applications, including
support for the add to home screen feature.
stroke-linejoin - SVG: Scalable Vector Graphics
value --> <path d="m7,5 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="none" stroke-linejoin="round" /> <!-- upper right path: effect of the "bevel" value --> <path d="m13,5 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="none" stroke-linejoin="bevel" /> <!-- bottom left path: effect of the "miter-clip" value with fallback to "miter" if not
supported.
... --> <path d="m3,11 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="none" stroke-linejoin="miter-clip" /> <!-- bottom right path: effect of the "arcs" value with fallback to "miter" if not
supported.
... <use xlink:href="#highlight" x="6" /> <use xlink:href="#highlight" x="12" /> <use xlink:href="#highlight" x="2" y="6" /> <use xlink:href="#highlight" x="8" y="6" /> </svg> usage context value arcs | bevel |miter | miter-clip | round default value miter animatable yes arcs note: the arcs value as been introduced in svg2 and it isn't widely
supported yet, see browser compatibility bellow for details.
... <circle cx="5" cy="5" r="0.05" fill="pink" /> <path d="m7,5 l0.75,-3 l0.75,3" stroke="pink" fill="none" stroke-width="0.025" /> <circle cx="7" cy="5" r="0.05" fill="pink" /> <circle cx="7.75" cy="2" r="0.05" fill="pink" /> <circle cx="8.5" cy="5" r="0.05" fill="pink" /> </g> </svg> miter-clip note: the miter-clip value as been introduced in svg2 and it isn't widely
supported yet, see browser compatibility bellow for details.
Same-origin policy - Web security
these exceptions are nonstandard and un
supported in any other browser.
...a script can set the value of document.domain to its current domain or a
superdomain of its current domain.
... if set to a
superdomain of the current domain, the shorter
superdomain is used for same-origin checks.
...however, company.com could not set document.domain to othercompany.com, since that is not a
superdomain of company.com.
<xsl:output> - XSLT: Extensible Stylesheet Language Transformations
standalone (not
supported.) if present, indicates that a standalone declaration should occur in the output document and gives its value.
... indent (not
supported.) specifies if the output should be indented to indicate its hierarchic structure.
... media-type (not
supported.) specifies the output document mime type.
... gecko
support partial
support.
The Netscape XSLT/XPath Reference - XSLT: Extensible Stylesheet Language Transformations
elements xsl:apply-imports (
supported) xsl:apply-templates (
supported) xsl:attribute (
supported) xsl:attribute-set (
supported) xsl:call-template (
supported) xsl:choose (
supported) xsl:comment (
supported) xsl:copy (
supported) xsl:copy-of (
supported) xsl:decimal-format (
supported) xsl:element (
supported) xsl:fallback (not
supported) xsl:for-each (
supported) xsl:if (
supported) xsl:import (mostly
supported) xsl:include (
supported) xsl:key (
supported) xs...
...l:message (
supported) xsl:namespace-alias (not
supported) xsl:number (partially
supported) xsl:otherwise (
supported) xsl:output (partially
supported) xsl:param (
supported) xsl:preserve-space (
supported) xsl:processing-instruction xsl:sort (
supported) xsl:strip-space (
supported) xsl:stylesheet (partially
supported) xsl:template (
supported) xsl:text (partially
supported) xsl:transform (
supported) xsl:value-of (partially
supported) xsl:variable (
supported) xsl:when (
supported) xsl:with-param (
supported) axes ancestor ancestor-or-self attribute child descendant descendant-or-self following following-sibling namespace (not
supported) parent preceding preceding-sibling self functions boolean() (
supported) ceiling() (
supported) concat() (
sup...
...ported) contains() (
supported) count() (
supported) current() (
supported) document() (
supported) element-available() (
supported) false() (
supported) floor() (
supported) format-number() (
supported) function-available() (
supported) generate-id() (
supported) id() (partially
supported) key() (
supported) lang() (
supported) last() (
supported) local-name() (
supported) name() (
supported) namespace-uri() (
supported) normalize-space() (
supported) not() (
supported) number() (
supported) position() (
supported) round() (
supported) starts-with() (
supported) string() (
supported) string-length() (
supported) substring() (
supported) substring-after() (
supported) substring-before() (
supported) sum() (
supported) system-property() (
supported) translate() ...
... (
supported) true() (
supported) unparsed-entity-url() (not
supported) ...
Using the WebAssembly JavaScript API - WebAssembly
if you save your example code now and load it a browser that
supports webassembly, you’ll see this in action!
... growing memory a memory instance can be grown by calls to memory.prototype.grow(), where again the argument is specified in units of webassembly pages: memory.grow(1); if a maximum value was
supplied upon creation of the memory instance, attempts to grow past this maximum will throw a webassembly.rangeerror exception.
... the engine takes advantage of this
supplied upper-bounds to reserve memory ahead of time, which can make resizing more efficient.
... when the time comes to call a function pointer, the webassembly caller
supplies the index, which can then be safety bounds checked against the table before indexing and calling the indexed function reference.
2015 MDN Fellowship Program - Archive of obsolete content
to
support our efforts, the fellow will review various technical specifications to identify gaps between the documentation and current situation and refine existing tests to adapt to this cross-browser test harness.
...fellows are responsible for obtaining their own visas if any are required (mozilla will provide reasonable
supporting documentation).
...the fellow is responsible for any related visas (mozilla can provide any necessary
supporting documentation).
Navigator.mozNotification - Archive of obsolete content
mobile only in gecko 2.0 available only in firefox mobile as of gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) provides
support for creating notification objects, which are used to display desktop notification alerts to the user.
... currently, these are only
supported on firefox mobile and firefox os.
... the
support for this property as been dropped in favor of the standard notification constructor.
Interacting with page scripts - Archive of obsolete content
also, unsafewindow isn't a
supported api, so it could be removed or changed in a future version of the sdk.
... content script to page script
suppose we have a page called "listen.html" hosted at "my-domain.org", and we want to send messages from the add-on to a script embedded in that page.
... in this example, "main.js" creates a page-mod to target the page we are interested in: var data = require("sdk/self").data; var pagemod = require("sdk/page-mod"); pagemod.pagemod({ include: "http://my-domain.org/talk.html", contentscriptfile: data.url("listen.js") }); the web page "talk.html" creates and dispatches a custom dom event, using initcustomevent()'s detail parameter to
supply the payload: <!doctype html> <html> <head></head> <body> <script> function sendmessage() { var event = document.createevent('customevent'); event.initcustomevent("addon-message", true, true, { hello: 'world' }); document.documentelement.dispatchevent(event); } </script> <button onclick="sendmessage()">send message</button> </body> </html> ...
clipboard - Archive of obsolete content
the following types are
supported: text (plain text) html (a string of html) image (a base-64 encoded png) if no data type is provided, then the module will detect it for you.
... currently the image type doesn't
support transparency on windows.
...the function will return null if the contents of the clipboard do not match the
supplied type.
context-menu - Archive of obsolete content
rather, create your item only once and
supply a context that matches the target url.
... for example,
suppose your add-on looks like this: var script = "self.on('click', function (node, data) {" + " console.log('clicked: ' + node.nodename);" + "});"; var cm = require("sdk/context-menu"); cm.item({ label: "body context", context: cm.selectorcontext("body"), contentscript: script }); this add-on creates a context-menu item that uses selectorcontext to display the it...
... to learn more about private windows, how to opt into private browsing, and how to
support private browsing, refer to the documentation for the private-browsing module.
ui - Archive of obsolete content
attaching panels to buttons is only
supported from firefox 30 onwards.
... you initialize a frame with a url pointing to an html document
supplied under your add-on's "data" directory.
...you initialize a sidebar with a url pointing to an html document
supplied under your add-on's "data" directory.
ui/button/toggle - Archive of obsolete content
for example,
suppose the browser has two windows (w1 and w2), and each window has two tabs.
...so you can
supply three icon files: icon: { "16": "./addon16.png", "32": "./addon32.png", "64": "./addon64.png" } this will look fine in both toolbar and menu panel, and for both screen resolutions.
... however, the icons in the toolbar will not quite fill the space available, so you can instead
supply four icons: icon: { "18": "./addon18.png", // toolbar icon non hidpi "32": "./addon32.png", // menu panel icon non hidpi "36": "./addon36.png", // toolbar icon hidpi "64": "./addon64.png" // menu panel icon hidpi } optional options: name type disabled boolean determines whether the button is disabled.
Modifying Web Pages Based on URL - Archive of obsolete content
a simple code snippet where content script is
supplied as contentscript option and url pattern is given as include option is as follows: // import the page-mod api var pagemod = require("sdk/page-mod"); // create a page-mod // it will run a script whenever a ".org" url is loaded // the script replaces the page contents with a message pagemod.pagemod({ include: "*.org", contentscript: 'document.body.innerhtml = ' + ' "<h1>p...
... keeping the content script in a separate file in the example above, we've
supplied content script as a string.
...we'll most likely continue to
support the feature, but api details may change.
Forms related code snippets - Archive of obsolete content
it is
supported in firefox & chrome (v8) and partially
supported in opera 9+ and safari.
... it is not
supported in internet explorer 6-9, or in the preview of internet explorer 10.
... note: the filereader() constructor was not
supported by internet explorer for versions before 10.
LookupNamespaceURI - Archive of obsolete content
note that all gecko-based browsers (including firefox)
support node.lookupnamespaceuri.
...document : htmldocument; //
support htmldocument if document not present // if document is present, is this method also present?
...kupnamespaceurihelper (node, prefix) { // adapted directly from http://www.w3.org/tr/dom-level-3-core/namespaces-algorithms.html#lookupnamespaceurialgo var i, att, htmlmode = document.contenttype, // mozilla only xmlnspattern = /^xmlns:(.*)$/; switch (node.nodetype) { case 1: // element_node (could also just test for node.element_node, etc., if
supported in all browsers) if (node.namespaceuri != null && node.prefix === prefix) { // note: prefix could be "null" in the case we are looking for default namespace return node.namespaceuri; } if (node.attributes.length) { for (i = 0; i < node.attributes.length; i++) { ...
JavaScript Daemons Management - Archive of obsolete content
but the daemon constructor itself is nothing but a clone of minidaemon with an added
support for init and onstart functions declarable during the instantiation of the daemon.
... about the “callback arguments” polyfill in order to make this framework compatible with internet explorer (which doesn't
support sending additional parameters to timers' callback function, neither with settimeout() or setinterval()) we included the ie-specific compatibility code (commented code), which enables the html5 standard parameters' passage functionality in that browser for both timers (polyfill), at the end of the daemon.js module.
...the daemon constructor itself is nothing but a clone of the little framework minidaemon with added
support for init and onstart functions (declarable during the instantiation of the daemon).
Creating custom Firefox extensions with the Mozilla build system - Archive of obsolete content
personally i like placing these directly under the root directory of my module, but i don't
suppose it makes any difference if you prefer putting them under a chrome/ subdirectory or whatever.
...you'll need an idl file for an interface that looks something like this: interface myilocation : nsi
supports { readonly attribute nsifile locationfile; }; place the idl file in the public/ directory of your project or subproject.
...the component implementation will include the methods for retrieving the path or file for the extension's home directory: mylocation.prototype = { queryinterface: function(iid) { if (iid.equals(nsi
supports)) return this; if (iid.equals(myilocation)) return this; components.returncode = components.results.ns_error_no_interface; return null; }, get locationfile() { return __location__.parent.parent; } } this assumes that the component resides in a subdirectory of the extension directory (by convention, this directory is called components/).
Inline options - Archive of obsolete content
firefox 7
supports a new syntax for defining extensions' preferences for both bootstrapped and traditional extensions.
...if you need script
support, see the display notifications section.
... <radio value="true" label="enabled"/> </radiogroup> </setting> <!-- button example - not tied to a preference, but attached to a command --> <setting title="do something" type="control"> <button id="myaddon-button" label="click me" oncommand="alert('thank you!');"/> </setting> setting element changed notifications most of the setting elements (it might be all i havent really looked),
support oninputchanged attribute.
Appendix: What you should know about open-source software licenses - Archive of obsolete content
in brief, it goes like this: best not to even try: creating a new license for your own use →
support is a nightmare.
... do you enthusiastically
support the free software movement?
...s/jca.pdf gnu free documentation license (gfdl) http://www.gnu.org/licenses/fdl.html creative commons http://www.creativecommons.cc/ gnu gplv3 second discussion draft http://gplv3.fsf.org/gpl-draft-2006-07-27.html gnu gplv3 third discussion draft http://gplv3.fsf.org/gpl-draft-2007-03-28.html gnu gplv3 "last call" discussion draft http://gplv3.fsf.org/gpl-draft-2007-05-31.html official
support for oss japan’s ministry of economy, trade, and industry has issued “guidelines when considering deploying open-source software.” this report, which was prepared by the software information center study group as part of the information-technology promotion agency’s (ipa) “platform-technology development and businesses relating to electronic commerce” project.
Chapter 1: Introduction to Extensions - Archive of obsolete content
instead, firefox can
support these features through extensions.
...he add-ons manager handles the following tasks: safely installs and uninstalls add-ons makes sure add-ons are compatible with the version of firefox you're using manages a whitelist of sites trusted for installing add-ons helps troubleshoot add-ons by disabling them and offering a safe mode confirms and runs updates provides access to add-ons' settings dialogs provides access to add-ons'
support sites development environment amenities initially, there wasn't adequate documentation available, and extension developers were largely left to fend for themselves1; however, now there's a considerable store of knowledge.
... because firefox and its extensions are designed to
support multiple languages, excellent extensions come from all over the world, and can be quickly localized by anyone interested.
Appendix D: Loading Scripts - Archive of obsolete content
debuggable: development tools
support debugging javascript loaded by script tags disadvantages scoping: scripts loaded via script tags share the global scope with all other scripts loaded into the same window.
...some known issues include: e4x xml objects cannot be wrapped for passage between compartments: bug 613142 there are a number of type detection issues, including: string.replace does not recognize regexp objects from foreign compartments: bug 633830 debugging:
support for sandbox evaluation in development tools is uneven.
... chromebug
supports firebug based sandboxes.
Appendix F: Monitoring DOM changes - Archive of obsolete content
their main disadvantage is that, due to their recent advent,
support is currently limited to firefox 14+ and chrome 18.
... while they are still viable for add-ons targeting only the latest firefox, those wishing to
support older browsers will need to provide fallbacks.
...minor changes are also required if one wishes to
support other browsers, or to run in non-chrome-privileged scopes.
Updating addons broken by private browsing changes - Archive of obsolete content
ce furthermore, if your code uses any of these common chrome apis: ff 19: saveurl saveinternal openlinkin ff 20: openbrowserwindow gprivatebrowsingui finally, if your code watches for any of these observer notifications: private-browsing private-browsing-cancel-vote private-browsing-change-granted private-browsing-transition-complete then your addon will require updating to correctly
support the new per-window private browser feature in firefox 20 (and will require updating to work correctly in releases of firefox since the ones listed).
... there is a new download-manager-remove-download-guid notification, which passes an nsi
supportscstring subject for the guid or null.
...the
supporting per-window private browsing article explains further about the equivalent notifications, which are all backwards compatible through to firefox 12 (and are sent side-by-side with the global private browsing notifications in older versions).
Add-ons - Archive of obsolete content
extensions
support in seamonkey 2 starting with seamonkey 2 alpha 1 seamonkey
supports toolkit/-style extensions.
...so there may be still some reference to the xuldev website (we want to host source code on mdc, not on xuldev), and to japanese things (like some specific locales, which have been translated to french since non-latin characters are not well
supported).
... inline options firefox 7
supports a new syntax for defining extensions' preferences for both bootstrapped and traditional extensions.
XUL user interfaces - Archive of obsolete content
information: user interfaces although html has some
support for user interfaces, it does not
support all the features that you need to make a standalone application.
...this wiki does not
support xul and javascript in pages, so it is not possible to show the demonstration here.
...mozilla also
supports a specialized graphics language for creating shapes, using css stylesheets to specify the style.
List of Mozilla-Based Applications - Archive of obsolete content
nner moznet .net control embeddable gecko for .net applications wraps xulrunner for use in .net applications my internet browser localized browser uses gecko myna application server javascript application server for java uses mozilla rhino nextcms (fr) cms nightingale music player community run effort to continue songbird
support for linux olpc web browser browser oneteam jabber client opendocument viewer viewer opengate's tools cd burner, file browser, and hardware diagnostic softwares opengate is the opensource side of the easyneuf project, “a free software computer, easy and preinstalled” open mashups development tool openof...
...device seamonkey suite a volunteer community legally backed by mozilla foundation with 2.5 million downloads secure browser browser that uses virtualization created by dell sept cms for lemonde.fr web site more information here (in english) and here (in french) skyfire mobile browser sipear im client smartreport
supervision appliance network monitoring and performance management smartreport is an appliance created by acipia (france).
...feel free to
supply references.
Defining Cross-Browser Tooltips - Archive of obsolete content
the classic example is a "tooltip" of an image; when the user pauses the mouse pointer over an image, the contents of the alt attribute are displayed as a "tooltip." gecko-based browsers such as mozilla, netscape 6+, and compuserve 7 do not
support this behavior.
...this assumes that the browser can find the image and that it
supports the image format used; if either of these is not true, and the image cannot be displayed, then the alt text should be displayed in place of the missing image.
...please consult an element's definition to verify that it
supports this attribute...
Structure of an installable bundle - Archive of obsolete content
chrome.manifest, components, defaults) in bootstrapped extensions are not processed by a
supporting application.
... platform-specific files gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) removed
support for platform-specific subdirectories, described below.
... platform-specific subdirectories: gecko 1.9.2.x and earlier note: platform-specific subdirectory
support was removed in gecko 2.0.
DTrace - Archive of obsolete content
mozilla dtrace
support has been added by the sun dtrace team and can be used on solaris 10 and mac os x 10.5.
... dtrace has been largely
supplanted by the gecko profiler and other tools, so this documentation has been archived.
... trunk nightly builds with shark
support (*-mac-shark.dmg here) are built with --enable-dtrace.
Drag and drop events - Archive of obsolete content
note: the drag and drop event
support advertised in the firefox 3 release notes is not the same as the events described in the drag and drop section of the html 5 working draft.
...firefox 3 does not
support the 'drag' event.
... this
support is added in firefox 3.5, and is documented separately on the page [drag and drop].
JavaScript Client API - Archive of obsolete content
this document is somewhat outdated, and the api isn't well-
supported for use from add-ons; tread carefully.
...it is possible for other components, including 3rd party extensions, to
supplement the set of engines and synchronize their own data.
...w guids: let newguid = utils.makeguid(); your store object must implement the following methods: itemexists(id) createrecord(id, collection) changeitemid(oldid, newid) getallids() wipe() create(record) update(record) remove(record) you may also find it useful to override other methods of the base implementation, for example applyincomingbatch if the underlying storage for your data
supports batch operations.
GRE - Archive of obsolete content
the mozilla suite never
supported a gre on mac.
...xulrunner
supports or is planned to
support embedding on all three major platforms (windows, mac, and linux).
... find a compatible gre note:
support for locating a standalone glue was removed in gecko 6.0.
generateCRMFRequest() - Archive of obsolete content
though some browsers may still
support it, it is in the process of being dropped.
... warning: the features mentioned in this article are deleted proprietary mozilla extensions, and are not
supported in any other browser.
... "keygenalgn" which algorithm the generated key will
support.
Extensions - Archive of obsolete content
prism has
support for extensions.
...to
support prism specifically, you'll need to add prism to the list of target applications in the extension's install.rdf file.
...installing prism
supports a basic add-on user interface which allows a user to manage extensions.
FAQ - Archive of obsolete content
prism is built on top of the mozilla platform and its gecko rendering engine, just like mozilla firefox, so it provides the same capabilities to web applications that firefox provides, including
support for html, javascript, css, and <canvas>.
... at the same time, we're also working to increase the capabilities of those apps by adding features to the web itself, like
support for offline data storage and access to 3d graphics hardware, that will be available to web applications in both prism and firefox.
... what operating systems does prism
support?
RDF Datasource How-To - Archive of obsolete content
it
supersedes (and borrows from) the original document put together by robert churchill.
...registering an rdf datasource is fairly simple: in the dll's nsregisterself() method, you simply call the component manager's registercomponent() method: extern "c" pr_implement(nsresult) nsregisterself(nsi
supports* aservicemanager, const char* apath) { nsresult rv; ...
...for example, the above datasource would be accessable as follows: nsirdfservice* rdf; rv = nsservicemanager::getservice(krdfservicecid, kirdfserviceiid, (nsi
supports**) &rdf); if (ns_succeeded(rv)) { nsirdfdatasource* mydatasource; rv = rdf->getdatasource("rdf:my-datasource", &mydatasource); if (ns_succeeded(rv)) { // ...do something to mydatasource here...
Reading textual data - Archive of obsolete content
un
supported byte sequences you can specify what should happen with byte sequences that do not correspond to a valid character.
... if you do not want any replacement, you can specify 0x0000 as replacement character; that way, readstring will throw an exception when reaching un
supported bytes.
...it can be used like nsilineinputstream, except that it
supports non-ascii characters, and has no problems with charsets with embedded nulls (like utf-16 and utf-32).
Running Tamarin acceptance tests - Archive of obsolete content
c:/python26/python.exe ./runtests.py --threads=3 other flags of interest (for a list of all flags, run runtests.py with -h/--help) --nohtml : will
suppress the creation of an html output file --rebuildtests : will only rebuild test .abc's, will not attempt to run them.
...adb
supports ssh-like commands to an android device.
... $ cd tamarin-redux/test/acceptance $ ./runtests.py --androidthreads note on using an emulator: the emulator does seem to
support hardware floating point but gives a buserror when running avmshell -darm_vfp.
Running Tamarin performance tests - Archive of obsolete content
use --csvappend if you want to append the results to the csv file
support files testconfig.txt this file contains instructions for how the harness should handle performance tests.
...adb
supports ssh-like commands to an android device.
... $ cd /test/performance $ ./runtests.py note on using an emulator: the emulator does seem to
support hardware floating point but gives a buserror when running avmshell -darm_vfp.
The new nsString class implementation (1999) - Archive of obsolete content
the deficiencies of the current implementation are: class based -- making it unsuitable for cross-dll usage due to fragility little intrinsic i18n
support few efficiencies, notably a lack of
support for narrow (1-byte) character strings no
support for external memory management policy lack of xpcom interface notable features of the new nsstrimpl implementation are: intrinsic
support for 1 and 2 byte character widths provides automatic conversion between strings with different character sizes inviolate base structure eliminates class fra...
...our minimalistic nsimemoryagent interface is just rich enough to
support the nsstring idiom, and could be extended to serve as the general memory allocation idiom.
... here's it's api: class nsimemoryagent : nsi
supports { void* new(nsint32 asize)=0; //used for both alloc and realloc void* delete(void* aptr)=0; }; internationalization the new nsstrimpl/nsstring implementation addresses at least two of the primary concerns of our i18n team.
Event Handlers - Archive of obsolete content
since xbl handlers usually constitute the default actions for a widget, this allows authors in the bound document to write events that potentially
suppress the default actions taken by the xbl handlers.
... mouse and key handlers have certain additional properties that are
supported by xbl.
... key events
support the charcode and keycode attributes.
confirm - Archive of obsolete content
method of install object syntax int confirm( string atext ); int confirm( string atext, string adialogtitle, number abuttonflags, string abutton0title, string abutton1title, string abutton2title, string acheckmsg, object acheckstate ); parameters the second, extended confirm() method is
supported starting with gecko 1.8.
...previous gecko versions only
support the first, one-parameter method and will throw an error on occuring the extended form.
...notes the preferred method for detecting
support for custom dialog boxes is querying the existence of the button constants.
Learn XPI Installer Scripting by Example - Archive of obsolete content
in this article, we use the unix install file, but the installers for all the platforms are quite similar, and you can easily take what you learn here and apply it to installations on any platform that mozilla
supports.
..."program" represents the directory where software itself is installed (e.g., c:\program files\ on win32 systems), as opposed to
supporting directories like "components", "chrome", or "temporary" (see getfolder in the xpinstall api reference for a list of keywords).
...in this most common form of the registerchrome function (it can also be used to
support the now-deprecatedmanifest.rdf style of installation archive), the three parameters represent, in order, the chrome switch used to indicate what kind of software is being registered, the target destination of the software (e.g., the "chrome" folder in the example above), and the path within the xpi (or jar theme archive) where the contents.rdf file is located.
XPJS Components Proposal - Archive of obsolete content
xpjs components is a (cheesy) name for a system to
support xpcom components written in javascript.
... the xpjs component system will
support implementing xpcom services, factories, and components in javascript.
... it will
support service and factory registration.
Deprecated and defunct markup - Archive of obsolete content
--neil 03 march 2011 <bulletinboard> (made to
support left/top styles, but <stack> can now do as well) <gripper> (inside of <scrollbar><thumb>; not to be used by itself) <listboxbody> (internal use only; part of xbl for <listbox>) <menubutton> (experiment in combining buttons and menus; use <button type> instead) <nativescrollbar> (displayed a native scrollbar; had been for mac only with native themes on) <outliner> (former name f...
...(like <textbox>) <thumb> (<button> with deprecated <gripper>; implements sliding box in center of scrolbar) <title> (to add a caption on a <titledbox> <titledbox> (box with a frame) <titledbutton> (attempt to combine text and images before <button>) <toolbarpaletteitem> required to embed non-buttons in customisable toolbars --neil 03 march 2011 <treebody> (old/experimental and un
supported xul tags) lives on as the internal name for the ancestor <treechildren> element --neil 03 march 2011 <treecaption> (old/experimental and un
supported xul tags) <treecolgroup> (former name for <treecols> <treecolpicker> (internal use only; part of xbl for <tree>) <treefoot> (old/experimental and un
supported xul tags) <treeindentation> (old/experimental and un
supported xul tags)...
... was a part of the old <tree> that predated <outliner> that was not converted to <listbox>--neil 03 march 2011 <treeicon> (old/experimental and un
supported xul tags) <treerows> (internal use only; part of xbl for <tree>) attributes @debug="true" provided struts and springs around boxes to facilitate identification of flex issues but does not seem to work now you need a special debug_layout build --neil 03 march 2011 references xul element reference by neal deakin rapid application development with mozilla, by nigel mcfarlane ...
Building Trees - Archive of obsolete content
however, since templates are often used with trees—especially with large amounts of data—the template system
supports a special builder just for creating trees.
...the
supported properties are: label, mode, properties, src and value.
...
support for this was introduced in gecko 7.0 (firefox 7.0 / thunderbird 7.0 / seamonkey 2.4).
Property Files - Archive of obsolete content
%s) is replaced by each successive element in the
supplied array.
...non-ascii characters, utf-8 and escaping gecko 1.8.x (or later)
supports property files encoded in utf-8.
...property files
support escape sequences of the form: \uxxxx , where xxxx is a unicode character code.
Using Visual Studio as your XUL IDE - Archive of obsolete content
to combine both, you can also add your own xbl elements to the xul schema to get autocompletion-
support and validation for those in your xul files.
...visual assist and file extensions since version 10.5, visual assist
supports javascript and xml.
...vs just
supports ecmascript 3rd edition and thus doesn't know these keywords.
XUL accessibility guidelines - Archive of obsolete content
mozilla.
support.accessibility.
... media audio informative audio files such as podcasts can be made accessible by
supplying a word-for-word transcript.
... further references the official w3c accessibility guidelines, soon to be released: 2.0 and techniques for 2.0 which will
supercede 1.0.
arrowscrollbox - Archive of obsolete content
currently, smooth scrolling
supports horizontal arrowscrollboxes only.
...currently, smooth scrolling
supports horizontal arrowscrollboxes only.
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
menupopup - Archive of obsolete content
, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata hidepopup() return type: no return value closes the popup immediately.
...to anchor a popup to a node,
supply an anchor node and set the position to a string indicating the manner in which the popup should be anchored.
...unanchored popups may be created by
supplying null as the anchor node.
preference - Archive of obsolete content
type getelementvalue(in domelement element); retrieves the value that should be written to preferences based on the current state of the
supplied element.
... void setelementvalue(in domelement element); initializes the
supplied element from the value stored in the preference.
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata events change when a preference value changes, an onchange/change event is fired on the <pre...
preferences - Archive of obsolete content
it's
supposed to be a child of <prefpane> element.
... void observe(in nsi
supports asubject, in string atopic, in wstring adata); nsiobserver method used internally to react to changes to preferences listed as children of this element.
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related preferences system documentation: introduction: getting started | examples | tro...
toolbox - Archive of obsolete content
note: gecko 2.0 adds
support for external toolbars.
..., focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata appendcustomtoolbar( name, currentset ) firefox only return type: element adds a custom too...
...you can
supply a comma-separated list of toolbar item ids as the second argument to add some items by default.
tooltip - Archive of obsolete content
, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata hidepopup() return type: no return value closes the popup immediately.
...to anchor a popup to a node,
supply an anchor node and set the position to a string indicating the manner in which the popup should be anchored.
...unanchored popups may be created by
supplying null as the anchor node.
CommandLine - Archive of obsolete content
define your own command line handler component: components/clh.js const nsi
supports = components.interfaces.nsi
supports; const nsicategorymanager = components.interfaces.nsicategorymanager; const nsicomponentregistrar = components.interfaces.nsicomponentregistrar; const nsicommandline = components.interfaces.nsicommandline; const nsicommandlinehandler = components.interfaces.nsicommandlinehandler; const nsifactory = componen...
...ts.interfaces.nsifactory; const nsimodule = components.interfaces.nsimodule; const class_id = components.id("178cfbb6-503c-11dc-8314-0800200c9a66"); const class_name = "applicationnameclh"; const contract_id = "@example.com/applicationname/clh;1"; const cld_category = "m-applicationname"; var apphandler = { /* nsi
supports */ queryinterface : function clh_qi(aiid) { if (aiid.equals(nsicommandlinehandler) || aiid.equals(nsifactory) || aiid.equals(nsi
supports)) return this; throw components.results.ns_error_no_interface; }, /* nsicommandlinehandler */ handle : function clh_handle(acmdline) { var observerservice = components.classes["@mozilla.org/observer-service;1"] .getservice(components.inter...
...dline-args-changed", null); }, helpinfo : " -test <value> a test attribute\n", /* nsifactory */ createinstance : function mdh_ci(aouter, aiid) { if (aouter != null) { throw components.results.ns_error_no_aggregation; } return this.queryinterface(aiid); }, lockfactory : function mdh_lock(alock) { /* no-op */ } }; var apphandlermodule = { /* nsi
supports */ queryinterface : function mod_qi(aiid) { if (aiid.equals(nsimodule) || aiid.equals(nsi
supports)) return this; throw components.results.ns_error_no_interface; }, /* nsimodule */ getclassobject : function mod_gch(acompmgr, acid, aiid) { if (acid.equals(class_id)) return apphandler.queryinterface(aiid); throw components.results.ns_error_fail...
What XULRunner Provides - Archive of obsolete content
the following features are either already implemented or planned: gecko features xpcom networking gecko rendering engine dom editing and transaction
support (no ui) cryptography xbl (xbl2 planned) xul svg xslt xml extras (xmlhttprequest, domparser, etc.) web services (soap) auto-update
support (not yet complete) type ahead find toolbar history implementation (the places implementation in the 1.9 cycle) accessibility
support ipc services for communication between gecko-based apps (not yet complete) storage/sqlite interfaces user interface features the following user interface is
supplied by xu...
...e provided by xulrunner: cross-platform embedding (xre_initembedding) javaxpcom embedding gtkmozembed (linux only) activex control (windows only) (not yet complete) obsolete since gecko 7.0 nsview-based-widget (mac os x only) (not yet complete) the "maybe" list the following features have been discussed and may be included if developer time permits and code size is controlled: ldap
support spellchecking
support (with or without dictionaries provided) see bug 285977 core
support for profile roaming (with application-specific extensibility) pyxpcom embedding (not yet complete) - but it does work, if you compile a custom build that includes the pyxpcom bindings and there is a working python available.
... what's out xulrunner will not
supply: bookmarks or history ui (must be managed by the application/embedder) xforms (xforms will be available as an extension) ...
2006-12-01 - Archive of obsolete content
discussions firefox 2.0 should re-implement modal window.open to
support web 2.0 a plea to re-implement the option to show modal windows, using window.open(), from inside an untrusted script.
...devs say this is the way its
supposed to be, others say its a bug!
... discussion of
support for modal windows within firefox 2.0 a lengthy post regarding the re-implementation of modal windows into firefox.
NPN_GetValue - Archive of obsolete content
s displayed; returns window npnvjavascriptenabledbool: tells whether javascript is enabled; true=javascript enabled, false=not enabled npnvasdenabledbool: tells whether smartupdate (former name: asd) is enabled; true=smartupdate enabled, false=not enabled npnvisofflinebool: tells whether offline mode is enabled; true=offline mode enabled, false=not enabled npnvtoolkit: npnv
supportsxembedbool: npnvwindownpobject: returns the npobject * pointer for the dom window object; see getting the page url in npapi plugin for a rough example npnvpluginelementnpobject: npnv
supportswindowless: tells whether the browser
supports windowless plugins.
... npnvplugindrawingmodel: (mac only) npnv
supportsquickdrawbool : (mac only) npnv
supportscoregraphicsbool : (mac only) value function returns the name of the plug-in in the value parameter.
... gecko 1.9.2 note starting with gecko 1.9.2 (firefox 3.6), the variables npnvservicemanager, npnvdomelement, and npnvdomwindow are no longer
supported.
NPAPI plugin reference - Archive of obsolete content
np_getmimedescription np_getmimedescription returns a
supported mime type list for your plugin.
...on windows you have to define
supported mimetypes in the dll resource file.
...(while the api theoretically allows the preferred proxy for a given url to be changed, doing so does not have much meaning given how proxies are configured, and is not
supported.) npn_status lets a plug-in display a message on the browser's status line.
The First Install Problem - Archive of obsolete content
this document
supplements the key parsing methodology suggested for installers.
... example: [hkey_local_machine\software\mozillaplugins\]\@mycompany.com/myapplication,version=5.01\mimetypes\application/x-myapp] description=myapplication plugin for app files "suffixes" -- this will be a semi-colon concatenated list of
supported suffixes.
... example: [hkey_local_machine\software\mozillaplugins\]\@mycompany.com/myapplication,version=5.01\mimetypes\application/x-myapp] suffixes=app suffixes -- a subkey containing string values (reg_sz) representing all the suffixes (3 digit extensions)
supported by this module.
TCP/IP Security - Archive of obsolete content
another good source of information is nist sp 800-52, guidelines on the selection and use of transport layer security, available from https://csrc.nist.gov/publications/nistpubs/.) the use of tls typically requires each application to
support tls; however, unlike application layer controls, which typically involve extensive customization of the application, transport layer controls such as tls are much less intrusive because they do not need to understand the application’s functions or characteristics.
... compared to controls at the other layers, data link layer controls are relatively simple, which makes them easier to implement; also, they
support other network layer protocols besides ip.
... because all major web browsers include
support for tls, users who wish to use web-based applications that are protected by tls normally do not need to install any client software or reconfigure their systems.
Tamarin Tracing Build Documentation - Archive of obsolete content
for instructions on tamarin central, please see tamarin build documentation
supported platforms operating system processor status windows xp x86
supported, acceptance and performance tests automated in buildbot mac os x 10.4 x86
supported, acceptance and performance tests automated in buildbot linux - ubuntu 8.0.4 x86
supported, acceptance and performance tests automated in buildbot windows mobile (pocket pc 5.0) armv4t
supported, acceptance and performance tests automated in buildbot raw image (no os) armv5
supported, acceptance and performance tests not done linux (nokia n810) armv5
supported, acceptance and performance tests not done current build sta...
...the tamarin codebase has the ability to build additional code which
supports debugging hooks.
...avmplus_verbose windows mobile to build for arm: $ python ../configure.py --target=arm-windows --enable-shell; make to build for thumb: $ python ../configure.py --target=thumb-windows --enable-shell; make platform-specific builds project files for specific platforms/ides (microsoft visual studio, xcode, etc) are included in the source tree under tamarin-tracing/platform, but are not formally
supported.
Date.getVarDate() - Archive of obsolete content
warning: this method is
supported in internet explorer only.
... requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
Debug.debuggerEnabled - Archive of obsolete content
syntax var dbgenabled = debug.debuggerenabled; requirements
supported in the following document modes: internet explorer 10 standards and internet explorer 11 standards.
... also
supported in store apps (windows 8 and windows phone 8.1).
... not
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards.
Debug.setNonUserCodeExceptions - Archive of obsolete content
} })(); requirements
supported in the following document modes: internet explorer 10 standards and internet explorer 11 standards.
... also
supported in store apps (windows 8 and windows phone 8.1).
... not
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards.
Debug - Archive of obsolete content
debug.m
supdateasynccallbackrelation updates the relationship status between a synchronous work item and the associated asynchronous operation.
... var counter = 42; debug.write("the value of counter is " + counter); requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards, internet explorer 11 standards.
... also
supported in store apps (windows 8 and windows phone 8.1).
Enumerator.atEnd - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
... if (drv.isready) { var freegb = drv.freespace / bytespergb; var totalgb = drv.totalsize / bytespergb; s += freegb.tofixed(3) + " gb free of "; s += totalgb.tofixed(3) + " gb"; } else { s += "not ready"; } s += "<br />"; e.movenext(); } return(s); } requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
Enumerator.item - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
... if (drv.isready) { var freegb = drv.freespace / bytespergb; var totalgb = drv.totalsize / bytespergb; s += freegb.tofixed(3) + " gb free of "; s += totalgb.tofixed(3) + " gb"; } else { s += "not ready"; } s += "<br />"; e.movenext(); } return(s); } requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
Enumerator.moveFirst - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
... if (drv.isready) { var freegb = drv.freespace / bytespergb; var totalgb = drv.totalsize / bytespergb; s += freegb.tofixed(3) + " gb free of "; s += totalgb.tofixed(3) + " gb"; } else { s += "not ready"; } s += "<br />"; e.movenext(); } return(s); } requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
Enumerator.moveNext - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
... if (drv.isready) { var freegb = drv.freespace / bytespergb; var totalgb = drv.totalsize / bytespergb; s += freegb.tofixed(3) + " gb free of "; s += totalgb.tofixed(3) + " gb"; } else { s += "not ready"; } s += "<br />"; e.movenext(); } return(s); } requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
Enumerator - Archive of obsolete content
it is
supported in internet explorer only, not in windows 8.x store apps.
... requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
Error.description - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
... try { // cause an error: x = y } catch(e) { // prints "[object error]": document.write(e) document.write (" "); // prints 5009: document.write((e.number & 0xffff)) document.write (" "); // prints "'y' is undefined": document.write(e.description); document.write (" "); // prints "'y' is undefined": document.write(e.message) } requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards, internet explorer 11 standards.
... also
supported in store apps (windows 8 and windows phone 8.1).
Error.number - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
... error code: 5009 facility code: 10 error message: 'y' is undefined requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards, internet explorer 11 standards.
... also
supported in store apps (windows 8 and windows phone 8.1).
ScriptEngineBuildVersion - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
... example the following example illustrates the use of the scriptenginebuildversion function: if(window.scriptenginebuildversion) { console.log(window.scriptenginebuildversion()); } // output: <current build version> requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards, internet explorer 11 standards.
... also
supported in store apps (windows 8 and windows phone 8.1).
ScriptEngineMajorVersion - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
... example the following example illustrates the use of the scriptenginemajorversion function: if (window.scriptenginemajorversion) { console.log(window.scriptengine()); } output: <current major version> requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards, internet explorer 11 standards.
... also
supported in store apps (windows 8 and windows phone 8.1).
ScriptEngineMinorVersion - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
... if (window.scriptengineminorversion) { console.log(window.scriptengineminorversion()); } //output: <current minor version> requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards, internet explorer 11 standards.
... also
supported in store apps (windows 8 and windows phone 8.1).
VBArray.dimensions - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
...on vbarraytest(vba) { var i; var a = new vbarray(vba); var s = ""; for (i = 1; i <= a.dimensions(); i++) { s += "the upper bound of dimension "; s += i + " is "; s += a.ubound(i); s += ".<br />"; } return(s); } --> </script> </head> <body> <script type="text/javascript"> document.write(vbarraytest(createvbarray())); </script> </body> requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
VBArray.getItem - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
...on --> </script> <script type="text/javascript"> <!-- function getitemtest(vbarray) { var i, j; var a = new vbarray(vbarray); for (i = 0; i <= 2; i++) { for (j =0; j <= 2; j++) { document.writeln(a.getitem(i, j)); } } } --> </script> </head> <body> <script type="text/javascript"> <!-- getitemtest(createvbarray()); --> </script> </body> requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
VBArray.lbound - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
...n vbarraytest(vba){ var i; var a = new vbarray(vba); var s = ""; for (i = 1; i <= a.dimensions(); i++) { s += "the lower bound of dimension "; s += i + " is "; s += a.lbound(i); s += ".<br />"; } return (s); } --> </script> </head> <body> <script type="text/javascript"> document.write(vbarraytest(createvbarray())); </script> </body> requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
VBArray.ubound - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
... vbarraytest(vba) { var i; var a = new vbarray(vba); var s = ""; for (i = 1; i <= a.dimensions(); i++) { s += "the upper bound of dimension "; s += i + " is "; s += a.ubound(i); s += ".<br />"; } return (s); } --> </script> </head> <body> <script type="text/javascript"> document.write(vbarraytest(createvbarray())); </script> </body> requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
VBArray - Archive of obsolete content
this object is a microsoft extension and is only
supported in internet explorer.
... requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, and internet explorer 10 standards.
... not
supported in windows 8.x store apps.
New in JavaScript 1.8.5 - Archive of obsolete content
strict mode
support array.tostring() now works even on non-arrays by either returning the result of calling its join() method if one is available or by calling its tostring() method.
... new objects object description old proxy api offers
support for creating object and function proxies that enable meta-programming in javascript.
... changed functionality in javascript 1.8.5 iso 8601
support in date: the date object's parse() method now
supports simple iso 8601 format date strings.
Back to the Server: Server-Side JavaScript On The Rise - Archive of obsolete content
e4x (ecmascript for xml) is an extension of javascript which provides direct
support for xml, greatly simplifying the process of consuming xml via javascript.
... rhino’s
support of this important standard eliminates the pain of using dom or sax based parsers in java.
...l, message ) { // perform the same validation of the data server-side if( !validatecomments( name, email, message ) ) { throw "incomplete data was submitted."; } // assemble the string var s = "name: " + name + "<br/>" + "email: " + email + "<br/>" + "message: " + message + "<br/><br/>"; // append the entry to the log file jaxer.file.append( "dump.txt", s ); // add
support for management via database jaxer.db.execute( "create table if not exists comments ( id integer primary key auto_increment, " + "name varchar(50) not null, " + "email varchar(255) not null, " + "message varchar(300) not null )" ); jaxer.db.execute( "insert into comments ( name, email, message ) values ( ?, ?, ?
background-size - Archive of obsolete content
it's hard to get reliable information about its css
support without having this browser (read: multiple versions of this browser) installed.
... if so, feel free to change the en/css_reference/property_template and all css property pages ; ) start with -webkit-background-size and investigate
support of contain and cover keywords and "omitted second value" behavior.
...user:jürgen jeka 2009-08-04 <hr> is there anyway to have the -moz-border-image only apply if -moz-background-size is not
supported?
Reference - Archive of obsolete content
i also
support the use of a deprecated pre box with these examples.
...but someone trying write some javascript 2.0, wanting a list of all the features it
supports, might be annoyed at having to read through *all* the updates.
...ruakh 20:31, 26 february 2007 (pst) this was something that was
supposed to be fixed in the reorganization, which has still yet to occur.
XForms - Archive of obsolete content
note:
support for xforms was removed from firefox in firefox 19.
... xforms
support can be added to firefox and seamonkey by installing the mozilla xforms extension.
... this extension, while
supporting a significant subset of the xforms 1.0 and 1.1 candidate recommendations, is not actively maintained any more since about 2010.
Correctly Using Titles With External Stylesheets - Archive of obsolete content
a persistent stylesheet is one which has no title attribute and a value of stylesheet
supplied for the rel attribute.
... a preferred stylesheet, on the other hand, is one that has a value of stylesheet
supplied for the rel attribute, and any value at all for the title attribute.
...the specification does not
supply a procedure to decide which one should be used, so user agents are free to make whatever choice they like.
XQuery - Archive of obsolete content
while xquery is currently not
supported in firefox (whether through javascript to developers or to browser users), at least one extension has been developed to give a preliminary
support for xquery for browser users (and serving as a simple model for how xquery can be implemented within extensions).
...other popular native xml databases might also be
supported (e.g., exist) in the future, especially now that the extension has added some basic
support for the open-standard (xqj) for java and exist is in the midst of getting such an api.
... berkeley db xml was the initial choice by the extension developer for its
support across many languages (c++, java, python, perl, php, etc.) (besides its also being open source), but now some problems may exist with bdbxml (unlike saxon).
Index - Game development
28 efficient animation for web games animation, games, javascript this article covers techniques and advice for creating efficient animation for web games, with a slant towards
supporting lower end devices such as mobile phones.
... 33 mobile touch controls controls, games, javascript, mobile, pointer, touch that covers adding touch controls for mobile; in the next article we'll see how to add keyboard and mouse
support.
... 38 webrtc data channels api, games, needscontent, network, p2p, webrtc, data channels the webrtc (web real-time communications) api is primarily known for its
support for audio and video communications; however, it also offers peer-to-peer data channels.
WebVR — Virtual Reality for the Web - Game development
there are many devices to chose from: desktop ones like oculus rift or htc vive, through consoles with playstation vr (which admittedly doesn't
support webvr at this time), to mobile experiences like gear vr or google cardboard.
... browser
support and spec status currently browser
support for the webvr api is still experimental — it works in nightly builds of firefox and experimental builds of chrome (mozilla and google teamed up to work on the implementation together), but sooner rather than later we'll see it in regular builds.
... the future of webvr it's happening — consumer devices are reaching the market right now, and we already have javascript apis to
support them on the web.
3D games on the Web - Game development
documentation and browser
support the webgl project documentation and specification is maintained by the khronos group, not the w3c as with most of the web apis.
...
support on modern browsers is very good, even on mobile, so you don't have to worry about that too much.
... the main browsers are all
supporting webgl and all you need to focus on is optimizing the performance on the devices you use.
Desktop gamepad controls - Game development
previous overview: control mechanisms next now we'll look at adding something extra —
support for gamepad controls, via the gamepad api.
... api status, browser and hardware
support the gamepad api is still in working draft status, although browser
support is already quite good — around 63% global coverage, according to caniuse.com.
... the list of
supported devices is also quite extensive — most popular gamepads (e.g.
Client hints - MDN Web Docs Glossary: Definitions of Web-related terms
use of client hints isn't automatic: rather, servers must announce that they
support client hints.
... servers announce
support for client hints using the accept-ch (accept client hints) header or an equivalent html meta element with the http-equiv attribute.
... accept-ch: dpr, width, viewport-width, downlink and / or <meta http-equiv="accept-ch" content="dpr, width, viewport-width, downlink"> when a client receives the accept-ch header, if
supported, it appends client hint headers that match the advertised field-values.
XInclude - MDN Web Docs Glossary: Definitions of Web-related terms
when used in conjunction with xpointer (firefox
supports a subset of it, and is used in the code sample below), xinclude can also target just specific portions of a document for inclusion.
... firefox does not
support it natively, but the following function aims to allow its use with documents passed into it.
...; break; } request.send(null); if((request.status === 200 || request.status === 0) && request[responsetype] !== null) { response = request[responsetype]; if (responsetype === 'responsexml') { // apply xpointer (only xpath1() subset is
supported) var responsenodes; if (xpointer) { var xpathresult = response.evaluate( xpointer, response, null, ...
Mobile accessibility - Learn web development
accessibility on mobile devices the state of accessibility — and
support for web standards in general — is good in modern mobile devices.
...modern mobile browsers tend to have good
support for wai-aria, too.
...in addition, many image requirements can be fulfilled using the svg vector images format, which is well-
supported across browsers today.
Accessible multimedia - Learn web development
for example (see native-controls.html source code and live): <audio controls> <source src="viper.mp3" type="audio/mp3"> <source src="viper.ogg" type="audio/ogg"> <p>your browser doesn't
support html5 audio.
... here is a <a href="viper.mp3">link to the audio</a> instead.</p> </audio> <br> <video controls> <source src="rabbit320.mp4" type="video/mp4"> <source src="rabbit320.webm" type="video/webm"> <p>your browser doesn't
support html5 video.
... first of all, let's look at the html for the video player, in the html: <section class="player"> <video controls> <source src="rabbit320.mp4" type="video/mp4"> <source src="rabbit320.webm" type="video/webm"> <p>your browser doesn't
support html5 video.
Advanced styling effects - Learn web development
like text shadows, box shadows are
supported pretty well across browsers, including ie9+ and edge.
... note: blend modes are also very new, and slightly less well
supported than filters.
... there is no
support as yet in edge, and safari only
supports some of the blend mode options.
CSS selectors - Learn web development
in css, selectors are defined in the css selectors specification; like any other part of css they need to have
support in browsers for them to work.
... the majority of selectors that you will come across are defined in the level 3 selectors specification, which is a mature specification, therefore you will find excellent browser
support for these selectors.
...i have also included a link to the mdn page for each selector where you can check browser
support information.
Introduction to CSS layout - Learn web development
table layout html tables are fine for displaying tabular data, but many years ago — before even basic css was
supported reliably across browsers — web developers used to also use tables for entire web page layouts — putting their headers, footers, different columns, etc.
... the example below shows one such use; using css tables for layout should be considered a legacy method at this point, for those situations where you have very old browsers without
support for flexbox or grid.
... overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's guide to media queries legacy layout methods
supporting older browsers fundamental layout comprehension assessment ...
Legacy layout methods - Learn web development
this knowledge will be helpful to you if you need to create fallback code for browsers that do not
support newer methods, in addition to allowing you to work on existing projects which use these types of systems.
... note: if you can't get this to work, it might be because your browser does not
support the calc() function, although it is fairly well
supported across browsers — as far back as ie9.
... previous overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's guide to media queries legacy layout methods
supporting older browsers fundamental layout comprehension assessment ...
Tips for authoring fast-loading HTML pages - Learn web development
suppose your website server is located in the united states and it has a visitor from india; the page load time will be much higher for the indian visitor compared to a visitor from the us.
... ideally, your basic minimum requirements should be based on the consideration of modern browsers that
support the relevant standards.
... note, however, that many of the tips listed in this article are common-sense techniques which apply to any user agent, and can be applied to any web page, regardless of browser-
support requirements.
Using data attributes - Learn web development
the main issues to consider are internet explorer
support and performance.
... internet explorer 11+ provides
support for the standard, but all earlier versions do not
support dataset.
... to
support ie 10 and under you need to access data attributes with getattribute() instead.
JavaScript performance - Learn web development
often times third party scripts and apis are added, including a/b testing, tracking pixels, and features like maps and
support features.
...module bundlers like webpack
support code-splitting.
...often times third party scripts and apis are added, including a/b testing, tracking pixels, and features like maps and
support features.
Introduction to the server side - Learn web development
most of the code to
support a dynamic website must run on the server.
... web developers can't control what browser every user might be using to view a website — browsers provide inconsistent levels of compatibility with client-side code features, and part of the challenge of client-side programming is handling differences in browser
support gracefully.
...
support for sessions,
support for users and authentication, easy database access, templating libraries, etc.).
Getting started with Ember - Learn web development
most importantly, it is a
superset of html — meaning that anyone who knows html can make meaningful contributions to any ember project with minimal fear of breaking code.
...this is where most of the "framework" parts come into play, as there are
superclasses, where each type of thing has a different purpose and different expected location within your project.
...ed properties vue conditional rendering: editing existing todos focus management with vue refs vue resources svelte getting started with svelte starting our svelte todo list app dynamic behavior in svelte: working with variables and props componentizing our svelte app advanced svelte: reactivity, lifecycle, accessibility working with svelte stores typescript
support in svelte deployment and next steps ...
Ember interactivity: Events, classes and state - Learn web development
this is a vanilla javascript class and has no special meaning to ember, other than extending from the component
super-class.
...{ action } from '@ember/object'; export default class headercomponent extends component { @action onkeydown({ target, key }) { let text = target.value.trim(); let hasvalue = boolean(text); if (key === 'enter' && hasvalue) { alert(text); target.value = '' } } } the @action decorator is the only ember-specific code here (aside from extending from the component
superclass, and the ember-specific items we are importing using javascript module syntax) — the rest of the file is vanilla javascript, and would work in any application.
...ed properties vue conditional rendering: editing existing todos focus management with vue refs vue resources svelte getting started with svelte starting our svelte todo list app dynamic behavior in svelte: working with variables and props componentizing our svelte app advanced svelte: reactivity, lifecycle, accessibility working with svelte stores typescript
support in svelte deployment and next steps ...
Framework main features - Learn web development
given this handlebars template: <header> <h1>hello, {{subject}}!</h1> </header> and this data: { subject: "world" } handlebars will build html like this: <header> <h1>hello, world!</h1> </header> typescript typescript is a
superset of javascript, meaning it extends javascript — all javascript code is valid typescript, but not the other way around.
...
suppose you're building a website for an online magazine, and you need to be sure that each contributing writer gets credit for their work.
...ed properties vue conditional rendering: editing existing todos focus management with vue refs vue resources svelte getting started with svelte starting our svelte todo list app dynamic behavior in svelte: working with variables and props componentizing our svelte app advanced svelte: reactivity, lifecycle, accessibility working with svelte stores typescript
support in svelte deployment and next steps ...
Getting started with React - Learn web development
suppose we wanted to wrap our heading in a <header> tag, for semantic reasons?
...it's recommended that you use the long-term
support (lts) version.
...ed properties vue conditional rendering: editing existing todos focus management with vue refs vue resources svelte getting started with svelte starting our svelte todo list app dynamic behavior in svelte: working with variables and props componentizing our svelte app advanced svelte: reactivity, lifecycle, accessibility working with svelte stores typescript
support in svelte deployment and next steps ...
Cross browser testing - Learn web development
this includes linting code, handing css prefixes, using browser dev tools to track down problems, using polyfills to add
support into browsers, tackling responsive design problems, and more.
... implementing feature detection feature detection involves working out whether a browser
supports a certain block of code, and running different code dependent on whether it does (or doesn't), so that the browser can always provide a working experience rather than crashing/erroring in some browsers.
... this article details how to write your own simple feature detection, how to use a library to speed up implementation, and native features for feature detection such as @
supports.
Command line crash course - Learn web development
many tutorials and tools that exist on the web today
support (and sadly assume) unix-based systems, but not to worry — they are available on most systems.
... installing node.js also installs the npm command line tool (and a
supplementary npm-centric tool called npx), which offers a gateway to installing additional command line tools.
... prettier is an opinionated code formatting tool for front end developers, focusing around javascript-based languages and adding
support for html, css, scss, json and more.
Deploying our app - Learn web development
you'll need to run a command with the following structure (use the provided https option for now — especially if you are new to github — not the ssh option): git remote add github https://github.com/yourname/repo-name.git so if your remote url was https://github.com/remy/
super-website.git, as in the screenshot above, your command would be git remote add github https://github.com/remy/
super-website.git change the url to your own repository, and run it now.
... integration testing, which basically says "does one block of code still work when connected to another block?" unit testing, where small and specific bits of functionality are tested to see if they do what they are
supposed to do.
...products like github, gitlab, etc., all
support running tests against individual commits.
Tools and testing - Learn web development
as your web projects become larger and more complex, you'll want to start taking advantage of some of these tools, working out a reliable toolchain to give your development process
superpowers.
... on top of that, we still need to keep cross-browser
support in the forefront of our minds, and make sure that our code follows best practices that allow our projects to work across different browsers and devices that our users are using to browse the web, and be usable by people with disabilities.
... note: we have referenced a number of tools in this topic, not because we endorse them or think they are the best, but because we know they work and have good industry
support.
Accessibility API cross-reference
command a
supporting section of the document, designed to be complementary to the main content at a similar level in the dom hierarchy, but remains meaningful when separated from the main content.
...very poor
support in user agents and ats, and no sufficient techniques available n/a n/a aria-flowto indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
...
supported for anything that's not a menu is poor n/a n/a aria-haspopup the item can get the keyboard focus focusable focusable focusable tabindex attribute with value of 0 or more the item has focus for text input.
Embedding API for Accessibility
in part, being accessible means
supporting a built-in accessibility apis for a platform, such as microsoft active accessibility or atk for linux and unix desktops.
...mozilla already
supports some of these options.
... this document lays out what we already have, and what we'll need later, in the embedding api to
support accessibility.
Information for External Developers Dealing with Accessibility
implementing an msaa server, a practical guide a document for developers who need to
support microsoft active accessibility (msaa) in a desktop application, in order to make it accessible with 3rd party assistive technologies, containing practical tips and the details of mozilla's implementation.
... accessibility api cross reference should be helpful at anyone looking at implementing accessibility api
support for a product on multiple platforms.
... purpose newsgroup mailing list google group developer discussion mozilla.dev.accessibility subscribe/unsubscribe google group end user
support mozilla.
support.accessibility subscribe/unsubscribe google group ...
Theme concepts
depending on the effect you want to create you may need to
suppress the mandatory "theme_frame": image with an empty or transparent image.
...however, noting that "frame": and "tab_background_text": only
support rgb color array definition on chrome.
... so, in the single image theme example (weta_fade) could be
supported in chrome using the following manifest.json file: { "manifest_version": 2, "version": "1.0", "name": "<your_theme_name>", "theme": { "images": { "theme_frame": "weta.png" }, "colors": { "frame": [ 173 , 176 , 159 ], "tab_background_text": [ 0 , 0 , 0 ] } } } also, note that chrome tiles the “theme_frame”: image from the left of the header area.
Browser chrome tests
the comparison functions are identical to those
supported by mochitests, see how the comparison functions work in the mochitest documentation for more details.
... the test suite also
supports asynchronous tests, using the same function names as mochitest.
...if you are adding the first tests in a directory, make sure to also include any head.js you added to
support-files, and additionally, ensure that your browser.ini is referenced by a moz.build file somewhere, such as: browser_chrome_manifests += [ 'test/functional/mochitest/browser.ini' ]
support-files once added to
support-file section of browser.ini
support files may be referenced as https://example.com/browser/[path_to_file] or chrome://mochitests/content/browser/[path_to_file].
Command line options
this can be used to
suppress the migration wizard at startup by loading the following override.ini.
... note: on mac os x specifying a relative path is not
supported anymore from firefox 4.0 and up due to a regression, see bug 673955.
...only
supported on the windows operating system.
Interface Compatibility
any changes, including new features, must have
super-review.
...beginning with mozilla 2 (firefox 4), this will no longer be
supported: all @status markings have been removed, and extensions that use binary components will need to recompile for each major version they wish to
support.
... if necessary, it is possible for an extension to
support multiple versions by shipping multiple shared libraries (dlls) in the same extension package, and selecting the correct version using versioning flags in its chrome.manifest file.
Commenting IDL for better documentation
comment format doxygen
supports several comment formats; for style and consistency reasons, we use the following: /** * */ note the two asterisks ("**") on the first line of the comment.
...note: this is not yet
supported by our documentation tool.
...note: this is not yet
supported by our documentation tool.
Roll your own browser: An embedding how-to
it should include all of the base
support that you need to get a web browser started up.
...url location field, menu bar, html area,
supports ssl.
...fast ie-look-alike browser, uses ie and ns bookmarking system, fast loading time, privacy features, java
support and complete control of the menus and "hotkeys".
HTTP Cache
there is no ipc
support.
... concurrent read and write important difference in behavior from the old cache: the cache now
supports reading a cache entry data while it is still being written by the first consumer - the writer.
... the thread
supports several priority levels.
How Mozilla determines MIME Types
this should allow reliable detection of all image types mozilla
supports.
...(on unix, this means checking mime.types.) if that fails, a user-
supplied helper app is searched for by extension, and the specified mime type will be used.
... if this also failed, the extras are searched again, and will
supply the extension-list and a description of the mime type.
How to get a stacktrace with WinDbg
(the keystroke for a pipe character on us keyboards is shift+\) submit the log file on a bug or via the
support site, even if nothing seems to happen during the debug process start debugging now that firefox is opened in the debugger, you need to configure your windbg to download symbols from the mozilla symbol server.
... after the crash or hang you need to capture the debug information to include in a bug comment or
support request.
...to provide the information to the development community, submit this file with a
support request or attach it to a related bug on bugzilla.
Extending a Protocol
the tutorial is designed for browser engineers who are implementing dom/web apis that need to, for example, send a message to the os or spin up something off the main thread - so it's biased towards
supporting w3c/whatwg dom apis.
...class echochild final : public pechochild { friend class pechochild; // allows us to participate in reference counting ns_inline_decl_threadsafe_refcounting(echochild, final) public: explicit echochild(); protected: void actordestroy(actordestroyreason awhy) override; // we get sendecho(nscstring& astring) from the
superclass.
...defining windowglobalchild's alloc/deallocpechochild() same as above, now open up dom/ipc/windowglobalchild.h and we are going to add two things: at the top, add #include "mozilla/dom/echochild.h" and then, as part of the windowglobalchild class definition, add the following two public methods: already_addrefed<echochild> allocpechochild(); bool deallocpechochild(pechochild* aactor);
super tedious, we know...
JavaScript-DOM Prototypes in Mozilla
all the methods that are
supposed to show up on this jsobject are actually not properties of the object itself, but rather properties of the prototype of the jsobject for the wrapper (unless the c++ object's class info has the flag nsixpcscriptable::dont_share_prototype set, but lets assume that's not the case here).
... here is an attempt to modify a host object: (function(){ try { image.prototype.src = 1; } catch(ex){ alert(ex); } })(); this demonstrates that the image constructor, a host object
supported in nearly all browsers for mac and windows, has a prototype property, and that an attempt to modify the prototype's src - property results in an error.
...once the name of the parent interface is known (and the name is not nsi
supports) the code will look up a property by that name on the global object.
CustomizableUI.jsm
custom which are widgets that are custom-created by some js
supplied by the consumer for more details, see api-provided widgets.
... the following event handlers are
supported: onwidgetadded(awidgetid, aarea, aposition) fired when a widget is added to an area.
...for a list of
supported properties, see api-provided widgets.
PerfMeasurement.jsm
note: at present, perfmeasurement.jsm is only functional on linux, but it is planned to add
support for windows (bug 583322) and osx (bug 583323) as well, and we welcome patches for other operating systems.
... variable type description eventsmeasured eventmask a bit mask of the event types recorded; this can differ from the events requested if the platform doesn't
support all of the event types you specified when creating the perfmeasurement object.
...methods canmeasuresomething() indicates whether or not the platform on which your code is running
supports this code module.
Webapps.jsm
ist: function() doexport: function(amsg, amm) doimport: function(amsg, amm) doextractmanifest: function(amsg, amm) dolaunch: function (adata, amm) launch: function launch(amanifesturl, astartpoint, atimestamp, aonsuccess, aonfailure) close: function close(aapp) canceldownload: function canceldownload(amanifesturl, aerror) startofflinecachedownload: function(amanifest, aapp, aprofiledir, ai
supdate) computemanifesthash: function(amanifest) updateapphandlers: function(aoldmanifest, anewmanifest, aapp) checkforupdate: function(adata, amm) doinstall: function doinstall(adata, amm) doinstallpackage: function doinstallpackage(adata, amm) pushcontentaction: function(windowid) popcontentaction: function(windowid) actioncancelled: function(windowid) denyinstall: function(adata) _setup...
...arequestchannel, aid, aoldapp, anewapp) _computefilehash: function(afilepath) _sendappliedevent: function(aapp) _openandreadpackage: function(azipfile, aoldapp, anewapp, aislocalfileinstall,) _openpackage: function(azipfile, aapp, aislocalfileinstall) _opensignedpackage: function(ainstallorigin, amanifesturl, azipfile, acertdb) _readpackage: function(aoldapp, anewapp, aislocalfileinstall, ai
supdate,) _checksignature: function(aapp, aissigned, aislocalfileinstall) _saveetag: function(ai
supdate, aoldapp, arequestchannel, ahash, amanifest) _checkorigin: function(aissigned, aoldapp, amanifest, ai
supdate) _getids: function(aissigned, azipreader, aconverter, anewapp, aoldapp,) _checkforstoreidmatch: function(ai
supdate, anewapp, astoreid, astoreversion) revertdownloadpackage: function(ai...
...d, aoldapp, anewapp, ai
supdate, aerror) uninstall: function(amanifesturl) _promptforuninstall: function(adata) confirmuninstall: function(adata) denyuninstall: function(adata, areason = "error_unknown_failure") getself: function(adata, amm) checkinstalled: function(adata, amm) getinstalled: function(adata, amm) getnotinstalled: function(adata, amm) geticon: function(adata, amm) getall: function(acallback) isreceipt: function(data) addreceipt: function(adata, amm) removereceipt: function(adata, amm) replacereceipt: function(adata, amm) setenabled: function(adata) getmanifestfor: function(amanifesturl, aentrypoint) getappbymanifesturl: function(amanifesturl) getfullappbymanifesturl: function(amanifesturl, aentrypoint, alang) getmanifestcspbylocalid: function(alocalid) getdef...
Localizing extension metadata on addons.mozilla.org
amo
supports localized metadata for each extension.
... step 4 allows you to translate any of the above fields into any other language amo
supports.
...they also provide help for adding a localization
support to your extension if there is no localization structure yet.
gettext
different gettext function name) for string which are
supposed to
support plurals.
...for messages with plural
support, the default keyword is ngettext().
...in php, however, the default gettext functions don't
support passing such additional argument.
Extras
attributetype="xml" type="rotate" from="360" to="0" dur="15s" repeatcount="indefinite"/> <g transform="translate(-15, -15)"> <path fill="url(#radgrad1)" d="m 15 0 l 20 10 l 30 15 l 20 20 l 15 30 l 10 20 l 0 15 l 10 10"/> </g> </g> </g> </svg> </mtext> </mpadded> </msqrt> <mo>=</mo> <msub
sup> <mo>∫</mo> <mn>0</mn> <mfrac> <mi>π</mi> <mn>2</mn> </mfrac> </msub
sup> <m
sup> <mi>θ</mi> <mtext> <svg width="15px" height="15px"> <defs> <radialgradient id="radgrad2" cx="50%" cy="50%" r="50%" fx="50%" fy="50%"> <stop offset="0%" style="stop-color:rgb(255,255,255); stop-opacity:1;"/> <stop offset="100%" style="stop-color:rgb(0,0,...
...255); stop-opacity:.9;"/> </radialgradient> </defs> <g> <animatemotion path="m0,0 l3,0 l2,5 l5,5 l0,4 l5,2 z" begin="0s" dur="0.5s" repeatcount="indefinite"/> <circle fill="url(#radgrad2)" r="5px" cx="5px" cy="5px"/> </g> </svg> </mtext> </m
sup> <mrow> <mo>ⅆ</mo> <mi>θ</mi> </mrow> </math> <div style="width: 300px; margin-left: auto; margin-right: auto;"> <svg width="300px" height="250px"> <defs> <lineargradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%"> <stop offset="0%" style="stop-color:rgb(0,0,255);stop-opacity:1"/> <stop offset="100%" style="stop-color:rgb(0,255,0);stop-opacity:1"/> </lineargradient> <lineargradient id="grad2" x1="0%" y1="0%" x2="0%" y2="100%"> <stop offset="0%" style="stop-color:rgb(255,0,0);stop-opacity:1"/> <stop offset="100%" style="s...
...5;.75;1" dur="20s" repeatcount="indefinite"/> <circle fill="url(#grad3)" r="30"/> <g transform="translate(-30,-30)"> <switch> <foreignobject width="60" height="60" requiredextensions="http://www.w3.org/1998/math/mathml"> <math display="block"> <mrow> <munderover> <mo>∑</mo> <mrow> <mi>n</mi> <mo>=</mo> <mn>0</mn> </mrow> <mrow> <mo>+</mo> <mi>∞</mi> </mrow> </munderover> <mfrac> <m
sup> <mi>α</mi> <mi>n</mi> </m
sup> <mrow> <mi>n</mi> <mo>!</mo> </mrow> </mfrac> </mrow> </math> </foreignobject> <text>exp(α)</text> </switch> </g> </g> </svg> </div> inline javascript html content <math display="block"> <mfrac> <mtext id="num">mouse</mtext> <mtext id="denum">over</mtext> </mfrac> </math> javascript content function whoistherealert(evt) { alert("who is there?"); } ...
Updates
complete
support for stix fonts 1.0.
... june 5, 2002 mozilla 1.0 released "by virtue of embedding gecko, mozilla 1.0 and products based on mozilla code
support more web standards, more deeply, more consistently across more platforms than any others.
... mozilla 1.0 features full
support for html 4.0, xml 1.0, resource description framework (rdf), cascading style sheets level 1 (css1), and the w3c document object model level 1 (dom1) [...] as well as
support for display of mathematical equations using mathml." december 7, 2001 status report october 2000 the first international mathml conference april 14, 2000 status report february 12, 2000 mathml-enabled m13 builds for win32 september 21, 1999 mathml has landed.
MathML Demo: <mfrac> - fractions
inline, auto, thick line x 2 + 1 x , the
superscripted 2 should be script-script size.
... inline, display style, thick line x - 1 0.98 × 10 2 + y , the
superscripted 2 should be script size.
...>(</mo> <mi>f</mi> <mo>)</mo> </mrow> <mo>=</mo> <mfrac> <mn>1</mn> <mrow> <mn>2</mn> <mi>i</mi> <mo>&thinspace;</mo> <mi>cos</mi> <mo>(</mo> <mfrac> <mrow> <mi>α</mi> <mi>π</mi> </mrow> <mn>2</mn> </mfrac> <mo>)</mo> </mrow> </mfrac> <mrow> <msub> <mo>∫</mo> <mi>c</mi> </msub> <mfrac> <mrow> <mi>f</mi> <mo stretchy='false'>(</mo> <mi>i</mi> <mi>z</mi> <mo stretchy='false'>)</mo> <m
sup> <mrow> <mo>(</mo> <mo>-</mo> <mi>z</mi> <mo>)</mo> </mrow> <mi>α</mi> </m
sup> </mrow> <mrow> <m
sup> <mi>e</mi> <mrow> <mn>2</mn> <mi>π</mi> <mi>z</mi> </mrow> </m
sup> <mo>-</mo> <mn>1</mn> </mrow> </mfrac> </mrow> <mi>d</mi> <mi>z</mi> </mrow> </math> css content [class="background"] { background-image: url(http://www.mozilla.org/images/mozilla-banner.gif); opacity: ...
Gecko Profiler FAQ
similarly it also can’t show you instruction level information about where each sample was captured (this is why there is no
support for line-level sampling for native code either.) at this point the granularity of each sample it displays is a native function.
... overview of the changes in the last (year?) to cleopatra/etc faster, hopefully more reliable has a timeline tab lets you hide threads with a context menu
supports symbolication for local builds on windows if you run “mach buildsymbols” first profiling non-nsthreads?
... [je
sup] ok, that's the equivalent to itimer_real, kinda, except that per the previous question it doesn't interrupt every thread at once and snapshot the thread you started the itimer on, it interrupts each thread one at a time, which likely means distortion of the measurement if the number of threads monitored is significant (especially at high sample rates).
Memory reporting
mystring *gmystring; class mystringreporter moz_final : public nsimemoryreporter { moz_define_malloc_size_of(mallocsizeof) public: ns_decl_i
supports ns_method collectreports(nsihandlereportcallback* ahandlereport, nsi
supports* adata) { // btw: if gmystring wasn't a pointer, you'd use // |gmystring.sizeofexcludingthis(mallocsizeof)| instead.
... return moz_collect_report( "explicit/mystring", kind_heap, units_bytes, gmystring->sizeofincludingthis(mallocsizeof), "memory used for mystring."); } }; ns_impl_i
supports1(mystringreporter, nsimemoryreporter) note that moz_define_malloc_size_of defines a function of type mozilla::mallocsizeof that is specific to this memory reporter (and will be identified as such in dmd's output).
...on
supporting compilers it gets expanded to the override keyword.
Refcount tracing and balancing
refcount tracing logs calls to addref and release, preferably for a particular set of classes, including call-stacks in symbolic form (on platforms that
support this).
...this requires c++ dynamic casts, so it is not
supported on all platforms.
... xpcom_mem_alloc_log for platforms that don't have stack-crawl
support, xpcom
supports logging at the call site to addref/release using the usual cpp __file__ and __line__ number macro expansion hackery.
about:memory
├───40,214,384 b (04.17%) -- add-ons │ ├──21,184,320 b (02.20%) ++ {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}/js-non-window/zones/zone(0x100496800)/compartment([system principal], jar:file:///users/njn/library/application%20
support/firefox/profiles/puna0zr8.new/extensions/%7bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7d.xpi!/bootstrap.js (from: resource://gre/modules/addons/xpiprovider.jsm:4307)) │ ├──11,583,312 b (01.20%) ++ jid1-xufzosoflzsoxg@jetpack/js-non-window/zones/zone(0x100496800) │ ├───5,574,608 b (00.58%) -- {59c81df5-4b7a-477b-912d-4e0fdf64e5f2} │ │ ├──5,529,280 b (00.57%) -- w...
...indow-objects │ │ │ ├──4,175,584 b (00.43%) ++ top(chrome://chatzilla/content/chatzilla.xul, id=4293) │ │ │ └──1,353,696 b (00.14%) ++ top(chrome://chatzilla/content/output-window.html, id=4298) │ │ └─────45,328 b (00.00%) ++ js-non-window/zones/zone(0x100496800)/compartment([system principal], file:///users/njn/library/application%20
support/firefox/profiles/puna0zr8.new/extensions/%7b59c81df5-4b7a-477b-912d-4e0fdf64e5f2%7d/components/chatzilla-service.js) │ └───1,872,144 b (00.19%) ++ treestyletab@piro.sakura.ne.jp/js-non-window/zones/zone(0x100496800) more things worth pointing out are as follows.
...you can look in about:
support to see which add-on a particular identifier belongs to.
MailNews automated testing
this page and its sub-pages describe (and link to) the available test mechanisms within mailnews, and provide
supporting information for developers and testers.
... testing frameworks the asynctestutils extended framework
supports: asynchronous test operation: a reasonably convenient means of writing tests that involve asynchronous operations by using generators.
... enhanced logging:
supports generating rich json streams to disk or over the network for consumption by logsploder or other tools.
About NSPR
today nspr may still be appropriate as the platform dependent layer under java, but its primary application is
supporting clients written entirely in c or c++.
... linking
support for linking (shared library loading and unloading) is part of nspr's feature set.
...the current implementation
supports macintosh (ppc), win-32 (winnt, win9x) and 20 versions of unix and is still expanding.
Long Long (64-bit) Integers
the specific implementation of each macro depends on whether the compiler for the target platform
supports 64-bit integers.
... for a specific target platform, if 64-bit integers are
supported for that platform, define have_long_long at compile time.
... 64-bit integer types nspr provides two types to represent 64-bit integers: print64 pruint64 64-bit integer functions the api defined for the 64-bit integer functions is consistent across all
supported platforms.
NSPR Error Handling
pr_address_not_
supported_error the type of network address specified is not
supported.
... pr_operation_not_
supported_erro the requested operation is not
supported by the platform.
... pr_protocol_not_
supported_error the host operating system does not
support the protocol requested.
NSS Certificate Download Specification
between those two lines, there must be exactly one item of any of the
supported binary formats described above, and that one item must be base64 encoded.
... regardless of which of the
supported binary formats is used, the begin and end lines must say certificate, and not any other word (such as key).
...since the certificates are pasted into text fields, only the text formats described above are
supported for servers.
4.3 Release Notes
release date: 01 april 2009 introduction network security services for java (jss) 4.3 is a minor release with the following new features: sqlite-based shareable certificate and key databases libpkix: an rfc 3280 compliant certificate path validation library pkcs11 needslogin method
support hmacsha256, hmacsha384, and hmacsha512
support for all nss 3.12 initialization options jss 4.3 is tri-licensed under mpl 1.1/gpl 2.0/lgpl 2.1.
... libpkix: an rfc 3280 compliant certificate path validation library (see pkixverify) pk11token.needslogin method (see needslogin)
support hmacsha256, hmacsha384, and hmacsha512 (see hmactest.java)
support for all nss 3.12 initialization options (see initializationvalues) new ssl error codes (see http://mxr.mozilla.org/security/sour...util/sslerrs.h) ssl_error_un
supported_extension_alert ssl_error_certificate_unobtainable_alert ssl_error_unrecognized_name_alert ssl_error_bad_cert_status_response_alert ssl...
... jss only
supports the native threading model (no green threads).
JSS 4.4.0 Release Notes
support for ipv6.
...
support for tls v1.1 and tls v1.2 via nss though jss.
... jss only
supports the native threading model (no green threads).
NSS Key Log Format
exporter_secret: the hex-encoded exporter secret (for tls 1.3, used for 1-rtt keys in older quic drafts) the rsa form allows ciphersuites using rsa key-agreement to be logged and was the first form
supported by wireshark 1.6.0.
... it has been
superseded by client_random which also works with other key-agreement algorithms (such as those based on diffie-hellman) and is
supported since wireshark 1.8.0.
... the tls 1.3 lines are
supported since nss 3.34 (bug 1287711) and wireshark 2.4 (early_exporter_secret exists since nss 3.35, bug 1417331).
NSS 3.15.2 release notes
new in nss 3.15.2 new functionality aes-gcm ciphersuites: aes-gcm cipher suite (rfc 5288 and rfc 5289)
support has been added when tls 1.2 is negotiated.
... specifically, the following cipher suites are now
supported: tls_ecdhe_ecdsa_with_aes_128_gcm_sha256 tls_ecdhe_rsa_with_aes_128_gcm_sha256 tls_dhe_rsa_with_aes_128_gcm_sha256 tls_rsa_with_aes_128_gcm_sha256 new functions pk11_cipherfinal has been introduced, which is a simple alias for pk11_digestfinal.
...new pkcs #11 mechanisms no new pkcs#11 mechanisms have been introduced notable changes in nss 3.15.2 bug 880543 -
support for aes-gcm ciphersuites that use the sha-256 prf bug 663313 - md2, md4, and md5 signatures are no longer accepted for ocsp or crls, consistent with their handling for general certificate signatures.
NSS 3.25 release notes
added
support for chacha with tls 1.3.
... added
support for tls 1.2 ciphersuites that use sha384 as the prf.
... removed the limitation that allowed nss to only
support certificate_verify messages that used the same signature hash algorithm as the prf when using tls 1.2 client authentication.
NSS 3.37 release notes
added hacl* poly1305 32-bit the code to
support the npn protocol, which had already been disabled in a previous release, has been fully removed.
... nss
supports opening sql databases in read-only mode.
... with nss 3.37, this alternative implementation for linux has been enhanced to use the glibc function getentropy(), instead of reading from /dev/urandom directly, if the build and runtime linux platform
supports it.
NSS 3.39 release notes
nss 3.39 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_39_rtm/src/ new in nss 3.39 new functionality the tstclnt and selfserv utilities added
support for configuring the enabled tls signature schemes using the -j parameter.
...
support for these keys is disabled by default but can be enabled using ssl_signatureschemeprefset().
... the tstclnt and selfserv test utilities no longer accept the -z parameter, as
support for tls compression was removed in a previous nss version.
NSS environment variables
3.12.5 nss_hash_alg_
support string specifies agorithms allowed to be used in certain applications, such as in signatures on certificates and crls.
...in other words a connection will be dropped at initial handshake if a server or client do not
support safe renegotiation.
... before 3.0 nss_allow_sslkeylogfile boolean (1 to enable) enable nss
support in optimized builds for logging ssl/tls key material to a logfile if the sslkeylogfile environment variable.
NSS tools : crlutil
-i crl-import-file specify the file which contains the crl to import -f password-file specify a file that will automatically
supply the password to include in a certificate or to access a certificate database.
...this extension allows users to easily determine when a particular crl
supersedes another crl crlnumber non-critical number where: crlnumber: identifies the name of an extension critical: should be set to 0 since this is non-critical extension number: value of long which identifies the sequential number of a crl.
... reasoncode non-critical code where: reasoncode: identifies the name of an extension non-critical: should be set to 0 since this is non-critical extension code: the following codes are available: unspecified (0), keycompromise (1), cacompromise (2), affiliationchanged (3),
superseded (4), cessationofoperation (5), certificatehold (6), removefromcrl (8), privilegewithdrawn (9), aacompromise (10) * add invalidity date extension: the invalidity date is a non-critical crl entry extension that provides the date on which it is known or suspected that the private key was compromised or that the certificate otherwise became invalid.
SSL functions
in addition to the functions listed here, applications that
support ssl use some of the certificate functions, crypto functions, and utility functions described below on this page.
... other sources of information: the nss_reference documents the functions most commonly used by applications to
support ssl.
...the nss version column indicates which versions of nss
support the function.
NSS tools : crlutil
-i crl-import-file specify the file which contains the crl to import -f password-file specify a file that will automatically
supply the password to include in a certificate or to access a certificate database.
...this extension allows users to easily determine when a particular crl
supersedes another crl crlnumber non-critical number where: crlnumber: identifies the name of an extension critical: should be set to 0 since this is non-critical extension number: value of long which identifies the sequential number of a crl.
... reasoncode non-critical code where: reasoncode: identifies the name of an extension non-critical: should be set to 0 since this is non-critical extension code: the following codes are available: unspecified (0), keycompromise (1), cacompromise (2), affiliationchanged (3),
superseded (4), cessationofoperation (5), certificatehold (6), removefromcrl (8), privilegewithdrawn (9), aacompromise (10) * add invalidity date extension: the invalidity date is a non-critical crl entry extension that provides the date on which it is known or suspected that the private key was compromised or that the certificate otherwise became invalid.
Small Footprint
smalljs.jar ant build script in rhino
supports smalljar target that will generate smalljs.jar that does not include tools, optimizer, javaadapter and class generation library, regular expressions, e4x implementataion and deprecated files.
... to build such minimalist jar without debug information, run the following command from the top directory of rhino distribution: ant clean ant -ddebug=off -dno-regexp=true -dno-e4x=true smalljar if you omit -dno-regexp=true, then the resulting smalljs.jar will include regular expression
support.
... similarly omitting -dno-e4x=true results in smalljs.jar that includes runtime
support for e4x.
Rhino shell
-continuations enable experimental
support for continuations and set the optimization level to -1 to force interpretation mode.
...if no argument is
supplied, the current version number is returned.
... if an argument is
supplied, it is expected to be one of 100, 110, 120, 130, 140, 150, 160 or 170 to indicate javascript version 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 or 1.7 respectively.
SpiderMonkey Build Documentation
spidermonkey does not
support building in your source directory.
...that tends to be easier with clang as clang has cross-compiling
support built in.
...
support for js_threadsafe was recently removed, and threadsafe builds are now enabled by default.
FOSS
flusspferd - (newer) c++ bindings libjspp - c++ template based library for extending & embedding spidermonkey; works with spidermonkey 1.8.5 and above, has lots of goodies spiderape - the oldest c++ bindings for spidermonkey trixul - (trixul cvs) - trixul xml-based gui toolkit embeds spidermonkey, using javascript to implement logic behind its gui,
supporting calls from javascript to c++ objects rust mozjs - rust bindings used by servo gnome gjs - javascript bindings to gnome (broadly, to any library using the gobject introspection mechanism) objective caml http://alain.frisch.fr/soft.html#spider - bindings to embed spidermonkey in ocaml applications perl http://jspl.msg.mx/ - bindings to cross-embed spidermonkey and perl.
...designed to
supplement existing embeddings, gpsee ships with a sample trivial embedding, a scripting host, and an augmented version of mozilla's js shell.
... bundled modules include
support for bytearray, bytestring, cgi, posix signals, ffi, and more.
JIT Optimization Outcomes
accessnottypedarray accessnotstring statictypedarrayuint32 statictypedarraycantcomputemask outofbounds getelemstringnotcached nonnativereceiver indextype setelemnondensenontanotcached nosimdjit
support optimization failed because simd jit
support was not enabled.
...the native callee function was called with an un
supported number of arguments, or calling non-constructing functions with new.
...the native callee function was called with arguments with types that the built-in specialization does not
support.
JSAPI Cookbook
*/ js::rootedobject obj(cx, js_new(cx, constructor, args)); if (!obj) return false; calling a global js function // javascript var r = foo(); // where f is a global function /* jsapi * *
suppose the script defines a global javascript * function foo() and we want to call it from c.
... */ js::rootedvalue r(cx); if (!js_callfunctionname(cx, js_getglobalobject(cx), "foo", 0, null, &r)) return false; calling a js function via a local variable // javascript var r = f(); // where f is a local variable /* jsapi * *
suppose f is a local c variable of type js::value.
... javascript also
supports throwing any value at all, not just error objects.
JSClass.flags
mxr id search for jsclass_has_private jsclass_private_is_nsi
supports mozilla extension.
... the private field of each object of this class points to an xpcom object (see nsi
supports).
... mxr id search for jsclass_private_is_nsi
supports jsclass_is_domjsclass added in spidermonkey 17 objects are dom.
JSConvertOp
however, the engine itself only requires
support for jstype_string, jstype_number, and jstype_void, if js_convertvalue is not used.
... if you do not use the js_convertvalue method, you may omit
support for other types.
... (
support for the other types may eventually be removed.) the callback returns true to indicate success or false to indicate failure.
JS_AliasElement
this feature is deprecated, meaning that it is currently
supported only for backward compatibility with existing applications.
... future versions of the engine may no longer
support this function.
... an alias does not replace an element's current index number; it
supplements it, providing a second way to reference the element.
JSAPI reference
(for example, these apis
support very smooth integration between the js garbage collector and other garbage collectors.) struct jstracer added in spidermonkey 1.8 js_tracechildren added in spidermonkey 1.8 js_traceruntime added in spidermonkey 1.8 jsval_is_traceable added in spidermonkey 1.8 obsolete since jsapi 31 jsval_to_traceable added in spidermonkey 1.8 obsolete since jsapi 31 jsval_trace_kind added in spide...
...sg added in spidermonkey 17 js_psgs added in spidermonkey 17 js_self_hosted_get added in spidermonkey 31 js_self_hosted_getset added in spidermonkey 31 js_ps_end added in spidermonkey 17 jsfastnative added in spidermonkey 1.8 obsolete since javascript 1.8.5 the behavior of a jsclass can be customized using these flags: jsclass.flags jsclass_has_private jsclass_private_is_nsi
supports jsclass_is_domjsclass added in spidermonkey 17 jsclass_implements_barriers added in spidermonkey 17 jsclass_emulates_undefined added in spidermonkey 24 jsclass_has_reserved_slots(n) jsclass_global_flags jsclass_new_enumerate obsolete since jsapi 37 jsclass_new_resolve obsolete since jsapi 36 jsclass_share_all_properties obsolete since javascript 1.8.5 jsclass_new_r...
... jssecuritycallbacks js_getsecuritycallbacks added in spidermonkey 13 js_setsecuritycallbacks added in spidermonkey 13 js_setcontextsecuritycallbacks obsolete since jsapi 13 js_getruntimesecuritycallbacks obsolete since jsapi 13 js_setruntimesecuritycallbacks obsolete since jsapi 13 threading the following functions
support the spidermonkey threading model.
Split object
suppose a script in page a, in tab ta, has a reference to the window object of page b in another tab tb.
...more indirectly,
suppose there's a javascript function defined in page b that refers to global variables in page b.
...spidermonkey's split object
support, by itself, does not cause inner object properties to appear on the outer object or vice versa.
Gecko states
« at apis
support page introduction below you will find a list of
supported states by gecko.
... state_multiselectable
supports multiple selection state_extselectable
supports extended selection state_required indicates that user interaction is required.
... ext_state_
supports_autocompletion for editable areas that have any kind of autocompletion ext_state_defunct object no longer exists ext_state_selectable_text for text which is selectable, object must implement nsiaccessibletext ext_state_editable implements nsiaccessibleeditabletext ext_state_active this window is currently the active window ext_state_modal must do something with control before leaving it ext_state_multi_line edit control that can take multiple lines ext_state_horizontal uses horizontal layout ext_state_opaque indicates this object paints every pixel within its rectangular region ext_state_single_line this text object can only contain 1 line of text ext_state_transient e...
Bundling multiple binary components
this can create a difficult situation for extension developers trying to
support multiple gecko versions (firefox 2 and 3, for example).
... possible solutions this article covers two possible ways to make binary components
support multiple version of gecko: dynamic method loading stub loader dynamic method loading the idea with this approach is to figure out all the methods imported from gecko and dynamically load the methods.
... this approach uses one binary component for each version of gecko and platform, plus the stub loader component therefore, to
support 2 gecko versions on three platforms, you need seven components (6 real components + 1 stub).
Using XPCOM Components
once you use the interface to get to the component, you can ask the component what other interfaces it
supports.
... this service, which is defined in the basic nsi
supports interface and implemented by all xpcom components, allows you to query and switch interfaces on a component as part of the runtime object typing capabilities of xpcom.
... remember, queryinterface allows you to query an object for the interfaces it
supports.
Components.classes
a new xpcom component instance can be created from the returned class object as follows: var obj = components.classes["@mozilla.org/
supports-array;1"] .createinstance(components.interfaces.nsi
supportsarray); which is a shortcut to var obj = components.classes["@mozilla.org/
supports-array;1"] .createinstance(); obj.queryinterface(components.interfaces.nsi
supportsarray); if you don't provide a specific interface to createinstance(), it will return an xpconnect wrapper for the component, ...
...which only exposes the methods of the nsi
supports interface (and under certain circumstances the special wrappedjsobject property).
...nents.interfaces by storing a reference to the object as a constant: const cc = components.classes, ci = components.interfaces; var os = cc["@mozilla.org/observer-service;1"] .getservice(ci.nsiobserverservice); a less known trick, useful when creating multiple instances of the same component, is to use the new operator on the class object: var clazz = components.classes["@mozilla.org/
supports-array;1"]; var inst = new clazz(components.interfaces.nsi
supportsarray); this implicitly calls the createinstance() method for you.
Components.interfaces
this includes nsi
supports.queryinterface(), the optional parameter accepted by nsijscid.getservice(), nsijscid.createinstance() when called from javascript, and nsiclassinfo.getinterfaces().
...you can retrieve an interface object using: var iface = components.interfaces.nsi
supportsarray; this will return you the interface object for the nsi
supportsarray interface.
...for example, assume we have the following interface declaration: interface nsifoo : nsi
supports { const pruint32 myflag = 5; }; the constant myflag can then be accessed using var myflag = components.interfaces.nsifoo.myflag; ...
XPCshell Test Manifest Expressions
only decimal integers are
supported.
...no escape sequences are
supported.
... variables variables are
supported as a series of letters, digits or underscores beginning with a letter or an underscore.
mozISpellCheckingEngine
implement this interface to add
support for a new spell checking engine.
... inherits from: nsi
supports last changed in gecko 1.7 this interface represents a spell checking engine.
...void getdictionarylist( [array, size_is(count)] out wstring dictionaries, out pruint32 count ); parameters dictionaries a list of dictionaries
supported by this spell checker.
nsIAbCard
inherits from: nsi
supports method overview astring getcardvalue(in string name) void setcardvalue(in string attrname, in astring value) void copy(in nsiabcard srccard) boolean equals(in nsiabcard card) string converttobase64encodedxml() astring converttoxmlprintdata() string converttoescapedvcard() astring generatename(in long agenerateformat,[o...
...if this bundle is not
supplied, then the function will obtain the bundle itself.
... if cached by the caller and
supplied to this function, then performance will be improved over many calls.
nsIAccessibilityService
last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) inherits from: nsiaccessibleretrieval method overview nsiaccessible createouterdocaccessible(in nsidomnode anode); nsiaccessible createrootaccessible(in nsipresshell ashell, in nsidocument adocument); nsiaccessible createhtml4buttonaccessible(in nsi
supports aframe); nsiaccessible createhypertextaccessible(in nsi
supports aframe); nsiaccessible createhtmlbraccessible(in nsi
supports aframe); nsiaccessible createhtmlbuttonaccessible(in nsi
supports aframe); nsiaccessible createhtmlaccessiblebymarkup(in nsiframe aframe, in nsiweakreference aweakshell, in nsidomnode adomnode); nsiaccessible createhtmlliaccessible(in nsi
supports aframe, ...
...in nsi
supports abulletframe, in astring abullettext); nsiaccessible createhtmlcheckboxaccessible(in nsi
supports aframe); nsiaccessible createhtmlcomboboxaccessible(in nsidomnode anode, in nsiweakreference apresshell); nsiaccessible createhtmlgenericaccessible(in nsi
supports aframe); nsiaccessible createhtmlgenericaccessible(in nsi
supports aframe); nsiaccessible createhtmlhraccessible(in nsi
supports aframe); nsiaccessible createhtmlimageaccessible(in nsi
supports aframe); nsiaccessible createhtmllabelaccessible(in nsi
supports aframe); nsiaccessible createhtmllabelaccessible(in nsidomnode anode, in nsiweakreference apresshell); nsiaccessible createhtmlobjectframeaccessible(in nsobjectframe aframe); nsiaccessible createhtmlradiobuttonaccessible(in nsi
supports aframe)...
...; nsiaccessible createhtmlselectoptionaccessible(in nsidomnode anode, in nsiaccessible aaccparent, in nsiweakreference apresshell); nsiaccessible createhtmltableaccessible(in nsi
supports aframe); nsiaccessible createhtmltablecellaccessible(in nsi
supports aframe); nsiaccessible createhtmltableheadaccessible(in nsidomnode adomnode); nsiaccessible createhtmltextaccessible(in nsi
supports aframe); nsiaccessible createhtmltextfieldaccessible(in nsi
supports aframe); nsiaccessible createhtmlcaptionaccessible(in nsi
supports aframe); nsiaccessible getaccessible(in nsidomnode anode, in nsipresshell apresshell, in nsiweakreference aweakshell, inout nsiframe framehint, out boolean aishidden); nsiaccessible addnativerootaccessible(in voidptr aatkaccessible); void removenativer...
nsIAuthModule
inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview void getnexttoken([const] in voidptr aintoken, in unsigned long aintokenlength, out voidptr aouttoken, out unsigned long aouttokenlength); void init(in string aservicename, in unsigned long aserviceflags, in wstring adomain, in wstring ausername, in wstring apassword); void unwrap([const] in voidptr aintoken, in unsigned long aintokenlength, out voidptr aouttoken, out unsigned long aouttokenlength); void wrap([const] in voidptr aintoken, in unsigned long aintokenlength, in boolean confidential, out voidptr aouttoken, out uns...
... exceptions thrown ns_error_not_implemented if the underlying authentication mechanism does not
support security layers.
... exceptions thrown ns_error_not_implemented if the underlying authentication mechanism does not
support security layers.
nsIAuthPrompt2
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) this interface is usually acquired using getinterface on notification callbacks or similar.
...to create an instance, use: var authprompt2 = components.classes["@mozilla.org/login-manager/prompter;1"] .createinstance(components.interfaces.nsiauthprompt2); method overview nsicancelable asyncpromptauth(in nsichannel achannel, in nsiauthpromptcallback acallback, in nsi
supports acontext, in pruint32 level, in nsiauthinformation authinfo); boolean promptauth(in nsichannel achannel, in pruint32 level, in nsiauthinformation authinfo); constants constant value description level_none 0 the password will be sent unencrypted.
... nsicancelable asyncpromptauth( in nsichannel achannel, in nsiauthpromptcallback acallback, in nsi
supports acontext, in pruint32 level, in nsiauthinformation authinfo ); parameters achannel the channel that requires authentication.
nsIBadCertListener2
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) replaces the obsolete nsibadcertlistener interface.
...this object usually
supports nsisslsocketcontrol, nsitransportsecurityinfo, nsiidentityinfo, nsisslstatusprovider, nsiclientauthuserdecision and possibly other interfaces.
... return value the consumer shall return true if it wants to
suppress the error message related to the bad cert (the connection will still get canceled).
nsIBrowserSearchService
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) implemented by: @mozilla.org/browser/search-service;1.
... methods addengine() adds a new search engine from the file at the
supplied uri, optionally asking the user for confirmation first.
...must be one of the
supported search engine data types defined above.
nsICharsetResolver
inherits from: nsi
supports last changed in gecko 1.7 method overview void notifyresolvedcharset(in acstring charset, in nsi
supports closure); acstring requestcharset(in nsiwebnavigation awebnavigation, in nsichannel achannel, out boolean awantcharset, out nsi
supports aclosure); methods notifyresolvedcharset() some implementations may request that they be notified when the charset is actually detected.
... void notifyresolvedcharset( in acstring charset, in nsi
supports closure ); parameters charset the detected charset.
...acstring requestcharset( in nsiwebnavigation awebnavigation, in nsichannel achannel, out boolean awantcharset, out nsi
supports aclosure ); parameters awebnavigation the nsiwebnavigation the document is being loaded in.
nsIChromeFrameMessageManager
void loadframescript( in astring aurl, in boolean aallowdelayedload ); parameters aurl the url of the script to load into the frame; this must be an absolute url, but data: urls are
supported.
... removedelayedframescript() removes a script from the list of scripts
supporting delayed load.
... void removedelayedframescript( in astring aurl ); parameters aurl the url of the script to remove from the list of scripts
supporting delayed load.
nsIContentView
content/base/public/nsiframeloader.idlscriptable represents a scrollable content view whose contents are actually drawn by a separate process; this is part of the electrolysis multi-process
support framework.
... 1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) see working with content views for details on how to use this api.
...
support for using this api for all scrollable elements is coming; see bug 618975 for details.
nsIControllers
inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) this interface is used to manage instances of the nsicontroller interface.
...getcontrollerforcommand() searches for a controller that
supports the given command.
...cmd_copy return value the first controller in the list that
supports the given command.
nsIConverterOutputStream
implementations not
supporting buffering may ignore this parameter.
... areplacementcharacter the replacement character to use when an un
supported character is found.
... a value of 0x0000 will cause an exception to be thrown upon attempts to write un
supported characters.
nsICookieService
inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) see nsicookiemanager and nsicookiemanager2 for methods to manipulate the cookie database directly.
...getcookiestring() will query the documenturi property off of nsihttpchannelinternal if
supported, so getcookiestring() can be used in place of this method.
...setcookiestring() will query the documenturi property off of nsihttpchannelinternal if
supported, and setcookiestring() could also query the date header from the channel if achannel
supports nsihttpchannel.
nsIDOMGeoPositionCoords
last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) inherits from: nsi
supports attributes attribute type description latitude double the user's current latitude, in degrees.
...zero if the device doesn't
support altitude detection.
...zero if the device doesn't
support altitude detection.
nsIDOMOfflineResourceList
last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) inherits from: nsi
supports 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-mana...
... onupdateready nsidomeventlistener an event listener to be called when a resource update is ready; this event is not currently used since versioned application caches aren't
supported yet.
... note: versioned application caches are not yet
supported; this method will throw an exception.
nsIDOMWindow
66 introduced gecko 1.0 deprecated gecko 44 inherits from: nsi
supports last changed in gecko 7.0 (firefox 7.0 / thunderbird 7.0 / seamonkey 2.4) starting with firefox 44, this file is empty as its features were either no longer used or are only available from c++ code; see dom/base/nspidomwindow.h for those.
...when setting this attribute, an ns_error_not_implemented error may be returned by implementations not
supporting zoom.
... this attribute should always return 1.0 for implementations not
supporting text zoom.
nsIDOMXPathEvaluator
inherits from: nsi
supports last changed in gecko 1.7 implemented by: @mozilla.org/dom/xpath-evaluator;1.
...e 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); nsi
supports evaluate(in domstring expression, in nsidomnode contextnode, in nsidomxpathnsresolver resolver, in unsigned short type, in nsi
supports result) methods createexpression() creates an nsidomxpathexpression which can then be used for (repeated) evaluations.
...nsi
supports evaluate( in domstring expression, in nsidomnode contextnode, in nsidomxpathnsresolver resolver, in unsigned short type, in nsi
supports result ); parameters expression a string representing the xpath to be evaluated.
nsIDebug
xpcom/base/nsidebug.idlscriptable provides debugging
support for scripted languages, such as javascript, java, python, perl, and so forth.
... inherits from: nsi
supports last changed in gecko 1.7 note: c/c++ consumers who are planning to use the nsidebug interface with the @mozilla.org/xpcom;1 contract should use ns_debugbreak() from xpcom glue instead, or alternatively the ns_abort, ns_assertion, ns_break, and ns_warning macros, which also call ns_debugbreak() if used in a debugging build.
...the dialog can be
suppressed by use of the windbgdlg registry key.
nsIDeviceMotion
xpcom/system/nsidevicemotion.idlscriptable this interface is used to implement accelerometer
support.
... 1.0 66 introduced gecko 1.9.2 inherits from: nsi
supports last changed in gecko 6.0 (firefox 6.0 / thunderbird 6.0 / seamonkey 2.3) note: this interface was named nsidevicemotion prior to gecko 6.0 (firefox 6.0 / thunderbird 6.0 / seamonkey 2.3).
... methods addlistener() when called, the accelerometer
support implementation must begin to notify the specified nsidevicemotionlistener by calling its nsidevicemotionlistener.onaccelerationchange() method as appropriate to share updated acceleration data.
nsIDirIndexListener
they can then be transformed into an output format (such as rdf, html and so on) inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview void onindexavailable(in nsirequest arequest, in nsi
supports actxt, in nsidirindex aindex); void oninformationavailable(in nsirequest arequest, in nsi
supports actxt, in astring ainfo); methods onindexavailable() called for each directory entry.
... void onindexavailable( in nsirequest arequest, in nsi
supports actxt, in nsidirindex aindex ); parameters arequest the request.
...void oninformationavailable( in nsirequest arequest, in nsi
supports actxt, in astring ainfo ); parameters arequest the request.
getFile
c constant string value notes ns_os_system_dir "sysd" available on mac os x only these locations are
supported only on mac os x versions of gecko.
...ks_dir "locfrmwrks" ns_osx_user_preferences_dir "usrprfs" ns_osx_local_preferences_dir "locprfs" ns_osx_picture_documents_dir "pct" ns_osx_movie_documents_dir "mov" ns_osx_music_documents_dir "music" ns_osx_internet_sites_dir "intrntsts" available on windows only these locations are
supported only on microsoft windows builds of gecko.
... ns_win_common_programs_dir "cmprgs" ns_win_common_startup_dir "cmstrt" ns_win_common_desktop_directory "cmdeskp" ns_win_appdata_dir "appdata" ns_win_local_appdata_dir "localappdata" ns_win_printhood "prnthd" ns_win_cookies_dir "cookd" available on unix only these locations are
supported only on unix builds of firefox os.
nsIFTPChannel
the nsiftpchannel is an extension of nsi
supports used to determine if a channel is an ftp channel, and offering additional information about the ftp channel.
... you can determine if a channel is an ftp channel by checking to see if it implements this interface, by calling nsi
supports.queryinterface() on it.
... last changed in gecko 1.9 (firefox 3) inherits from: nsi
supports attributes attribute type description lastmodifiedtime prtime the time at which the ftp channel was last updated.
nsIFrameScriptLoader
idl file: mozilla-central/source/dom/base/nsimessagemanager.idl inherits from: nsi
supports this interface is used to load frame scripts.
...data: urls are also
supported.
... removedelayedframescript() removes aurl from the list of scripts which
support delayed load.
nsIHttpChannel
if the new channel
supports nsihttpchannel, then it will be assigned a value to its redirectionlimit attribute one less than the value of the redirected channel's redirectionlimit attribute.
...this flag is ignored if the specified header does not
support merging (for example the "content-type" header can only have one value).
...this flag is ignored if the specified header does not
support merging (for example the "content-type" header can only have one value).
nsILoadGroup
inherits from: nsirequest last changed in gecko 1.7 method overview void addrequest(in nsirequest arequest, in nsi
supports acontext); void removerequest(in nsirequest arequest, in nsi
supports acontext, in nsresult astatus); attributes attribute type description activecount unsigned long returns the count of "active" requests (that is requests without the load_background bit set).
...void addrequest( in nsirequest arequest, in nsi
supports acontext ); parameters arequest the request to be added to the load group.
...void removerequest( in nsirequest arequest, in nsi
supports acontext, in nsresult astatus ); parameters arequest the request to be removed from the load group.
nsILocalFile
void reveal(); void setrelativedescriptor(in nsilocalfile fromfile, in acstring relativedesc); attributes attribute type description diskspaceavailable print64 the number of bytes available to non-
superuser on the disk volume containing the nsilocalfile.
...this parameter may be ignored on systems that do not
support file permissions.
...this routine only works on platforms which
support the ability to open a folder.
nsILoginManagerStorage
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) for example, if you wish to provide operating system integration with a native password manager system, implementing and registering a storage module for the login manager is how you do it.
...ogins([optional] out unsigned long count, [retval, array, size_is(count)] out nsilogininfo logins); void getalllogins([optional] out unsigned long count, [retval, array, size_is(count)] out nsilogininfo logins); boolean getloginsavingenabled(in astring ahost); void init(); void initwithfile(in nsifile ainputfile, in nsifile aoutputfile); void modifylogin(in nsilogininfo oldlogin, in nsi
supports newlogindata); void removealllogins(); void removelogin(in nsilogininfo alogin); void searchlogins(out unsigned long count, in nsipropertybag matchdata, [retval, array, size_is(count)] out nsilogininfo logins); void setloginsavingenabled(in astring ahost, in boolean isenabled); attributes attribute type description uibusy boolean true when a master password prompt is being s...
...void modifylogin( in nsilogininfo oldlogin, in nsi
supports newlogindata ); parameters oldlogin the login to be modified.
nsIMemoryMultiReporterCallback
1.0 66 introduced gecko 7.0 inherits from: nsi
supports last changed in gecko 7.0 (firefox 7.0 / thunderbird 7.0 / seamonkey 2.4) method overview void callback(in acstring process, in autf8string path, in print32 kind, in print32 units, in print64 amount, in autf8string description, in nsi
supports closure); methods callback() called to provide information from a multi-reporter.
...void callback( in acstring process, in autf8string path, in print32 kind, in print32 units, in print64 amount, in autf8string description, in nsi
supports closure ); parameters process the value of the process attribute for the memory reporter.
... closure an nsi
supports object providing any additional data the callback might need; you provide this when you call nsimemorymultireporter.collectreports().
nsINavBookmarkObserver
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 21.0 (firefox 21.0 / thunderbird 21.0 / seamonkey 2.18) method overview void onbeforeitemremoved(in long long aitemid, in unsigned short aitemtype, in long long aparentid, in acstring aguid, in acstring aparentguid); obsolete since gecko 21.0 void onbeginupdatebatch(); void onendupdatebatch(); void onfolderadded(in print64 folder, in print64 parent, in print32 index); obsolete since gecko 1.9 void onfolderchanged(in print64 folder, in acstring property); obsolete since gecko 1.9 void onfoldermoved(in print64 fo...
... using onbeforeitemremoved() in gecko 1.9.1 if you wish to
support onbeforeitemremoved() in applications based on gecko 1.9.1, you must implement your observer's queryinterface() method to match on both nsinavbookmarkobserver and nsinavbookmarkobserver_mozilla_1_9_1_additions, as shown below.
... queryinterface: function(iid) { if (iid.equals(ci.nsinavbookmarkobserver) || iid.equals(ci.nsinavbookmarkobserver_mozilla_1_9_1_additions) || iid.equals(ci.nsi
supports)) { return this; } throw cr.ns_error_no_interface; } see also places manipulating bookmarks using places nsinavbookmarksservice ...
nsINavHistoryObserver
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 21.0 (firefox 21.0 / thunderbird 21.0 / seamonkey 2.18) warning: if you are in the middle of a batch transaction, there may be a database transaction active.
... using onbeforedeleteuri() in gecko 1.9.1 if you wish to
support onbeforedeleteuri() in applications based on gecko 1.9.1, you must implement your observer's queryinterface() method to match on both nsinavhistoryobserver and nsinavhistoryobserver_mozilla_1_9_1_additions, as shown below.
... queryinterface: function(iid) { if (iid.equals(ci.nsinavhistoryobserver) || iid.equals(ci.nsinavhistoryobserver_mozilla_1_9_1_additions) || iid.equals(ci.nsi
supports)) { return this; } throw cr.ns_error_no_interface; } see also nsinavhistoryresult ...
nsINavHistoryResult
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) places results use a model-view-controller (mvc) design pattern.
...
suppressnotifications boolean if true, notifications are
suppressed.
...if true, the result will keep a weak reference to the observer, which must implement the nsi
supportsweakreference interface.
nsINetworkLinkService
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 8.0 (firefox 8.0 / thunderbird 8.0 / seamonkey 2.5) implemented by: @mozilla.org/network/network-link-service;1 as a service: var networklinkservice = components.classes["@mozilla.org/network/network-link-service;1"] .getservice(components.interfaces.nsinetworklinkservice); attributes attribute type description islinkup boolean this is set to true when the system is believed to have a usable network connection.
...android
support was backed out due to perceived security concerns, see bug 691054.
... as of gecko 28.0 android
support is available again, see bug 939680.
nsIObserver
inherits from: nsi
supports last changed in gecko 0.9.6 method overview void observe(in nsi
supports asubject, in string atopic, in wstring adata); methods observe() this method will be called when there is a notification for the topic that the observer has been registered for.
... void observe( in nsi
supports asubject, in string atopic, in wstring adata ); parameters asubject in general reflects the object whose change or action is being observed.
...be careful, though, because other uses of nsiobserver may not
support these operations correctly within observe.
nsIParserUtils
1.0 66 introduced gecko 13.0 inherits from: nsi
supports last changed in gecko 14.0 (firefox 14.0 / thunderbird 14.0 / seamonkey 2.11) warning: do not use this from within gecko--use nscontentutils, nstreesanitizer, and so on directly instead.
... at present, sanitizing css backgrounds, and so on., is not
supported, so setting this together with sanitizerallowstyle doesn't make sense.
... at present, sanitizing css syntax in svg presentational attributes is not
supported, so this option flattens out svg.
nsIPluginHost
inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview nsifile createtempfiletopost(in string apostdataurl); native code only!
... native code only!instantiatedummyjavaplugin instantiate a "dummy" java plugin if a java plugin that
supports npruntime is installed.
...if the java plugin
supports npruntime and instantiation was successful, aowners instance will be non-null, if not, it will be null.
nsIProcessScriptLoader
idl file: mozilla-central/source/dom/base/nsimessagemanager.idl inherits from: nsi
supports this interface is used by parent process message managers to load scripts into a child process.
...data: urls are also
supported.
... removedelayedprocessscript() removes aurl from the list of scripts which
support delayed load.
nsIProtocolProxyService
inherits from: nsi
supports last changed in gecko 1.7 implemented by: @mozilla.org/network/protocol-proxy-service;1.
... if the protocol handler for the given uri
supports nsiproxiedprotocolhandler, then the nsiproxyinfo instance returned from resolve may be passed to the nsiproxiedprotocolhandler.newproxiedchannel() method to create a nsichannel to the given uri that uses the specified proxy.
... however, if the nsiproxyinfo type is "http", then it means that the given uri should be loaded using the http protocol handler, which also
supports nsiproxiedprotocolhandler.
nsIRequestObserver
inherits from: nsi
supports last changed in gecko 1.0 method overview void onstartrequest(in nsirequest arequest, in nsi
supports acontext); void onstoprequest(in nsirequest arequest, in nsi
supports acontext, in nsresult astatuscode); methods onstartrequest() called to signify the beginning of an asynchronous request.
...void onstartrequest( in nsirequest arequest, in nsi
supports acontext ); parameters arequest request being observed.
...void onstoprequest( in nsirequest arequest, in nsi
supports acontext, in nsresult astatuscode ); parameters arequest request being observed.
nsISearchEngine
last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) inherits from: nsi
supports method overview void addparam(in astring name, in astring value, in astring responsetype); nsisearchsubmission getsubmission(in astring data, [optional] in astring responsetype, [optional] in astring purpose); boolean
supportsresponsetype(in astring responsetype); attributes attribute type description alias astring an optional shortcut alias for the engine.
... return value an nsisearchsubmission
supportsresponsetype() determines whether the engine can return responses in the given mime type.
... boolean
supportsresponsetype( in astring responsetype ); parameters responsetype the mime type to check for.
nsISelectionPrivate
dom/base/nsiselectionprivate.idlscriptable internal
support for content selection handling.
... inherits from: nsi
supports last changed in gecko 35 (firefox 35 / thunderbird 35 / seamonkey 2.32) warning: the content of this article may be out of date.
... gettableselectiontype() test if
supplied range points to a single table element.
nsISocketTransport
this object
supports nsibadcertlistener2 and nsisslerrorlistener for ssl connections, and possibly other interfaces.
... securityinfo nsi
supports security info object returned from the secure socket provider.
... this object
supports nsisslsocketcontrol, nsitransportsecurityinfo, and possibly other interfaces.
nsISocketTransportService
inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) implemented by: @mozilla.org/network/socket-transport-service;1.
...currently "starttls", "ssl" and "udp" are
supported.
...mozilla.org:2000 with tls
support and default proxy settings var socket = transportservice.createtransport(["starttls"], 1,"mozilla.org", 2000, null); see also nsisockettransport nsirunnable nsiproxyinfo ...
nsISound
inherits from: nsi
supports last changed in gecko 9.0 (firefox 9.0 / thunderbird 9.0 / seamonkey 2.6) warning: this interface should not be used to play custom sounds in modern code.
... note: this function is not
supported on the macintosh.
... void playsystemsound( in astring soundalias ); parameters soundalias two different types of names are
supported: you can specify the name of a system sound provided by the host operating system; for example, if you specify "systemexclamation", you can play the windows alert sound, but it's played only on windows.
nsIStringBundle
inherits from: nsi
supports last changed in gecko 1.7 this interface is used by xul:stringbundle to retrieve strings.
...ength)] in wstring params, in unsigned long length); nsisimpleenumerator getsimpleenumeration(); wstring getstringfromid(in long aid); wstring getstringfromname(in wstring aname); methods formatstringfromid() returns a formatted string with the given id from the string bundle, where each occurrence of %s (uppercase) is replaced by each successive element in the
supplied array.
... formatstringfromname() returns a formatted string with the given key name from the string bundle, where each occurrence of %s (uppercase) is replaced by each successive element in the
supplied array.
nsITelemetry
1.0 66 introduced gecko 6.0 inherits from: nsi
supports last changed in gecko 7.0 (firefox 7.0 / thunderbird 7.0 / seamonkey 2.4) implemented by: @mozilla.org/base/telemetry;1 as a service: let telemetry = components.classes["@mozilla.org/base/telemetry;1"] .getservice(components.interfaces.nsitelemetry); method overview jsval gethistogrambyid(in acstring id); jsval snapshothistograms(in uint32_t adataset, in boolean asubsession, in boolean aclear); jsval getkeyedhistogrambyid(in acstring id); void capturestack(in acstring name); jsval...
... snapshotcapturedstacks([optional] in boolean clear); nsi
supports getloadedmodules(); jsval snapshotkeyedhistograms(in uint32_t adataset, in boolean asubsession, in boolean aclear); void sethistogramrecordingenabled(in acstring id, in boolean enabled); void asyncfetchtelemetrydata(in nsifetchtelemetrydatacallback acallback); double mssinceprocessstart(); void scalaradd(in acstring aname, in jsval avalue); void scalarset(in acstring aname, in jsval avalue); void scalarsetmaximum(in acstring aname, in jsval avalue); jsval snapshotscalars(in uint32_t adataset, [optional] in boolean aclear); void keyedscalaradd(in acstring aname, in astring akey, in jsval avalue); void keyedscalarset(in acstring a...
...this is true if the fhr data reporting service or the self-
support service is enabled.
nsITreeSelection
inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) method overview void adjustselection(in long index, in long count); void clearrange(in long startindex, in long endindex); void clearselection(); void getrangeat(in long i, out long min, out long max); long getrangecount(); void invalidateselection(); void invertselection(); boolean isselected(in long index); void rangedselect(in long startindex, in long endindex, in boolean augment); void select(in long index); void selectall(); void timedselect(in long index, i...
... selectevents
suppressed boolean this attribute is a boolean indicating whether or not the "select" event should fire when the selection is changed using one of our methods.
... a view can use this to temporarily
suppress the selection while manipulating all of the indices, for example, on a sort.
nsIURI
netwerk/base/public/nsiuri.idlscriptable this is an interface for an uniform resource identifier with internationalization
support, offering attributes that allow setting and querying the basic components of a uri, and methods for performing basic operations on uris.
... inherits from: nsi
supports last changed in gecko 6.0 (firefox 6.0 / thunderbird 6.0 / seamonkey 2.3) see the following rfcs for details: rfc3490: internationalizing domain names in applications (idna) rfc3986: uniform resource identifier (uri): generic syntax rfc3987: internationalized resource identifiers subclasses of nsiuri, such as nsiurl, impose further structure on the uri.
...if
supported, it could be a non-ascii internationalized domain name.
nsIUpdate
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview nsiupdatepatch getpatchat(in unsigned long index); nsidomelement serialize(in nsidomdocument updates); attributes attribute type description appversion astring the application version of this update.
... name astring the name of the update, in the form "application_name update_version" patchcount unsigned long the number of patches
supplied by this update.
... serviceurl astring the url to the update service that
supplied this update.
nsIUploadChannel
netwerk/base/public/nsiuploadchannel.idlscriptable a channel may optionally implement this interface if it
supports the notion of uploading a data stream.
... inherits from: nsi
supports last changed in gecko 1.7 method overview void setuploadstream(in nsiinputstream astream, in acstring acontenttype, in long acontentlength); attributes attribute type description uploadstream nsiinputstream get the stream (to be) uploaded by this channel.
... history here is that we need to
support both streams that already have headers (for example, content-type and content-length) information prepended to the stream (by plugins) as well as clients (composer, uploading application) that want to upload data streams without any knowledge of protocol specifications.
nsIWeakReference
inherits from: nsi
supports last changed in gecko 0.9.9 an instance of nsiweakreference is a proxy object that cooperates with its referent to give clients a non-owning, non-dangling reference.
...method overview void queryreferent( in nsiidref uuid, [iid_is(uuid), retval] out nsqiresult result ); methods queryreferent() this method queries an interface on the referent if it exists, and like nsi
supports.queryinterface(), produces an owning reference to the desired interface.")}} it is designed to look and act exactly like (a proxied) nsi
supports.queryinterface().
...see also nsi
supports.queryinterface() nsi
supportsweakreference ...
nsIWebBrowser
inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) warning: this interface was frozen for a very long time, but was unfrozen for gecko 2.0.
... note: the implementation should not refcount the
supplied chrome object; it should assume that a non nsnull value is always valid.
... note: if this attribute is set to an object that implements nsi
supportsweakreference, the implementation should get the nsiweakreference and hold that.
nsIWebProgress
last changed in gecko 1.8.0 inherits from: nsi
supports method overview void addprogresslistener(in nsiwebprogresslistener alistener, in unsigned long anotifymask); void removeprogresslistener(in nsiwebprogresslistener alistener); attributes attribute type description domwindow nsidomwindow the dom window associated with this nsiwebprogress instance.
...this object must also implement nsi
supportsweakreference.
... exceptions thrown ns_error_invalid_arg indicates that alistener was either null or that it does not
support weak references.
nsIWebProgressListener
inherits from: nsi
supports last changed in gecko 15 (firefox 15 / thunderbird 15 / seamonkey 2.12) nsiwebprogress describes the parent-child relationship of nsiwebprogress instances.
...a document request
supports the nsichannel interface and its loadflags attribute includes the nsichannel::load_document_uri flag.
... cu.reporterror("saw: " + data.name + " -- passing: " + json.stringify(data)); }); /** * below is the contents of example-framescript.js */ const {classes: cc, interfaces: ci, utils: cu} = components; cu.import("resource://gre/modules/xpcomutils.jsm"); var mylistener = { queryinterface: xpcomutils.generateqi(["nsiwebprogresslistener", "nsi
supportsweakreference"]), onstatechange: function(awebprogress, arequest, aflag, astatus) { let win = awebprogress.domwindow; let outerwindowid = win.queryinterface(ci.nsiinterfacerequestor) .getinterface(ci.nsidomwindowutils) .outerwindowid; sendasyncmessage("myaddonmessage", { name: "onstatechang...
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 nsi
supports asourcearg); attributes attribute type description data domstring the event's data.
... source nsi
supports the event's source.
... void initmessageevent( in domstring atypearg, in boolean acanbubblearg, in boolean acancelablearg, in domstring adataarg, in domstring aoriginarg, in nsi
supports asourcearg ); parameters atypearg the event type.
nsIZipReader
inherits from: nsi
supports last changed in gecko 10.0 (firefox 10.0 / thunderbird 10.0 / seamonkey 2.7) implemented by: @mozilla.org/libjar/zip-reader;1.
... to create an instance, use: var zipreader = components.classes["@mozilla.org/libjar/zip-reader;1"] .createinstance(components.interfaces.nsizipreader); about character sets and code pages note: nsizipreader has a code page problem; that is, in the zip specification, filenames are
supposed to use 7-bit ascii; however, most modern filesystems use 8 bit code pages, such as utf-8.
... starting in gecko 10.0 (firefox 10.0 / thunderbird 10.0 / seamonkey 2.7), the nsizipreader api
supports a limited 8 bit code page usage.
XPCOM tasks
macros in "nsi
supportsutils.h".
... 5.1 should we provide type-safe templatized containers, e.g., over nsi
supportsarray?
... building ownership models that work (see xpcom ownership guidelines), using raw pointers, nscomptr (see the nscomptr user's manual), nsiweakreference (see nsiweakreference), nscweakreference, and (across threads) proxies (see nsi
supports proxies).
XSLT 2.0
although xslt 2.0 is not natively
supported in firefox, it is possible via saxon-b (java) or, more recently, saxon-ce (javascript) to perform xslt 2.0.
... saxon-b the xsl results extension uses the new incarnation of liveconnect (handled by java 1.6v12+ instead of mozilla-specific code) to connect with the java-based saxon-b library, and adds
support for having xslt performed automatically when visiting a page with the appropriate xslt processing instruction (and which isn't processed by firefox's own xslt 1.0 processor).
... the code does not currently work on the mac (except for server edition
supporting java 1.6) due to its lagging java
support (and thus liveconnect
support).
Address Book examples
use the nsiabcollection.readonly attribute to determine the read-only status of an address book adding contacts create a card and set its properties using the nsiabcard interface (see the interface documentation for property names
supported by the application): let card = components.classes["@mozilla.org/addressbook/cardproperty;1"] .createinstance(components.interfaces.nsiabcard); card.setproperty("firstname", "john"); card.setproperty("lastname", "smith"); card.primaryemail = "john@invalid.com"; now add the card to an address book via its nsiabdirectory interface: let newcard = addressbook.addcard...
...my value = card.getproperty("random1"); note: local (mork) address books are currently the only built-in type of address book that
supports saving of non-built-in properties.
...register a load listener for a contact, the following should take place within the scope of the contact editor dialog: /* an example load listener for a contact * acard the nsiabcard being loaded * adocument a reference to the contact editor document */ function foo(acard, adocument) { // do something useful, like disabling // input fields that cards for this // address book type do not
support.
Activity Manager examples
////////////////////////////////////////////////////////////////////////////// //// undo handler implementation class mycopyeventundo : public nsiactivityundohandler { public: ns_decl_i
supports ns_decl_nsiactivityundohandler mycopyeventundo() {} private: ~mycopyeventundo() {} }; ns_impl_i
supports1(mycopyeventundo, nsiactivityundohandler) ns_imethodimp mycopyeventundo::undo(nsiactivityevent *event, nsresult *result) { nsresult rv; // get the subjects of this copy event pruint32 length; nsivariant **subjectlist; rv = event->getsubjects(&length, &subjectlist); if(...
...ns_failed(rv)) return rv; // first subject in the list is the source folder in this particular case nscomptr<nsimsgfolder> folder = do_queryinterface(subjectlist[0]); // get the initiator nsivariant *initiator; event->getinitiator(&initiator); if (initiator) { nsi
supports* ptr; rv = object->getasi
supports(&ptr); if(ns_failed(rv)) return rv; nscomptr<nsimsgcopyservice> copyservice = do_queryinterface(ptr); if (copyservice) copyservice->undo(folder); } return (*result = ns_ok); } ///////////////////////////////////////////////////////////////////////////// //// creating an undoable copy event nscomptr<nsiactivityundohandler> undohandler = new mycopyeventundo(); nscomptr<nsiactivityevent> copyevent(do_createinstance("@mozilla.org/act...
... // wrap copyservice in a nsvariant component nscomptr<nsiwritablevariant> initiator = do_createinstance(ns_variant_contractid); initiator->setasi
supports(reinterpret_cast<nsi
supports*>(copyservice)); // subject of the delete operation is the imap folder // wrap it in a nsvariant component nscomptr<nsiwritablevariant> srcfolder = do_createinstance(ns_variant_contractid); srcfolder->setasi
supports(reinterpret_cast<nsi
supports*>(imapfolder)); copyevent->addsubject(srcfolder); copyevent->init(ns_literal_string("message copy event"), ...
Using the Mozilla source server
this enables source server
support.
... using the source server in visual studio note: source server
support does not work correctly out of the box in visual studio 2005.
... enable source server
support under tools -> options.
URLs - Plugins
the table below summarizes urls
supported by gecko.
... in addition, gecko may
support urls not listed on this table.
...§ the npn_posturlnotify function has all the same capabilities and works like npn_posturl in most ways except that (1) it
supports specifying headers when posting a memory buffer, and (2) it calls npp_urlnotify upon successful or unsuccessful completion of the request.
Plugins
they may not be
supported in the future.
... roadmap plugin roadmap information about the roadmap for adobe flash and other plugin
support in firefox.
... starting with firefox 56 in september 2017, firefox for android will remove all
support for plugins (bug 1381916).
Debugger.Script - Firefox Developer Tools
please note at the time of this writing,
support for webassembly is very preliminary.
... for example,
suppose we have a script for the following source code: a=[] for (i=1; i < 10; i++) // it's hip to be square.
... the elements of the array are objects, each of which describes a single entry point, and contains the following properties: linenumber: the line number for which offset is an entry point columnnumber: the column number for which offset is an entry point offset: the bytecode instruction offset of the entry point for example,
suppose we have a script for the following source code: a=[] for (i=1; i < 10; i++) // it's hip to be square.
Examine and edit CSS - Firefox Developer Tools
a warning icon appears next to un
supported css properties or rules that have invalid values.
...that means that if you are using a css preprocessor that has
support for source maps, and you've enabled source map
support in the style editor settings, then the link will take you to the original source, not the generated css.
... read more about css source map
support in the style editor documentation.
Responsive Design Mode - Firefox Developer Tools
the most obvious factor here is screen size, but there are other factors as well, including the pixel density of the display and whether it
supports touch.
...g the settings menu includes the following commands: left-align viewport - when checked moves the rdm viewport to the left side of the browser window show user agent - when checked displays the user agent string the final two options define when the page is reloaded: reload when touch simulation is toggled: when this option is enabled, the page is reloaded whenever you toggle touch
support.
...for example, many pages check for touch
support on load and only add event handlers if it is
supported, or only enable certain features on certain browsers.
Settings - Firefox Developer Tools
debugger enable source maps enable source map
support in the debugger.
... style editor show original sources when a css preprocessor
supporting source maps is used, this enables the style editor to display the original, preprocessor, sources rather than the generated css.
... learn more about style editor
support for css source maps.
about:debugging (before Firefox 68) - Firefox Developer Tools
at the moment it
supports three main sorts of targets: restartless add-ons, tabs, and workers.
... add-ons the add-ons section in about:debugging only
supports restartless add-ons, including basic bootstrapped extensions, add-on sdk add-ons, and webextensions.
... note that this feature isn't that immediately useful to debugging desktop tabs — you can open up a toolbox to debug a tab easily enough already — but this will become far more useful when about:debugging starts to
support remote debugging, and this page can begin to list tabs available for debugging on mobile device browsers, simulators, etc.
about:debugging - Firefox Developer Tools
at the moment it
supports three main sorts of targets: restartless add-ons, tabs, and workers.
... setup tab connecting to a remote device firefox
supports debugging over usb with android devices, using the about:debugging page.
...droid is updated to a newer major release, in synch with desktop firefox, you should use one of the following firefox for android versions: firefox preview, if your desktop firefox is the main release or developer edition firefox for android nightly if you prefer to test with the main release of firefox for android (i.e., based on release 68), you can do so with the desktop firefox extended
support release (esr), which is also based on version 68.
AudioBufferSourceNode.AudioBufferSourceNode() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetaudiobuffersourcenode() constructorchrome full
support 55notes full
support 55notes notes before version 59, the default values were not
supported.edge full
support ≤79firefox full
support 53ie no
support noopera full
supp...
... webview android full
support 55notes full
support 55notes notes before version 59, the default values were not
supported.chrome android full
support 55notes full
support 55notes notes before version 59, the default values were not
supported.firefox android full
support 53opera android full
support 42safari ios ?
... samsung internet android full
support 6.0notes full
support 6.0notes notes before samsung internet 7.0, the default values were not
supported.legend full
support full
support no
support no
support compatibility unknown compatibility unknownsee implementation notes.see implementation notes.
AudioConfiguration - Web APIs
the audioconfiguration dictionary of the media capabilities api defines the audio file being tested when calling mediacapabilities.encodinginfo() or mediacapabilities.decodinginfo() to query whether a specific audio configuration is
supported, smooth, and/or power efficient.
... } }; // check
support and performance navigator.mediacapabilities.decodinginfo(mediaconfig).then(result => { console.log('this configuration is ' + (result.
supported ?
... '' : 'not ') + '
supported, ' + (result.smooth ?
AudioNode.connect() - Web APIs
otherwise, a not
supportederror exception is thrown.
... not
supportederror the specified connection would create a cycle (in which the audio loops back through the same nodes repeatedly) and there are no delaynodes in the cycle to prevent the resulting waveform from getting stuck constructing the same audio frame indefinitely.
...fan-in and fan-out are therefore
supported.
AudioWorkletProcessor - Web APIs
constructor the audioworkletprocessor and classes that derive from it cannot be instantiated directly from a user-
supplied code.
... optionally, if you want custom audioparams on your node, you can
supply a parameterdescriptors property as a static getter on the processor.
... processing audio an example algorithm of creating a custom audio processing mechanism is: create a separate file; in the file: extend the audioworkletprocessor class (see "deriving classes" section) and
supply your own process() method in it; register the processor using audioworkletglobalscope.registerprocessor() method; load the file using addmodule() method on your audio context's audioworklet property; create an audioworkletnode based on the processor.
Background Tasks API - Web APIs
falling back to settimeout because the background tasks api is fairly new, your code may need to be able to work on browsers that don't yet
support it.
... now your code will work even on browsers that don't
support the background tasks api, albeit not as efficiently.
... statusrefreshscheduled is used to track whether or not we've already scheduled an update of the status display box for the upcoming frame, so that we only do it once per frame the shim to function even if idle callbacks aren't
supported.
BaseAudioContext.createBuffer() - Web APIs
the default value is 1, and all user agents must
support at least 32 channels.
...all browsers must
support sample rates in at least the range 8,000 hz to 96,000 hz.
... exceptions not
supportederror one or more of the options are negative or otherwise has an invalid value (such as numberofchannels being higher than
supported, or a samplerate outside the nominal range).
BlobEvent.timecode - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettimecode experimentalchrome full
support 57edge full
support ≤79firefox ?
... ie no
support noopera full
support 44safari no
support nowebview android full
support 57chrome android full
support 57firefox android ?
... opera android full
support 43safari ios no
support nosamsung internet android full
support 7.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
A basic ray-caster - Web APIs
after realizing, to my delight, that the nifty <canvas> element i'd been reading about was not only soon to be
supported in firefox, but was already
supported in the current version of safari, i had to try a little experiment.
...the canvas api
supports pixel copying of images, so textures seem feasible.
... so there you are, fire up safari 1.3+ or firefox 1.5+ or some other browser that
supports the <canvas> element and enjoy!
console - Web APIs
number formatting is
supported, for example console.log("foo %.2d", 1.1) will output the number as two significant figures with a leading 0: foo 01 %s outputs a string.
...formatting is
supported, for example console.log("foo %.2f", 1.1) will output the number to 2 decimal places: foo 1.10 note: precision formatting doesn't work in chrome each of these pulls the next argument after the format string off the parameter list.
... stack traces the console object also
supports outputting a stack trace; this will show you the call path taken to reach the point at which you call console.trace().
DOMException - Web APIs
(legacy code value: 8 and legacy constant name: not_found_err) not
supportederror the operation is not
supported.
... (legacy code value: 9 and legacy constant name: not_
supported_err) invalidstateerror the object is in an invalid state.
...(legacy code value: 14 and legacy constant name: namespace_err) invalidaccesserror the object does not
support the operation or argument.
DOMHighResTimeStamp - Web APIs
value the value of a domhighrestimestamp is a double-precision floating-point number which describes the number of milliseconds (accurate to within 5 microseconds if the device
supports it) elapsed between two points in time.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdomhighrestimestampchrome full
support 6edge full
support 12firefox full
support 7ie full
support 9opera full
support 15safari full
support 8webview android full su...
...pport yeschrome android full
support 18firefox android full
support 15opera android full
support 14safari ios full
support 9samsung internet android full
support 1.0legend full
support full
support ...
DOMTokenList.forEach() - Web APIs
html <span class="a b c"></span> javascript let span = document.queryselector("span"); let classes = span.classlist; let iterator = classes.values(); classes.foreach( function(value, key, listobj) { span.textcontent += `${value} ${key}/${this} ++ `; }, "arg" ); result polyfill this polyfill adds compatibility to all browsers
supporting es5: if (window.domtokenlist && !domtokenlist.prototype.foreach) { domtokenlist.prototype.foreach = function (callback, thisarg) { thisarg = thisarg || window; for (var i = 0; i < this.length; i++) { callback.call(thisarg, this[i], i, this); } }; } specifications specification status comment domthe definition of 'foreach() (as iterable<...
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetforeachchrome full
support 45edge full
support 16firefox full
support 50ie no
support noopera full
support 32safari full
support 10webview android full ...
...
support 45chrome android full
support 45firefox android full
support 50opera android full
support 32safari ios full
support 10samsung internet android full
support 5.0legend full
support full
support no
support no
support ...
DelayNode() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdelaynode() constructorchrome full
support 55notes full
support 55notes notes before version 59, the default values were not
supported.edge full
support ≤79firefox full
support 53ie no
support noopera full
supp...
... webview android full
support 55notes full
support 55notes notes before version 59, the default values were not
supported.chrome android full
support 55notes full
support 55notes notes before version 59, the default values were not
supported.firefox android full
support 53opera android full
support 42safari ios ?
... samsung internet android full
support 6.0notes full
support 6.0notes notes before samsung internet 7.0, the default values were not
supported.legend full
support full
support no
support no
support compatibility unknown compatibility unknownsee implementation notes.see implementation notes.
Document.alinkColor - Web APIs
gecko
supports both alinkcolor/:active and :focus.
... internet explorer 6 and 7
support alinkcolor/:active only for html anchor (<a>) links and the behavior is the same as :focus under gecko.
... there is no
support for :focus in ie.
Document.evaluate() - Web APIs
these are
supported values for the resulttype parameter of the evaluate method: result type value description any_type 0 whatever type naturally results from the given expression.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetevaluatechrome full
support 1edge full
support 12firefox full
support 1.5ie no
support noopera full
support 9safari full
support 5webview android full su...
...pport 1chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 4.2samsung internet android full
support 1.0legend full
support full
support no
support no
support see also document.createexpression() xpathresult xpath code snippets check for browser
support ...
Document.fonts - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfontschrome full
support 60edge full
support 79firefox full
support 41 full
support 41 no
support 35 — 41disabled disabled from version 35 until version 41 (exclusive): this feature is behind the layout.css.font-loading-api.enab...
...to change preferences in firefox, visit about:config.ie no
support noopera full
support 47safari full
support 10webview android full
support 60chrome android full
support 60firefox android full
support yesopera android full
support 44safari ios full
support 10samsung internet android full
support 5.0legend full
support ...
... full
support no
support no
supportuser must explicitly enable this feature.user must explicitly enable this feature.
Document.getElementById() - Web APIs
obsolete
supersede dom 1 document object model (dom) level 3 core specificationthe definition of 'getelementbyid' in that specification.
... obsolete
supersede dom 2 domthe definition of 'getelementbyid' in that specification.
... living standard intend to
supersede dom 3 ...
DynamicsCompressorNode() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdynamicscompressornode() constructorchrome full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.edge full
support ≤79firefox full
support 53ie no
support noopera full
suppo...
... webview android full
support 55notes full
support 55notes notes before version 59, the default values were not
supported.chrome android full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.firefox android full
support 53opera android full
support 42safari ios ?
... samsung internet android full
support 6.0notes full
support 6.0notes notes before samsung internet 7.0, the default values were not
supported.legend full
support full
support no
support no
support compatibility unknown compatibility unknownsee implementation notes.see implementation notes.
Element.closest() - Web APIs
r2 = el.closest("div div"); // returns the closest ancestor which is a div in div, here it is the div-03 itself var r3 = el.closest("article > div"); // returns the closest ancestor which is a div and has a parent article, here it is the div-01 var r4 = el.closest(":not(div)"); // returns the closest ancestor which is not a div, here it is the outmost article polyfill for browsers that do not
support element.closest(), but carry
support for element.matches() (or a prefixed equivalent, meaning ie9+), a polyfill exists: if (!element.prototype.matches) { element.prototype.matches = element.prototype.msmatchesselector || element.prototype.webkitmatchesselector; } if (!element.prototype.closest) { element.prototype.closest = function(s) { var el = this; do { if (el...
...ement.prototype.matches.call(el, s)) return el; el = el.parentelement || el.parentnode; } while (el !== null && el.nodetype === 1); return null; }; } however, if you really do require ie 8
support, then the following polyfill will do the job very slowly, but eventually.
... however, it will only
support css 2.1 selectors in ie 8, and it can cause severe lag spikes in production websites.
Element.getAttributeNS() - Web APIs
th="2" fill="none" test:foo="hello namespaced attribute!"/> <script type="text/javascript"> var ns = 'http://www.example.com/2014/test'; var circle = document.getelementbyid( 'target' ); console.log( 'attribute test:foo: "' + circle.getattributens( ns, 'foo' ) + '"' ); </script> </svg> in an html5 document the attribute has to be accessed with test:foo since namespaces are not
supported.
...="40" height="40"> <circle id="target" cx="12" cy="12" r="10" stroke="#444" stroke-width="2" fill="none" test:foo="foo value"/> </svg> <script type="text/javascript"> var ns = 'http://www.example.com/2014/test'; var circle = document.getelementbyid( 'target' ); console.log('attribute value: ' + circle.getattribute('test:foo')); </script> </body> </html> notes namespaces are only
supported in xml documents.
... obsolete specifies that a not_
supported_err exception is thrown if the ua does not
support the "xml" feature.
Element.matches() - Web APIs
polyfill for browsers that do not
support element.matches() or element.matchesselector(), but include
support for document.queryselectorall(), a polyfill exists: if (!element.prototype.matches) { element.prototype.matches = element.prototype.matchesselector || element.prototype.mozmatchesselector || element.prototype.msmatchesselector || element.prototype.omatchesselector || element.prototype.webkitma...
...tchesselector || function(s) { var matches = (this.document || this.ownerdocument).queryselectorall(s), i = matches.length; while (--i >= 0 && matches.item(i) !== this) {} return i > -1; }; } however, given the practicality of
supporting older browsers, the following should suffice for most (if not all) practical cases (i.e.
... ie9+
support).
Element.scroll() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetscrollchrome full
support 45edge full
support 79firefox full
support 36ie no
support noopera full
support 32safari full
support 10webview android full ...
...
support 45chrome android full
support 45firefox android full
support 36opera android full
support 32safari ios no
support nosamsung internet android full
support 5.0scrolltooptions parameterchrome full
support 45edge full
support 79firefox full
support yesie no
support noopera full
support 32safari no
suppo...
...rt nowebview android full
support 45chrome android full
support 45firefox android full
support yesopera android full
support 32safari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
support ...
Element.scrollTo() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetscrolltochrome full
support 45edge full
support 79firefox full
support 36ie no
support noopera full
support 32safari full
support 10webview android full ...
...
support 45chrome android full
support 45firefox android full
support 36opera android full
support 32safari ios no
support nosamsung internet android full
support 5.0scrolltooptions parameterchrome full
support 45edge full
support 79firefox full
support yesie no
support noopera full
support 32safari no
suppo...
...rt nowebview android full
support 45chrome android full
support 45firefox android full
support yesopera android full
support 32safari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
support ...
FetchEvent.navigationPreload - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnavigationpreload experimentalchrome full
support 59edge full
support ≤79firefox ?
... ie no
support noopera full
support 46safari no
support nowebview android full
support 59chrome android full
support 59firefox android ?
... opera android full
support 43safari ios no
support nosamsung internet android full
support 7.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
File.webkitRelativePath - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetwebkitrelativepathchrome full
support 13prefixed full
support 13prefixed prefixed implemented with the vendor prefix: webkitedge full
support 13firefox full
support 49ie no
support noopera no
support ...
... nosafari full
support 11.1webview android full
support yeschrome android full
support 18prefixed full
support 18prefixed prefixed implemented with the vendor prefix: webkitfirefox android full
support 49opera android no
support nosafari ios full
support 11.3samsung internet android full
support 1.0prefixed full
support 1.0prefixed prefixed implemented with the vendor pref...
...ix: webkitlegend full
support full
support no
support no
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
FileSystemEntry.isDirectory - Web APIs
if (entry.isdirectory) { processsubdirectory(entry); } else if (entry.isfile) { processfile(entry); } else { displayerrormessage("un
supported file system entry specified."); } specifications specification status comment file and directory entries apithe definition of 'isdirectory' in that specification.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetisdirectory experimentalchrome full
support 8edge full
support 79firefox full
support 50ie no
support noopera no
support nosafari full
support 11.1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
FileSystemEntry.isFile - Web APIs
if (entry.isdirectory) { processsubdirectory(entry); } else if (entry.isfile) { processfile(entry); } else { displayerrormessage("un
supported file system entry specified."); } specifications specification status comment file and directory entries apithe definition of 'isfile' in that specification.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetisfile experimentalchrome full
support 8edge full
support 79firefox full
support 50ie no
support noopera no
support nosafari full
support 11.1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
FileSystemEntrySync - Web APIs
exceptions this method can raise a fileexception with the following codes: exception description encoding_err the name
supplied is invalid, because at least one of the characters is reserved or illegal.
... exceptions this method can raise a fileexception with the following codes: exception description encoding_err the name
supplied is invalid, because at least one of the characters is reserved or illegal.
... you can
supply the mimetype to simulate the optional mime type header associated with http downloads.
File and Directory Entries API - Web APIs
the asynchronous api will not block and functions and the api will not return values; instead, you will need to
supply a callback function to handle the response whenever it arrives.
... the firefox implementation of the file and directory entries api is very limited; there is no
support for creating files.
...check the browser compatibility for any part of the api you use carefully, and see file and directory entries api
support in firefox for more details.
GainNode() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgainnode() constructorchrome full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.edge full
support ≤79firefox full
support 53ie no
support noopera full
suppo...
... webview android full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.chrome android full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.firefox android full
support 53opera android full
support 42safari ios ?
... samsung internet android full
support 6.0notes full
support 6.0notes notes before samsung internet 7.0, the default values were not
supported.legend full
support full
support no
support no
support compatibility unknown compatibility unknownsee implementation notes.see implementation notes.
Using the Gamepad API - Web APIs
technologies like <canvas>, webgl, <audio>, and <video>, along with javascript implementations, have matured to the point where they can now
support many tasks previously requiring native code.
...currently there is only one
supported known layout — the standard gamepad.
...note that this property is not currently
supported in firefox.
HTMLButtonElement - Web APIs
methods inherits methods from its parent, htmlelement name return type description checkvalidity() boolean not
supported for reset or button elements.
... reportvalidity() boolean not
supported for reset or button elements.
... setcustomvalidity(in domstring error) void not
supported for reset or button elements.
HTMLImageElement.align - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetalignchrome full
support 1edge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android ?
... safari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknown ...
HTMLImageElement.border - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetborderchrome full
support 1edge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android ?
... safari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknown ...
HTMLImageElement.complete - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcompletechrome full
support 1edge full
support 12firefox full
support yesie full
support 8notes full
support 8notes notes ie reports false for broken images.opera full
support ...
... yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android ?
... safari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknownsee implementation notes.see implementation notes.
HTMLImageElement.crossOrigin - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcrossoriginchrome full
support 13edge full
support 12firefox full
support yesie full
support 9opera full
support yessafari full
support yeswebview android f...
...ull
support yeschrome android full
support yesfirefox android full
support yesopera android ?
... safari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknown ...
HTMLImageElement.currentSrc - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcurrentsrc experimentalchrome full
support 45edge full
support 13firefox full
support 38 full
support 38 no
support 32 — 52disabled disabled from version 32 until version 52 (exclusive): this feature is behind the dom.image.srcset.enabled prefere...
...to change preferences in firefox, visit about:config.ie no
support noopera full
support yessafari full
support 10.1webview android full
support 45chrome android full
support 45firefox android full
support 38 full
support 38 no
support 32 — 52disabled disabled from version 32 until version 52 (exclusive): this feature is behind the dom.image.srcset.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios full
support 10.3samsung internet android full
support 5.0legend full
support full
support no
support no
supportexperimental.
HTMLImageElement.decoding - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdecodingchrome full
support 65edge full
support ≤79firefox full
support 63ie no
support noopera full
support yessafari full
support 11.1webview android ...
... full
support 65chrome android full
support 65firefox android full
support 63opera android ?
... safari ios full
support 11.3samsung internet android full
support 9.0legend full
support full
support no
support no
support compatibility unknown compatibility unknown ...
HTMLImageElement.height - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetheightchrome full
support 1edge full
support 12firefox full
support yesie .html?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android ?
... safari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknown ...
HTMLImageElement.hspace - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internethspacechrome full
support 1edge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android ?
... safari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknown ...
HTMLImageElement.isMap - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetismapchrome full
support 1edge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android ?
... safari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknown ...
HTMLImageElement.longDesc - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetlongdescchrome full
support 1edge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android ?
... safari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknown ...
HTMLImageElement.lowSrc - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetlowsrcchrome full
support 1edge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android ?
... samsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknown ...
HTMLImageElement.name - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnamechrome full
support 1edge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android ?
... safari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknown ...
HTMLImageElement.naturalHeight - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnaturalheightchrome full
support 1edge full
support 12firefox full
support yesie full
support 9opera full
support yessafari full
support yeswebview android fu...
...ll
support yeschrome android full
support yesfirefox android full
support yesopera android ?
... safari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknown ...
HTMLImageElement.naturalWidth - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnaturalwidthchrome full
support 1edge full
support 12firefox full
support yesie full
support 9opera full
support yessafari full
support yeswebview android fu...
...ll
support yeschrome android full
support yesfirefox android full
support yesopera android ?
... safari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown compatibility unknown ...
HTMLImageElement.sizes - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsizes experimentalchrome full
support 45edge full
support 13firefox full
support 38 full
support 38 no
support 33 — 52disabled disabled from version 33 until version 52 (exclusive): this feature is behind the dom.image.picture.enabled prefer...
...to change preferences in firefox, visit about:config.ie no
support noopera full
support yessafari no
support nowebview android full
support 45chrome android full
support 45firefox android full
support 38 full
support 38 no
support 33 — 52disabled disabled from version 33 until version 52 (exclusive): this feature is behind the dom.image.picture.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
supportexperimental.
HTMLImageElement.srcset - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsrcset experimentalchrome full
support 34edge full
support 12firefox full
support 38 full
support 38 no
support 32 — 52disabled disabled from version 32 until version 52 (exclusive): this feature is behind the dom.image.srcset.enabled prefere...
...to change preferences in firefox, visit about:config.ie no
support noopera full
support 21safari full
support 8webview android full
support 37chrome android full
support 34firefox android full
support 38 full
support 38 no
support 32 — 52disabled disabled from version 32 until version 52 (exclusive): this feature is behind the dom.image.srcset.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios full
support 8samsung internet android full
support 2.0legend full
support full
support no
support no
supportexperimental.
HTMLImageElement.x - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetxchrome full
support 1edge full
support 12firefox full
support 14 full
support 14 no
support ?
... — 7ie no
support noopera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support 14 full
support 14 no
support ?
... — 7opera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
HTMLImageElement.y - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetychrome full
support 1edge full
support 12firefox full
support 14 full
support 14 no
support ?
... — 7ie no
support noopera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support 14 full
support 14 no
support ?
... — 7opera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
HTMLMediaElement.onencrypted - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonencryptedchrome full
support yesedge full
support 13firefox full
support yesie ?
... opera full
support yessafari ?
... legend full
support full
support compatibility unknown compatibility unknown ...
HTMLMediaElement.setMediaKeys() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsetmediakeyschrome full
support yesedge full
support 13firefox full
support yesie ?
... opera full
support yessafari ?
... legend full
support full
support compatibility unknown compatibility unknown ...
HTMLMediaElement - Web APIs
the htmlmediaelement interface adds to htmlelement the properties and methods needed to
support basic media-related capabilities that are common to audio and video.
... obsolete attributes these attributes are obsolete and should not be used, even if a browser still
supports them.
... obsolete methods these methods are obsolete and should not be used, even if a browser still
supports them.
HTMLOrForeignElement.nonce - Web APIs
examples retrieving a nonce value in the past, not all browsers
supported the nonce idl attribute, so a workaround is to try to use getattribute as a fallback: let nonce = script['nonce'] || script.getattribute('nonce'); however, recent browsers version hide nonce values that are accessed this way (an empty string will be returned).
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnoncechrome full
support 61edge full
support 79firefox full
support 75ie no
support noopera full
support yessafari full
support 10webview android full...
...
support 61chrome android full
support 61firefox android no
support noopera android full
support yessafari ios full
support 10samsung internet android full
support 8.0legend full
support full
support no
support no
support ...
HTMLScriptElement.referrerPolicy - Web APIs
note: an empty string value ("") is both the default value, and a fallback value if referrerpolicy is not
supported.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreferrerpolicychrome full
support 70edge full
support ≤79firefox full
support 65ie no
support noopera full
support yessafari no
support nowebview android ful...
...l
support 70chrome android full
support 70firefox android full
support 65opera android full
support yessafari ios no
support nosamsung internet android full
support 10.0legend full
support full
support no
support no
support ...
HTMLSlotElement.assignedElements() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetassignedelements experimentalchrome full
support 65edge full
support 79firefox full
support 66ie no
support noopera full
support yessafari ?
... webview android full
support 65chrome android full
support 65firefox android full
support 66opera android full
support yessafari ios ?
... samsung internet android full
support 9.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
History.replaceState() - Web APIs
examples
suppose https://www.mozilla.org/foo.html executes the following javascript: const stateobj = { foo: 'bar' }; history.pushstate(stateobj, '', 'bar.html'); the explanation of these two lines above can be found in the example of pushstate() method section of the working with the history api article.
... then
suppose https://www.mozilla.org/bar.html executes the following javascript: history.replacestate(stateobj, '', 'bar2.html'); this will cause the url bar to display https://www.mozilla.org/bar2.html, but won't cause the browser to load bar2.html or even check that bar2.html exists.
...
suppose now that the user navigates to https://www.microsoft.com, then clicks the back button.
Ajax navigation example - Web APIs
(spage) { opageinfo.url = filterurl(spage, null); } oreq.open("get", filterurl(opageinfo.url, "json"), true); oreq.send(); oloadingbox.parentnode || document.body.appendchild(oloadingbox); } function requestpage (surl) { if (history.pushstate) { bupdateurl = true; getpage(surl); } else { /* ajax navigation is not
supported */ location.assign(surl); } } function processlink () { if (this.classname === sajaxclass) { requestpage(this.href); return false; } return true; } function init () { opageinfo.title = document.title; history.replacestate(opageinfo, opageinfo.title, opageinfo.url); for (var olink, n...
...d", 405: "method not allowed", 406: "not acceptable", 407: "proxy authentication required", 408: "request timeout", 409: "conflict", 410: "gone", 411: "length required", 412: "precondition failed", 413: "request entity too large", 414: "request-uri too long", 415: "un
supported media type", 416: "requested range not satisfiable", 417: "expectation failed", 422: "unprocessable entity", 423: "locked", 424: "failed dependency", 425: "unassigned", 426: "upgrade required", 427: "unassigned", 428: "precondition required", 429: "too many requests", ...
... 430: "unassigned", 431: "request header fields too large", 500: "internal server error", 501: "not implemented", 502: "bad gateway", 503: "service unavailable", 504: "gateway timeout", 505: "http version not
supported", 506: "variant also negotiates (experimental)", 507: "insufficient storage", 508: "loop detected", 509: "unassigned", 510: "not extended", 511: "network authentication required" }; var oreq, bisloading = false, bupdateurl = false; oloadingbox.id = "ajax-loader"; ocover.onclick = abortreq; oloadingimg.src = "data:image/gif;base64,r0lgodlheaaqapiaap///waaamlcwkjcqgaaagjiyokcgpkskih/c0...
IDBCursor.advance() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetadvancechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBCursor.continue() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcontinuechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBCursor.delete() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdeletechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBCursor.direction - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdirectionchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBCursor.primaryKey - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetprimarykeychrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBCursor.request - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetrequestchrome full
support 76edge full
support 79firefox full
support 77ie no
support noopera full
support 63safari ?
... webview android full
support 76chrome android full
support 76firefox android no
support noopera android full
support 54safari ios ?
... samsung internet android full
support 12.0legend full
support full
support no
support no
support compatibility unknown compatibility unknown ...
IDBCursor.source - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsourcechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBCursor.update() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetupdatechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBCursorWithValue.value - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetvaluechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBDatabase.close() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetclosechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBDatabase.deleteObjectStore() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdeleteobjectstorechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBDatabase.name - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnamechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBDatabase.objectStoreNames - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetobjectstorenameschrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBDatabase.onabort - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonabortchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBDatabase.onerror - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonerrorchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBDatabase.onversionchange - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonversionchangechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBDatabase.version - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetversionchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBFactory.deleteDatabase() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdeletedatabasechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBFactory.open() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetopenchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBIndex.count() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcountchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBIndex.get() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBIndex.getKey() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetkeychrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBIndex.keyPath - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetkeypathchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBIndex.multiEntry - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmultientrychrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBIndex.objectStore - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetobjectstorechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBIndex.openCursor() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetopencursorchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBIndex.openKeyCursor() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetopenkeycursorchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBIndex.unique - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetuniquechrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yes full
support yes no
support ?
... — ?prefixed prefixed implemented with the vendor prefix: webkitchrome android full
support 25firefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support 1.5legend full
support full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBKeyRange.bound() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetboundchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBKeyRange.lower - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetlowerchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBKeyRange.lowerBound() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetlowerboundchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBKeyRange.lowerOpen - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetloweropenchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBKeyRange.only() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonlychrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBKeyRange.upper - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetupperchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBKeyRange.upperBound() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetupperboundchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBKeyRange.upperOpen - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetupperopenchrome full
support 24 full
support 24 no
support 23 — 24prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support 16 ...
... no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
support ...
... full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBRequest.onerror - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonerrorchrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBRequest.onsuccess - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonsuccesschrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBRequest.readyState - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreadystatechrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBRequest.result - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetresultchrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBRequest.source - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsourcechrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBRequest.transaction - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettransactionchrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBTransaction.abort() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetabortchrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBTransaction.mode - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmodechrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBTransaction.objectStore() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetobjectstorechrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBTransaction.onabort - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonabortchrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IDBTransaction.onerror - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonerrorchrome full
support 24 full
support 24 full
support 23prefixed prefixed implemented with the vendor prefix: webkitedge full
support 12firefox full
support 16 full
support ...
... 16 no
support 10 — 16prefixed prefixed implemented with the vendor prefix: mozie partial
support 10opera full
support 15safari full
support 7webview android full
support yeschrome android full
support yesfirefox android full
support 22opera android full
support 14safari ios full
support 8samsung internet android full
support yeslegend full
sup...
...port full
support partial
support partial
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
IIRFilterNode() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetiirfilternode() constructorchrome full
support 55notes full
support 55notes notes before version 59, the default values were not
supported.edge full
support ≤79firefox full
support 53ie no
support noopera full
supp...
... webview android full
support 55notes full
support 55notes notes before version 59, the default values were not
supported.chrome android full
support 55notes full
support 55notes notes before version 59, the default values were not
supported.firefox android full
support 53opera android full
support 42safari ios ?
... samsung internet android full
support 6.0notes full
support 6.0notes notes before samsung internet 7.0, the default values were not
supported.legend full
support full
support no
support no
support compatibility unknown compatibility unknownsee implementation notes.see implementation notes.
MediaDecodingConfiguration - Web APIs
the mediadecodingconfiguration dictionary of the media capabilities api is used to define the type of media being tested when calling mediacapabilities.decodinginfo() to query whether a specific media configuration is
supported, smooth, and/or power efficient.
... } }; // check
support and performance navigator.mediacapabilities.decodinginfo(mediaconfig).then(result => { console.log('this configuration is ' + (result.
supported ?
... '' : 'not ') + '
supported.') }); specifications specification status comment media capabilitiesthe definition of 'mediadecodingconfiguration' in that specification.
MediaDeviceInfo.deviceId - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdeviceidchrome full
support 55notes full
support 55notes notes for earlier versions, this interface is available through the adapter.js polyfilledge full
support 12firefox full
support 39ie no
support noopera ...
... no
support nonotes no
support nonotes notes this property can be used in opera by using the adapter.js polyfill.safari no
support nowebview android full
support 55notes full
support 55notes notes for earlier versions, this interface is available through the adapter.js polyfillchrome android full
support 55notes full
support 55notes notes for earlier versions, this interface is available through the adapter.js polyfillfirefox android full
support ...
... 39opera android no
support nonotes no
support nonotes notes this property can be used in opera by using the adapter.js polyfill.safari ios no
support nosamsung internet android full
support 6.0notes full
support 6.0notes notes for earlier versions, this interface is available through the adapter.js polyfilllegend full
support full
support no
support no
supportsee implementation notes.see implementation notes.
MediaDeviceInfo.kind - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetkindchrome full
support 55notes full
support 55notes notes for earlier versions, this interface is available through the adapter.js polyfilledge full
support 12firefox full
support 39ie no
support noopera ...
... no
support nonotes no
support nonotes notes this property can be used in opera by using the adapter.js polyfill.safari no
support nowebview android full
support 55notes full
support 55notes notes for earlier versions, this interface is available through the adapter.js polyfillchrome android full
support 55notes full
support 55notes notes for earlier versions, this interface is available through the adapter.js polyfillfirefox android full
support ...
... 39opera android no
support nonotes no
support nonotes notes this property can be used in opera by using the adapter.js polyfill.safari ios no
support nosamsung internet android full
support 6.0notes full
support 6.0notes notes for earlier versions, this interface is available through the adapter.js polyfilllegend full
support full
support no
support no
supportsee implementation notes.see implementation notes.
MediaDevices.getDisplayMedia() - Web APIs
note: browser
support for audio tracks varies, both in terms of whether or not they're
supported at all by the media recorder and in terms of the which audio source or sourcoes are
supported.
...these un
supported constraints are advanced and any constraints which in turn have a member named min or exact.
...for that reason, the specification details measures browsers are required to take in order to fully
support getdisplaymedia().
MediaEncodingConfiguration - Web APIs
the mediaencodingconfiguration dictionary of the media capabilities api is used to define the type of media being tested when calling mediacapabilities.encodinginfo() to query whether a specific media configuration is
supported, smooth, and/or power efficient.
... } }; // check
support and performance navigator.mediacapabilities.encodinginfo(mediaconfig).then(result => { console.log('this configuration is ' + (result.
supported ?
... '' : 'not ') + '
supported.') }); specifications specification status comment media capabilitiesthe definition of 'mediaencodingconfiguration' in that specification.
MediaKeyMessageEvent() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmediakeymessageevent() constructor experimentalchrome full
support 42edge full
support ≤18firefox ?
... webview android no
support nochrome android full
support 42firefox android ?
... samsung internet android full
support 4.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
MediaKeySystemConfiguration - Web APIs
properties mediakeysystemconfiguration.initdatatypes read only returns a list of
supported initialization data type names.
... mediakeysystemconfiguration.audiocapabilities read only returns a list of
supported audio type and capability pairs.
... mediakeysystemconfiguration.videocapabilities read only returns a list of
supported video type and capability pairs.
MediaRecorder.audioBitsPerSecond - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetaudiobitspersecond experimentalchrome full
support 49edge full
support 79firefox full
support 71ie no
support noopera full
support 36safari no
support nowebview android full su...
...pport 49chrome android full
support 49firefox android ?
... opera android full
support 36safari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
MediaRecorder.mimeType - Web APIs
keep in mind that not all codecs are
supported by a given container; if you write media using a codec that is not
supported by a given media container, the resulting file may not work reliably if at all when you try to play it back.
... see our media type and format guide for information about container and codec
support across browsers.
... if (navigator.mediadevices) { console.log('getusermedia
supported.'); var constraints = { audio: true, video: true }; var chunks = []; navigator.mediadevices.getusermedia(constraints) .then(function(stream) { var options = { audiobitspersecond: 128000, videobitspersecond: 2500000, mimetype: 'video/mp4' } var mediarecorder = new mediarecorder(stream,options); m = mediarecorder; m.mimetype; ...
MediaRecorder - Web APIs
static methods mediarecorder.istype
supported() a static method which returns a boolean value indicating if the given mime media type is
supported by the current user agent.
... error fired when an error occurs: for example because recording wasn't allowed or was attempted using an un
supported codec.
... example if (navigator.mediadevices) { console.log('getusermedia
supported.'); var constraints = { audio: true }; var chunks = []; navigator.mediadevices.getusermedia(constraints) .then(function(stream) { var mediarecorder = new mediarecorder(stream); visualize(stream); record.onclick = function() { mediarecorder.start(); console.log(mediarecorder.state); console.log("recorder started"); record.style.background = "red"; record.style.color = "black"; } stop.onclick = function() { mediarecorder.stop(); console.log(mediarecorder.state); console.log("recorder stopped"); record.style.background = ""; record.style.color = ""; } mediarecorder.onstop = ...
MediaSession.playbackState - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetplaybackstate experimentalchrome full
support 73edge full
support ≤79firefox no
support noie no
support noopera full
support yessafari ?
... webview android no
support nochrome android full
support 57firefox android no
support noopera android no
support nosafari ios ?
... samsung internet android full
support 7.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
Media Session action types - Web APIs
to
support an action on a media session, such as seeking, pausing, or changing tracks, you need to call the mediasession interface's setactionhandler() method to establish a handler for that action.
...implement
support for each of these in order to allow that type of action to be performed.
... audio.currenttime = math.max(audio.currenttime - skiptime, 0); });
supporting multiple actions in one handler function you can also, if you prefer, use a single function to handle multiple action types, by checking the value of the mediasessionactiondetails object's action property: let skiptime = 7; navigator.mediasession.setactionhandler("seekforward", handleseek); navigator.mediasession.setactionhandler("seekbackward", handleseek); function handleseek(details...
MediaSource.addSourceBuffer() - Web APIs
not
supportederror the specified mimetype isn't
supported by the user agent, or is not compatible with the mime types of other sourcebuffer objects that are already included in the media source's sourcebuffers list.
... quotaexceedederror the user agent can't handle any more sourcebuffer objects, or creating a new sourcebuffer using the given mimetype would result in an un
supported configuration of sourcebuffers.
... example the following snippet is from a simple example written by nick desaulniers (view the full demo live, or download the source for further investigation.) var asseturl = 'frag_bunny.mp4'; // need to be specific for blink regarding codecs // ./mp4info frag_bunny.mp4 | grep codec var mimecodec = 'video/mp4; codecs="avc1.42e01e, mp4a.40.2"'; if ('mediasource' in window && mediasource.istype
supported(mimecodec)) { var mediasource = new mediasource; //console.log(mediasource.readystate); // closed video.src = url.createobjecturl(mediasource); mediasource.addeventlistener('sourceopen', sourceopen); } else { console.error('un
supported mime type or codec: ', mimecodec); } function sourceopen (_) { //console.log(this.readystate); // open var mediasource = this; var sourcebuf...
Using the MediaStream Recording API - Web APIs
instead, the problem was solved by making the third container's height equal to 100% of the parent height, minus the heights and padding of the other two: .sound-clips { box-shadow: inset 0 3px 4px rgba(0,0,0,0.7); background-color: rgba(0,0,0,0.1); height: calc(100% - 240px - 0.7rem); overflow: scroll; } note: calc() has good
support across modern browsers too, even going back to internet explorer 9.
...buttons, and the <article> that will contain the generated audio players: const record = document.queryselector('.record'); const stop = document.queryselector('.stop'); const soundclips = document.queryselector('.sound-clips'); finally for this section, we set up the basic getusermedia structure: if (navigator.mediadevices && navigator.mediadevices.getusermedia) { console.log('getusermedia
supported.'); navigator.mediadevices.getusermedia ( // constraints - only audio needed for this app { audio: true }) // success callback .then(function(stream) { }) // error callback .catch(function(err) { console.log('the following getusermedia error occured: ' + err); } ); } else { console.log('getusermedia not
sup...
...ported on your browser!'); } the whole thing is wrapped in a test that checks whether getusermedia is
supported before running anything else.
Media Capture and Streams API (Media Stream) - Web APIs
the media capture and streams api, often called the media streams api or simply mediastream api, is an api related to webrtc which provides
support for streaming audio and video data.
... blobevent canvascapturemediastreamtrack inputdeviceinfo mediadevicekind mediadeviceinfo mediadevices mediastream mediastreamconstraints mediastreamevent mediastreamtrack mediastreamtrackevent mediatrackconstraints mediatracksettings mediatrack
supportedconstraints overconstrainederror url early versions of the media capture and streams api specification included separate audiostreamtrack and videostreamtrack interfaces—each based upon mediastreamtrack—which represented streams of those types.
... capabilities, constraints, and settingsthe twin concepts of constraints and capabilities let the browser and web site or app exchange information about what constrainable properties the browser's implementation
supports and what values it
supports for each one.
Web-based protocol handlers - Web APIs
firefox displays a prompt in the notification bar area: note:the url template
supplied when registering must be of the same domain as the webpage attempting to perform the registration or the registration will fail.
...://www.google.co.uk/?uri=%s", "burger handler"); </script> </head> <body> <h1>web protocol handler sample</h1> <p>this web page will install a web protocol handler for the <code>web+burger:</code> protocol.</p> </body> </html> activating now, anytime the user activates a link that uses the registered protocol, the browser will route the action to the url
supplied when the web application registered.
...the browser extracts the href from the activated link, combines it with the url template
supplied during handler registration and performs an http get on the url.
Navigator.registerProtocolHandler() - Web APIs
syntax navigator.registerprotocolhandler(scheme, url, title); note: recently updated to navigator.registerprotocolhandler(scheme, url), but no browsers currently
support this version.
...older browsers also
supported http.
...it is recommended to always set the title, since browsers that
support the updated spec most likely will be backwards-compatible and still accept the title (but not use it).
NodeList.prototype.forEach() - Web APIs
); let list = node.childnodes; list.foreach( function(currentvalue, currentindex, listobj) { console.log(currentvalue + ', ' + currentindex + ', ' + this); }, 'mythisarg' ); the above code results in the following: [object htmlparagraphelement], 0, mythisarg [object text], 1, mythisarg [object htmlspanelement], 2, mythisarg polyfill this polyfill adds compatibility to all browsers
supporting es5: if (window.nodelist && !nodelist.prototype.foreach) { nodelist.prototype.foreach = function (callback, thisarg) { thisarg = thisarg || window; for (var i = 0; i < this.length; i++) { callback.call(thisarg, this[i], i, this); } }; } or if (window.nodelist && !nodelist.prototype.foreach) { nodelist.prototype.foreach = array.prototype.for...
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetforeachchrome full
support 51edge full
support 16firefox full
support 50ie no
support noopera full
support 38safari full
support 10webview android full ...
...
support 51chrome android full
support 51firefox android full
support 50opera android full
support 41safari ios full
support 10samsung internet android full
support 5.0legend full
support full
support no
support no
support ...
OfflineAudioCompletionEvent.OfflineAudioCompletionEvent() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetofflineaudiocompletionevent() constructorchrome full
support 57notes full
support 57notes notes before chrome 59, the default values were not
supported.edge full
support ≤79firefox full
support 53ie no
support noopera full
suppo...
... webview android full
support 57notes full
support 57notes notes before version 59, the default values were not
supported.chrome android full
support 57notes full
support 57notes notes before chrome 59, the default values were not
supported.firefox android full
support 53opera android full
support 42safari ios ?
... samsung internet android full
support 6.0notes full
support 6.0notes notes before samsung internet 7.0, the default values were not
supported.legend full
support full
support no
support no
support compatibility unknown compatibility unknownsee implementation notes.see implementation notes.
PaintWorklet - Web APIs
<script> if ('paintworklet' in css) { css.paintworklet.addmodule('checkerboard.js'); } </script> use a paintworklet this example shows how to use a paintworklet in a stylesheet, including the simplest way to provide a fallback if paintworklet isn't
supported.
... <style> textarea { background-image: url(checkerboard); background-image: paint(checkerboard); } </style> <textarea></textarea> you can also use the @
supports at-rule.
... @
supports (background: paint(id)) { background-image: paint(checkerboard); } specifications specification status comment css painting api level 1the definition of 'paintworkletglobalscope' in that specification.
PaymentDetailsBase - Web APIs
the paymentdetailsbase dictionary is a mixin used by the paymentdetailsinit and paymentdetail
supdate dictionaries.
... paymentdetail
supdate provides updated payment details while the payment user interface is being handled.
... this can be delivered to the payment interface using either paymentdetail
supdateevent.updatewith() or by returning it from the optional detail
supdate promise provided to the paymentrequest.show() call that begins the user interaction.
PaymentRequest: paymentmethodchange event - Web APIs
the code assumes the existence of a method detailsforshipping(), which returns a paymentdetail
supdate object containing the shipping options for the ground shipping method, in the form found in the paymentshippingoption dictionary.
...s, detailsforshipping("ground"), options); paymentrequest.addeventlistener("paymentmethodchange", handlepaymentchange, false); paymentrequest.show() .then(response => response.complete("success")) .catch(err => console.log("error handling payment request: " + err)); the event handler function itself, handlepaymentchange(), looks like this: handlepaymentchange = event => { const detail
supdate = {}; if (event.methodname === "https://apple.com/apple-pay") { const servicefeeinfo = calculateservicefee(event.methoddetails); object.assign(detail
supdate, servicefeeinfo); } event.updatewith(detail
supdate); }, false); this begins by looking at the event's methodname property; if that indicates that the user is trying to use apple pay, we pass the methoddetails into a func...
...tion called calculateservicefee(), which we might create to take the information about the transaction, such as the underlying credit card being used to service the apple pay request, and compute and return an paymentdetail
supdate object that specifies changes to be applied to the paymentrequest in order to add any service fees that the payment method might require.
PaymentRequest.shippingOption - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetshippingoptionchrome full
support 61edge full
support 15firefox full
support 55notes disabled full
support 55notes disabled notes available only in nightly builds.disabled from version 55: this feature is behind the dom.payments.request.enabled preference (needs t...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support 11.1webview android no
support nochrome android full
support 53firefox android full
support 55notes disabled full
support 55notes disabled notes available only in nightly builds.disabled from version 55: this feature is behind the dom.payments.request.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios full
support 11.3samsung internet android full
support 6.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.user must explicitly enable this feature.user must explicitly enable this feature.
PaymentRequest.shippingType - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetshippingtypechrome full
support 61edge full
support 15firefox full
support 55notes disabled full
support 55notes disabled notes available only in nightly builds.disabled from version 55: this feature is behind the dom.payments.request.enabled preference (needs t...
...to change preferences in firefox, visit about:config.ie no
support noopera no
support nosafari full
support 11.1webview android no
support nochrome android full
support 55firefox android full
support 55notes disabled full
support 55notes disabled notes available only in nightly builds.disabled from version 55: this feature is behind the dom.payments.request.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android no
support nosafari ios full
support 11.3samsung internet android full
support 6.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.user must explicitly enable this feature.user must explicitly enable this feature.
PerformanceEntry.duration - Web APIs
function run_performanceentry() { log("performanceentry
support ..."); if (performance.mark === undefined) { log("...
... performance.mark not
supported"); return; } // create some performance entries via the mark() method performance.mark("begin"); do_work(50000); performance.mark("end"); // use getentries() to iterate through the each entry var p = performance.getentries(); for (var i=0; i < p.length; i++) { log("entry[" + i + "]"); check_performanceentry(p[i]); } } function check_performanceentry(obj) { var properties = ["name", "entrytype", "starttime", "duration"]; var methods = ["tojson"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in obj; if (
supported) log("..." + properties[i] + " = " + obj[properties[i]]); else log("..." + properties[i] + " = not
supported"); } for (var i=0; i <...
... methods.length; i++) { // check each method var
supported = typeof obj[methods[i]] == "function"; if (
supported) { var js = obj[methods[i]](); log("..." + methods[i] + "() = " + json.stringify(js)); } else { log("..." + methods[i] + " = not
supported"); } } } specifications specification status comment performance timeline level 2the definition of 'duration' in that specification.
PerformanceEntry.name - Web APIs
function run_performanceentry() { log("performanceentry
support ..."); if (performance.mark === undefined) { log("...
... performance.mark not
supported"); return; } // create some performance entries via the mark() method performance.mark("begin"); do_work(50000); performance.mark("end"); // use getentries() to iterate through the each entry var p = performance.getentries(); for (var i=0; i < p.length; i++) { log("entry[" + i + "]"); check_performanceentry(p[i]); } } function check_performanceentry(obj) { var properties = ["name", "entrytype", "starttime", "duration"]; var methods = ["tojson"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in obj; if (
supported) log("..." + properties[i] + " = " + obj[properties[i]]); else log("..." + properties[i] + " = not
supported"); } for (var i=0; i <...
... methods.length; i++) { // check each method var
supported = typeof obj[methods[i]] == "function"; if (
supported) { var js = obj[methods[i]](); log("..." + methods[i] + "() = " + json.stringify(js)); } else { log("..." + methods[i] + " = not
supported"); } } } specifications specification status comment performance timeline level 2the definition of 'name' in that specification.
PerformanceEntry.startTime - Web APIs
function run_performanceentry() { log("performanceentry
support ..."); if (performance.mark === undefined) { log("...
... performance.mark not
supported"); return; } // create some performance entries via the mark() method performance.mark("begin"); do_work(50000); performance.mark("end"); // use getentries() to iterate through the each entry var p = performance.getentries(); for (var i=0; i < p.length; i++) { log("entry[" + i + "]"); check_performanceentry(p[i]); } } function check_performanceentry(obj) { var properties = ["name", "entrytype", "starttime", "duration"]; var methods = ["tojson"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in obj; if (
supported) log("..." + properties[i] + " = " + obj[properties[i]]); else log("..." + properties[i] + " = not
supported"); } for (var i=0; i <...
... methods.length; i++) { // check each method var
supported = typeof obj[methods[i]] == "function"; if (
supported) { var js = obj[methods[i]](); log("..." + methods[i] + "() = " + json.stringify(js)); } else { log("..." + methods[i] + " = not
supported"); } } } specifications specification status comment performance timeline level 2the definition of 'starttime' in that specification.
PerformanceEntry.toJSON() - Web APIs
function run_performanceentry() { log("performanceentry
support ..."); if (performance.mark === undefined) { log("...
... performance.mark not
supported"); return; } // create some performance entries via the mark() method performance.mark("begin"); do_work(50000); performance.mark("end"); // use getentries() to iterate through the each entry var p = performance.getentries(); for (var i=0; i < p.length; i++) { log("entry[" + i + "]"); check_performanceentry(p[i]); } } function check_performanceentry(obj) { var properties = ["name", "entrytype", "starttime", "duration"]; var methods = ["tojson"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in obj; if (
supported) log("..." + properties[i] + " = " + obj[properties[i]]); else log("..." + properties[i] + " = not
supported"); } for (var i=0; i <...
... methods.length; i++) { // check each method var
supported = typeof obj[methods[i]] == "function"; if (
supported) { var js = obj[methods[i]](); log("..." + methods[i] + "() = " + json.stringify(js)); } else { log("..." + methods[i] + " = not
supported"); } } } specifications specification status comment performance timeline level 2the definition of 'tojson' in that specification.
PerformanceEntry - Web APIs
example the following example checks all performanceentry properties to see if the browser
supports them and if so, write their values to the console.
...rmance.getentries(); for (var i=0; i < p.length; i++) { console.log("performanceentry[" + i + "]"); print_performanceentry(p[i]); } } function print_performanceentry(perfentry) { var properties = ["name", "entrytype", "starttime", "duration"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " is not
supported"); } } } specifications specification status comment resource timing level 3 editor's draft resource timing level 2 working draft resource timing level 1 candidate recommendation adds the performanceresourcetiming interface and the resource value for entrytype.
PointerEvent.getCoalescedEvents() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetcoalescedevents experimentalchrome full
support 58edge full
support 79firefox full
support 59ie no
support noopera full
support 45safari no
support nowebview android full su...
...pport 58chrome android full
support 58firefox android partial
support 59disabled partial
support 59disabled disabled from version 59: this feature is behind the dom.w3c_pointer_events.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android full
support 43safari ios no
support nosamsung internet android full
support 7.0legend full
support full
support partial
support partial
support no
support no
supportexperimental.
PointerEvent.pointerType - Web APIs
the
supported values are the following strings: "mouse" the event was generated by a mouse device.
...if the browser
supports pointer device types other than those listed above, the value should be vendor-prefixed to avoid conflicting names for different types of devices.
...nt.addeventlistener('pointerdown', function(event) { // call the appropriate pointer type handler switch (event.pointertype) { case 'mouse': process_pointer_mouse(event); break; case 'pen': process_pointer_pen(event); break; case 'touch': process_pointer_touch(event); break; default: console.log(`pointertype ${event.pointertype} is not
suported`); } }, false); specifications specification status comment pointer eventsthe definition of 'pointertype' in that specification.
PublicKeyCredentialRequestOptions.extensions - Web APIs
as of june 2020, only appid is
supported by chrome and edge.
... firefox does not seem to
support any extension.
... also chrome doesn't plan to
support any other extension in future extension identifier type description appid usvstring fido appid.
PushEvent.PushEvent() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpushevent() constructor experimentalchrome full
support 42edge full
support 16disabled full
support 16disabled disabled from version 16: this feature is behind the enable service workers preference.
... full
support 17firefox full
support 44notes full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie no
support noopera full
support 37safari no
support nowebview android no
support nochrome android full
support 42firefox android full
support 44 full
support 44 ...
... full
support 48notes notes push enabled by default.opera android full
support 37safari ios no
support nosamsung internet android full
support 4.0legend full
support full
support no
support no
supportexperimental.
PushEvent.data - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdata experimentalchrome full
support 57edge full
support 16disabled full
support 16disabled disabled from version 16: this feature is behind the enable service workers preference.
... full
support 17firefox full
support 44notes full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie no
support noopera full
support 44safari no
support nowebview android no
support nochrome android full
support 57firefox android full
support 44 full
support 44 ...
... full
support 48notes notes push enabled by default.opera android full
support 43safari ios no
support nosamsung internet android full
support 4.0legend full
support full
support no
support no
supportexperimental.
PushManager.hasPermission() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internethaspermission experimentalchrome full
support 42edge full
support 16disabled full
support 16disabled disabled from version 16: this feature is behind the enable service workers preference.
... full
support 17firefox full
support 44notes full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie no
support noopera full
support 29safari no
support nowebview android no
support nochrome android full
support 42firefox android full
support 48notes full
support 48notes not...
...es push enabled by default.opera android full
support 29safari ios no
support nosamsung internet android full
support 4.0legend full
support full
support no
support no
supportexperimental.
RTCDtlsTransport - Web APIs
all browsers
support bundling, so when both endpoints are browsers, you can rest assured that bundling will be used.
... some non-browser legacy endpoints, however, may not
support bundle.
... because transports are established early in the negotiation process, it's likely that it won't be known until after they're created whether or not the remote peer
supports bundling or not.
SVGAnimatedString.animVal - Web APIs
internet explorer 9
supports script-based svg animation but it does not
support declarative-based svg animation.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetanimvalchrome full
support yesedge full
support 12firefox full
support yesie no
support noopera full
support yessafari full
support yeswebview android f...
...ull
support yeschrome android no
support nofirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android no
support nolegend full
support full
support no
support no
support ...
SVGImageElement.decoding - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdecoding experimentalchrome full
support 65edge full
support ≤79firefox ?
... webview android full
support 65chrome android full
support 65firefox android ?
... samsung internet android full
support 9.0legend full
support full
support compatibility unknown compatibility unknownexperimental.
SVGLength - Web APIs
exceptions: a domexception with code not_
supported_err is raised if unittype is svg_lengthtype_unknown or not a valid unit type constant (one of the other svg_lengthtype_* constants defined on this interface).
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvglengthchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGStylable - Web APIs
edge full
support ≤18firefox ?
... webview android no
support nochrome android ?
... legend full
support full
support no
support no
support compatibility unknown compatibility unknown ...
SVGTransform - Web APIs
for svg_transform_matrix, the matrix contains the a, b, c, d, e, f values
supplied by the user.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvgtransformchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown ...
SVGTransformable - Web APIs
edge full
support ≤18firefox ?
... webview android no
support nochrome android ?
... legend full
support full
support no
support no
support compatibility unknown compatibility unknown ...
SVGURIReference - Web APIs
"76" y="30" font-size="12px" font-family="consolas,monaco,andale mono,monospace" fill="#4d4e53" text-anchor="middle" alignment-baseline="middle">svgurireference</text></a></svg></div> a:hover text { fill: #0095dd; pointer-events: all;} properties svgurireference.href read only an svganimatedstring that represents the value of the href attribute, and, on elements that are defined to
support it, the deprecated xlink:href attribute.
... on getting href, an svganimatedstring object is returned that reflects the href attribute, and if the element is defined to
support the deprecated xlink:href attribute, additionally reflects that deprecated attribute.
... candidate recommendation replaced the deprecated xlink:href attribute reference by the href attribute and made the prior only be reflected where it's defined to be
supported.
Selection.extend() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetextend experimentalchrome full
support yesedge full
support 12firefox full
support yesie no
support noopera full
support yessafari full
support yeswebview android n...
...o
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yesoffset parameter is optional experimentalchrome full
support yesedge full
support ≤79firefox full
support 55ie no
support noopera full
support yessaf...
...ari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support 55opera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
ServiceWorkerContainer.register() - Web APIs
navigator.serviceworker.register('/sw.js').then(function(registration) { console.log('service worker registration succeeded:', registration); }, /*catch*/ function(error) { console.log('service worker registration failed:', error); }); } else { console.log('service workers are not
supported.'); } the following code, if included in example.com/index.html, at the root of a site, would apply to exactly the same pages as the example above.
... if ('serviceworker' in navigator) { // declaring scope manually navigator.serviceworker.register('/sw.js', {scope: './'}).then(function(registration) { console.log('service worker registration succeeded:', registration); }, /*catch*/ function(error) { console.log('service worker registration failed:', error); }); } else { console.log('service workers are not
supported.'); } there is frequent confusion surrounding the meaning and use of scope.
... if ('serviceworker' in navigator) { // declaring scope manually navigator.serviceworker.register('/sw.js', {scope: '/product/'}).then(function(registration) { console.log('service worker registration succeeded:', registration); }, /*catch*/ function(error) { console.log('service worker registration failed:', error); }); } else { console.log('service workers are not
supported.'); } however, servers can remove this restriction by setting a service-worker-allowed header on the service worker script, and then you can specify a max scope for that service worker above the service worker's location.
ServiceWorkerContainer - Web APIs
examples the example below first checks to see if the browser
supports service workers.
... if
supported, the code registers the service worker and determines if the page is actively controlled by the service worker.
... navigator.serviceworker.oncontrollerchange = function() { console.log('this page is now controlled by:', navigator.serviceworker.controller); }; } else { console.log('service workers are not
supported.'); } specifications specification status comment service workersthe definition of 'serviceworkercontainer' in that specification.
ServiceWorkerRegistration.navigationPreload - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnavigationpreload experimentalchrome full
support 59edge full
support 17 full
support 17 full
support 16disabled disabled from version 16: this feature is behind the enable service workers preference.firefox full
support 44notes ...
... full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie no
support noopera full
support 46safari full
support 11.1webview android full
support 59chrome android full
support 59firefox android full
support 44opera android full
support 43safari ios full
support 11.3samsung internet android full
support ...
... 4.0legend full
support full
support no
support no
supportexperimental.
SharedWorkerGlobalScope.applicationCache - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetapplicationcachechrome full
support 4edge full
support ≤79firefox full
support 29ie no
support noopera full
support 10.6safari no
support nowebview android ful...
...l
support yeschrome android full
support yesfirefox android full
support 29opera android full
support yessafari ios ?
... samsung internet android full
support yeslegend full
support full
support no
support no
support compatibility unknown compatibility unknown ...
SharedWorkerGlobalScope.onconnect - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonconnectchrome full
support 4edge full
support ≤79firefox full
support 29ie no
support noopera full
support 10.6safari no
support nowebview android ful...
...l
support yeschrome android full
support 18firefox android full
support 29opera android full
support yessafari ios ?
... samsung internet android full
support 1.0legend full
support full
support no
support no
support compatibility unknown compatibility unknown ...
SpeechRecognitionError.error - Web APIs
service-not-allowed the user agent disallowed the requested speech recognition service, either because the user agent doesn't
support it or because of reasons of security, privacy or user preference.
... bad-grammar there was an error in the speech recognition grammar or semantic tags, or the chosen grammar format or semantic tag format was un
supported.
... language-not-
supported the language was not
supported.
SpeechRecognitionErrorEvent.error - Web APIs
service-not-allowed the user agent disallowed the requested speech recognition service, either because the user agent doesn't
support it or because of reasons of security, privacy or user preference.
... bad-grammar there was an error in the speech recognition grammar or semantic tags, or the chosen grammar format or semantic tag format was un
supported.
... language-not-
supported the language was not
supported.
StereoPannerNode.StereoPannerNode() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetstereopannernode() constructorchrome full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.edge full
support ≤79firefox full
support 53ie no
support noopera full
suppo...
...rt 42safari no
support nowebview android full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.chrome android full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.firefox android full
support 53opera android full
support 42safari ios no
support nosamsung internet android full
support ...
... 6.0notes full
support 6.0notes notes before samsung internet 7.0, the default values were not
supported.legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.
SubtleCrypto.importKey() - Web APIs
the function accepts several import formats: see
supported formats for details.
...
supported formats this api
supports four different key import/export formats: raw, pkcs #8, subjectpublickeyinfo, and json web key.
... in this format the key is
supplied as an arraybuffer containing the raw bytes for the key.
URLUtilsReadOnly.hash - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internethash experimentalchrome no
support noedge no
support nofirefox full
support 38 full
support 38 no
support 3.5 — 38notes notes before firefox 38, firefox returned the hash percent encoded.
... this has been fixed to match the spec.ie no
support noopera no
support nosafari no
support nowebview android no
support nochrome android no
support nofirefox android full
support 38 full
support 38 no
support 4 — 38notes notes before firefox 38, firefox returned the hash percent encoded.
... this has been fixed to match the spec.opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
USBDevice - Web APIs
usbdevice.usbversionmajor read only one of three properties that declare the usb protocol version
supported by the device.
... usbdevice.usbversionminor read only one of three properties that declare the usb protocol version
supported by the device.
... usbdevice.usbversionsubminor read only one of three properties that declare the usb protocol version
supported by the device.
WaveShaperNode.WaveShaperNode() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetwaveshapernode() constructorchrome full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.edge full
support ≤79firefox full
support 53ie no
support noopera full
suppo...
... webview android full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.chrome android full
support 55notes full
support 55notes notes before chrome 59, the default values were not
supported.firefox android full
support 53opera android full
support 42safari ios ?
... samsung internet android full
support 6.0notes full
support 6.0notes notes before samsung internet 7.0, the default values were not
supported.legend full
support full
support no
support no
support compatibility unknown compatibility unknownsee implementation notes.see implementation notes.
Detect WebGL - Web APIs
feature-detecting webgl in this first example we are going to check whether the browser
supports webgl.
...your browser
supports webgl."; } else { paragraph.innerhtml = "failed to get webgl context.
... " + "your browser or device may not
support webgl."; } } }, false); the source code of this example is also available on github.
Getting started with WebGL - Web APIs
next » webgl enables web content to use an api based on opengl es 2.0 to perform 2d and 3d rendering in an html canvas in browsers that
support it without the use of plug-ins.
...your browser or machine may not
support it."); return; } // set clear color to black, fully opaque gl.clearcolor(0.0, 0.0, 0.0, 1.0); // clear the color buffer with specified clear color gl.clear(gl.color_buffer_bit); } window.onload = main; the first thing we do here is obtain a reference to the canvas, assigning it to a variable named canvas.
...if the browser does not
support webgl, getcontext() will return null in which case we display a message to the user and exit.
Using textures in WebGL - Web APIs
note: cors
support for webgl textures and the crossorigin attribute for image elements is implemented in gecko 8.0.
... note: cors
support for canvas 2d drawimage is implemented in gecko 9.0.
... note: cors
support for cross-domain videos and the crossorigin attribute for <video> elements is implemented in gecko 12.0.
Writing WebSocket servers - Web APIs
depending on language
support, knowledge of tcp sockets may be required.
... note: this seemingly overcomplicated process exists so that it's obvious to the client whether the server
supports websockets.
...sec-websocket-protocol: soap sec-websocket-protocol: wamp now the server must pick one of the protocols that the client suggested and it
supports.
Web Video Text Tracks Format (WebVTT) - Web APIs
crédit de transcription 00:04.000 --> 00:05.000 transcrit par célestes™ ::cue(#\31) { color: lime; } ::cue(#crédit\ de\ transcription) { color: red; } positioning of text tracks is also
supported, by including positioning information after the timings in a cue, as seen below (see cue settings for more information): webvtt 00:00:00.000 --> 00:00:04.000 position:10%,line-left align:left size:35% where did he go?
... example 20 - voice tag <v bob>text</v> interfaces there are two interfaces or apis used in webvtt which are: vttcue interface it is used for providing an interface in document object model api, where different attributes
supported by it can be used to prepare and alter the cues in number of ways.
... it is one of the good features
supported by webvtt is the localization and use of class elements which can be used in same way they are used in html and css to classify the style for particular type of objects, but here these are used for styling and classifying the cues as shown below: webvtt 04:02.500 --> 04:05.000 j’ai commencé le basket à l'âge de 13, 14 ans 04:05.001 --> 04:07.800 sur les <i.foreignphrase><lang en>pla...
WebXR application life cycle - Web APIs
make sure the webxr api is available; if navigator.xr is undefined, you can assume the user's browser and/or device doesn't
support webxr.
... if it's not
supported, disable any user interface used to activate xr features and abort any attempts to enter xr mode.
... call navigator.xr.issession
supported(), specifying the webxr experience mode you want to provide: inline, immersive-vr, or immersive-ar, in order to determine whether or not the type of session you wish to provide is available.
Basic concepts behind Web Audio API - Web APIs
several sources — with different types of channel layout — are
supported even within a single context.
...any discrete channel structure is
supported, including mono, stereo, quad, 5.1, and so on.
... created from raw pcm data (the audio context has methods to decode
supported audio formats).
Web Audio API best practices - Web APIs
media elements have streaming
support out of the box.
... cross browser & legacy
support the web audio api specification is constantly evolving and like most things on the web, there are some issues with it working consistently across browsers.
...it has cross-browser
support and, provides a useful subset of functionality.
Window: beforeunload event - Web APIs
however note that not all browsers
support this method, and some instead require the event handler to implement one of two legacy methods: assigning a string to the event's returnvalue property returning a string from the event handler.
...however, this is deprecated and no longer
supported in most browsers.
...however, this is not
supported by all browsers.
window.cancelIdleCallback() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcancelidlecallback experimentalchrome full
support 47edge full
support 79firefox full
support 55 full
support 55 full
support 53disabled disabled from version 53: this feature is behind the dom.requestidlecallback.enabled preference (nee...
...to change preferences in firefox, visit about:config.ie no
support noopera full
support yessafari no
support nowebview android full
support 47chrome android full
support 47firefox android full
support 55 full
support 55 full
support 53disabled disabled from version 53: this feature is behind the dom.requestidlecallback.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android full
support yessafari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
supportexperimental.
window.requestIdleCallback() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetrequestidlecallback experimentalchrome full
support 47edge full
support 79firefox full
support 55notes full
support 55notes notes enabled by default.
... no
support 53 — 55notes notes implemented but disabled by default.ie no
support noopera full
support 34safari no
support nowebview android full
support 47chrome android full
support 47firefox android full
support 55notes full
support 55notes notes enabled by default.
... no
support 53 — 55notes notes implemented but disabled by default.opera android full
support 34safari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
supportexperimental.
Window.restore() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetrestorechrome no
support noedge no
support nofirefox no
support noie ?
... webview android no
support nochrome android no
support nofirefox android no
support noopera android ?
... samsung internet android no
support nolegend no
support no
support compatibility unknown compatibility unknown ...
Window.scroll() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetscrollchrome full
support 1edge full
support 12firefox full
support 1ie full
support 4opera full
support 3safari full
support 1webview android full
sup...
...port 1chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 1samsung internet android full
support 1.0scrolltooptions parameterchrome full
support 45edge full
support 79firefox full
support yesie no
support noopera full
support 32safari no
support...
... nowebview android full
support 45chrome android full
support 45firefox android full
support yesopera android full
support 32safari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
support ...
Window.scrollY - Web APIs
additionally, older versions of internet explorer (< 9) do not
support either property and must be worked around by checking other non-standard properties.
... a fully compatible example: var
supportpageoffset = window.pagexoffset !== undefined; var iscss1compat = ((document.compatmode || "") === "css1compat"); var x =
supportpageoffset ?
...document.documentelement.scrollleft : document.body.scrollleft; var y =
supportpageoffset ?
WorkerNavigator.permissions - Web APIs
browser
support the compatibility table on this page is generated from structured data.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpermissions experimentalchrome full
support 43edge full
support ≤79firefox no
support noie ?
... opera full
support 30safari no
support nowebview android full
support 43chrome android full
support 43firefox android no
support noopera android full
support 30safari ios no
support nosamsung internet android full
support 4.0legend full
support full
support no
support no
support ...
WritableStream.WritableStream() - Web APIs
if no queuingstrategy is
supplied, the default used is the same as a countqueuingstrategy with a high water mark of 1.
... it shows the creation of the writablestream with a custom sink and an api-
supplied queuing strategy.
... backpressure because of how backpressure is
supported in the api, its implementation in code may be less than obvious.
WritableStreamDefaultWriter.ready - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetready experimentalchrome full
support 59edge full
support 16firefox no
support noie no
support noopera full
support 46safari ?
... webview android full
support 59chrome android full
support 59firefox android no
support noopera android full
support 43safari ios ?
... samsung internet android full
support 7.0legend full
support full
support no
support no
support compatibility unknown compatibility unknownexperimental.
XRWebGLLayer.framebuffer - Web APIs
these differences cause the opaque framebuffer to behave more like the default webgl framebuffer: opaque framebuffers may
support anti-aliasing, even under webgl 1.0, which don't normally do so.
...calling checkframebufferstatus() on the webgl context from outside the animation frame callback causes the webgl framebuffer_un
supported error (0x8cdd) to be reported.
... note: the depth and stencil properties are not required to be
supported in order for a browser to be construed as having full webgl
support.
XRWebGLLayerInit.antialias - Web APIs
the boolean antialias property, if present and set to true in the xrwebgllayerinit object provided as the xrwebgllayer() constructor's layerinit parameter, requests that the new webgl rendering layer
support anti-aliasing.
... syntax let layerinit = { antialias: boolvalue }; let gllayer = new xrwebgllayer(xrsession, gl, layerinit); let gllayer = new xrwebgllayer(xrsession, gl, { antialias: boolvalue }); value a boolean value which can be set to true to request anti-aliasing
support in the new webgl rendering layer.
... example in this example, before creating a new xrwebgllayer to use for rendering, the value of a user preference from a configuration interface is obtained using a function called getpreferencevalue() to determine whether the user has enabled or disabled anti-aliasing
support; this is passed into the constructor.
Browser Differences - Web APIs
browser differences netscape 7.x (all platforms) and internet explorer 6 (windows)
support the w3c xslt 1.0 standard (http://www.w3.org/tr/xslt).
... ie 5.0 and 5.5 (both windows)
supported only the working draft of xslt, and thus are not compatible with xslt 1.0 stylesheets.
... netscape 6.x only partially
supported xslt 1.0.
Web APIs
atasection css cssconditionrule csscounterstylerule cssgroupingrule cssimagevalue csskeyframerule csskeyframesrule csskeywordvalue cssmathproduct cssmathsum cssmathvalue cssmediarule cssnamespacerule cssnumericvalue cssomstring csspagerule csspositionvalue cssprimitivevalue csspseudoelement cssrule cssrulelist cssstyledeclaration cssstylerule cssstylesheet cssstylevalue css
supportsrule cssunitvalue cssunparsedvalue cssvalue cssvaluelist cssvariablereferencevalue cache cachestorage canvascapturemediastreamtrack canvasgradient canvasimagesource canvaspattern canvasrenderingcontext2d caretposition channelmergernode channelsplitternode characterdata childnode client clients clipboard clipboardevent clipboarditem closeevent comment compositionevent...
...der mediarecordererrorevent mediasession mediasessionactiondetails mediasettingsrange mediasource mediastream mediastreamaudiodestinationnode mediastreamaudiosourcenode mediastreamaudiosourceoptions mediastreamconstraints mediastreamevent mediastreamtrack mediastreamtrackaudiosourcenode mediastreamtrackaudiosourceoptions mediastreamtrackevent mediatrackconstraints mediatracksettings mediatrack
supportedconstraints merchantvalidationevent messagechannel messageevent messageport metadata mimetype mimetypearray mouseevent mousescrollevent mousewheelevent mutationevent mutationobserver mutationobserverinit mutationrecord n ndefmessage ndefreader ndefreadingevent ndefrecord ndefwriter namelist namednodemap navigationpreloadmanager navigator navigatorconcurrenthardware navigatorid n...
...texture_float_linear oes_texture_half_float oes_texture_half_float_linear oes_vertex_array_object ovr_multiview2 offlineaudiocompletionevent offlineaudiocontext offscreencanvas orientationsensor oscillatornode overconstrainederror p pagetransitionevent paintworklet pannernode parentnode passwordcredential path2d payererrors paymentaddress paymentcurrencyamount paymentdetailsbase paymentdetail
supdate paymentitem paymentmethodchangeevent paymentrequest paymentrequestevent paymentrequestupdateevent paymentresponse paymentvalidationerrors pbkdf2params performance performanceentry performanceeventtiming performanceframetiming performancelongtasktiming performancemark performancemeasure performancenavigation performancenavigationtiming performanceobserver performanceobserverentrylist p...
Using the link role - Accessibility
note: where possible, it is recommended that you use a native <a> element rather than the link role, as native elements are more widely
supported by older user agents and assistive technology.
... native <a> elements also
support keyboard and focus requirements by default, without need for additional customization.
... fire an accessible link event using the operating system's accessibility api if it
supports it.
ARIA annotations - Accessibility
aria-details has been updated so that it can
support multiple ids — this makes sense, for example you can easily envisage having multiple comments relating to the same bit of text.
...5 onwards, on windows and linux (on macos, we are first waiting for apple to define what safari will expose as apple-dialect attributes to voiceover, and will then follow suit.) chrome from version 81 onwards, currently behind the #enable-accessibility-expose-aria-annotations flag (go to chrome://flags to enable this.) unfortunately, you won’t be able to use any of these yet, as screenreader
support is currently not there.
...the annotations should just work once screenreader
support is added.
ARIA: article role - Accessibility
articles are not considered a navigational landmark, but many assistive technologies that
support landmarks also
support a means to navigate among articles.
... they may also
support indication of nesting relationships within articles.
... keyboard interactions this role does not
support any specific keyboard interaction.
Alerts - Accessibility
we need to change the two inputs for e-mail and name for this: <input name="name" id="name" aria-required="true" onblur="checkvalidity('name', ' ', 'invalid name entered!');"/> <br /> <input name="email" id="email" aria-required="true" onblur="checkvalidity('email', '@', 'invalid e-mail address');"/> testing the example if you use firefox 3 and a currently-
supported screen reader, try the following: enter only your first name as the name.
...jaws 9
supports this, but jaws 8 does not, so this may not work in all versions of the screen readers
supported.
...if this were a real live form, and the site was being visited by a browser that does not yet
support aria, we’d still want to give an indication that this is a required field.
An overview of accessible web applications and widgets - Accessibility
--> <div id="ch1panel" role="tabpanel" aria-labelledby="ch1tab">chapter 1 content goes here</div> <div id="ch2panel" role="tabpanel" aria-labelledby="ch2tab">chapter 2 content goes here</div> <div id="quizpanel" role="tabpanel" aria-labelledby="quiztab">quiz content goes here</div> </div> aria is well
supported by all major browsers, including firefox, safari, opera, chrome, and internet explorer, and many assistive technologies.
...see also live regions keyboard navigation often times developers overlook
support for the keyboard when they create custom widgets.
...in practice, this usually involves following the conventions
supported by similar widgets on the desktop, taking full advantage of the tab, enter, spacebar, and arrow keys.
Web accessibility for seizures and physical reactions - Accessibility
prefers-reduced-motion
support for prefers-reduced-motion in modern browsers is growing.
...
support is emerging.
... personalization help and
support the requirement for the literal property is taken from section 23 non-literal text and images requirement: some users cannot understand non-literal text and icons such as metaphors, idioms etc.
:checked - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:checkedchrome full
support 1notes full
support 1notes notes on macos, styling <option&rt; elements has no effect.edge full
support 12notes full
support 12notes notes on macos, styling <option&rt; elements has no effect.firefox full
support ...
... 1notes full
support 1notes notes from firefox 56, <option&rt; elements cannot be styled.notes on macos, styling <option&rt; elements has no effect.ie full
support 9opera full
support 9notes full
support 9notes notes on macos, styling <option&rt; elements has no effect.safari full
support 3.1notes full
support 3.1notes notes styling <option&rt; elements has no effect.webview android full
support 2chrome android full
support ...
... 18firefox android full
support 4notes full
support 4notes notes from firefox 56, <option&rt; elements cannot be styled.opera android full
support 10.1safari ios full
support 3.1notes full
support 3.1notes notes styling <option&rt; elements has no effect.samsung internet android full
support 1.0legend full
support full
supportsee implementation notes.see implementation notes.
:defined - CSS: Cascading Style Sheets
in this demo we define a very simple trivial custom element: customelements.define('simple-custom', class extends htmlelement { constructor() {
super(); let divelem = document.createelement('div'); divelem.textcontent = this.getattribute('text'); let shadowroot = this.attachshadow({mode: 'open'}) .appendchild(divelem); } }) then insert a copy of this element into the document, along with a standard <p>: <simple-custom text="custom element example text"></simple-custom> <p>standard paragraph example text</p> ...
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:definedchrome full
support 54edge full
support 79firefox full
support 63ie no
support noopera full
support 41safari full
support 10webview android full ...
...
support 54chrome android full
support 54firefox android full
support 63opera android full
support 41safari ios full
support 10samsung internet android full
support 6.0legend full
support full
support no
support no
support ...
:host() - CSS: Cascading Style Sheets
browser compatibility desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:host()chrome full
support 54edge full
support 79firefox full
support 63 full
support 63 no
support 61 — 63disabled disabled from version 61 until version 63 (exclusive): this feature is behind the dom.webcomponents.shadowdom.enab...
...to change preferences in firefox, visit about:config.ie no
support noopera full
support 41safari full
support 10notes full
support 10notes notes certain css selectors do not work (:host > .local-child) and styling slotted content (::slotted) is buggy.webview android full
support 54chrome android full
support 54firefox android full
support 63 full
support 63 no
support 61 ...
...to change preferences in firefox, visit about:config.opera android full
support 41safari ios full
support 10notes full
support 10notes notes certain css selectors do not work (:host > .local-child) and styling slotted content (::slotted) is buggy.samsung internet android full
support 6.0legend full
support full
support no
support no
supportsee imp...
:host - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:hostchrome full
support 54edge full
support 79firefox full
support 63 full
support 63 no
support 61 — 63disabled disabled from version 61 until version 63 (exclusive): this feature is behind the dom.webcomponents.shadowdom.enab...
...to change preferences in firefox, visit about:config.ie no
support noopera full
support 41safari full
support 10webview android full
support 54chrome android full
support 54firefox android full
support 63 full
support 63 no
support 61 — 63disabled disabled from version 61 until version 63 (exclusive): this feature is behind the dom.webcomponents.shadowdom.enabled preference (needs to be set to true).
... to change preferences in firefox, visit about:config.opera android full
support 41safari ios full
support 10samsung internet android full
support 6.0legend full
support full
support no
support no
supportuser must explicitly enable this feature.user must explicitly enable this feature.
:read-only - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:read-onlychrome full
support 1edge full
support 13firefox full
support 78 full
support 78 full
support 1.5prefixed prefixed implemented with the vendor prefix: -moz-ie no
support ...
... noopera full
support 9safari full
support 4webview android full
support ≤37chrome android full
support 18firefox android full
support 4prefixed full
support 4prefixed prefixed implemented with the vendor prefix: -moz-opera android full
support 10.1safari ios full
support 3.2samsung internet android full
support 1.0legend full
support ...
... full
support no
support no
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
:read-write - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:read-writechrome full
support 1edge full
support 13firefox full
support 78 full
support 78 full
support 1.5prefixed prefixed implemented with the vendor prefix: -moz-ie no
support ...
... noopera full
support 9safari full
support 4webview android full
support ≤37chrome android full
support 18firefox android full
support 4prefixed full
support 4prefixed prefixed implemented with the vendor prefix: -moz-opera android full
support 10.1safari ios full
support 3.2samsung internet android full
support 1.0legend full
support ...
... full
support no
support no
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
@charset - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet@charsetchrome full
support 2edge full
support 12firefox full
support 1.5notes full
support 1.5notes notes firefox 1
supported an invalid syntax where the character encoding is not between single or double quotes.ie full
support ...
... 5.5notes full
support 5.5notes notes from internet explorer 5.5 to ie 7 (inclusive), internet explorer
supported an invalid syntax where the character encoding is not between single or double quotes.opera full
support 9safari full
support 4webview android full
support 2chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 4samsung internet android ...
... full
support 1.0legend full
support full
supportsee implementation notes.see implementation notes.
@font-face - CSS: Cascading Style Sheets
since firefox 61 (and in other modern browsers) this also accepts two values to specify a range that is
supported by a font-face, for example font-stretch: 50% 200%; font-style a font-style value.
... since firefox 61 (and in other modern browsers) this also accepts two values to specify a range that is
supported by a font-face, for example font-style: oblique 20deg 50deg; font-weight a font-weight value.
... since firefox 61 (and in other modern browsers) this also accepts two values to specify a range that is
supported by a font-face, for example font-weight: 100 400; font-variant a font-variant value.
@viewport - CSS: Cascading Style Sheets
it's primarily used for mobile devices, but is also used by desktop browsers that
support features like "snap to edge" (such as microsoft edge).
... descriptors browser
support for @viewport is weak at this time, with
support being largely available in internet explorer and edge.
...browsers will ignore @viewport if they don't
support it, and will ignore any descriptors that they don't recognize.
Spanning and Balancing Columns - CSS: Cascading Style Sheets
note the spanning and balancing functionality covered in this guide is not as well
supported across browsers as the functionality covered in the previous two sections in this guide.
... note that column balancing is not
supported by all browsers.
... check that you are getting the sort of effect that you expect in the browsers you
support.
Using multi-column layouts - CSS: Cascading Style Sheets
all html, css and dom functionality is
supported within columns, as are editing and printing.
...excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum </div> css #column_gap { column-count: 5; column-gap: 2em; } result graceful degradation the column properties will just be ignored by non-columns-
supporting browsers.
... therefore it's relatively easy to create a layout that will display in a single column in those browsers and use multiple columns in
supporting browsers.
Aligning Items in a Flex Container - CSS: Cascading Style Sheets
it is expected that this spec will ultimately
supersede the properties as defined in flexbox level one.
...browser
support for this value is not as good as that of the values defined in the flexbox spec.
... see the documentation for justify-content on mdn for more details on all of these values and browser
support.
Using CSS gradients - CSS: Cascading Style Sheets
we'll start by introducing linear gradients, then introduce features that are
supported in all gradient types using linear gradients as the example, then move on to radial, conic and repeating gradients using linear gradients a linear gradient creates a band of colors that progress in a straight line.
...lor hint can make: <div class="colorhint-gradient"></div> <div class="regular-progression"></div> div { width: 120px; height: 120px; float: left; margin-right: 10px; box-sizing: border-box; } .colorhint-gradient { background: linear-gradient(to top, black, 20%, cyan); } .regular-progression { background: linear-gradient(to top, black, cyan); } overlaying gradients gradients
support transparency, so you can stack multiple backgrounds to achieve some pretty fancy effects.
...the center of the conic gradient with keyterms, percentage, or absolute lengths, with the keyword "at" <div class="conic-gradient"></div> div { width: 120px; height: 120px; } .conic-gradient { background: conic-gradient(from 45deg, red, orange, yellow, green, blue, purple); } using repeating gradients the linear-gradient(), radial-gradient(), and conic-gradient() functions don't
support automatically repeated color stops.
Logical properties for margins, borders and padding - CSS: Cascading Style Sheets
as these are new properties check browser
support before using.
...as these are new properties check browser
support before using.
... .box { border-block: 2px solid green; border-inline-width: 4px; border-inline-style: dotted; border-inline-color: rebeccapurple; } note: these two value shorthands shipped in firefox 66, check browser
support before using as other browsers may not have implemented them yet.
Overview of CSS Shapes - CSS: Cascading Style Sheets
if you do not have shapes
support in the browser, the user will see content flowing around the sides of a rectangular box as before.
... if they do have shapes
support then the visual display is enhanced.
... developer tools for shapes along with css shapes
support in the browser, firefox are shipping a shape path editor in the firefox devtools.
Using media queries - CSS: Cascading Style Sheets
aspect-ratio width-to-height aspect ratio of the viewport color number of bits per color component of the output device, or zero if the device isn't color color-gamut approximate range of colors that are
supported by the user agent and output device added in media queries level 4.
...} improving compatibility with older browsers the only keyword prevents older browsers that do not
support media queries with media features from applying the given styles.
...for example, using the max- functionality for width we might write the following: note: the media queries level 4 specification has reasonable
support in modern browsers, but some media features are not well
supported.
attr() - CSS: Cascading Style Sheets
note: the attr() function can be used with any css property, but
support for properties other than content is experimental, and
support for the type-or-unit parameter is sparse.
...c | lh | rlh | rem | vb | vi | vw | vh | vmin | vmax | mm | q | cm | in | pt | pc | px | deg | grad | rad | turn | ms | s | hz | khz | % examples content property html <p data-foo="hello">world</p> css [data-foo]::before { content: attr(data-foo) " "; } result <color> value html <div class="background" data-background="lime">background expected to be red if your browser does not
support advanced usage of attr()</div> css .background { height: 100vh; } .background { background-color: red; } .background[data-background] { background-color: attr(data-background color, red); } specifications specification status comment css values and units module level 4the definition of 'attr()' in that specification.
... these changes are experimental and may be dropped during the cr phase if browser
support is too small.
background-image - CSS: Cascading Style Sheets
to specify multiple background images,
supply multiple values, separated by a comma: background-image: linear-gradient(to bottom, rgba(255,255,0,0.5), rgba(0,0,255,0.5)), url('https://mdn.mozillademos.org/files/7693/catfront.png'); values none is a keyword denoting the absence of images.
...there can be several of them, separated by commas, as multiple backgrounds are
supported.
... candidate recommendation from css2 revision 1, the property has been extended to
support multiple backgrounds and any <image> css data type.
background-position-x - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbackground-position-xchrome full
support 1edge full
support 12firefox full
support 49ie full
support 6opera full
support 15safari full
support 1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 49opera android full
support 18safari ios full
support 1samsung internet android full
support 1.0two-value syntax (
support for offsets from any edge)chrome no
support noedge no
support 12 — 79firefox full
support 49ie full
support 9opera no
support nosafari ...
... no
support nowebview android no
support nochrome android no
support nofirefox android full
support 49opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
support see also background-position background-position-y background-position-inline background-position-block using...
background-position-y - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbackground-position-ychrome full
support 1edge full
support 12firefox full
support 49ie full
support 6opera full
support 15safari full
support 1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 49opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0two-value syntax (
support for offsets from any edge)chrome no
support noedge no
support 12 — 79firefox full
support 49ie full
support 9opera no
support nosafari ...
... no
support nowebview android no
support nochrome android no
support nofirefox android full
support 49opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
support see also background-position background-position-x background-position-inline background-position-block using...
border-left-style - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetborder-left-stylechrome full
support 1edge full
support 12firefox full
support 1notes full
support 1notes notes prior to firefox 50, border styles of rounded corners (with border-radius) were always rendered as if border-bottom-style was solid.
... this has been fixed in firefox 50.ie full
support 5.5opera full
support 9.2safari full
support 1webview android full
support 2.3chrome android full
support 18firefox android full
support 14notes full
support 14notes notes prior to firefox 50, border styles of rounded corners (with border-radius) were always rendered as if border-bottom-style was solid.
... this has been fixed in firefox 50.opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend full
support full
supportsee implementation notes.see implementation notes.
border-right-style - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetborder-right-stylechrome full
support 1edge full
support 12firefox full
support 1notes full
support 1notes notes prior to firefox 50, border styles of rounded corners (with border-radius) were always rendered as if border-bottom-style was solid.
... this has been fixed in firefox 50.ie full
support 5.5opera full
support 9.2safari full
support 1webview android full
support ≤37chrome android full
support 18firefox android full
support 14notes full
support 14notes notes prior to firefox 50, border styles of rounded corners (with border-radius) were always rendered as if border-bottom-style was solid.
... this has been fixed in firefox 50.opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend full
support full
supportsee implementation notes.see implementation notes.
border - CSS: Cascading Style Sheets
candidate recommendation removes specific
support for transparent, as it is now a valid <color>; this has no practical impact.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetborderchrome full
support 1edge full
support 12firefox full
support 1ie full
support 4opera full
support 3.5safari full
support 1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support ...
clear - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetclearchrome full
support 1edge full
support 12firefox full
support 1ie full
support 4opera full
support 3.5safari full
support 1webview android full s...
...upport 1chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 1samsung internet android full
support 1.0flow-relative values inline-start and inline-endchrome no
support noedge no
support nofirefox full
support 55ie no
support noopera no
support nosafari ...
... no
support nowebview android no
support nochrome android no
support nofirefox android full
support 55opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
support see also css basic box model ...
content - CSS: Cascading Style Sheets
accessibility
support for css generated content – tink explanation of wcag, guideline 1.3 – mdn understanding success criterion 1.3.1 | w3c understanding wcag 2.0 formal definition initial valuenormalapplies to::before and ::after pseudo-elementsinheritednocomputed valueon elements, always computes to normal.
... html <div id="replaced">mozilla</div> css #replaced { content: url("https://mdn.mozillademos.org/files/12668/mdn.svg"); } #replaced::after { /* will not show if element replacement is
supported */ content: " (" attr(id) ")"; } result specifications specification status comment css generated content module level 3the definition of 'content' in that specification.
... working draft adds
support for alt-text css level 2 (revision 1)the definition of 'content' in that specification.
<image> - CSS: Cascading Style Sheets
if
supported, the browser-defined size matching the usual cursor size on the client's system content for a pseudo-element (::after/::before) a 300px × 150px rectangle the concrete object size is calculated using the following algorithm: if the specified size defines both the width and the height, these values are used as the concrete object size.
... note: not all browsers
support every type of image on every property.
... <gradient> */ element(#realid) /* a part of the webpage, referenced with the element() function, if "realid" is an existing id on the page */ image(ltr 'arrow.png#xywh=0,0,16,16', red) /* a section 16x16 section of <url>, starting from the top, left of the original image as long as arrow.png is a
supported image, otherwise a solid red swatch.
initial - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetinitialchrome full
support 1edge full
support 13firefox full
support 19 full
support 19 no
support 1 — 24prefixed prefixed implemented with the vendor prefix: -moz-ie no
support noopera...
... full
support 15safari full
support 1.2webview android full
support 1chrome android full
support 18firefox android full
support 19 full
support 19 no
support 4 — 24prefixed prefixed implemented with the vendor prefix: -moz-opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend full
suppor...
...t full
support no
support no
supportrequires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
letter-spacing - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetletter-spacingchrome full
support 1edge full
support 12firefox full
support 1ie full
support 4opera full
support 3.5safari full
support 1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 1samsung internet android full
support 1.0svg
supportchrome full
support 1edge full
support 12firefox full
support 72ie full
support 9opera full
support 7safari full
support ...
... 5.1webview android full
support ≤37chrome android full
support 18firefox android no
support noopera android full
support 10.1safari ios full
support 5.1samsung internet android full
support 1.0legend full
support full
support no
support no
support see also font-kerning ...
mask-border-outset - CSS: Cascading Style Sheets
formal definition initial value0applies toall elements; in svg, it applies to container elements excluding the defs element and all graphics elementsinheritednocomputed valueas specified, but with relative lengths converted into absolute lengthsanimation typediscrete formal syntax [ <length> | <number> ]{1,4} examples basic usage this property doesn't appear to be
supported anywhere yet.
... when it eventually starts to be
supported, it will serve to move the mask away from the inner edge of the element's border box — you can use it to make the mask start from part way across the border, rather than the inside of it.
... mask-border-outset: 1rem; chromium-based browsers
support an outdated version of this property — mask-box-image-outset — with a prefix: -webkit-mask-box-image-outset: 1rem; note: the mask-border page features a working example (using the out-of-date prefixed border mask properties
supported in chromium), so you can get an idea of the effect.
mask-border-repeat - CSS: Cascading Style Sheets
formal definition initial valuestretchapplies toall elements; in svg, it applies to container elements excluding the defs element and all graphics elementsinheritednocomputed valueas specifiedanimation typediscrete formal syntax [ stretch | repeat | round | space ]{1,2} examples basic usage this property doesn't appear to be
supported anywhere yet.
... when it eventually starts to be
supported, it will serve to define how the border mask slice will repeat around the border — i.e.
... mask-border-repeat: round; chromium-based browsers
support an outdated version of this property — mask-box-image-repeat — with a prefix: -webkit-mask-box-image-repeat: round; note: the mask-border page features a working example (using the out-of-date prefixed border mask properties
supported in chromium), so you can get an idea of the effect.
mask-border-slice - CSS: Cascading Style Sheets
n initial value0applies toall elements; in svg, it applies to container elements excluding the defs element and all graphics elementsinheritednopercentagesrefer to size of the mask border imagecomputed valueas specifiedanimation typediscrete formal syntax <number-percentage>{1,4} fill?where <number-percentage> = <number> | <percentage> examples basic usage this property doesn't appear to be
supported anywhere yet.
... when it eventually starts to be
supported, it will serve to define the size of the slices taken from the source image, and used to create the border mask.
... mask-border-slice: 30 fill; chromium-based browsers
support an outdated version of this property — mask-box-image-slice — with a prefix: -webkit-mask-box-image-slice: 30 fill; note: the mask-border page features a working example (using the out-of-date prefixed border mask properties
supported in chromium), so you can get an idea of the effect.
mask-border-source - CSS: Cascading Style Sheets
<color-stop-length>?<linear-color-hint> = <length-percentage><length-percentage> = <length> | <percentage><angular-color-stop> = <color> && <color-stop-angle>?<angular-color-hint> = <angle-percentage>where <color-stop-length> = <length-percentage>{1,2}<color-stop-angle> = <angle-percentage>{1,2}<angle-percentage> = <angle> | <percentage> examples basic usage this property doesn't appear to be
supported anywhere yet.
... when it eventually starts to be
supported, it will serve to define the source of the border mask.
... mask-border-source: url(image.jpg); chromium-based browsers
support an outdated version of this property — mask-box-image-source — with a prefix: -webkit-mask-box-image-source: url(image.jpg); note: the mask-border page features a working example (using the out-of-date prefixed border mask properties
supported in chromium), so you can get an idea of the effect.
mask-border-width - CSS: Cascading Style Sheets
the defs element and all graphics elementsinheritednopercentagesrelative to width/height of the mask border image areacomputed valueas specified, but with relative lengths converted into absolute lengthsanimation typediscrete formal syntax [ <length-percentage> | <number> | auto ]{1,4}where <length-percentage> = <length> | <percentage> examples basic usage this property doesn't appear to be
supported anywhere yet.
... when it eventually starts to be
supported, it will serve to define the width of the border mask — setting this to a different value to mask-border-slice will cause the slices to be scaled to fit the border mask.
... mask-border-width: 30 fill; chromium-based browsers
support an outdated version of this property — mask-box-image-width — with a prefix: -webkit-mask-box-image-width: 20px; note: the mask-border page features a working example (using the out-of-date prefixed border mask properties
supported in chromium), so you can get an idea of the effect.
mix-blend-mode - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmix-blend-modechrome full
support 41edge full
support 79firefox full
support 32ie no
support noopera full
support 28safari full
support 8webview android full s...
...upport 41chrome android full
support 41firefox android full
support 32opera android full
support 28safari ios full
support 8samsung internet android full
support 4.0on svg elementschrome full
support 41edge full
support 79firefox full
support 32ie no
support noopera full
support 28safari no
support ...
... nowebview android no
support nochrome android no
support nofirefox android full
support 32opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
support see also <blend-mode> background-blend-mode ...
object-fit - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetobject-fitchrome full
support 31edge full
support 16notes full
support 16notes notes edge
supports object-fit on img elements only.
... see edge issue 13603873 for details.firefox full
support 36ie no
support noopera full
support 19 full
support 19 full
support 11.6prefixed prefixed implemented with the vendor prefix: -o-safari full
support 10webview android full
support 4.4.3chrome android full
support 31firefox android full
support 36opera android full
support 19 fu...
...ll
support 19 full
support 12prefixed prefixed implemented with the vendor prefix: -o-safari ios full
support 10samsung internet android full
support 2.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.requires a vendor prefix or different name for use.requires a vendor prefix or different name for use.
pointer-events - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpointer-eventschrome full
support 1edge full
support 12firefox full
support 1.5ie full
support 11opera full
support 9safari full
support 4webview android full ...
...
support 2chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 3.2samsung internet android full
support 1.0applies to html elements experimentalchrome full
support 2edge full
support 12firefox full
support 3.6ie full
support 11opera full
support 15safari ...
... full
support 4webview android full
support 37chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 3.2samsung internet android full
support 1.0legend full
support full
supportexperimental.
Using HTML sections and outlines - Developer guides
html5 semantic elements don't need a special dom interface, but they will need a specific css styling in older browser that don't
support them explicitly.
... next up, older ie versions do not allow styling of un
supported elements, unless you create an instance of them in the dom.
...led that your page relies on javascript: <noscript> <p><strong>this web page requires javascript to be enabled.</strong></p> <p>javascript is an object-oriented computer programming language commonly used to create interactive effects within web browsers.</p> <p><a href="https://goo.gl/koeeaj">how to enable javascript?</a></p> </noscript> this leads to the following code to allow the
support of the html5 sections and headings elements in non-html5 browsers, even for internet explorer (8 and older), with a proper fallback for the case where this latter browser is configured not to use scripting: <!--[if lt ie 9]> <script> document.createelement("article"); document.createelement("aside"); document.createelement("footer"); document.createelement("header"); do...
Separate sites for mobile and desktop - Developer guides
conceptually simple, this is the easiest option to add to an existing site, especially if you are using a cms or web application that
supports templates.
...this is because the default browsers on some feature-phones do not
support the same markup that you would use to code a website targeted at the desktop, but instead understand formats like xhtml-mp or the older wml.
...in fact, mozilla picked this strategy for the mobile versions of addons.mozilla.org (amo) and
support.mozilla.org (sumo).
<basefont> - HTML: Hypertext Markup Language
attributes like all other html elements, this element
supports the global attributes.
...the document text in the default style is rendered in the first font face that the client's browser
supports.
...though once (imprecisely) normalized in html 3.2, it wasn't
supported in all major browsers.
<iframe>: The Inline Frame element - HTML: Hypertext Markup Language
the sandbox attribute is un
supported in internet explorer 9 and earlier.
...if a browser does not
support the srcdoc attribute, it will fall back to the url in the src attribute.
... deprecated attributes these attributes are deprecated and may no longer be
supported by all user agents.
<input type="checkbox"> - HTML: Hypertext Markup Language
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.
... additional attributes in addition to the common attributes shared by all <input> elements, "checkbox" inputs
support the following attributes: attribute description checked boolean; if present, the checkbox is toggled on by default indeterminate a boolean which, if present, indicates that the value of the checkbox is indeterminate rather than true or false value the string to use as the value of the checkbox when submitting the form, if the checkbox is cu...
... validation checkboxes do
support validation (offered to all <input>s).
<input type="image"> - HTML: Hypertext Markup Language
supported common attributes alt, src, width, height, formaction, formenctype, formmethod, formnovalidate, formtarget idl attributes none.
... additional attributes in addition to the attributes shared by all <input> elements, image button inputs
support the following attributes: attribute description alt alternate string to display when the image can't be shown formaction the url to which to submit the data formenctype the encoding method to use when submitting the form data formmethod the http method to use when submitting the form formnovalidate a boolean which, if present, indicates that the form shouldn't be validated before submission formtarget a string indicating...
...this method
supports complex data and file attachments.
<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.
...this label is likely to be something along the lines of "submit" or "submit query." here's an example of a submit button with a default label in your browser: <input type="submit"> additional attributes in addition to the attributes shared by all <input> elements, submit button inputs
support the following attributes: attribute description formaction the url to which to submit the form's data; overrides the form's action attribute, if any formenctype a string specifying the encoding type to use for the form data formmethod the http method (get or post) to use when submitting the form.
...this method
supports complex data and file attachments.
<input type="text"> - HTML: Hypertext Markup Language
events change and input
supported common attributes autocomplete, list, maxlength, minlength, pattern, placeholder, readonly, required and size idl attributes list, value methods select(), setrangetext() and setselectionrange().
... additional attributes in addition to the attributes that operate on all <input> elements regardless of their type, text inputs
support the following attributes: attribute description list the id of the <datalist> element that contains the optional pre-defined autocomplete options maxlength the maximum number of characters the input should accept minlength the minimum number of characters long the input can be and still be considered valid pattern a regular expr...
... mozactionhint a mozilla extension,
supported by firefox for android, which provides a hint as to what sort of action will be taken if the user presses the enter or return key while editing the field.
<isindex> - HTML: Hypertext Markup Language
its
support depended on both the browser and the server to react to the query.
...he proposed to have instead an input element (idea
supported by steve putz).
... in 2016, after it was removed from edge and chrome, it was proposed to remove isindex from the standard; this removal was completed the next day, after which safari and firefox also removed
support.
<listing> - HTML: Hypertext Markup Language
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetlisting deprecatedchrome no
support noedge no
support nofirefox no
support nonotes no
support nonotes notes before firefox 4, this element implemented the htmlspanelement interface instead of the standard htmlelement interface.ie no
support ...
... noopera no
support nosafari no
support nowebview android no
support nochrome android no
support nofirefox android no
support nonotes no
support nonotes notes before firefox 4, this element implemented the htmlspanelement interface instead of the standard htmlelement interface.opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend ...
... no
support no
supportdeprecated.
Standard metadata names - HTML: Hypertext Markup Language
[light | dark]+ one or more color schemes
supported by the document.
... only light indicates that the document only
supports light mode, with a light background and dark foreground colors.
... some crawler robots, like google, yahoo and bing,
support the same values for the http header x-robots-tag; this allows non-html documents like images to use these rules.
<rp>: The Ruby Fallback Parenthesis element - HTML: Hypertext Markup Language
the html ruby fallback parenthesis (<rp>) element is used to provide fall-back parentheses for browsers that do not
support display of ruby annotations using the <ruby> element.
...the <rp> element is used in the case of lack of <ruby> element
support; the <rp> content provides what should be displayed in order to indicate the presence of a ruby annotation, usually parentheses.
... <ruby> 漢 <rp>(</rp><rt>kan</rt><rp>)</rp> 字 <rp>(</rp><rt>ji</rt><rp>)</rp> </ruby> css body { font-size: 22px; } the result looks like this in your browser: the html above rendered by a browser without ruby
support might look like this: 漢 (kan) 字 (ji) body { font-size: 22px; } see the article about the <ruby> element for further examples.
<spacer> - HTML: Hypertext Markup Language
however, <spacer> no longer
supported by any major browser and the same effects can now be achieved using simple css.
... firefox, which is the descendant of netscape's browsers, removed
support for <spacer> in version 4.
... attributes like all other html elements, this element
supports the global attributes.
dir - HTML: Hypertext Markup Language
this attribute can be overridden by the css properties direction and unicode-bidi, if a css page is active and the element
supports these properties.
...that way, the text will display correctly even on a browser that doesn't
support css or has the css deactivated.
... recommendation
supported on all elements but <applet>, <base>, <basefont>, <bdo>, <br>, <frame>, <frameset>, <iframe>, <param>, and <script>.
Microdata - HTML: Hypertext Markup Language
microdata uses a
supporting vocabulary to describe an item and name-value pairs to assign values to its properties.
... vocabularies google and other major search engines
support the schema.org vocabulary for structured data.
...for example, yandex, a major search engine in russia,
supports microformats such as hcard (company contact information), hrecipe (food recipe), hreview (market reviews) and hproduct (product data) and provides its own format for the definition of the terms and encyclopedic articles.
Accept-Ranges - HTTP
the accept-ranges response http header is a marker used by the server to advertise its
support of partial requests.
... header type response header forbidden header name no syntax accept-ranges: <range-unit> accept-ranges: none directives <range-unit> defines the range unit the server
supports.
... none no range unit is
supported, this makes the header equivalent of its own absence and is therefore rarely used, though some browsers, like ie9, it is used to disable or remove the pause buttons in the download manager.
CSP: report-uri - HTTP
though the report-to directive is intended to replace the deprecated report-uri directive, report-to isn’t
supported in most browsers yet.
... so for compatibility with current browsers while also adding forward compatibility when browsers get report-to
support, you can specify both report-uri and report-to: content-security-policy: ...; report-uri https://endpoint.com; report-to groupname in browsers that
support report-to, the report-uri directive will be ignored.
... csp version 1 directive type reporting directive this directive is not
supported in the <meta> element.
CSP: script-src - HTTP
specifying nonce makes a modern browser ignore 'unsafe-inline' which could still be set for older browsers without nonce
support.
...csp
supports sha256, sha384 and sha512.
... the policy: script-src 'unsafe-inline' https: 'nonce-abcdefg' 'strict-dynamic' will act like 'unsafe-inline' https: in browsers that
support csp1, https: 'nonce-abcdefg' in browsers that
support csp2, and 'nonce-abcdefg' 'strict-dynamic' in browsers that
support csp3.
Expect-CT - HTTP
ct requirements can be satisfied via any one of the following mechanisms: x.509v3 certificate extension to allow embedding of signed certificate timestamps issued by individual logs a tls extension of type signed_certificate_timestamp sent during the handshake
supporting ocsp stapling (that is, the status_request tls extension) and providing a signedcertificatetimestamplist when a site enables the expect-ct header, they are requesting that the browser check that any certificate for that site appears in public ct logs.
...since may 2018 new certificates are expected to
support scts by default.
... expect-ct: max-age=86400, enforce, report-uri="https://foo.example/report" notes root cas manually added to the trust store override and
suppress expect-ct reports/enforcement.
Numbers and dates - JavaScript
octal syntax isn't part of ecmascript 5, but it's
supported in all browsers by prefixing the octal number with a zero: 0644 === 420 and "\045" === "%".
... in ecmascript 2015, octal numbers are
supported if they are prefixed with 0o, e.g.: var a = 0o10; // es2015: 8 hexadecimal numbers hexadecimal number syntax uses a leading zero followed by a lowercase or uppercase latin letter "x" (0x or 0x).
...these methods use integers to represent these values as follows: seconds and minutes: 0 to 59 hours: 0 to 23 day: 0 (sunday) to 6 (saturday) date: 1 to 31 (day of the month) months: 0 (january) to 11 (december) year: years since 1900 for example,
suppose you define the following date: var xmas95 = new date('december 25, 1995'); then xmas95.getmonth() returns 11, and xmas95.getfullyear() returns 1995.
TypeError: cyclic object value - JavaScript
message typeerror: cyclic object value (firefox) typeerror: converting circular structure to json (chrome and opera) typeerror: circular reference in value argument not
supported (edge) error type typeerror what went wrong?
... the json format per se doesn't
support object references (although an ietf draft exists), hence json.stringify() doesn't try to solve them and fails accordingly.
... examples circular references in a circular structure like the following var circularreference = {otherdata: 123}; circularreference.myself = circularreference; json.stringify() will fail json.stringify(circularreference); // typeerror: cyclic object value to serialize circular references you can use a library that
supports them (e.g.
Array.prototype.reduceRight() - JavaScript
syntax arr.reduceright(callback(accumulator, currentvalue[, index[, array]])[, initialvalue]) parameters callback function to execute on each value in the array, taking four arguments: accumulator the value previously returned in the last invocation of the callback, or initialvalue, if
supplied.
...if no initial value is
supplied, the last element in the array will be used and skipped.
...you can work around this by inserting the following code at the beginning of your scripts, allowing use of reduceright in implementations which do not natively
support it.
Array.from() - JavaScript
you can work around this by inserting the following code at the beginning of your scripts, allowing use of array.from() in implementations that don't natively
support it.
... in addition, since true iterables cannot be polyfilled, this implementation does not
support generic iterables as defined in the 6th edition of ecma-262.
...if thisarg was
supplied, let t be thisarg; else let t be undefined.
Array.prototype.map() - JavaScript
you can work around this by inserting the following code at the beginning of your scripts, allowing use of map in implementations which do not natively
support it.
...if thisarg was
supplied, let t be thisarg; else let t be undefined.
... // in browsers that
support object.defineproperty, use the following: // object.defineproperty(a, k, { // value: mappedvalue, // writable: true, // enumerable: true, // configurable: true // }); // for best browser
support, use the following: a[k] = mappedvalue; } // d.
BigInt - JavaScript
bitwise operators are
supported as well, except >>> (zero-fill right shift) as all bigints are signed.
... also un
supported is the unary operator (+), in order to not break asm.js.
... cryptography the operations
supported on bigints are not constant time.
Date.prototype.toLocaleDateString() - JavaScript
var date = new date(date.utc(2012, 11, 12, 3, 0, 0)); // tolocaledatestring() without arguments depends on the implementation, // the default locale, and the default time zone console.log(date.tolocaledatestring()); // → "12/11/2012" if run in en-us locale with time zone america/los_angeles checking for
support for locales and options arguments the locales and options arguments are not
supported in all browsers yet.
... to check whether an implementation
supports them already, you can use the requirement that illegal language tags are rejected with a rangeerror exception: function tolocaledatestring
supportslocales() { try { new date().tolocaledatestring('i'); } catch (e) { return e.name === 'rangeerror'; } return false; } using locales this example shows some of the variations in localized date formats.
...۳۰" // arabic in most arabic speaking countries uses real arabic digits console.log(date.tolocaledatestring('ar-eg')); // → "٢٠/١٢/٢٠١٢" // for japanese, applications may want to use the japanese calendar, // where 2012 was the year 24 of the heisei era console.log(date.tolocaledatestring('ja-jp-u-ca-japanese')); // → "24/12/20" // when requesting a language that may not be
supported, such as // balinese, include a fallback language, in this case indonesian console.log(date.tolocaledatestring(['ban', 'id'])); // → "20/12/2012" using options the results provided by tolocaledatestring() can be customized using the options argument: var date = new date(date.utc(2012, 11, 20, 3, 0, 0)); // request a weekday along with a long date var options = { weekday: 'long', year...
Date.prototype.toLocaleString() - JavaScript
let date = new date(date.utc(2012, 11, 12, 3, 0, 0)); // tolocalestring() without arguments depends on the // implementation, the default locale, and the default time zone console.log(date.tolocalestring()); // → "12/11/2012, 7:00:00 pm" if run in en-us locale with time zone america/los_angeles checking for
support for locales and options arguments the locales and options arguments are not
supported in all browsers yet.
... to check whether an implementation
supports them already, you can use the requirement that illegal language tags are rejected with a rangeerror exception: function tolocalestring
supportslocales() { try { new date().tolocalestring('i'); } catch (e) { return e instanceof rangeerror; } return false; } using locales this example shows some of the variations in localized date and time formats.
...in most arabic speaking countries uses real arabic digits console.log(date.tolocalestring('ar-eg')); // → "٢٠/١٢/٢٠١٢ ٥:٠٠:٠٠ ص" // for japanese, applications may want to use the japanese calendar, // where 2012 was the year 24 of the heisei era console.log(date.tolocalestring('ja-jp-u-ca-japanese')); // → "24/12/20 12:00:00" // when requesting a language that may not be
supported, such as // balinese, include a fallback language (in this case, indonesian) console.log(date.tolocalestring(['ban', 'id'])); // → "20/12/2012 11.00.00" using options the results provided by tolocalestring() can be customized using the options argument: let date = new date(date.utc(2012, 11, 20, 3, 0, 0)); // request a weekday along with a long date let options = { weekday: 'long', y...
Date.prototype.toLocaleTimeString() - JavaScript
var date = new date(date.utc(2012, 11, 12, 3, 0, 0)); // tolocaletimestring() without arguments depends on the implementation, // the default locale, and the default time zone console.log(date.tolocaletimestring()); // → "7:00:00 pm" if run in en-us locale with time zone america/los_angeles checking for
support for locales and options arguments the locales and options arguments are not
supported in all browsers yet.
... to check whether an implementation
supports them already, you can use the requirement that illegal language tags are rejected with a rangeerror exception: function tolocaletimestring
supportslocales() { try { new date().tolocaletimestring('i'); } catch (e) { return e.name === 'rangeerror'; } return false; } using locales this example shows some of the variations in localized time formats.
...sh uses 24-hour time without am/pm console.log(date.tolocaletimestring('en-gb')); // → "03:00:00" // korean uses 12-hour time with am/pm console.log(date.tolocaletimestring('ko-kr')); // → "오후 12:00:00" // arabic in most arabic speaking countries uses real arabic digits console.log(date.tolocaletimestring('ar-eg')); // → "٧:٠٠:٠٠ م" // when requesting a language that may not be
supported, such as // balinese, include a fallback language, in this case indonesian console.log(date.tolocaletimestring(['ban', 'id'])); // → "11.00.00" using options the results provided by tolocaletimestring() can be customized using the options argument: var date = new date(date.utc(2012, 11, 20, 3, 0, 0)); // an application may want to use utc and make that visible var options = { timezon...
Intl.Collator.prototype.resolvedOptions() - JavaScript
if any unicode extension values were requested in the input bcp 47 language tag that led to this locale, the key-value pairs that were requested and are
supported for this locale are included in locale.
... collation the value requested using the unicode extension key "co", if it is
supported for locale, or "default".
...if the implementation does not
support these properties, they are omitted.
Object.prototype.__proto__ - JavaScript
warning: while object.prototype.__proto__ is
supported today in most browsers, its existence and exact behavior has only been standardized in the ecmascript 2015 specification as a legacy feature to ensure compatibility for web browsers.
... for better
support, use object.getprototypeof() instead.
...only recently was the __proto__ property standardized by the ecmascript 2015 specification for compatibility with web browsers, so it will be
supported into the future.
Proxy - JavaScript
function extend(
sup, base) { var descriptor = object.getownpropertydescriptor( base.prototype, 'constructor' ); base.prototype = object.create(
sup.prototype); var handler = { construct: function(target, args) { var obj = object.create(base.prototype); this.apply(target, obj, args); return obj; }, apply: function(target, that, args) {
sup.apply(that, args); base.a...
...the object also
supports an extra property called latestbrowser both as a getter and a setter.
...get the "doccookies" object here: https://developer.mozilla.org/docs/dom/document.cookie#a_little_framework.3a_a_complete_cookies_reader.2fwriter_with_full_unicode_
support */ var doccookies = new proxy(doccookies, { get: function (otarget, skey) { return otarget[skey] || otarget.getitem(skey) || undefined; }, set: function (otarget, skey, vvalue) { if (skey in otarget) { return false; } return otarget.setitem(skey, vvalue); }, deleteproperty: function (otarget, skey) { if (skey in otarget) { return false; } return otarget.removeit...
RegExp.prototype[@@replace]() - JavaScript
a number of special replacement patterns are
supported; see the specifying a string as a parameter section in string.prototype.replace() page.
...the arguments
supplied to this function are described in the specifying a function as a parameter section in string.prototype.replace() page.
... class myregexp extends regexp { constructor(pattern, flags, count) {
super(pattern, flags); this.count = count; } [symbol.replace](str, replacement) { // perform @@replace |count| times.
Symbol - JavaScript
the symbol() function returns a value of type symbol, has static properties that expose several members of built-in objects, has static methods that expose the global symbol registry, and resembles a built-in object class, but is incomplete as a constructor because it does not
support the syntax "new symbol()".
... a symbol value may be used as an identifier for object properties; this is the data type's primary purpose, although other use-cases exist, such as enabling opaque data types, or serving as an implementation-
supported unique identifier in general.
...it is incomplete as a constructor because it does not
support the syntax "new symbol()".
WebAssembly.CompileError() constructor - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jscompileerror() constructorchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Instance() constructor - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsinstance() constructorchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Instance.prototype.exports - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsexportschrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.LinkError() constructor - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jslinkerror() constructorchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Memory.prototype.buffer - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsbufferchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Memory.prototype.grow() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsgrowchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Module() constructor - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsmodule() constructorchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Module.customSections() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jscustomsectionschrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Module.exports() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsexportschrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Module.imports() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsimportschrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.RuntimeError() constructor - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsruntimeerror() constructorchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Table() constructor - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jstable() constructorchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Table.prototype.get() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsgetchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Table.prototype.grow() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsgrowchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Table.prototype.length - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jslengthchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.Table.prototype.set() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jssetchrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.compile() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jscompilechrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.instantiate() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsinstantiatechrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
WebAssembly.validate() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsvalidatechrome full
support 57edge full
support 16firefox full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).ie no
support noopera full
suppor...
...t 44safari full
support 11webview android full
support 57chrome android full
support 57firefox android full
support 52notes full
support 52notes notes disabled in the firefox 52 extended
support release (esr).opera android full
support 43safari ios full
support 11samsung internet android full
support 7.0nodejs full
support 8.0.0legend ...
... full
support full
support no
support no
supportsee implementation notes.see implementation notes.
Object initializer - JavaScript
syntax let o = {} let o = {a: 'foo', b: 42, c: {}} let a = 'foo', b = 42, c = {} let o = {a: a, b: b, c: c} let o = { property: function (parameters) {}, get property() {}, set property(value) {} }; new notations in ecmascript 2015 please see the compatibility table for
support for these notations.
... in non-
supporting environments, these notations will lead to syntax errors.
... computed property names starting with ecmascript 2015, the object initializer syntax also
supports computed property names.
this - JavaScript
this feature wasn't implemented in some browsers when they first started to
support strict mode.
...calling
super() creates a this binding within the constructor and essentially has the effect of evaluating the following line of code, where base is the inherited class: this = new base(); warning: referring to this before calling
super() will throw an error.
... derived classes must not return before calling
super(), unless they return an object or have no constructor at all.
import - JavaScript
(static import only
supports static specifiers.) when the module being imported has side effects, and you do not want those side effects unless some condition is true.
... }); this form also
supports the await keyword.
...the import() function also
supports await.
JavaScript
javascript is a prototype-based, multi-paradigm, single-threaded, dynamic language,
supporting object-oriented, imperative, and declarative (e.g.
...as of 2012, all modern browsers fully
support ecmascript 5.1.
... older browsers
support at least ecmascript 3.
MathML attribute reference - MathML
movablelimits <mo> specifies whether attached under- and overscripts move to sub- and
superscript positions.
... subscriptshift <mmultiscripts>, <msub>, <msub
sup> the minimum space by which to shift the subscript below the baseline of the expression.
...
supscriptshift <mmultiscripts>, <m
sup>, <msub
sup> the minimum space by which to shift the
superscript above the baseline of the expression.
MathML element reference - MathML
the term presentation markup is used to describe the layout structure of mathematical notation whereas content markup provides the underlying mathematical meaning and is not
supposed to be rendered by the mathml parser (see bug 276028).
...ng literal) <mscarries> (annotations such as carries) <mscarry> (single carry, child element of <mscarries>) <msgroup> (grouped rows of <mstack> and <mlongdiv> elements) <msline> (horizontal lines inside <mstack> elements) <mspace> (space) <msqrt> (square root without an index) <msrow> (rows in <mstack> elements) <mstack> (stacked alignment) <mstyle> (style change) <msub> (subscript) <m
sup> (
superscript) <msub
sup> (subscript-
superscript pair) t <mtable> (table or matrix) <mtd> (cell in a table or a matrix) <mtext> (text) <mtr> (row in a table or a matrix) u <munder> (underscript) <munderover> (underscript-overscript pair) other elements <semantics> (container for semantic annotations) <annotation> (data annotations) <annotation-xml> (xml annotations) mathml...
... presentation elements by category top-level elements <math> token elements <mglyph> <mi> <mn> <mo> <ms> <mspace> <mtext> general layout <menclose> <merror> <mfenced> <mfrac> <mpadded> <mphantom> <mroot> <mrow> <msqrt> <mstyle> script and limit elements <mmultiscripts> <mover> <mprescripts> <msub> <msub
sup> <m
sup> <munder> <munderover> <none> tabular math <maligngroup> <malignmark> <mlabeledtr> <mtable> <mtd> <mtr> elementary math <mlongdiv> <mscarries> <mscarry> <msgroup> <msline> <msrow> <mstack> uncategorized elements <maction> semantic annotations <annotation> <annotation-xml> <semantics> ...
MathML documentation index - MathML
it has been removed from the latest mathml standard and modern browsers no longer
support it.
... 32 <msub
sup> mathml, mathml reference, mathml:element, mathml:script and limit schemata the mathml <msub
sup> element is used to attach both a subscript and a
superscript, together, to an expression.
... 33 <m
sup> mathml, mathml reference, mathml:element, mathml:script and limit schemata the mathml <m
sup> element is used to attach a
superscript to an expression.
Autoplay guide for media and Web Audio APIs - Web media technologies
e: the audio is muted or its volume is set to 0 the user has interacted with the site (by clicking, tapping, pressing keys, etc.) if the site has been whitelisted; this may happen either automatically if the browser determines that the user engages with media frequently, or manually through preferences or other user interface features if the autoplay feature policy is used to grant autoplay
support to an <iframe> and its document.
... note: it is strongly recommended that you use the autoplay attribute whenever possible, because
support for autoplay preferences are more widespread for the autoplay attribute than for other means of playing media automatically.
... media.autoplay.default an integer preference which specifies whether per-domain configuration for autoplay
support by default is allowed (0), blocked (1), or prompt-on-use (2).
Web media technologies
guides overview of media technology on the web a general look at the open web technologies and apis that provide
support for audio and video playback, manipulation, and recording.
...this includes recommendations for what formats to use for what kinds of content, best practices including how to provide fallbacks and how to prioritize media types, and also includes general browser
support information for each media container and codec.
... webxr webxr, which has replaced the now-obsolete webvr api, is a technology that provides
support for creating virtual reality (vr) and augmented reality (ar) content.
Using dns-prefetch - Web Performance
the logic behind pairing these hints is because
support for dns-prefetch is better than
support for preconnect.
... browsers that don’t
support preconnect will still get some added benefit by falling back to dns-prefetch.
...if a non-
supporting browser encounters a dns-prefetch hint—or any other resource hint—your site won’t break.
How to make PWAs installable - Progressive web apps (PWAs)
previous overview: progressive next in the last article, we read about how the example application, js13kpwa, works offline thanks to its service worker, but we can go even further and allow users to install the web app on mobile and desktop browers that
support doing so.
... when the user visits the pwa with a
supporting mobile browser, it should display a notification (such as a banner or dialog box) indicating that it's possible to install the app as a pwa.
...browser
support is currently limited to firefox for android 58+, mobile chrome and android webview 31+, and opera for android 32+, but this should improve in the near future.
Making PWAs work offline with Service workers - Progressive web apps (PWAs)
if you want to experiment first before pushing your code to production, you can always test on a localhost or setup github pages — both
support https.
... "progressive" in pwa when implemented properly as a progressive enhancement, service workers can benefit users who have modern browsers that
support the api by providing offline
support, but won't break anything for those using legacy browsers.
... registering the service worker we'll start by looking at the code that registers a new service worker, in the app.js file: note : we're using the es6 arrow functions syntax in the service worker implementation if('serviceworker' in navigator) { navigator.serviceworker.register('./pwa-examples/js13kpwa/sw.js'); }; if the service worker api is
supported in the browser, it is registered against the site using the serviceworkercontainer.register() method.
Structural overview of progressive web apps - Progressive web apps (PWAs)
in addition to the basic shell, you can add other features such as add to home screen or push notifications, safe in the knowledge that the app will still work ok if they are not
supported by the user's browser — this is the beauty of progressive enhancement.
... progressive: start with the "good, old basic website” and progressively add new features while remembering to detect if they are available in the browser and gracefully handle any errors that crop up if
support is not available.
... in theory, streaming is a better model than the app shell model, but it's also more complex, and the streams api isn't yet fully
supported by any of the major browsers.
baseline-shift - SVG: Scalable Vector Graphics
the shifted object might be a sub- or
superscript.
... as a presentation attribute, it can be applied to any element but it has effect only on the following four elements: <altglyph>, <textpath>, <tref>, and <tspan> usage notes value <length-percentage> | sub |
super default value 0 animatable yes sub the dominant-baseline is shifted to the default position for subscripts.
...
super the dominant-baseline is shifted to the default position for
superscripts.
transform - SVG: Scalable Vector Graphics
also, as a legacy from svg 1.1, <lineargradient> and <radialgradient>
support the gradienttransform attribute, and <pattern>
supports the patterntransform attribute, both of which act exactly like the transform attribute.
...if optional parameters x and y are not
supplied, the rotation is about the origin of the current user coordinate system.
... if optional parameters x and y are
supplied, the rotation is about the point (x, y).
SVG and CSS - SVG: Scalable Vector Graphics
75; --segment-fill-fill: azure; --segment-fill-stroke: lightsteelblue; --segment-fill-stroke-width: 1; --segment-edge-fill: none; --segment-edge-stroke: deepskyblue; --segment-edge-stroke-width: 3; --segment-fill-fill-hover: plum; --segment-fill-stroke-hover: none; --segment-edge-stroke-hover: slateblue; } /* non-standard way of styling elements referenced via <use> elements,
supported by some older browsers */ #outer-petals .segment-fill { fill: azure; stroke: lightsteelblue; stroke-width: 1; } #outer-petals .segment-edge { fill: none; stroke: deepskyblue; stroke-width: 3; } #outer-petals .segment:hover > .segment-fill { fill: plum; stroke: none; } #outer-petals .segment:hover > .segment-edge { stroke: slateblue; } /* inner petals */ #inner-petals {...
... --segment-fill-fill: yellow; --segment-fill-stroke: yellow; --segment-fill-stroke-width: 1; --segment-edge-fill: none; --segment-edge-stroke: yellowgreen; --segment-edge-stroke-width: 9; --segment-fill-fill-hover: darkseagreen; --segment-fill-stroke-hover: none; --segment-edge-stroke-hover: green; } /* non-standard way of styling elements referenced via <use> elements,
supported by some older browsers */ #inner-petals .segment-fill { fill: yellow; stroke: yellow; stroke-width: 1; } #inner-petals .segment-edge { fill: none; stroke: yellowgreen; stroke-width: 9; } #inner-petals .segment:hover > .segment-fill { fill: darkseagreen; stroke: none; } #inner-petals .segment:hover > .segment-edge { stroke: green; } open the document in your svg-enabled brow...
...this behavior is standardized, though only a few browsers
support the :hover pseudo-class and other more complex css selectors on elements referenced via <use> elements, at the moment.
Using shadow DOM - Web Components
note: shadow dom is
supported by default in firefox (63 and onwards), chrome, opera, and safari.
... the new chromium-based edge (75 and onwards)
supports it too; the old edge didn't.
...to begin with, in our javascript file we define a class called popupinfo, which extends htmlelement: class popupinfo extends htmlelement { constructor() { // always call
super first in constructor
super(); // write element functionality in here ...
XSLT elements reference - XSLT: Extensible Stylesheet Language Transformations
aluated is placed inside curly brackets: <img src="{$image-dir}/mygraphic.jpg"/> this would result in the following: <img src="/images/mygraphic.jpg"/> the element annotations that follow include a description, a syntax listing, a list of required and optional attributes, a description of type and position, its source in the w3c recommendation and an explanation of the degree of present gecko
support.
...:preserve-space><xsl:processing-instruction><xsl:sort><xsl:strip-space><xsl:stylesheet><xsl:template><xsl:text><xsl:transform><xsl:value-of><xsl:variable><xsl:when><xsl:with-param> <xsl:apply-imports> <xsl:apply-templates> <xsl:attribute> <xsl:attribute-set> <xsl:call-template> <xsl:choose> <xsl:comment> <xsl:copy> <xsl:copy-of> <xsl:decimal-format> <xsl:element> <xsl:fallback> (not
supported) <xsl:for-each> <xsl:if> <xsl:import> (mostly
supported) <xsl:include> <xsl:key> <xsl:message> <xsl:namespace-alias> (not
supported) <xsl:number> (partially
supported) <xsl:otherwise> <xsl:output> (partially
supported) <xsl:param> <xsl:preserve-space> <xsl:processing-instruction> <xsl:sort> <xsl:strip-space> <xsl:stylesheet> (partially
supported) <xsl:template> <xsl:text> ...
...(partially
supported) <xsl:transform> <xsl:value-of> (partially
supported) <xsl:variable> <xsl:when> <xsl:with-param> ...
Caching compiled WebAssembly modules - WebAssembly
warning: experimental webassembly.module indexeddb serialization
support is being removed from browsers; see bug 1469395 and this spec issue.
... browser
support at the moment, this technique will work in firefox and edge, as they both have
support for structured cloning of webassembly modules.
... chrome has
support implemented behind the webassembly structured cloning
support flag, but is yet to turn it on by default because of some concerns (see this discussion, for example).
Navigator - Archive of obsolete content
navigator.moznotificationprovides
support for creating notification objects, which are used to display desktop notification alerts to the user.
... currently, these are only
supported on firefox mobile and firefox os.
Communicating With Other Scripts - Archive of obsolete content
messaging from content script to page script
suppose we have a page called "listen.html" hosted at "my-domain.org", and we want to send messages from the add-on to a script embedded in that page.
... in this example, "main.js" creates a page-mod to target the page we are interested in: var data = require("sdk/self").data; var pagemod = require("sdk/page-mod"); pagemod.pagemod({ include: "http://my-domain.org/talk.html", contentscriptfile: data.url("listen.js") }); the web page "talk.html" creates and dispatches a custom dom event, using initcustomevent()'s detail parameter to
supply the payload: <!doctype html> <html> <head></head> <body> <script> function sendmessage() { var event = document.createevent('customevent'); event.initcustomevent("addon-message", true, true, { hello: 'world' }); document.documentelement.dispatchevent(event); } </script> <button onclick="sendmessage()">send message</button> </body> </html> ...
Cross-domain Content Scripts - Archive of obsolete content
the "main.js": creates a panel whose content is
supplied by "panel.html" and adds a content script "panel-script.js" to it sends the panel a "show" message when it is shown adds a button which shows the panel when it is clicked // main.js var data = require("sdk/self").data; var forecast_panel = require("sdk/panel").panel({ height: 50, contenturl: data.url("panel.html"), contentscriptfile: data.url("panel-script.js") }); forecast_panel...
...
suppose your content script includes a line like: // content-script.js: unsafewindow.mycustomapi = function () {}; if you have included the "cross-domain-content" key, when the page script tries to access mycustomapi this will result in a "permission denied" exception.
Loading Content Scripts - Archive of obsolete content
to
supply the file "my-content-script.js", located in the /data subdirectory under your add-on's root directory, use a line like: // "data" is
supplied by the "self" module var data = require("sdk/self").data; ...
... contentscriptfile: data.url("my-content-script.js") both contentscript and contentscriptfile accept an array of strings, so you can load multiple scripts, which can also interact directly with each other in the content process: // "data" is
supplied by the "self" module var data = require("sdk/self").data; ...
Communicating using "port" - Archive of obsolete content
so page-mod does not integrate the worker api directly: instead, each time a content script is attached to a page, the worker associated with the page is
supplied to the page-mod in its onattach function.
... by
supplying a target for this function in the page-mod's constructor you can register to receive messages from the content script, and take a reference to the worker so as to emit messages to the content script.
Content Scripts - Archive of obsolete content
this add-on
supplies a url pointing to the file "content-script.js", located in the data subdirectory under the add-on's root directory: // main.js var data = require("sdk/self").data; var pagemod = require("sdk/page-mod"); pagemod.pagemod({ include: "*.mozilla.org", contentscriptfile: data.url("content-script.js") }); // content-script.js document.body.innerhtml = "<h1>page matches ruleset</h1>"; fro...
...by
supplying a listener to attach you can access the port object for content scripts attached to that page by this page-mod: // main.js var pagemods = require("sdk/page-mod"); var self = require("sdk/self"); var pagemod = pagemods.pagemod({ include: ['*'], contentscriptfile: self.data.url("content-script.js"), onattach: startlistening }); function startlistening(worker) { worker.port.on('cli...
notifications - Archive of obsolete content
usage this api
supports desktop notifications on windows, os x using growl (and notification center as of os x 10.9 mavericks), and linux using libnotify.
...if the user's system does not
support desktop notifications or if its notifications service is not running: if firefox was started normally, notifications are logged to firefox's error console if the user launched firefox from the command line, notifications are logged to the terminal.
page-worker - Archive of obsolete content
at least one match pattern must be
supplied.
... page a page object loads the page specified by its contenturl option and executes any content scripts that have been
supplied to it in the contentscript and contentscriptfile options.
tabs - Archive of obsolete content
to learn more about private windows, how to opt into private browsing, and how to
support private browsing, refer to the documentation for the private-browsing module.
...if your add-on does not
support private browsing this will have no effect.
windows - Archive of obsolete content
to learn more about private windows, how to opt into private browsing, and how to
support private browsing, refer to the documentation for the private-browsing module.
...if your add-on does not
support private browsing this will have no effect.
ui/button/action - Archive of obsolete content
so you can
supply three icon files: icon: { "16": "./addon16.png", "32": "./addon32.png", "64": "./addon64.png" } this will look fine in both toolbar and menu panel, and for both screen resolutions.
... however, the icons in the toolbar will not quite fill the space available, so you can instead
supply four icons: icon: { "18": "./addon18.png", // toolbar icon non hidpi "32": "./addon32.png", // menu panel icon non hidpi "36": "./addon36.png", // toolbar icon hidpi "64": "./addon64.png" // menu panel icon hidpi } optional options: name type disabled boolean determines whether the button is disabled.
window/utils - Archive of obsolete content
to learn more about private windows, how to opt into private browsing, and how to
support private browsing, refer to the documentation for the private-browsing module.
...this is the same as open, but you can
supply more features.
Getting Started (jpm) - Archive of obsolete content
navigate to it, type jpm init, and hit enter: mkdir my-addon cd my-addon jpm init you'll then be asked to
supply some information about your add-on: this will be used to create your add-on's package.json file.
... once you've
supplied a value or accepted the default for these properties, you'll be shown the complete contents of "package.json" and asked to accept it.
Drag & Drop - Archive of obsolete content
next, setup the handlers so that files can be dropped on the application: function _dragover(aevent) { var dragservice = components.classes["@mozilla.org/widget/dragservice;1"].getservice(components.interfaces.nsidragservice); var dragsession = dragservice.getcurrentsession(); var
supported = dragsession.isdataflavor
supported("text/x-moz-url"); if (!
supported)
supported = dragsession.isdataflavor
supported("application/x-moz-file"); if (
supported) dragsession.candrop = true; } function _dragdrop(aevent) { var dragservice = components.classes["@mozilla.org/widget/dragservice;1"].getservice(components.interfaces.nsidragservice); var dragsession =...
...ddataflavor("text/x-moz-url"); trans.adddataflavor("application/x-moz-file"); for (var i=0; i<dragsession.numdropitems; i++) { var uri = null; dragsession.getdata(trans, i); var flavor = {}, data = {}, length = {}; trans.getanytransferdata(flavor, data, length); if (data) { try { var str = data.value.queryinterface(components.interfaces.nsi
supportsstring); } catch(ex) { } if (str) { uri = _ios.newuri(str.data.split("\n")[0], null, null); } else { var file = data.value.queryinterface(components.interfaces.nsifile); if (file) uri = _ios.newfileuri(file); } } if (uri) uris.push(uri); } // use the array of file u...
Examples and demos from articles - Archive of obsolete content
[article] note: the filereader() constructor was not
supported by internet explorer for versions before 10.
...[article] code snippets and tutorials javascript complete cookies reader/writer with full unicode
support this little framework consists of a complete cookies reader/writer with unicode
support.
JS XPCOM - Archive of obsolete content
every xpcom object must implement the nsi
supports interface.
... determining which interfaces an xpcom component
supports to display a list of all interfaces that an xpcom component
supports, do the following: // |c| is the xpcom component instance for each (i in components.interfaces) { if (c instanceof i) { alert(i); } } in this context, instanceof is the same as queryinterface except that it returns false instead of throwing an exception when |c| doesn't
support interface |i|.
LookupPrefix - Archive of obsolete content
note that all gecko-based browsers (including firefox)
support node.lookupprefix.
...ginalelement.prefix) === namespaceuri) { return originalelement.prefix; } if (originalelement.attributes && originalelement.attributes.length) { for (var i=0; i < originalelement.attributes.length; i++) { var att = originalelement.attributes[i]; xmlnspattern.lastindex = 0; var localname = att.localname || att.name.substr(att.name.indexof(':')+1); // latter test for ie which doesn't
support localname if (localname.indexof(':') !== -1) { // for firefox when in html mode localname = localname.substr(att.name.indexof(':')+1); } if ( xmlnspattern.test(att.name) && att.value === namespaceuri && lookupnamespaceuri(originalelement, localname) === namespaceuri ) { return localname; } } } if (originalelement.parentnode) { // entityreferences may h...
Progress Listeners - Archive of obsolete content
example create an object which implements nsiwebprogresslistener: const state_start = ci.nsiwebprogresslistener.state_start; const state_stop = ci.nsiwebprogresslistener.state_stop; var mylistener = { queryinterface: xpcomutils.generateqi(["nsiwebprogresslistener", "nsi
supportsweakreference"]), onstatechange: function(awebprogress, arequest, aflag, astatus) { // if you use mylistener for more than one tab/window, use // awebprogress.domwindow to obtain the tab/window which triggers the state change if (aflag & state_start) { // this fires when the load event is initiated } if (aflag & state_stop) { ...
... alert(auri.spec); this.oldurl = auri.spec; }, // nsiwebprogresslistener queryinterface: xpcomutils.generateqi(["nsiwebprogresslistener", "nsi
supportsweakreference"]), onlocationchange: function(aprogress, arequest, auri) { this.processnewurl(auri); }, onstatechange: function() {}, onprogresschange: function() {}, onstatuschange: function() {}, onsecuritychange: function() {} }; window.addeventlistener("load", function() { myextension.init() }, false); window.addeventlistener("unload", function() { myexte...
QuerySelector - Archive of obsolete content
// if you'd like to convert it to a array for convenience, use this instead: // return array.prototype.slice.call(el.queryselectorall(selector)); } alert($('#myid').id); (note that while using the firefox web console, the above functions are available automatically.) both xul and even xml can be easily made
supportable (an alternative approach to the following would be to add chromewindow.prototype or window.prototype, accessing this.document.queryselector, or following the jquery style of chaining by returning 'this' within each prototype method of $()): htmldocument.prototype.$ = function (selector) { // only for html return this.queryselector(selector); }; example: <h1>test!</h1> <script> htmld...
...however, it will work with attribute selectors that target non-prefixed attributes (such as 'id', but not xml:id: http://www.w3.org/tr/selectors-api/#resolving) (even though css3 does
support namespaced attribute selectors: http://www.w3.org/tr/css3-selectors/#attrnmsp and potentially xml:id as #: http://www.w3.org/tr/css3-selectors/#id-selectors ).
getAttributeNS - Archive of obsolete content
as some browsers do not
support getattributens, the following might be used to work on them as well.
... note that all gecko-based browsers (including firefox)
support dom:element.getattributens.
Migrating raw components to add-ons - Archive of obsolete content
the firefox extension mechanism allows you to do everything that you could do through direct component drops, but also gives you and your users extra flexibility and more sophisticated versioning
support.
...if this is the only reason you are using a binary component instead of javascript, take a look at the new javascript c-types
support introduced in firefox 3.6.
MozOrientation - Archive of obsolete content
warning: this experimental api was removed in gecko 6.0 (firefox 6.0 / thunderbird 6.0 / seamonkey 2.3), when
support for the standard deviceorientationevent was implemented.
... in firefox versions 3.6, 4, and 5 gecko utilized mozorientation which was also built to
support orientation data but with different apis from the specified deviceorientationevent.
JXON - Archive of obsolete content
it is
supported in firefox & chrome (v8) and partially
supported in opera 9+ and safari.
... it is not
supported in internet explorer 6-9, or in the preview of internet explorer 10.
Working with BFCache - Archive of obsolete content
q: when a user clicks a link that replaces the view in the current tab with a new page, what is the fate of the nsidomwindow
supporting the view they click on?
...q: hmm, so what event tells me “you'll never get a pageshow so you can drop the megabytes of info you've saved in firebug side table for that page?” a: an observer notification with the topic "inner-window-destroyed" whose subject is an nsi
supportspruint64 containing the window id of the inner window being destroyed.
Blackwood - Archive of obsolete content
blackwood's mission is to put java
support in mozilla on a par with javascript
support.
... active subprojects webclient java dom api java pluglet api defunct subprojects blackconnect -- blackconnect was
superseeded by javaxpcom ...
Creating a Microsummary - Archive of obsolete content
warning: microsummary
support was removed in gecko 6.0 (firefox 6.0 / thunderbird 6.0 / seamonkey 2.3) a microsummary generator is a set of instructions for creating a microsummary from the content of a page.
...nstall it from http://people.mozilla.com/~myk/micro...ial/index.html, we might add the following code to the index.html page: <button onclick="window.sidebar.addmicrosummarygenerator('http://people.mozilla.com/~myk/microsummaries/tutorial/sfx-generator.xml')">install the spread firefox home page microsummary!</button> clicking that button will generate a javascript error on browsers that don't
support microsummaries, however, so to improve the experience for those users, we should check to see if the user is using a microsummaries-enabled browser and display an explanatory message if not.
Drag and Drop - Archive of obsolete content
xpcom drag and drop interfaces two interfaces are used to
support drag and drop.
... isdataflavor
supported(flavor) returns true if the data being dragged contains data of the specified flavor.
CRMF Request object - Archive of obsolete content
though some browsers may still
support it, it is in the process of being dropped.
... warning: the features mentioned in this article are deleted proprietary mozilla extensions, and are not
supported in any other browser.
importUserCertificates - Archive of obsolete content
though some browsers may still
support it, it is in the process of being dropped.
... warning: the features mentioned in this article are deleted proprietary mozilla extensions, and are not
supported in any other browser.
popChallengeResponse - Archive of obsolete content
though some browsers may still
support it, it is in the process of being dropped.
... warning: the features mentioned in this article are deleted proprietary mozilla extensions, and are not
supported in any other browser.
Java in Firefox Extensions - Archive of obsolete content
liveconnect gives your extension's javascript code (linked from or contained in xul code) access to 2 objects: java and packages (note that per this thread, although the new documentation for the liveconnect reimplementation states that these globals will be deprecated (in the context of applets), "firefox and the java plug-in will continue to
support the global java/packages keywords, in particular in the context of firefox extensions.").
... reflect.array.newinstance(java.lang.object, 2); // 2nd argument should indicate the number of items in the following array var mydir = new java.io.file(dirurl); // a file url arglist[0] = mydir; var envconfig = envconfigclass.newinstance(); arglist[1] = envconfig; // call our constructor with our arguments var env = constructor.newinstance(arglist); be aware that liveconnect, while now actively
supported by sun has only recently been reimplemented for use in mozilla, so there may still be some bugs (though many prior liveconnect bugs, such as try-catch not catching java exceptions, the failure of auto-converting javascript arrays properly, etc., have now been fixed).
Menu - Archive of obsolete content
note that some environments, notably gnome 2.28, do not
support menuitem icons either by default or at all.
... type string currently only "separator" is
supported.
Monitoring downloads - Archive of obsolete content
by matching on both // source uri and start time, we
support logging multiple downloads of // the same file.
...by looking for a record with both the same uri and start time, we properly
support the case where the user downloads the same file multiple times.
HostWindow - Archive of obsolete content
note: the sidebar is currently not
supported.
... we are considering whether to
support a sidebar in future versions of prism and welcome input on this subject.
Prism - Archive of obsolete content
basic desktop integration:
support of desktop features can make using the app more natural and convenient for end users.
...prism
supports a simple styling system that allows the user to add css files to the webapp bundle.
Proxy UI - Archive of obsolete content
camino configured in os (networking preferences) (recently added - some
support for reading os and account settings.)ui elements preferences panel overview the ui is based on selecting a proxy mode, then filling out any additional needed information in "related" ui.
...automatic proxy configuration url
supports a url (which is checked via urifixup) and a reload button.
Space Manager Detailed Design - Archive of obsolete content
the primary goal of the space manager is to provide information about those bands of space to
support the css notion of floated elements.
... nsspacemanager(nsipresshell* apresshell, nsiframe* aframe); ~nsspacemanager(); operators 'new' and 'delete' are overridden to
support a recycler.
Table Layout Regression Tests - Archive of obsolete content
while the information on the layout debugger is still useful, the testing information is much less relevant now than it has been, as the "rtest" testing framework described here has been
superseded by the reftest framework.
...i would like to thank chris karnaze for his guidance and fantasai for her language
support.
Tamarin - Archive of obsolete content
it currently implements adobe actionscript™ 3 (a
superset of ecmascript edition 3) and is embedded within the adobe® flash® player versions 9 and later.
... documentation adobe actionscript virtual machine 2 (avm2) overview (pdf, 400k) the instructions, architecture, and file format
supported by the avm2.
Venkman Introduction - Archive of obsolete content
the input area
supports command history and tab-completion for command names.
... debugging extensions although at first glance it might seem that venkman cannot debug extensions, doing so is in fact fully
supported; it's just disabled by default.
Binding Implementations - Archive of obsolete content
properties also
support a shorthand syntax for defining getters and setters that forward requests or assignments to an anonymous content element.
... inheritance of implementations when two bindings in an inheritance chain both
supply implementations, the derived binding's implementation inherits from the base binding's implementation.
writeString - Archive of obsolete content
to delete an existing value,
supply null as the value parameter.
... unlike the writeprivateprofilestring function, this method does not
support using a null key to delete an entire section.
Working With Directories - Archive of obsolete content
there are alternative xpcom apis you can use, your help in updating this pages to use the
supported api is very much welcome!
...you can access a subdirectory by
supplying a directory name as the second argument, or refer to one of the special directories by
supplying a null string for the second argument.
Reading from Files - Archive of obsolete content
there are alternative xpcom apis you can use, your help in updating this pages to use the
supported api is very much welcome!
...for a list of
supported character encodings, see
supported character sets.
Uploading and Downloading Files - Archive of obsolete content
there are alternative xpcom apis you can use, your help in updating this pages to use the
supported api is very much welcome!
...this is simpler but it doesn't allow sending additional data and web servers usually need special configuration to
support put operations.
Moving, Copying and Deleting Files - Archive of obsolete content
there are alternative xpcom apis you can use, your help in updating this pages to use the
supported api is very much welcome!
... var file = io.newfile("desktop", "myimage.png"); file.copyto(null, "anotherimage.png"); here, a file is copied within the same directory as the
supplied destination is null.
openPopup - Archive of obsolete content
to anchor a popup to a node,
supply an anchor node and set the position to a string indicating the manner in which the popup should be anchored.
...unanchored popups may be created by
supplying null as the anchor node.
Menus - Archive of obsolete content
toolbarbutton toolbar buttons can also
support menus.
... menuitems also
support displaying shortcuts associated with the menuitem, as well as icons beside the label.
OpenClose - Archive of obsolete content
finally, the last argument to the openpopup method, attributesoverride indicates whether attributes placed on the popup element itself override the arguments
supplied.
...in the following example, the popup is opened at horizontal positon 100 and vertical position 200: popup.openpopupatscreen(100, 200, false); note that if the
supplied coordinates would cause the popup to be partially or completely off screen, the popup will be moved such that it is fully visible, and may be resized if necessary.
Panels - Archive of obsolete content
a panel is a popup which can
support any type of content.
... it is used when
supporting temporary popup displays for selecting or entering data.
Positioning - Archive of obsolete content
when both are used, the value
supplied to openpopup overrides the attribute.
... however, if the attributesoverride argument to openpopup (the last argument, false in the example above) was true, the attribute would override the value
supplied to openpopup.
RDF Modifications - Archive of obsolete content
however, as it is possible to use and/or implement other query types with templates, these additional types may
support automatic updating.
...effectively, if the result generation process was to evaluate this member statement, the same output would be
supplied for the ?photo variable whether the new data is there or not.
textbox (Toolkit autocomplete) - Archive of obsolete content
autocomplete a textbox that
supports autocomplete.
..., focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata getsearchat( index ) return type: string returns the search component with the given index.
Tree Widget Changes - Archive of obsolete content
(do not set id of the column to be 'checked' it will cause problems with the css) treechildren::-moz-tree-checkbox(checked) { /* css for checked cells */ list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif"); } in addition, checkmark columns
support editing: <tree editable="true"> <treecols> <treecol type="checkbox" editable="true"> ...
... currently, only checkbox columns
support editing, although the content-based tree handles the nsitreeview.setcellvalue() and nsitreeview.setcelltext() functions to change the tree content with a script for other types of cells.
Adding Labels and Images - Archive of obsolete content
the control attribute is only
supported for labels.
...the example below shows this: <image src="images/banner.jpg"/> although you can use this syntax, it would be better in order to
support different themes to use a style sheet to set the image url.
Creating Dialogs - Archive of obsolete content
this is a convenient way to
supply default values to the fields in the dialog.
...you do not need to include the xul for each button; however, you do need to
supply code to perform the appropriate tasks when the user presses each button.
Custom Tree Views - Archive of obsolete content
the rows are
supplied as numeric values starting at 0.
...in the older versions of mozilla (before firefox 1.5 or mozilla 1.8), the columns are
supplied as the values of the id attribute on the columns.
Tree View Details - Archive of obsolete content
this tree will only
support a single parent level with an inner child level, but it could be extended to
support additional levels without too much effort.
...when deleting rows, you will need to
supply a negative count of the number of rows to delete.
Using Spacers - Archive of obsolete content
if adding
support for multiple languages, the text for one language may require more room than another.
... applications that need to
support multiple platforms and languages usually have their windows laid out with lots of space to allow for this.
button - Archive of obsolete content
panel elements are popups that
support any type of content.
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsiaccessibleprovider, nsidomxulbuttonelement ...
dialog - Archive of obsolete content
if it is set to true any changes to settings are
supposed to be applied immediately.
..., focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata acceptdialog() return type: no return value accepts the dialog and closes it, similar ...
editor - Archive of obsolete content
the editor does not provide any editing user interface; you would
supply that yourself.
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsiaccessibleprovider ...
grid - Archive of obsolete content
"/> <grid> <columns> <column flex="1"/> <column flex="2"/> </columns> <rows> <row> <label value="user name"/> <textbox id="user"/> </row> <row> <label value="group"/> <menulist> <menupopup> <menuitem label="accounts"/> <menuitem label="sales" selected="true"/> <menuitem label="
support"/> </menupopup> </menulist> </row> </rows> </grid> </groupbox> attributes inherited from xul element align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, me...
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements columns, column, rows, row.
iframe - Archive of obsolete content
currently, xul iframes running in remote processes are not
supported.
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related nsiaccessibleprovider ...
key - Archive of obsolete content
os: windows logo key on windows,
super or hyper key on linux.
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata details on key, keycode, and modifiers attributes for example, consider the following key: <ke...
richlistitem - Archive of obsolete content
does not
support setting label values.
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsiaccessibleprovider, nsidomxulselectcontrolitemelement ...
stringbundle - Archive of obsolete content
methods getformattedstring( key, strarray ) return type: string looks up the format string for the given key name in the string bundle and returns a formatted copy where each occurrence of %s (uppercase) is replaced by each successive element in the
supplied array.
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related xul property files ...
tabbrowser - Archive of obsolete content
, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata addprogresslistener( listener ) return type: no return value add a progress...
...if the event argument is
supplied, the default event handling will be prevented and propagation stopped.
toolbar - Archive of obsolete content
note: gecko 2.0 adds
support for external toolbars.
...attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes chromeclass-toolbar when this class is used, the toolbar will be hid...
wizard - Archive of obsolete content
, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata « xul reference home advance( pageid ) return type: no return value call this method...
...
supply null as the argument to go to the next page in the sequence.
Building XULRunner - Archive of obsolete content
by default, xulrunner is built with javaxpcom
support; the build system must be able to find an appropriate jdk on the system; see the instructions on building javaxpcom for more details.
... if you do not want to build javaxpcom
support, specify --disable-javaxpcom in your configuration.
Using LDAP XPCOM with XULRunner - Archive of obsolete content
by default, xulrunner is built without ldap xpcom
support.
... if you want to use ldap components in your xul application, you have two options : compile xulrunner with ldap
support enabled, or add ldap xpcom directly to your xul app (in the components directory).
XUL Explorer - Archive of obsolete content
support attribute value checking where appropriate (boolean and enumerated values) - xul checker
support “best practice” checks such as: using of commands and keys, strings in dtds and so on - xul checker multi-tabbed editor
support
support wizards to generate common projects - extensions
support extension testing using firefox extension test mode venkman
support dom inspector
support fut...
...ure:
support more “best practice” checks such as: more a11y checks, strings in dtds and so on - xul checker allow users to add snippets on the fly add sidebars for more functionality - property sidebar and project sidebar
support wizards to generate common projects - xul files, js xpcom, and xulrunner applications for more detailed information, see the xul_explorer:planning#feature_planning_for_xul_explorer.
calICalendarViewController - Archive of obsolete content
interface code [scriptable, uuid(1f783898-f4c2-4b2d-972e-360e0de38237)] interface calicalendarviewcontroller : nsi
supports { void createnewevent (in calicalendar acalendar, in calidatetime astarttime, in calidatetime aendtime); void modifyoccurrence (in caliitemoccurrence aoccurrence, in calidatetime anewstarttime, in calidatetime anewendtime); void deleteoccurrence (in caliitemoccurrence aoccurrence); }; methods createnewevent void createnewevent (in calicalend...
... related interfaces calicalendarview calidecoratedview example code var myviewcontroller = { queryinterface: function(aiid) { if (!aiid.equals(components.interfaces.calicalendarviewcontroller) && !aiid.equals(components.interfaces.nsi
supports)) { throw components.results.ns_error_no_interface; } return this; }, createnewevent: function (acalendar, astarttime, aendtime) { // if we're given both times, skip the dialog if (astarttime && aendtime && !astarttime.isdate && !aendtime.isdate) { var event = createevent(); event.startdate = astarttime; ...
calIFileType - Archive of obsolete content
califiletype is used in caliimporter and caliexporter to determine which file types are
supported for import/export.
...defined in calendar/base/public/caliimportexport.idl interface code [scriptable, uuid(efef8333-e995-4f45-bdf7-bfcabbd9793e)] interface califiletype : nsi
supports { readonly attribute astring defaultextension; readonly attribute astring extensionfilter; readonly attribute astring description; }; attributes defaultextension the default extension that should be associated with files of this type.
Mozilla release FAQ - Archive of obsolete content
mozilla has (at least) the following new features: xml
support a highly configurable appearance (courtesy of xul) publicly available source code :) http compression exists on more platforms mathml
support (somewhat limited at the moment) a significantly faster rendering engine better html
support (css 1 and partial css 2, dom 1 and partial dom 2) plug-in jvm
support tabbed browsing message filtering an irc client why is the animate...
...i would suggest that before you devote much time and effort to your port, you consider: how many users the os has that are likely to use mozilla does the os
support multitasking well enough for mozilla does the os have a sufficiently evolved gui for mozilla to work does the os have sufficient networking
support for mozilla is the os typically run on systems that have the resources to run mozilla does gcc or some other easily available compiler exist for the target platform if many of these answers are no, then there will be large issues that wil...
2006-11-22 - Archive of obsolete content
he expressed his gratitude and thanks everyone for being
supportive during and after the summit.
... idispatch
support for jaws scripting needed aaron leventhal stated that currently there is no idispatch
support for iaccessible's in mozilla.
2006-09-22 - Archive of obsolete content
summary: mozilla.dev.i18n - feb 2nd - sep 22nd, 2006 announcements testing a dummy greek bon echo nsis installer bug #69230: accelerators should not be affected by keyboard group/level proposal of code changes for l10n in firefox 3 discussions thai language
support: how can we add thai as an official localized build?
... thai issue for 2.0 timeframe arabic
support & uniscribe: details nstextframe: re-design and impact on i18n native unicode converter editing and selection: should editing and selection operate on grapheme clusters?
2006-12-01 - Archive of obsolete content
it
supports a apache2 module and stand alone version.
...he states that javascript is powerful server-side scripting but it lacks in popularity since its only
supported by netscape, lacks a wide range of libraries, minimal marketing
support.
NPN_SetValueForURL - Archive of obsolete content
(while the api theoretically allows the preferred proxy for a given url to be changed, doing so does not have much meaning given how proxies are configured, and is not
supported.) syntax #include <npapi.h> typedef enum { npnurlvcookie = 501, npnurlvproxy } npnurlvariable; nperror npn_setvalueforurl(npp instance, npnurlvariable variable, const char *url, const char *value, uint32_t len); parameters this function has the following parameters: instance pointer to the current plug-in instance.
...the only
supported type is npnurlvcookie.
Shipping a plugin as a Toolkit bundle - Archive of obsolete content
as of firefox 3 (and any gecko 1.9 based application) the use of install.js scripts is no longer
supported and plugins must either be shipped as an executable installer or in a bundle as described here.
...gecko 2.0 (firefox 4) and later gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) removed
support for platform-specific subdirectories.
Plugins - Archive of obsolete content
important: since firefox 52, all plugin
support except flash has been dropped (see plug-in
support has been dropped other than flash for more details).
...
supporting private browsing in plugins firefox 3.5 introduced
support for private browsing; learn how to make your plugin respect the user's privacy wishes.
What is RSS - Archive of obsolete content
(although some were using rss 0.93 and rss 0.94 even though they weren't
supposed to.) in september 2002 userland released rss 2.0.
... rss 2.0 was meant to be a replacement for rss 0.92 (and the rss 0.93 and rss 0.94 drafts that no one was
supposed to use).
Building a Theme - Archive of obsolete content
hy and put this inside: <?xml version="1.0"?> <rdf xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <description about="urn:mozilla:install-manifest"> <em:id>sample@example.net</em:id> <em:version>1.0</em:version> <em:type>4</em:type> <!-- target application this theme can install into, with minimum and maximum
supported versions.
...for more information on chrome manifests and the properties they
support, see the chrome manifest reference.
Theme changes in Firefox 3.5 - Archive of obsolete content
supporting 3.5 features video/audio player: controlbar has to be styled (chrome://global/skin/media/videocontrols.css) shadow effect for disabled text using text-shadow.
...to do this only for 3.5 use a css selector that is only
supported in 3.5, like so: window:not([active="true"]) menubar>menu:nth-child(1n) { color:threedshadow } private browsing: show private browsing state by coloring the url bar, or by adding an icon to the toolbox/tabbrowserbar.
:-moz-system-metric() - Archive of obsolete content
syntax values -moz-windows-compositormedia: media/visual accepts min/max prefixes: no:-moz-system-metric(images-in-menus)the :-moz-system-metric(images-in-menus) css pseudo-class matches an element if the computer's user interface
supports images in menus.:-moz-system-metric(mac-graphite-theme):-moz-system-metric(mac-graphite-theme) will match an element if the user has chosen the "graphite" appearance in the "appearance" prefpane of the mac os x system preferences.:-moz-system-metric(scrollbar-end-backward)the :-moz-system-metric(scrollbar-end-backward) css pseudo-class will match an element if the computer's user interface i...
...s pseudo-class will match an element if the computer's user interface uses proportional scrollbar thumbs; that is, the draggable thumb on the scrollbar resizes to indicate the relative size of the visible area of the document.:-moz-system-metric(touch-enabled)the :-moz-system-metric(touch-enabled) css pseudo-class will match an element if the device on which the content is being rendered offers a
supported touch-screen interface.:-moz-system-metric(windows-default-theme)the :-moz-system-metric(windows-default-theme) css pseudo-class matches an element if the user is currently using one of the following themes in windows: luna, royale, zune, or aero (i.e., vista basic, vista standard, or aero glass).
::-ms-check - Archive of obsolete content
this pseudo-element is
supported only in internet explorer and microsoft edge.
... browser compatibility historically
supported in internet explorer and edge before version 79.
E4X for templating - Archive of obsolete content
t may be obvious after a study of the basics of e4x that it can be used for this purpose, if one adds a few common purpose functions (especially along with the convenience of javascript 1.8 expression closures), the templates can function more dynamically, offering the power and readability of templating languages such as smarty for php (though admittedly without the currently wider cross-browser
support of xslt or the strictly-xml approach of phptal or seethrough templating).
... the scripting to mix in context with the surrounding declarative xml: var a = <a><b/><c/><d/></a>; var b = <bar>{function () { var content = <></>; for each (var el in a) { el.@att = 'val'; content += el; } return content; }()}</bar>; giving: <bar> <b att="val"/> <c att="val"/> <d att="val"/> </bar> one may still wish to remove complex business logic and
supply as variables to the e4x, but the above allows the shaping of resulting content to be made more clear (and sometimes design logic also calls for extra processing).
E4X - Archive of obsolete content
ecmascript for xml (e4x) is a programming language extension that adds native xml
support to javascript.
... e4x doesn't
support parsing xml declaration.
ArrayBuffer.transfer() - Archive of obsolete content
0 buf2.bytelength; // 80 new int32array(buf2)[0]; // 42 var buf3 = arraybuffer.transfer(buf2, 0); buf2.bytelength; // 0 but if you use the polyfill then the value is still 80 buf3.bytelength; // 0 polyfill you can partially work around this by inserting the following code at the beginning of your scripts, allowing use of much of the functionality of transfer() in browsers that do not natively
support it.
... this is not the exact equivalent of this api because browsers that natively
support it are be able to internally use the c++ function realloc() which extends the length of the memory and only copies it to a new location as-needed as opposed to the following pollyfill which always copies the whole thing to a new space of memory, but this function transfers data from one arraybuffer to another arraybuffer.
Debug.write - Archive of obsolete content
var counter = 42; debug.write("the value of counter is " + counter); requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards, internet explorer 11 standards.
... also
supported in store apps (windows 8 and windows phone 8.1).
Debug.writeln - Archive of obsolete content
var counter = 42; debug.writeln("the value of counter is " + counter); requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards, internet explorer 11 standards.
... also
supported in store apps (windows 8 and windows phone 8.1).
ScriptEngine() - Archive of obsolete content
example the following example illustrates the use of the scriptengine function: if (window.scriptengine) { console.log(window.scriptengine()); } // output: jscript requirements
supported in the following document modes: quirks, internet explorer 6 standards, internet explorer 7 standards, internet explorer 8 standards, internet explorer 9 standards, internet explorer 10 standards, internet explorer 11 standards.
... also
supported in store apps (windows 8 and windows phone 8.1).
New in JavaScript 1.7 - Archive of obsolete content
iterators and generators array comprehensions let statement (
support for let expression was dropped in gecko 41, see bug 1023609).
... const statement destructuring assignment (
support for js1.7 style destructuring for-in was dropped in gecko 40, see bug 1083498).
Archived JavaScript Reference - Archive of obsolete content
see also the newer version of date.prototype.tolocaledatestring().ecmascript 2016 to es.next
support in mozillaexpression closuresexpression closures are a shorthand function syntax for writing simple functions.for each...inthe for each...in statement iterates a specified variable over all values of object's properties.
...to make the function a legacy generator, the function body should contain at least one yield expression.microsoft javascript extensionsmicrosoft browsers (internet explorer, and in a few cases, microsoft edge)
support a number of special microsoft extensions to the otherwise standard javascript apis.new in javascriptthis chapter contains information about javascript's version history and implementation status for mozilla/spidermonkey-based javascript applications, such as firefox.number.tointeger()the number.tointeger() method used to evaluate the passed value and convert it to an integer, but its implemen...
JavaObject - Archive of obsolete content
it also inherits public data members from any
superclass as properties.
...the javaobject also inherits methods from java.lang.object and any other
superclass.
XForms Range Element - Archive of obsolete content
attributes ui common appearance - isn't
supported.
... single-node binding special incremental -
supported, default value is false start - lower bound of possible values end - upper bound of possible values step - is used for incrementing/decrementing values start/end/step attributes if the value of the bound instance node is outside the range of values specified by the start and end attributes, then the range element receives a xforms-out-of-range event.
RDF in Mozilla FAQ - Archive of obsolete content
you can force an rdf/xml datasource (or any datasource that
supports nsirdfremotedatasource) to reload using the refresh() method of nsirdfremotedatasource.
...(shut down mozilla first since it overwrites your preferences file when you quit.) user_pref("signed.applets.codebase_principal_
support", true); mozilla will ask you if you want to grant the scripts in duplicates.xul permission to access xpconnect; respond in the affirmative.
XUL Booster - Archive of obsolete content
xul booster is a third party eclipse / webtools build that offers some
support for xul editing and awesome
support for extension packaging.
...it
supports exporting xpi files or registering a file system based project.
Bounding volume collision detection with THREE.js - Game development
// expand three.js sphere to
support collision tests vs box3 // we are creating a vector outside the method scope to // avoid spawning a new instance of vector3 on every check three.sphere.__closest = new three.vector3(); three.sphere.prototype.intersectsbox = function (box) { // get box closest point to sphere center by clamping three.sphere.__closest.set(this.center.x, this.center.y, this.center.z); three.sphere._...
... to use it, we need to create a new boxhelper instance and
supply the geometry and — optionally — a color that will be used for the wireframe material.
Building up a basic demo with A-Frame - Game development
you should start off by: making sure you are using a modern browser with good webgl
support (and webxr
support if you have available vr or ar hardware) such as the latest firefox or chrome — download firefox nightly or chrome (v54 or higher).
...the community is growing, just like the number of
supported vr devices — it's a great time to start experimenting with such frameworks.
Mobile touch controls - Game development
pure javascript demo let's implement the mobile
support in a little demo available on github, so we can move the player's ship by touching the screen on a mobile device.
... summary that covers adding touch controls for mobile; in the next article we'll see how to add keyboard and mouse
support.
Unconventional controls - Game development
when everything is installed and the controller is connected to your computer we can proceed with implementing
support in our little demo.
... there's even a cylon.js-
supported makey button functionality inspired by the makey makey board, so you can use the popular cylon robotics framework for your experiments with arduino or raspberry pi.
Implementing game control mechanisms - Game development
in the following articles we will show how to implement various different control mechanisms for captain rogers to
support different platforms — from touch on mobile, through keyboard/mouse/gamepad on desktop, to more unconventional ones like tv remote, shouting to or waving your hand in front of the laptop, or squeezing bananas.
... pure javascript demo there's also a small online demo with full source code available on github where the basic
support for the control mechanisms described in the articles is implemented in pure javascript.
Square tilemaps implementation: Static maps - Game development
we need to
supply the atlas image, the coordinates and dimensions of the tile inside the atlas, and the target coordinates and size (a different tile size in here would scale the tile.) so, for instance, to draw the tree tile, which is the third in the atlas, at the screen coordinates (128, 320), we would call drawimage() with these values: context.drawimage(atlasimage, 192, 0, 64, 64, 128, 320, 64, 64); in ...
...order to
support atlases with multiple rows and columns, you would need to know how many rows and columns there are to be able to compute the source x and y.
Tiles and tilemaps overview - Game development
some popular games that use this technique are
super mario bros, pacman, zelda: link's awakening, starcraft, and sim city 2000.
...square tiles allow for two perspectives: top-down (like many rpg's or strategy games like warcraft 2 or final fantasy's world view.) side-view (like platformers such as
super mario bros.) static tilemaps a tilemap can either fit into the visible screen area screen or be larger.
Techniques for game development - Game development
using webrtc peer-to-peer data channels in addition to providing
support for audio and video communication, webrtc lets you set up peer-to-peer data channels to exchange text or binary data actively between your players.
... efficient animation for web games this article covers techniques and advice for creating efficient animation for web games, with a slant towards
supporting lower end devices such as mobile phones.
Internationalization - MDN Web Docs Glossary: Definitions of Web-related terms
internationalization is the process of architecting your web application so that it can be quickly and easily adapted to various languages and regions without much engineering effort when new languages and regions are
supported.
... internationalization includes
support for multiple character sets (usually via unicode), units of measure (currency, °c/°f, km/miles, etc.), date and time formats, keyboard layouts, and layout and text directions.
Polyfill - MDN Web Docs Glossary: Definitions of Web-related terms
a polyfill is a piece of code (usually javascript on the web) used to provide modern functionality on older browsers that do not natively
support it.
... for example, a polyfill could be used to mimic the functionality of an html canvas element on microsoft internet explorer 7 using a silverlight plugin or mimic
support for css rem units, or text-shadow, or whatever you want.
XLink - MDN Web Docs Glossary: Definitions of Web-related terms
simple xlinks are "
supported" in firefox (at least in svg and mathml), though they do not work as links if one loads a plain xml document with xlinks and attempts to click on the relevant points in the xml tree.
... specification xlink 1.0 xlink 1.1 (currently a working draft) see also xml in mozilla code snippets:getattributens - a wrapper for dealing with some browsers not
supporting this dom method code snippets:xml:base function - a rough attempt to find a full xlink-based on an xlink:href attribute (or <xi:include href=>) and its or an ancestor's xml:base.
Styling tables - Learn web development
yes, we could have put both the background image and the linear gradient on the <thead> and <tfoot> elements using multiple background images, but we decided to do it separately for the benefit of older browsers that don't
support multiple background images or linear gradients.
... lastly, we've given the entire table a solid background color so that browsers that don't
support the :nth-child selector still have a background for their body rows.
Floats - Learn web development
assuming you have a
supporting browser, the box will clear.
... previous overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's guide to media queries legacy layout methods
supporting older browsers fundamental layout comprehension assessment ...
Responsive design - Learn web development
note: there is a css @ rule designed to replace the viewport meta tag — @viewport — however, it has poor browser
support.
... previous overview: css layout next in this module introduction to css layout normal flow flexbox grid floats positioning multiple-column layout responsive design beginner's guide to media queries legacy layout methods
supporting older browsers fundamental layout comprehension assessment ...
CSS layout - Learn web development
supporting older browsers in this module we recommend using flexbox and grid as the main layout methods for your designs.
... however there will be visitors to your site who use older browsers, or browsers which do not
support the methods you have used.
CSS FAQ - Learn web development
for example, many developers only using the -webkit- prefixed version of a property when the non-prefixed version is
supported across all browsers meant that a feature relying on that property would break in non-webkit-based browsers, completely needlessly.
... if you need to use prefixes in your work, you are advised to write your code in a way that uses the prefixed versions first, but then includes a non-prefixed standard version afterwards so it can automatically override the prefixed versions where
supported.
What do common web layouts contain? - Learn web development
because the image on the top-right is l-shaped, because b1 looks like a column
supporting the shifted main content, and because the "m" and "i" of the mica logo create a vertical line of force.
... this is a good example of a classic layout
supporting some design creativity.
How can we design for all types of users? - Learn web development
suppose we wanted a base font size of 16px and an h1 (main heading) at the equivalent of 32px, yet if within the h1 we find a span with the subheading class, it too must be rendered at the default font size (usually 16px).
... note: you may notice opera mini does not
support font sizing in rem.
How does the Internet work? - Learn web development
it began in the 1960s as a us-army-funded research project, then evolved into a public infrastructure in the 1980s with the
support of many public universities and private companies.
... the various technologies that
support the internet have evolved over time, but the way it works hasn't changed that much: internet is a way to connect computers all together and ensure that, whatever happens, they find a way to stay connected.
What is a web server? - Learn web development
(for example, html documents, images, css stylesheets, and javascript files) a web server connects to the internet and
supports physical data interchange with other devices connected to the web.
... communicating through http second, a web server provides
support for http (hypertext transfer protocol).
Styling web forms - Learn web development
form controls were added to html in the html 2 specification in 1995; css wasn't released until late 1996, and wasn't
supported very well by browsers for a few years after that.
... box sizing all text fields have complete
support for every property related to the css box model, such as width, height, padding, margin, and border.
JavaScript basics - Learn web development
if the javascript loads first and it is
supposed to affect the html that hasn't loaded yet, there could be problems.
...
supercharging our example website with this review of javascript basics completed (above), let's add some new features to our example site.
What’s in the head? Metadata in HTML - Learn web development
for example, the keyword <meta> element (<meta name="keywords" content="fill, in, your, keywords, here">) — which is
supposed to provide keywords for search engines to determine relevance of that page for different search terms — is ignored by search engines, because spammers were just filling the keyword list with hundreds of keywords, biasing results.
... a favicon can be added to your page by: saving it in the same directory as the site's index page, saved in .ico format (most browsers will
support favicons in more common formats like .gif or .png, but using the ico format will ensure it works as far back as internet explorer 6.) adding the following line into your html's <head> block to reference it: <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> here is an example of a favicon in a bookmarks panel: there are lots of other icon types to consider these days ...
Graceful asynchronous programming with Promises - Learn web development
they make it easier to express and reason about sequences of asynchronous operations without deeply nested callbacks, and they
support a style of error handling that is similar to the synchronous try...catch statement.
... promises work in the latest versions of all modern browsers; the only place where promise
support will be a problem is in opera mini and ie11 and earlier versions.
Cooperative asynchronous JavaScript: Timeouts and intervals - Learn web development
the general pattern you'd use looks something like this: let starttime = null; function draw(timestamp) { if (!starttime) { starttime = timestamp; } currenttime = timestamp - starttime; // do something based on current time requestanimationframe(draw); } draw(); browser
support requestanimationframe() is
supported in more recent browsers than setinterval()/settimeout().
... so, unless you need to
support older versions of ie, there is little reason to not use requestanimationframe().
Video and Audio APIs - Learn web development
as we showed in video and audio content, a typical implementation looks like this: <video controls> <source src="rabbit320.mp4" type="video/mp4"> <source src="rabbit320.webm" type="video/webm"> <p>your browser doesn't
support html5 video.
...one big issue with the native browser controls is that they are different in each browser — not very good for cross-browser
support!
Arrays - Learn web development
array objects can be stored in variables and dealt with in much the same way as any other type of value, the difference being that we can access each value inside the list individually, and do
super useful and efficient things with the list, like loop through it and do the same thing to every value.
...
suppose we want to store a shopping list in an array.
Handling text — strings in JavaScript - Learn web development
for example, both of these are okay: let sgldbl = 'would you eat a "fish
supper"?'; let dblsgl = "i'm feeling blue."; sgldbl; dblsgl; however, you can't include the same quote mark inside the string if it's being used to contain them.
...they are well-
supported in modern browsers, and the only place you'll find a lack of
support is internet explorer.
Multimedia: video - Learn web development
objective: to learn about the various video formats, their impact on performance, and how to reduce video impact on overall page load time while serving the smallest video file size based on each browsers file type
support.
... see caniuse.com for current browser
support of video and other media types.
Website security - Learn web development
for example, the following code is intended to list all users with a particular name (username) that has been
supplied from an html form: statement = "select * from users where name = '" + username + "';" if the user specifies a real name, the statement will work as intended.
...the secret would be
supplied by the server when sending the web form used to make transfers.
Ember resources and troubleshooting - Learn web development
further resources ember.js guides tutorial:
super rentals ember.js api documentation ember.js discord server — a forum/chat server where you can meet the ember community, ask for help, and help others!
...ed properties vue conditional rendering: editing existing todos focus management with vue refs vue resources svelte getting started with svelte starting our svelte todo list app dynamic behavior in svelte: working with variables and props componentizing our svelte app advanced svelte: reactivity, lifecycle, accessibility working with svelte stores typescript
support in svelte deployment and next steps ...
Routing in Ember - Learn web development
but now we need a way to differentiate between each of these routes, so that they show what they are
supposed to show.
...ed properties vue conditional rendering: editing existing todos focus management with vue refs vue resources svelte getting started with svelte starting our svelte todo list app dynamic behavior in svelte: working with variables and props componentizing our svelte app advanced svelte: reactivity, lifecycle, accessibility working with svelte stores typescript
support in svelte deployment and next steps ...
Starting our Svelte Todo list app - Learn web development
svelte accessibility
support svelte has a special emphasis on accessibility.
...ed properties vue conditional rendering: editing existing todos focus management with vue refs vue resources svelte getting started with svelte starting our svelte todo list app dynamic behavior in svelte: working with variables and props componentizing our svelte app advanced svelte: reactivity, lifecycle, accessibility working with svelte stores typescript
support in svelte deployment and next steps ...
Dynamic behavior in Svelte: working with variables and props - Learn web development
update the newtodo form's opening tag like so: <form on:submit|preventdefault={addtodo}> the on:eventname directive
supports adding modifiers to the dom event with the | character.
...ed properties vue conditional rendering: editing existing todos focus management with vue refs vue resources svelte getting started with svelte starting our svelte todo list app dynamic behavior in svelte: working with variables and props componentizing our svelte app advanced svelte: reactivity, lifecycle, accessibility working with svelte stores typescript
support in svelte deployment and next steps ...
Information for users
features include assistive technology
support on windows (like window-eyes, jaws, etc.), firefox keyboard
support, available accessibility extensions like fire vox and other extensions.
... purpose newsgroup mailing list google group developer discussion mozilla.dev.accessibility subscribe/unsubscribe google group end user
support mozilla.
support.accessibility subscribe/unsubscribe google group ...
Mozilla Plugin Accessibility
many plugins lack accessibility api
support most plugins that work with mozilla do not yet
support accessibility apis.
... a notable acception is the adobe pdf plugin on windows, which
supports msaa.
What to do and what not to do in Bugzilla
resolving bugs as incomplete the problem is vaguely described with no steps to reproduce, or is a
support request.
... the reporter should be directed to the product's
support page for help diagnosing the issue.
Creating Sandboxed HTTP Connections
on (arequest, acontext, aprogress, aprogressmax) { }, onstatus : function (arequest, acontext, astatus, astatusarg) { }, // nsihttpeventsink (not implementing will cause annoying exceptions) onredirect : function (aoldchannel, anewchannel) { }, // we are faking an xpcom interface, so we need to implement qi queryinterface : function(aiid) { if (aiid.equals(components.interfaces.nsi
supports) || aiid.equals(components.interfaces.nsiinterfacerequestor) || aiid.equals(components.interfaces.nsichanneleventsink) || aiid.equals(components.interfaces.nsiprogresseventsink) || aiid.equals(components.interfaces.nsihttpeventsink) || aiid.equals(components.interfaces.nsistreamlistener)) return this; throw components.results.ns_nointerface;...
... } } }, queryinterface : function(aiid) { if (aiid.equals(components.interfaces.nsi
supports) || aiid.equals(components.interfaces.nsiobserver)) return this; throw components.results.ns_nointerface; } }; // get the observer service and register for the two coookie topics.
Debugging on Windows
if you attempt to use ns_debugbreak etc to perform post-mortem debugging on a 64bit windows 7, but as soon as you try and continue debugging the program crashes with an access violation, you may be hitting a windows bug relating to avx
support.
... (and just in-case those links die, the work-around is to execute bcdedit /set xsavedisable 1 from an elevated command-prompt to disable avx
support.) got a tip?
Configuring Build Options
the default options are the most well-
supported, so it is preferable to add as few options as possible.
... setting the mozconfig path: export mozconfig=$home/mozilla/mozconfig-firefox calling the file .mozconfig (with a leading dot) is also
supported, but this is not recommended because it may make the file harder to find.
Simple Thunderbird build
if it is in your `mozconfig` file, you should go ahead and remove it when building thunderbird 74 or later, since
support for it will eventually be removed completely.
...a symlink there is not
supported.
pymake
pybuild is no longer
supported!
... make.py (and the pymake modules that
support it) are an implementation of the make tool which are mostly compatible with makefiles written for gnu make.
Runtime Directories
s\<username>\appdata\local\virtualstore\program files\mozilla firefox\ windows 2000/xp c:\program files\mozilla firefox\ c:\documents and settings\<username>\application data\mozilla\firefox\ (or %appdata%\mozilla\firefox\) c:\documents and settings\<username>\local settings\application data\mozilla\firefox\ os x /applications/firefox.app ~/library/application
support/firefox/profiles/xxxxxxxx.default/ ~/library/caches/firefox/profiles/xxxxxxxx.default/ linux ????
... ~/.thunderbird/xxxxxxxx.default/ (or ~/.mozilla-thunderbird/xxxxxxxx.default/ on debian/ubuntu) n/d see also https://
support.mozilla.org/kb/profiles-where-firefox-stores-user-data#w_how-do-i-find-my-profile https://
support.mozilla.org/kb/profiles-tb#w_where-is-my-profile-stored http://kb.mozillazine.org/profile_folder ...
SVG Guidelines
although this kind of data is
supported by the browser, it can only be displayed when the svg is opened in a new tab.
...here's an example taking into account the list below: version x="0" and y="0" enable-background (un
supported by gecko and now deprecated by the filter effects specification) id (id on root element has no effect) xmlns:xlink attribute when there are no xlink:href attributes used throughout the file other unused xml namespace definitions xml:space when there is no text used in the file other empty tags, this may be obvious, but those are sometimes found in svgs unreferenced ids (usually on...
mach
mach will colorize terminal output (on terminals that
support it - typically most terminals except on windows) mach will scan build output for compiler warnings and will automatically record them to a database which can be queried with mach warnings-list and mach warnings-summary.
...this
suppresses excessive (often unncessary) output.
Displaying Places information using views
potentially bad reasons for creating a custom view might include (but are not limited to): changing only the
superficial appearance of a built-in view rather than the content it displays.
...one strategy is to create your custom object(s) implementing each of these interfaces,
support your custom behavior with them, but pass off everything else to a placestreeview instance that you would own.
Multiple Firefox profiles
you can find details about profiles on mozilla's end-user
support site.
... here is a complete example terminal command from steps 2-3: /applications/firefox.app/contents/macos/firefox -profile /users/suzie/library/application\
support/firefox/profiles/r99d1z7c.default if the profile manager window does not open, firefox may have been running in the background, even though it was not visible.
Performance best practices for Firefox front-end engineers
if you want to queue up some javascript to run after the next "natural" style and layout flush, try: //
suppose we want to get the computed "display" style of some node without // causing a style flush.
...calling it on the outer window of a subframe is not
supported, and calling it from within the inner window of a subframe might cause the callback to fire even though a style and layout flush will still be required.
Firefox UI considerations for web developers
providing a top sites ready icon the simple rule is to provide an icon which is at least 96x96 pixels in size, using a <link> element whose rel attribute is a reference to a file containing an icon of a
supported type.
... note: only "rich" icons (apple-touch-icon and fluid-icon)
support the sizes attribute.
mozbrowserloadend
non-standard this feature is not on a current w3c standards track, but it is
supported on the firefox os platform.
... although implementations may change in the future and it is not
supported widely across browsers, it is suitable for use in code dedicated to firefox os apps.
Browser API
browser api interfaces to
support the requirement of a browser <iframe>, the htmliframeelement dom interface has been extended with new methods that give the <iframe> some
super powers.
...the following methods are used to deal with those events: the <iframe> gains
support for the methods of the eventtarget interface addeventlistener(), removeeventlistener(), and dispatchevent().
Gecko
products using the same version of gecko have identical
support for web standards.
... character sets
supported by gecko a list of the character sets
supported by gecko.
How to get a stacktrace for a bug report
seamonkey and thunderbird also
support crash reporting.
... accessing crash report ids outside of firefox if you cannot load firefox at all you can find the crash report files at this location depending on your operating system: windows : %appdata%\mozilla\firefox\crash reports\submitted\ os x : ~/library/application
support/firefox/crash reports/submitted/ linux : ~/.mozilla/firefox/crash reports/submitted/ each file in this folder contains one submitted crash report id.
Addon
provide
supdatessecurely read only boolean true if the add-on has a secure means of updating or cannot be updated at all.
... fulldescription read only string developercomments read only string eula read only string icon64url read only string
supporturl read only string contributionurl read only string contributionamount read only string averagerating read only number reviewcount read only integer reviewurl read only string totaldownloads read only integer weeklydownloads read only integer dailyus...
JNI.jsm
if you would like to
support versions before that, you can copy and paste the contents of the jsm file int jni stands for java native interface; this library allows calling java code running in java virtual machines (jvms), etc.
...if 0 is
supplied, an empty cdata array is returned.
NetUtil.jsm
note:
support for specifying an nsiinputstream as the input source was added in gecko 5.
... note: starting in gecko 2, this method
supports specifying an nsifile as the target of the uri.
PromiseWorker.jsm
various error objects are
supported; each one has its specific meaning; they're described below.
...
supported built-in javascript error are following: evalerror internalerror rangeerror referenceerror syntaxerror typeerror urierror in addition to them, stopiteration is also
supported (note that stopiteration is deprecated).
Using JavaScript code modules
if your extension or application needs to
support mozilla 1.9.x (firefox 3.x), you should register a new resource url.
...firefox 3.6 doesn't
support them at all, and there's only one case in which it's remotely useful: a firefox 4-only add-on which must be installed unpacked.
source-editor.jsm
the source-editor.jsm javascript code module implements an editor specifically tailored for editing source code; its primary purpose is to provide
support for web developer tools to display and edit web site code.
... note: implementing actual
support for debugger features such as breakpoints is up to you.
JavaScript code modules
downloadlastdir.jsm
supplies the path to the directory into which the last download occurred.
... pluralform.jsm
supplies an easy way to get the correct plural forms for the current locale, as well as ways to localize to a specific plural rule.
Localization and Plurals
chrome://mozapps/locale/downloads/do...tes,hours,days chrome://mozapps/locale/downloads/do...dstitlepercent chrome://browser/locale/browser.prop...auseddownloads version history 0.1: initial version with pluralrule check, properties input loading, table generation, sample output display 0.2: use pluralform.numforms() to get the number of forms instead of figuring out locally to better
support future rules - requires build from 2007/01/27 or later 0.3: generate a list of what numbers fall into which plural form to minimize the sample output to at most 3 of each form developing with pluralform the functionality for getting the correct plural forms is provided by a javascript module, pluralform.jsm.
...the following would be better: components.utils.import("resource://gre/modules/pluralform.jsm"); let downloads = "you have one download.;you have #1 downloads."; let num = 10; // for english, this would display "you have 10 downloads." print(pluralform.get(num, downloads).replace("#1", num); notice in the above example that the code can be written to
support placeholders or not use placeholders in some forms of the string.
Localizing with Koala
just type a single dot (".") in the url field to enable mercurial
support in koala.
...koala
supports mercurial and allows you to add and commit files automatically from komodo.
Localizing with Mozilla Translator
since it is written in java, any platform that
supports java 1.7 or above
supports mozillatranslator also.
... if you are using a filesystem with symbolic links
support (i.e., linux or mac), you can create symbolic links in a separate directory so it contains just the locale part.
Localization formats
.lang files provide some features that differentiate it from gettext: .lang is not dependent on php/.po library, so if our webdev team sets up a site without gettext
support, we still have .lang.
... (it should be noted that this is near impossibility since most sites will be set up with gettext
support.) .lang files can be easily edited in a text editor with this setup, a localizer is given a "[something].lang" file containing all the strings needing localization.
Various MathML Tests
testing mathml <msub>: a b ; a i ; a i k testing mathml <m
sup>: d b 2 a x 2 2 x ( 1 2 ) y a x .
... testing mathml <msub
sup>: a p q a b + c x .
MathML Demo: <mmultiscripts> - attach prescripts and tensor indices to a base
there are some variations possible: <mmultiscripts> a a b c d , nested <msub
sup>s a a b c d , or &invisiblecomma; a a c b d .
...for example m c d a b the scripts come in pairs, with <mprescripts/> used to indicate prescripts and <none/> used to hold an empty position as in f b a there are some variations possible: <mmultiscripts> a a b c d nested <msub
sup>s a a b c d or &invisiblecomma; a a c b d ...
Mozilla Development Strategies
review your own code before you ask for reviews practice your reviewing skills on your own patch before you seek reviews and a
super review.
... better that you catch something, than the reviewers or
super reviewers.
Activity Monitor, Battery Status Menu and top
(apple
support documentation specifically recommends it for troubleshooting battery life problems.) unfortunately "energy impact" is not a good measure for either users or software developers and it should be avoided.
...task_power_info::task_platform_idle_wakeups obtained from the task_info function.) in mac os 10.10 it appears to have been changed to measure interrupt-level wakeups (a
superset of idle wakeups), which are less interesting.
BloatView
if they aren't, then you're not using the ns_impl_addref and ns_impl_release (or ns_impl_i
supports which calls them) for xpcom objects, or moz_count_ctor and moz_count_dtor for non-xpcom objects.
...by default, those macros
support refcnt logging directly.
DMD
home/njn/moz/mi5/go64dmd/memory/replace/dmd/../../../../memory/replace/dmd/dmd.cpp:1286) #02: malloc (/home/njn/moz/mi5/go64dmd/memory/build/../../../memory/build/replace_malloc.c:153) #03: moz_xmalloc (/home/njn/moz/mi5/memory/mozalloc/mozalloc.cpp:84) #04: nscyclecollectingautorefcnt::incr(void*, nscyclecollectionparticipant*) (/home/njn/moz/mi5/go64dmd/dom/xul/../../dist/include/nsi
supportsimpl.h:250) #05: nsxulelement::create(nsxulprototypeelement*, nsidocument*, bool, bool,mozilla::dom::element**) (/home/njn/moz/mi5/dom/xul/nsxulelement.cpp:287) #06: nsxblcontentsink::createelement(char16_t const**, unsigned int, mozilla::dom::nodeinfo*, unsigned int, nsicontent**, bool*, mozilla::dom::fromparser) (/home/njn/moz/mi5/dom/xbl/nsxblcontentsink.cpp:874) #07: nscomptr<...
... const (/home/njn/moz/mi2/xpcom/base/nscyclecollector.cpp:933) 0x7f6860fdb7af #04: nscyclecollector::sizeofincludingthis(unsigned long (*)(void const*), unsigned long*, unsigned long*, unsigned long*, unsigned long*, unsigned long*) const (/home/njn/moz/mi2/xpcom/base/nscyclecollector.cpp:3029) 0x7f6860fdb6b1 #05: cyclecollectormultireporter::collectreports(nsimemorymultireportercallback*, nsi
supports*) (/home/njn/moz/mi2/xpcom/base/nscyclecollector.cpp:3075) 0x7f6860fde432 #06: nsmemoryinfodumper::dumpmemoryreportstofileimpl(nsastring_internal const&) (/home/njn/moz/mi2/xpcom/base/nsmemoryinfodumper.cpp:626) 0x7f6860fece79 #07: nsmemoryinfodumper::dumpmemoryreportstofile(nsastring_internal const&, bool, bool) (/home/njn/moz/mi2/xpcom/base/nsmemoryinfodumper.cpp:344) 0x7f6860febaf9 ...
JS::PerfMeasurement
note: at present, js::perfmeasurement is only functional on linux, but it is planned to add
support for windows (bug 583322) and osx (bug 583323) as well, and we welcome patches for other operating systems.
... we also can't guarantee that all platforms will
support all event types, once we have more than one back end for this interface.
Memory Profiler
the profiler is designed at the very beginning to
support not only javascript but also native codes.
...it's
supposed to profile a very long time period without problem.
TimerFirings logging
-991946880[7f46c365ba00]: [6775] fn timer (slack 100 ms): layeractivitytracker -991946880[7f46c365ba00]: [6775] fn timer (one_shot 250 ms): presshell::spaint
suppressioncallback -991946880[7f46c365ba00]: [6775] fn timer (one_shot 160 ms): nsbrowserstatusfilter::timeouthandler -991946880[7f46c365ba00]: [6775] iface timer (one_shot 200 ms): 7f46964d7f80 -1340643584[7f46c365ec00]: [6775] obs timer (slack 1000 ms): 7f46a95a0200 each line has the following information.
... next is the timer kind, one of fn (function), iface (interface) or obs (observer), which are the three kinds of timers that gecko
supports.
TraceMalloc
tracemalloc has been
superseded by dmd and removed from the codebase.
...the built mozilla application will
support the following additional command-line options: --trace-malloc filename the application will log allocation and deallocation events with stack traces in a binary format to the given file.
Performance
memory profiling and leak detection tools the developer tools "memory" panel the memory panel in the devtools
supports taking heap snapshots, diffing them, computing dominator trees to surface "heavy retainers", and recording allocation stacks.
...it is available on all platforms and release channels, and also
supports remote profiling b2g and fennec.
A guide to searching crash reports
searching the search form you can get to the search page by clicking on the "
super search" link near the toolbar at the top right of any page in crash-stats.
...these results would be improved by using numeric ranges instead of individual values, but unfortunately that isn't
supported.
L20n HTML Bindings
em,
sup), attributes (e.g.
...we plan to add
support for a language pack service in the future that can tap into this scenario on the client side.
McCoy
this is located in: %appdata%\mozilla\mccoy (windows) ~/.mozilla/mccoy (linux) ~/library/application
support/mccoy (mac os x) it is highly recommended that you back up your profile folder and store it in a safe location whenever you create a new key; without a backup, there is no way to recover your private keys if they are lost!
... signing from command line currently there is no
support to run mccoy from command line under windows, but it is planned to add this
support in the future.
NSPR Contributor Guide
your new feature must be implemented on all platforms
supported by nspr.
... when you consider a new api for nspr ask yourself if your proposed feature can implement it across all platforms
supported by nspr.
Optimizing Applications For NSPR
netscape portable runtime (nspr) tries to provide a consistent level of service across the platforms it
supports.
... windows 3.1 does not
support 64 bit file offsets.
NSPR Types
calling convention types these types are used to
support cross-platform declarations of prototypes and implementations: pr_extern is used for declarations of external functions or variables.
...conscientious use of these macros ensures portability of code to all the platforms
supported by nspr and still provides optimal behavior on those systems that treat long long values directly.
PR_SetConcurrency
virtual processors are actuallyglobal threads, each of which is designed to
support an arbitrary number oflocal threads.
...in such cases, all the threads being
supported by the virtual processor will block, but those assigned to another virtual processor will be unaffected.
FIPS Mode - an explanation
instructions for how to configure firefox into fips mode may be found on
support.mozilla.com.
... instructions for how to configure firefox into fips mode may be found on
support.mozilla.com.
HTTP delegation
the application must
support both strategies.) the logical http server session object is expected to remain valid until explicitly destroyed (sec_httpserver_freesessionfcn).
...create an instance of this type and
supply a pointer to your implementation for each entry in the function table.
HTTP delegation
the application must
support both strategies.) the logical http server session object is expected to remain valid until explicitly destroyed (sec_httpserver_freesessionfcn).
...create an instance of this type and
supply a pointer to your implementation for each entry in the function table.
4.3.1 Release Notes
release date: 2009-12-02 introduction network security services for java (jss) 4.3.1 is a minor release with the following new features:
support for ssl3 & tls renegotiation vulnerablity
support to explicitly set the key usage for the generated private key jss 4.3.1 is tri-licensed under mpl 1.1/gpl 2.0/lgpl 2.1.
...jss only
supports the native threading model (no green threads).
JSS
jss
supports most of the security standards and encryption technologies
supported by nss.
...introduces the ssl protocol, including information about cryptographic ciphers
supported by ssl and the steps involved in the ssl handshake.
NSS_3.12.1_release_notes.html
ncy test bug 330622: certutil's usage messages incorrectly document certain options bug 330628: coreconf/linux.mk should _not_ default to x86 but result in an error if host is not recognized bug 359302: remove the sslsample code from nss source tree bug 372241: need more versatile form of cert_nametoascii bug 390296: nss ignores subject cn even when san contains no dnsname bug 401928:
support generalized pkcs#5 v2 pbes bug 403543: pkix: need a way to enable/disable aia cert fetching bug 408847: pkix_ocspchecker_check does not
support specified responder (and given signercert) bug 414003: crash [[@ cert_decodecertpackage] sometimes with this testcase bug 415167: memory leak in certutil bug 417399: arena allocation results are not checked in pkix_pl_infoaccess_parselocatio...
... bug 434187: fix the gcc compiler warnings in nss/lib bug 434398: libpkix cannot find issuer cert immediately after checking it with ocsp bug 434808: certutil -b deadlock when importing two or more roots bug 434860: coverity 1150 - dead code in ocsp_createcertid bug 436428: remove unneeded assert from sec_pkcs7encryptlength bug 436430: make nss public headers compilable with no_nspr_10_
support defined bug 436577: uninitialized variable in sec_pkcs5createalgorithmid bug 438685: libpkix doesn't try all the issuers in a bridge with multiple certs bug 438876: signtool is still using static libraries.
NSS 3.16 release notes
nss 3.16 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_16_rtm/src/ new in nss 3.16 new functionality
supports the linux x32 abi.
... the certutil utility has been improved to
support creation of version 1 and version 2 certificates, in addition to the existing version 3
support.
NSS 3.21 release notes
new in nss 3.21 new functionality certutil now
supports a --rename option to change a nickname (bug 1142209) tls extended master secret extension (rfc 7627) is
supported (bug 1117022) new info functions added for use during mid-handshake callbacks (bug 1084669) new functions in nss.h nss_optionset - sets nss global options nss_optionget - gets the current value of nss global options in secmod.h secmod_createmoduleex -...
... ckm_tls_mac - computes tls finished mac in secoidt.h nss_use_alg_in_ssl_kx - policy flag indicating that keys are used in tls key exchange in sslerr.h ssl_error_rx_short_dtls_read - error code for failure to include a complete dtls record in a udp packet ssl_error_no_
supported_signature_algorithm - error code for when no valid signature and hash algorithm is available ssl_error_un
supported_signature_algorithm - error code for when an un
supported signature and hash algorithm is configured ssl_error_missing_extended_master_secret - error code for when the extended master secret is missing after having been negotiated ssl_error_unexpected_extended_master_se...
NSS 3.23 release notes
nss 3.23 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_23_rtm/src/ new in nss 3.23 new functionality chacha20/poly1305 cipher and tls cipher suites now
supported (bug 917571, bug 1227905) experimental-only
support tls 1.3 1-rtt mode (draft-11).
...clients that perform a version downgrade (which is a dangerous practice) call this with the highest version number that they possibly
support.
NSS 3.27 release notes
added
support for rsa-pss signatures in tls 1.2 and tls 1.3 new functions in ssl.h ssl_namedgroupconfig notable changes in nss 3.27 update 2016-10-02: the maximum tls version
supported has been increased to tls 1.3 (draft).
... although the maximum tls version enabled by default is still tls 1.2, there are applications that query the list of tls protocol versions
supported by nss, and enable all
supported versions.
NSS 3.31 release notes
ssl_versionrangeget
supported can be used to query the overlap between the library's
supported range of tls versions and the systemwide policy.
... corrected the encoding of domain name constraints extensions created by certutil nss
supports a clean seeding mechanism for *nix systems now using only /dev/urandom.
NSS 3.34 release notes
sslkeylogfile is now
supported with tls 1.3, see bug 1287711 for details.
... rsa-pss signatures are now
supported on certificates.
NSS 3.44 release notes
notable changes in nss 3.44 it is now possible to build nss as a static library (bug 1543545) initial
support for building for ios.
... bugs fixed in nss 3.44 1501542 - implement checkarm
support for android 1531244 - use __builtin_bswap64 in crypto_primitives.h 1533216 - cert_decodecertpackage() crash with netscape certificate sequences 1533616 - sdb_getattributevaluenolock should make at most one sql query, rather than one for each attribute 1531236 - provide accessor for certcertificate.dercert 1536734 - lib/freebl/crypto_primitives.c assumes a big endian machine 1532384 - in nss test certificates, use @example.com (not @bogus.com) 1538479 - post-handshake messages after async server authentication break when using record layer separation 1521578 - x25519
support in pk11pars.c 1540205 - freebl build fails with -dnss_disable_chachapoly 1532312 - post-handshake auth doesn't interoperate with openssl 1542741 -...
NSS 3.45 release notes
notable changes in nss 3.45 bug 1540403 - implement delegated credentials (draft-ietf-tls-subcerts) this adds a new experimental function: ssl_delegatecredential note: in 3.45, selfserv does not yet
support delegated credentials.
... bug 1550579 - replace arm32 curve25519 implementation with one from fiat-crypto bug 1551129 -
support static linking on windows bug 1552262 - expose a function pk11_findrawcertswithsubject for finding certificates with a given subject on a given slot bug 1546229 - add ipsec ike
support to softoken bug 1554616 - add
support for the elbrus lcc compiler (<=1.23) bug 1543874 - expose an external clock for ssl this adds new experimental functions: ssl_settimefunc, ssl_createantireplaycontext, ssl_setantireplaycontext, and ssl_releaseantireplaycontext.
NSS 3.46 release notes
hangs on windows x64 when building nss since changeset 9162c654d06915f0f15948fbf67d4103a229226f bug 1564875 - improve rebuilding with build.sh bug 1565243 -
support tc_owner without email address in nss taskgraph bug 1563778 - increase maxruntime on mac taskcluster tools, ssl tests bug 1561591 - remove -wmaybe-uninitialized warning in tstclnt.c bug 1561587 - remove -wmaybe-uninitialized warning in lgattr.c bug 1561558 - remove -wmaybe-uninitialized warning in httpserv.c bug 1561556 - remove -wmaybe-uninitialized warning in tls13esni.c bug 1561332 -...
...ns: 'int' and 'unsigned long' bug 1564714 - print certutil commands during setup bug 1565013 - hacl image builder times out while fetching gpg key bug 1563786 - update hacl-star docker image to pull specific commit bug 1559012 - improve gcm perfomance using pmull2 bug 1528666 - correct resumption validation checks bug 1568803 - more tests for client certificate authentication bug 1564284 -
support profile mobility across windows and linux bug 1573942 - gtest for pkcs11.txt with different breaking line formats bug 1575968 - add strsclnt option to enforce the use of either ipv4 or ipv6 bug 1549847 - fix nss builds on ios bug 1485533 - enable nss_ssl_tests on taskcluster this bugzilla query returns all the bugs fixed in nss 3.46: https://bugzilla.mozilla.org/buglist.cgi?resolution=...
NSS 3.47 release notes
notable changes in nss 3.47 bug 1152625 -
support aes hw acceleration on armv8 bug 1267894 - allow per-socket run-time ordering of the cipher suites presented in clienthello bug 1570501 - add cmac to freebl and pkcs #11 libraries bugs fixed in nss 3.47 bug 1459141 - make softoken cbc padding removal constant time bug 1589120 - more cbc padding tests bug 1465613 - add ability to distrust certificates issued after a certain date for a...
... specified root cert bug 1588557 - bad debug statement in tls13con.c bug 1579060 - mozilla::pkix tag definitions for issueruniqueid and subjectuniqueid shouldn't have the constructed bit set bug 1583068 - nss 3.47 should pick up fix from bug 1575821 (nspr 4.23) bug 1152625 -
support aes hw acceleration on armv8 bug 1549225 - disable dsa signature schemes for tls 1.3 bug 1586947 - pk11_importandreturnprivatekey does not store nickname for ec keys bug 1586456 - unnecessary conditional in pki3hack, pk11load and stanpcertdb bug 1576307 - check mechanism param and param length before casting to mechanism-specific structs bug 1577953 -
support longer (up to rfc maximum) hkdf outputs bug 1508776 - remove refcounting from sftk_freesession (cve-2019-11756) bug 1494063 -
support tls exporter...
NSS 3.50 release notes
urve25519 bug 1608327 - two problems with neon-specific code in freebl bug 1575843 - detect aarch64 cpu features on freebsd bug 1607099 - remove the buildbot configuration bug 1585429 - add more hkdf test vectors bug 1573911 - add more rsa test vectors bug 1605314 - compare all 8 bytes of an mp_digit when clamping in windows assembly/mp_comba bug 1604596 - update wycheproof vectors and add
support for cbc, p256-ecdh, and cmac tests bug 1608493 - use aes-ni for non-gcm aes ciphers on platforms with no assembly-optimized implementation, such as macos.
... bug 1547639 - update zlib in nss to 1.2.11 bug 1609181 - detect arm (32-bit) cpu features on freebsd bug 1602386 - fix build on freebsd/powerpc* bug 1608151 - introduce nss_disable_altivec bug 1612623 - depend on nspr 4.25 bug 1609673 - fix a crash when nss is compiled without libnssdbm
support, but the nssdbm shared object is available anyway.
NSS 3.53 release notes
nss 3.53 will be a long-term
support release,
supporting firefox 78 esr.
... bug 1561331 - additional modular inverse test bug 1629553 - rework and cleanup gmake builds bug 1438431 - remove mkdepend and "depend" make target bug 290526 -
support parallel building of nss when using the makefiles bug 1636206 - hacl* update after changes in libintvector.h bug 1636058 - fix building nss on debian s390x, mips64el, and riscv64 bug 1622033 - add option to build without seed this bugzilla query returns all the bugs fixed in nss 3.53: https://bugzilla.mozilla.org/buglist.cgi?resolution=fixed&classification=components&query_format=advanc...
NSS Sample Code Sample_1_Hashing
sample code 1 /* nspr headers */ #include <prprf.h> #include <prtypes.h> #include <plgetopt.h> #include <prio.h> /* nss headers */ #include <secoid.h> #include <secmodt.h> #include <sechash.h> typedef struct { const char *hashname; secoidtag oid; } nametagpair; /* the hash algorithms
supported */ static const nametagpair hash_names[] = { { "md2", sec_oid_md2 }, { "md5", sec_oid_md5 }, { "sha1", sec_oid_sha1 }, { "sha256", sec_oid_sha256 }, { "sha384", sec_oid_sha384 }, { "sha512", sec_oid_sha512 } }; /* * maps a hash name to a secoidtag.
... * returns null if the name is not a
supported algorithm */ static secoidtag hashnametooidtag(const char *hashname) { int i, nhashes = sizeof(hash_names); secoidtag hashtag = sec_oid_unknown; for (i = 0; i < nhashes; i++) { if (port_strcasecmp(hashname, hash_names[i].hashname) == 0) { hashtag = hash_names[i].oid; break; } } return hashtag; } /* * newline */ static void newline(prfiledesc* out) { pr_fprintf(out, "\n"); } /* * printashex */ void printashex(prfiledesc* out, unsigned char *data, unsigned int len) { unsigned i; int column; unsigned int limit = 15; unsigned int level = 1; column = level; if (!len) { pr_fprintf(out, "(empty)\n"); return; } for (i = 0; i < len; i++)...
Hashing - sample 1
*/ /* nspr headers */ #include <prprf.h> #include <prtypes.h> #include <plgetopt.h> #include <prio.h> /* nss headers */ #include <secoid.h> #include <secmodt.h> #include <sechash.h> #include <nss.h> typedef struct { const char *hashname; secoidtag oid; } nametagpair; /* the hash algorithms
supported */ static const nametagpair hash_names[] = { { "md2", sec_oid_md2 }, { "md5", sec_oid_md5 }, { "sha1", sec_oid_sha1 }, { "sha256", sec_oid_sha256 }, { "sha384", sec_oid_sha384 }, { "sha512", sec_oid_sha512 } }; /* * maps a hash name to a secoidtag.
... * returns null if the name if not a
supported algorithm */ static secoidtag hashnametooidtag(const char *hashname) { int i, nhashes = sizeof(hash_names); secoidtag hashtag = sec_oid_unknown; for (i = 0; i < nhashes; i++) { if (port_strcasecmp(hashname, hash_names[i].hashname) == 0) { hashtag = hash_names[i].oid; break; } } return hashtag; } /* * newline */ static void newline(prfiledesc* out) { pr_fprintf(out, "\n"); } /* * printashex */ void printashex(prfiledesc* out, unsigned char *data, unsigned int len) { unsigned i; int column; unsigned int limit = 15; unsigned int level = 1; column = level; if (!len) { pr_fprintf(out, "(empty)\n"); return; } for (i = 0; i < len; ...
Utilities for nss samples
* * this function
supports password extraction from files with * multipe passwords, one for each token.
... * * this function
supports password extraction from files with * multipe passwords, one for each token.
sample1
/* nspr headers */ #include <prprf.h> #include <prtypes.h> #include <plgetopt.h> #include <prio.h> #include <prprf.h> /* nss headers */ #include <secoid.h> #include <secmodt.h> #include <sechash.h> typedef struct { const char *hashname; secoidtag oid; } nametagpair; /* the hash algorithms
supported */ static const nametagpair hash_names[] = { { "md2", sec_oid_md2 }, { "md5", sec_oid_md5 }, { "sha1", sec_oid_sha1 }, { "sha256", sec_oid_sha256 }, { "sha384", sec_oid_sha384 }, { "sha512", sec_oid_sha512 } }; /* maps a hash name to a secoidtag.
... * returns null if the name is not a
supported algorithm */ static secoidtag hashnametooidtag(const char *hashname) { int i, nhashes = sizeof(hash_names); secoidtag hashtag = sec_oid_unknown; for (i = 0; i < nhashes; i++) { if (port_strcasecmp(hashname, hash_names[i].hashname) == 0) { hashtag = hash_names[i].oid; break; } } return hashtag; } /* newline */ static void newline(prfiledesc* out) { pr_fprintf(out, "\n"); } /* printashex */ void printashex(prfiledesc* out, unsigned char *data, unsigned int len) { unsigned i; int column; unsigned int limit = 15; unsigned int level = 1; column = level; if (!len) { pr_fprintf(out, "(empty)\n"); return; ...
nss tech note6
any offer of binary
support that may have been previously made to you by nss developers is null and void.
...if you still decide to make un
supported changes, you can allow the softoken to come up in fips 140 mode of operation by regenerating the .chk files yourself.
PKCS11 module installation
pkcs #11 modules are external modules which add to firefox
support for smartcard readers, biometric security devices, and external certificate stores.
...older versions of firefox may
support the window.pkcs11 property for installing pkcs #11 modules.
NSS PKCS11 Functions
such information is protected with a password that can be retrieved by calling an application-
supplied callback function.
...arg a pointer
supplied by the application that can be used to pass state information.
Build instructions
use_64: on platforms that
support both 32-bit and 64-bit abis, tells nss to build for the 64-bit abi.
... default is 32-bit abi, except on platforms that do not
support a 32-bit abi.
FC_GetMechanismList
name fc_getmechanismlist - get a list of mechanism types
supported by a token.
... description fc_getmechanismlist obtains a list of mechanism types
supported by a token.
FC_WaitForSlotEvent
description this function is not
supported by the nss cryptographic module.
... return value fc_waitforslotevent always returns ckr_function_not_
supported.
NSS tools : cmsutil
-n
suppress output of contents (decode only).
...-t
suppress content in cms message (sign only).
troubleshoot.html
the 64-bit builds don't
support gcc.
...some systems may not be configured to allow this many simultaneous connections by default; if the stress tests fail, try increasing the number of simultaneous sockets
supported.
pkfnc.html
such information is protected with a password that can be retrieved by calling an application-
supplied callback function.
... arg a pointer
supplied by the application that can be used to pass state information.
sslintro.html
other apis that may be exposed in the header files are not
supported for application use.
...to avoid the overhead of repeating the full ssl handshake in situations like this, the ssl protocol
supports the use of a session cache, which retains information about each connection, such as the master secret generated during the ssl handshake, for a predetermined length of time.
NSS Tools cmsutil
-n
suppress output of contents (decode only).
... -t
suppress content in cms message (sign only).
NSS Tools pk12util
using the pkcs #12 tool (pk12util) newsgroup: mozilla.dev.tech.crypto the pkcs #12 utility makes sharing of certificates among enterprise server 3.x and any server (netscape products or non-netscape products) that
supports pkcs#12 possible.
...it may be the case that the cryptographic module does not
support the requested algorithm and a best fit will be selected, likely to be the default.
NSS tools : cmsutil
-n
suppress output of contents (decode only).
... -t
suppress content in cms message (sign only).
Necko FAQ
todo how does the proxy
support work?
... todo what about socks
support?
Multithreading in Necko
in the future, necko may be made thread safe to
support changes to gecko that would put some other processing work on background threads (eg.
...the implementation of the stream should be blocking; however, there is limited
support for non-blocking streams.
Rhino optimization
optimization settings the currently
supported optimization settings are: -1 interpretive mode is always used.
... note some language features (indirect calls to eval, use of the arguments property of function objects) were previously not
supported in higher optimization levels.
Rhino requirements and limitations
older versions
support jdks as early as 1.1.
...nts: javaobj.fieldandmethod = 5; var field = javaobj.fieldandmethod; javaobj.fieldandmethod = 7; // now, field == 7 you can work around this by forcing the field value to be converted to a javascript type when you take its value: javaobj.fieldandmethod = 5; var field = javaobj.fieldandmethod + 0; // force conversion now javaobj.fieldandmethod = 7; // now, field == 5 jsobject rhino does not
support the netscape.javascript.jsobject class.
Shumway
there are a few situations where a user may use shumway to view your content: their platform does not
support adobe flash player.
... there might be a time where users want to experience your content but flash is no longer
supported by adobe.
Hacking Tips
ack to where you came from with the following set of gdb commands: (gdb) record full (gdb) si (gdb) record goto 0 (gdb) record stop if you have a core file, you can use the gdb unwinder the same way, or do everything from the command line as follow: $ gdb -ex 'enable unwinder .* spidermonkey' -ex 'bt 0' -ex 'thread apply all backtrace' -ex 'quit' out/dist/bin/js corefile the gdb unwinder is
supposed to be loaded by dist/bin/js-gdb.py and load python scripts which are located in js/src/gdb/mozilla under gdb.
.../* open your png viewer with the result of iongraph */ this gdb instrumentation is
supposed to work with debug builds, or with optimized build compiled with --enable-jitspew configure flag.
SpiderMonkey Internals
watchpoints, for intercepting set operations on properties and running a debugger-
supplied function that receives the old value and a pointer to the new one, which it can use to modify the new value being set.
...in particular, js 1.0
support is missing from spidermonkey.
JSFastNative
argc unsigned int the number of arguments
supplied to the function by the caller (as opposed to, say, the number of arguments the function is specified to take in its jsfunctionspec).
...this points to element 0 of an array of argc jsvals, the arguments
supplied by the caller.
JSObjectOps.getRequiredSlot
jsobjectops is not a
supported api.
...these operations are infallible, so required slots must be pre-allocated, or implementations must
suppress out-of-memory errors.
JS_IsConstructing_PossiblyWithGivenThisObject
this article covers features introduced in spidermonkey 1.8.5 determine if a special this object was
supplied to the constructor.
...in such cases, the following example would provide the additional information of whether a special this was
supplied.
JS_PushArguments
on success, js_pusharguments fills in the
supplied markp pointer and returns a pointer to the first element of an array of jsval which are automatically rooted as necessary (protected from the gc temporarily).
... the application must call js_poparguments using the
supplied markp stack pointer when done with this stack frame, to free the memory and unroot the jsvals.
Parser API
note: the debugger statement is new in ecmascript 5th edition, although spidermonkey has
supported it for years.
... e4x this section describes node types that are provided for e4x
support.
A Web PKI x509 certificate primer
(p384 also chosen for compatibility as most ssl/tls implementations
support this part of suite b).
...ical that is not handled by mozilla::pkix re-generate the certificate without the extension or with it not marked as critical sec_error_unknown_issuer either a missing intermediate or root certificate is necessary to verify the certificate import the root certificate into firefox or have the server send the intermediate sec_error_invalid_key sec_error_un
supported_keyalg sec_error_expired_issuer_certificate an issuer certificate is too old re-issue the issuer certificate mozilla_pkix_error_ca_cert_used_as_end_entity a certificate with a basic constraints extension with ca:true is being used as an end-entity certificate re-generate the end-entity certificate without the basic constraints extension mozilla...
XForms Accessibility
assistive technologies api for xforms is
supported starting from firefox 3 (gecko 1.9).
...note, we
support -moz-user-focus style neither for xhtml or xul.
Accessibility API Implementation Details
at apis
supportthis documentation explains how makers of screen readers, voice dictation packages, onscreen keyboards, magnification software and other assitive technologies can
support gecko-based software.
... we provide for them the
support of these products on windows, linux/unix and os x platforms.at developmentthe accessibility of computer software has seen drastic improvements over the past two decades.
Mork
starting with mozilla 1.9, it was phased out in favor of sqlite, a more widely-
supported file format.
...in a few cases, constructs that the parser
supported but were never used in mozilla's code are left unspecified.
Places Developer Guide
}, queryinterface: function(iid) { if (iid.equals(ci.nsinavbookmarkobserver) || iid.equals(ci.nsi
supports)) { return this; } throw cr.ns_error_no_interface; }, }; // register the observer with the bookmarks service var bmsvc = cc["@mozilla.org/browser/nav-bookmarks-service;1"] .getservice(ci.nsinavbookmarksservice); bmsvc.addobserver(observer, false); // un-register the observer when done.
...ype) { }, ontitlechanged: function(auri, apagetitle) { }, ondeleteuri: function(auri) { }, onclearhistory: function() { }, onpagechanged: function(auri, awhat, avalue) { }, onpageexpired: function(auri, avisittime, awholeentry) { }, queryinterface: function(iid) { if (iid.equals(components.interfaces.nsinavhistoryobserver) || iid.equals(components.interfaces.nsi
supports)) { return this; } throw cr.ns_error_no_interface; } }; history.addobserver(observer, false); new tagging service the tagging of uris is provided by nsitaggingservice.
The Publicity Stream API
this library will detect whether native api
support is enabled by the user's browser, if not it will shim in a pure html implementation.
...missing required properties) finally, the publicizeactivity() function will throw an exception if required arguments are missing, or if un
supported arguments are present.
extIPreferenceBranch
events readonly attribute extievents the events object for the preferences
supports: "change" methods has() check to see if a preference exists.
... there are no other types
supported by the preference subsystem.
XPCOM glue
frozen linkage: standalone glue (no dll dependencies) note:
support for locating a standalone glue was removed in gecko 6.0.
...however, when using threadsafe together with the glue libraries from gecko 1.8 or later, a special step needs to be taken to use ns_impl_threadsafe_i
supportsn.
Creating XPCOM components
preface who should read this book organization of the tutorial following along with the examples conventions acknowledgements an overview of xpcom the xpcom solution gecko components interfaces interfaces and encapsulation the nsi
supports base interface xpcom identifiers cid contract id factories xpidl and type libraries xpcom services xpcom types method types reference counting status codes variable mappings common xpcom error codes using xpcom components component examples cookie manager the webbrowserfind component the weblock component component use in mozilla ...
...tring classes in xpcom using strings nsembedstring and nsembedcstring smart pointers starting weblock getting called at startup registering for notifications getting access to the category manager providing access to weblock creating the weblock programming interface defining the weblock interface in xpidl the xpidl syntax scriptable interfaces subclassing nsi
supports the web locking interface implementing weblock declaration macros representing return values in xpcom xpidl code generation getting the weblock service from a client implementing the iweblock interface the directory service modifying paths with nsifile manipulating files with nsifile using nsilocalfile for reading data processing the white list data iweblock...
XPCOM hashtable guide
key type hashkey class strings nsstringhashkey/nscstringhashkey integers nsuint32hashkey/nsuint64hashkey pointers nsptrhashkey<t> owned interface pointers nsi
supportshashkey reference-counted concrete classes nsrefptrhashkey there are a number of more esoteric hashkey classes in nshashkeys.h, and you can always roll your own if none of these fit your needs (make sure you're not duplicating an existing hashkey class though!) once you've determined what hashtable and hashkey classes you need, you can put it all together.
... a few examples: a hashtable that maps utf-8 origin names to a dom window - nsinterfacehashtable<nscstringhashkey, nsidomwindow> a hashtable that maps 32 bit integers to floats - nsdatahashtable<nsuint32hashkey, float> a hashtable that maps nsi
supports pointers to reference counted cacheentrys - nsrefptrhashtable<nsi
supportshashkey, cacheentry> a hashtable that maps jscontext pointers to a contextinfo struct - nsclasshashtable<nsptrhashkey<jscontext>, contextinfo> a hashset of strings - nsthashtable<nsstringhashkey> hashtable api the hashtable classes all expose the same basic api.
How to build a binary XPCOM component using Visual Studio
let’s specify a simple interface: #include "nsi
supports.idl" [scriptable, uuid(263ed1ba-5cc1-11db-9673-00e08161165f)] interface ispecialthing : nsi
supports { attribute astring name; long add(in long a, in long b); }; remember to generate your own guid.
...e: #ifndef __specialthing_impl_h__ #define __specialthing_impl_h__ #include "comp.h" #include "nsstringapi.h" #define specialthing_contractid "@starkravingfinkle.org/specialthing;1" #define specialthing_classname "specialthing" #define specialthing_cid { 0x245626, 0x5cc1, 0x11db, { 0x96, 0x73, 0x0, 0xe0, 0x81, 0x61, 0x16, 0x5f } } class cspecialthing : public ispecialthing { public: ns_decl_i
supports ns_decl_ispecialthing cspecialthing(); private: ~cspecialthing(); protected: /* additional members */ nsstring mname; }; #endif cpp file: #include "comp-impl.h" ns_impl_i
supports1(cspecialthing, ispecialthing) cspecialthing::cspecialthing() { /* member initializers and constructor code */ mname.assign(l"default name"); } cspecialthing::~cspecialthing() { /* destructor code *...
Components.utils.exportFunction
options : object optional parameter that
supplies additional options.
...
suppose the content window defines a local variable bar: // page-script.js var bar = {}; now the add-on script can attach the function to bar: // addon-script.js components.utils.exportfunction(greetme, contentwindow.bar, {defineas: "greetme"}); // page-script.js var value = bar.greetme("bob"); console.log(value); // "hello bob" ...
Components.utils.importGlobalProperties
the following strings are
supported: string/object xpcom component atob blob btoa crypto css fetch file nsidomfile indexeddb nodefilter firefox 60 nsidomnodefilter obsolete since gecko 60 rtcidentityprovider textdecoder textencoder u...
... example components.utils.import("resource://gre/modules/devtools/console.jsm"); components.utils.importglobalproperties(["atob", "btoa"]); var encoded = btoa("hello"); console.log(encoded); // "sgvsbg8=" console.log(atob(encoded)); // "hello" alternative methods if importglobalproperties does not
support the targeted firefox version, here are some alternative methods to import these objects.
RefPtr
so for xpcom interfaces: nscomptr<nsi
supports> a; nscomptr<nsifoo> foo; and for concrete classes: refptr<nsfoo> foo; // class that implements nsifoo; refptr<bar> bar; // some random class that i want ref-counted but has nothing to do with xpcom: // just implement addref() and release() and it will work with refptr it is important that nscomptr is not used to hold a pointer to a concrete class since this can...
... note: in the above example, "nscomptr<nsfoo>" might compile and work ok (it won't if your xpcom class multiply-inherits nsi
supports).
IAccessibleComponent
[propget] hresult background( [out] ia2color background ); parameters background the returned color is the background color of this object or, if that is not
supported, the default background color.
...[propget] hresult foreground( [out] ia2color foreground ); parameters foreground the returned color is the foreground color of this object or, if that is not
supported, the default foreground color.
IAccessibleTable2
if you want to
support older applications you should also
support the iaccessibletable interface.
...[propget] hresult summary( [out] iunknown accessible ); parameters accessible returns a reference to an implementation dependent accessible object representing the table's summary or a null pointer if the table does not
support a summary.
IDispatch
js/src/xpconnect/idl/xpcidispatch.idlscriptable this interface is not to be used directly, it is to be used internally for xpconnect's idispatch
support.
... inherits from: nsi
supports last changed in gecko 1.7 ...
imgICache
inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) as of firefox 18, there is no longer a single image cache.
... findentryproperties() find properties used to get properties such as 'type' and 'content-disposition' 'type' is a nsi
supportscstring containing the images' mime type such as 'image/png' 'content-disposition' will be a nsi
supportscstring containing the header if you call this before any data has been loaded from a uri, it will succeed, but come back empty.
jsdIStackFrame
private data for this object is an nsi
supports object.
...private data for this context, if it is an nsi
supports, |null| otherwise.
mozIStorageConnection
1.0 68 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) for a general overview on how to use this interface, see storage.
... note: the database engine does not
support nested transactions, so attempting to start a transaction when one is already active will throw an exception.
mozIStorageError
last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) inherits from: nsi
supports attributes attribute type description message autf8string a human readable error string with details; this may be null if no details are available.
... nolfs 22 attempted to use os features not
supported on the host system.
mozIStorageService
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) see mozistorageconnection method overview nsifile backupdatabasefile(in nsifile adbfile, in astring abackupfilename, [optional] in nsifile abackupparentdirectory); mozistorageconnection opendatabase(in nsifile adatabasefile); mozistorageconnection openspecialdatabase(in string astoragekey); mozistorageconnection openunshareddatabase(in nsifile adatabasefile); metho...
...each connection uses its own sqlite cache, which is inefficient, so you should use opendatabase() instead of this method unless you need a feature of sqlite that is incompatible with a shared cache, like virtual table and full text indexing
support.
mozIStorageStatementWrapper
firefox 3.5 note firefox 3.5 adds
support for these features directly into the mozistoragestatement interface, so this interface is essentially deprecated.
... last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) inherits from: nsi
supports method overview void initialize(in mozistoragestatement astatement); void reset(); boolean step(); void execute(); attributes attribute type description statement mozistoragestatement the statement that is wrapped.
GetKeyBindings
« nsiaccessible page summary this method provides array of localized string of global keyboard accelerator for the given action index
supported by accessible.
... remark key bindings are
supported for default action only.
nsIAccessibleHyperLink
accessible/public/nsiaccessiblehyperlink.idlscriptable a cross-platform interface that
supports hyperlink-specific properties and methods.
... inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) method overview nsiaccessible getanchor(in long index); note: renamed from getobject in gecko 1.9 nsiuri geturi(in long index); boolean isselected(); obsolete since gecko 1.9 boolean isvalid(); obsolete since gecko 1.9 attributes attribute type description anchorcount long the number of anchors within this hyperlink.
nsIAsyncInputStream
method overview void asyncwait(in nsiinputstreamcallback acallback, in unsigned long aflags, in unsigned long arequestedcount, in nsieventtarget aeventtarget); void closewithstatus(in nsresult astatus); constants constant value description wait_closure_only (1<<0) if passed to asyncwait(), this flag overrides the default behavior, causing the oninputstreamready notification to be
suppressed until the stream becomes closed (either as a result of closewithstatus()/close being called on the stream or possibly due to some error in the underlying stream).
...note: this method exists in part to
support pipes, which have both an input end and an output end.
nsIAsyncOutputStream
method overview void asyncwait(in nsioutputstreamcallback acallback, in unsigned long aflags, in unsigned long arequestedcount, in nsieventtarget aeventtarget); void closewithstatus(in nsresult reason); constants constant value description wait_closure_only (1<<0) if passed to asyncwait(), this flag overrides the default behavior, causing the onoutputstreamready notification to be
suppressed until the stream becomes closed (either as a result of closewithstatus()/close being called on the stream or possibly due to some error in the underlying stream).
...note: this method exists in part to
support pipes, which have both an input end and an output end.
nsIAsyncStreamCopier
inherits from: nsirequest last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) method overview void asynccopy(in nsirequestobserver aobserver, in nsi
supports aobservercontext); void init(in nsiinputstream asource, in nsioutputstream asink, in nsieventtarget atarget, in boolean asourcebuffered, in boolean asinkbuffered, in unsigned long achunksize, in boolean aclosesource, in boolean aclosesink); methods asynccopy() starts the copy operation.
...void asynccopy( in nsirequestobserver aobserver, in nsi
supports aobservercontext ); parameters aobserver receives notifications.
nsIAutoCompleteItem
inherits from: nsi
supports last changed in gecko 1.7 attributes attribute type description classname string class name used to define some style through css like the colors, an icon url, and so on.
... param nsi
supports parameter use by the search engine.
nsIAutoCompleteListener
it only exists for legacy ldap autocomplete session
support.
... inherits from: nsi
supports last changed in gecko 1.7 method overview void onautocomplete(in nsiautocompleteresults result, in autocompletestatus status); void onstatus(in wstring statustext); attributes attribute type description param nsi
supports private parameter used by the autocomplete widget.
nsICacheEntryDescriptor
cacheelement nsi
supports get or set the cache data element.
... securityinfo nsi
supports get or set security info on the cache entry for this descriptor.
nsIChannelPolicy
1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) this interface exists to allow the content policy mechanism to function properly during channel redirects.
...attributes attribute type description contentsecuritypolicy nsi
supports a nsicontentsecuritypolicy object to determine if the load should be allowed.
nsICommandController
content/xul/document/public/nsicontroller.idlscriptable an enhanced controller interface that
supports passing parameters to commands.
... inherits from: nsi
supports last changed in gecko 1.7 implemented by: @mozilla.org/embedcomp/base-command-controller;1.
nsICompositionStringSynthesizer
dom/interfaces/base/nsicompositionstringsynthesizer.idlscriptable this interface is a composition string synthesizer interface that synthesizes composition string with arbitrary clauses and a caret 1.0 66 introduced gecko 26 obsolete gecko 38 inherits from: nsi
supports last changed in gecko 38.0 (firefox 38.0 / thunderbird 38.0 / seamonkey 2.35) this interface is obsoleted in gecko 38.
...however, gecko doesn't
support wide caret yet.
nsICrashReporter
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview void annotatecrashreport(in acstring key, in acstring data); void appendappnotestocrashreport(in acstring data); void appendobjcexceptioninfotoappnotes(in voidptr aexception); native code only!
... native code only!writeminidumpforexception write a minidump immediately, with the user-
supplied exception information.
nsICryptoHMAC
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) method overview acstring finish(in prbool aascii); void init(in unsigned long aalgorithm, in nsikeyobject akeyobject); void reset(); void update([const, array, size_is(alen)] in octet adata, in unsigned long alen); void updatefromstream(in nsiinputstream astream, in unsigned long alen); constants hashing algorithms.
...to create the key object use for instance: var keyobject = components.classes["@mozilla.org/security/keyobjectfactory;1"] .getservice(components.interfaces.nsikeyobjectfactory) .keyfromstring(components.interfaces.nsikeyobject.hmac, rawkeydata); exceptions thrown ns_error_invalid_arg if an un
supported algorithm type is passed.
nsIDNSService
inherits from: nsi
supports last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) implemented by: @mozilla.org/network/dns-service;1.
... constant value description resolve_bypass_cache (1 << 0) this flag
suppresses the internal dns lookup cache.
nsIDOMChromeWindow
inherits from: nsi
supports 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.
...void beginwindowmove( in nsidomevent mousedownevent ); parameters mousedownevent exceptions thrown ns_error_not_implemented if the operating system does not
support this method.
nsIDOMFile
note that in gecko, this interface currently inherits from nsi
supports, but in the file api specification, it should be a blob.
... last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) inherits from: nsi
supports this interface implements the dom file object; for complete documentation, read up on that.
nsIDOMGeoGeolocation
last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) inherits from: nsi
supports implemented by: @mozilla.org/geolocation;1.
... you can access this service using: var geolocation = components.classes["@mozilla.org/geolocation;1"] .getservice(components.interfaces.nsidomgeogeolocation); note: if nsidgeogeolocation throws an exception when importing, try using this: var geolocation = components.classes["@mozilla.org/geolocation;1"] .getservice(components.interfaces.nsi
supports); method overview void clearwatch(in unsigned short watchid); void getcurrentposition(in nsidomgeopositioncallback successcallback, [optional] in nsidomgeopositionerrorcallback errorcallback, [optional] in nsidomgeopositionoptions options); unsigned short watchposition(in nsidomgeopositioncallback successcallb...
nsIDOMNode
inherits from: nsi
supports 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 is
supported(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.
...return value insertbefore() nsidomnode insertbefore( in nsidomnode newchild, in nsidomnode refchild ); parameters newchild refchild return value is
supported() boolean is
supported( in domstring feature, in domstring version ); parameters feature version return value normalize() void normalize(); parameters none.
nsIDOMWindowInternal
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 nsi
supports 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, [optional] in boolean showdialog) domstring atob(in domstring aasciistr...
... pkcs11 nsidompkcs11 obsolete: this property is not
supported in newer versions of firefox.
nsIDOMXPathExpression
dom/interfaces/xpath/nsidomxpathexpression.idlscriptable represents a compiled xpath query returned from nsidomxpathevaluator.createexpression or document.createexpression inherits from: nsi
supports last changed in gecko 1.7 method overview nsi
supports evaluate(in nsidomnode contextnode, in unsigned short type, in nsi
supports result) methods evaluate() evaluate the xpath expression.
... nsi
supports evaluate( in nsidomnode contextnode, in unsigned short type, in nsi
supports result ); parameters contextnode a dom node to evaluate the xpath expression against.
nsIDeviceMotionListener
xpcom/system/nsidevicemotion.idlscriptable this interface can be implemented by clients that want to be notified orientation or acceleration changes on
supported devices.
... 1.0 66 introduced gecko 1.9.2 inherits from: nsi
supports last changed in gecko 6.0 (firefox 6.0 / thunderbird 6.0 / seamonkey 2.3) method overview void onmotionchange(in nsidevicemotiondata amotiondata); methods onmotionchange() called when new orientation or acceleration data is available.
nsIDialogParamBlock
embedding/components/windowwatcher/public/nsidialogparamblock.idlscriptable an interface to pass strings, integers and nsi
supports to a dialog.
... inherits from: nsi
supports last changed in gecko 1.7 method overview print32 getint( in print32 inindex ); wstring getstring( in print32 inindex ); void setint( in print32 inindex, in print32 inint ); void setnumberstrings( in print32 innumstrings ); void setstring( in print32 inindex, in wstring instring); attributes attribute type description objects nsimutablearray a place where you can store an nsimutablearray to pass nsi
supports.
nsIDirectoryService
the xpcom directory service implements this interface to provide
support for a variety of well-known file and directory locations.
... inherits from: nsi
supports last changed in gecko 1.7 method overview void init(); void registerprovider(in nsidirectoryserviceprovider prov); void unregisterprovider(in nsidirectoryserviceprovider prov); init() initializes the nsidirectoryservice instance.
nsIDownloadObserver
inherits from: nsi
supports last changed in gecko 1.7 method overview void ondownloadcomplete(in nsidownloader downloader, in nsirequest request, in nsi
supports ctxt, in nsresult status, in nsifile result); methods ondownloadcomplete() called to signal a download that has completed.
... void ondownloadcomplete( in nsidownloader downloader, in nsirequest request, in nsi
supports ctxt, in nsresult status, in nsifile result ); parameters downloader request ctxt status result ...
nsIEditor
66 introduced gecko 1.0 inherits from: nsi
supports last changed in gecko 18.0 (firefox 18.0 / thunderbird 18.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 a
suppresstransaction); void removeattributeorequivalent(in nsidomelement element, in domstring sourceattrname, in boolean a
suppresstransaction); void postcreate(); void predestroy(in boolean adestroyingframes)...
...this helps to
support cases where only parts of the document are editable, by letting you see if the current selection is in an editable section.
nsIEventListenerInfo
1.0 66 introduced gecko 1.9.2 inherits from: nsi
supports last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) method overview nsi
supports getdebugobject(); astring tosource(); attributes attribute type description allowsuntrusted boolean indicates whether or not the event listener allows untrusted events.
...nsi
supports getdebugobject(); parameters none.
nsIEventTarget
implement this interface in order to
support receiving events from other threads.
... 1.0 66 introduced gecko 1.6 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) method overview void dispatch(in nsirunnable event, in unsigned long flags); boolean isoncurrentthread(); void postevent(in pleventptr aevent); native code only!
nsIException
inherits from: nsi
supports last changed in gecko 1.7 method overview string tostring(); attributes attribute type description columnnumber pruint32 valid column numbers begin at 0.
... data nsi
supports arbitary data for the implementation.
nsIExternalProtocolService
inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) you can ask the external protocol service if it has an external handler for a given protocol scheme.
...illa.org/network/io-service;1"].getservice(components.interfaces.nsiioservice); var uritoopen = ioservice.newuri("http://www.example.com/", null, null); var extps = components.classes["@mozilla.org/uriloader/external-protocol-service;1"] .getservice(components.interfaces.nsiexternalprotocolservice); if (extps.externalprotocolhandlerexists("tlcxp")) { // handler for http:// urls exists } else { //
suppress external-load warning for standard browser schemes pref("network.protocol-handler.external.tlcxp", true); pref("network.protocol-handler.app.tlcxp, "lzx"); } </pre> getprotocolhandlerinfo() retrieve the handler for the given protocol.
nsIFTPEventSink
the nsiftpeventsink is an extension of nsi
supports.
... last changed in gecko 1.9 (firefox 3) inherits from: nsi
supports method overview void onftpcontrollog(in boolean server, in string msg) methods onftpcontrollog allows a consumer to receive a log of the ftp control connection conversation.
nsIFeedResult
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview void registerextensionprefix(in astring anamespace, in astring aprefix); attributes attribute type description bozo boolean the feed processor sets the bozo bit when a feed triggers a fatal error during xml parsing.
... see also nsi
supports nsifeedcontainer nsiuri nsiproperties interwiki link ...
nsIFeedResultListener
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview void handleresult(in nsifeedresult result); methods handleresult() called when feed processing is complete.
... see also nsifeedprogresslistener nsi
supports interwiki link ...
nsIGeolocationProvider
1.0 66 introduced gecko 1.9.1 inherits from: nsi
supports last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) this must be called on the main thread interface provides location information to the nsgeolocator via the nsidomgeolocationcallback interface.
...you may find the wifi access point monitoring service useful if you wish to implement
support for wifi-based location services.
nsIHapticFeedback
xpcom/system/nsihapticfeedback.idlscriptable implemented to provide
support for haptic feedback (that is, vibration
support).
... 1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) implemented by: @mozilla.org/widget/hapticfeedback;1 as a service: var hapticfeedback = components.classes["@mozilla.org/widget/hapticfeedback;1"] .getservice(components.interfaces.nsihapticfeedback); once you have the service, you can initiate haptic feedback (that is, cause the device to vibrate, if it's
supported) by calling performsimpleaction(): hapticfeedback.performsimpleaction(components.interfaces.nsihapticfeedback.longpress); method overview void performsimpleaction(in long islongpress); constants press length constants constant value description shortpress 0 ...
nsIHttpActivityObserver
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview void observeactivity(in nsi
supports ahttpchannel, in pruint32 aactivitytype, in pruint32 aactivitysubtype, in prtime atimestamp, in pruint64 aextrasizedata, in acstring aextrastringdata); attributes attribute type description isactive boolean true when the interface is active and should observe http activity, otherwise false.
...void observeactivity( in nsi
supports ahttpchannel, in pruint32 aactivitytype, in pruint32 aactivitysubtype, in prtime atimestamp, in pruint64 aextrasizedata, in acstring aextrastringdata ); parameters ahttpchannel the nsihttpchannel on which the activity occurred.
nsIIDNService
netwerk/dns/nsiidnservice.idlscriptable this interface provides
support for internationalized domain names, including methods for manipulating idn hostnames according to ietf specification.
... inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) implemented by: @mozilla.org/network/idn-service;1 as a service: var idnservice = components.classes["@mozilla.org/network/idn-service;1"] .getservice(components.interfaces.nsiidnservice); method overview autf8string convertacetoutf8(in acstring input); autf8string converttodisplayidn(in autf8string input, out boolean isascii); acstring convertutf8toace(in autf8string input); boolean isace(in acstring input); autf8string normalize(in autf8string input); methods convertacetoutf8() converts an ace (ascii compatible encoding) hostname into unicode format, returning a utf-8 format string.
nsIINIParserWriter
1.0 66 introduced gecko 1.9.2 inherits from: nsi
supports last changed in gecko 13.0 (firefox 13.0 / thunderbird 13.0 / seamonkey 2.10) this interface provides methods that allow writing to ini-format configuration files.
... to create an nsiiniparserwriter object, you use the nsiiniparserfactory interface to create a parser, then nsi
supports.queryinterface() that to get an nsiiniparserwriter, like this: let writer = components.classes["@mozilla.org/xpcom/ini-processor-factory;1"].
nsIIOService
inherits from: nsi
supports last changed in gecko 1.2 this interface duplicates many of the nsiprotocolhandler methods in a protocol handler independent way (for example newuri() inspects the scheme in order to delegate creation of the new uri to the appropriate protocol handler).
...but less error prone is to just
supply a loadingnode.
nsIInterfaceRequestor
inherits from: nsi
supports last changed in gecko 0.9.5 this is similar to nsi
supports.queryinterface().
...the semantics of nsi
supports.queryinterface() dictate that given an interface a that you nsi
supports.queryinterface() on to get to interface b, you must be able to nsi
supports.queryinterface() on b to get back to a.
nsIJSCID
inherits from: nsijsid last changed in gecko 1.7 method overview nsi
supports createinstance(); nsi
supports getservice(); methods createinstance() nsi
supports createinstance(); parameters none.
... return value getservice() nsi
supports getservice(); parameters none.
nsIJSON
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 7.0 (firefox 7.0 / thunderbird 7.0 / seamonkey 2.4) note: this interface may only be used from javascript code, with the exception of the legacydecodetojsval() method.
...only the five unicode encodings "utf-8", "utf-16le", "utf-16be", "utf-32le" and "utf-32be" are
supported.
nsIJumpListItem
1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) note: to consumers: it's reasonable to expect we'll need
support for other types of jump list items (an audio file, an email message, etc.).
... to add types, create the specific interface here, add an implementation class to winjumplistitem, and add
support to addlistbuild and removed items processing.
nsIMarkupDocumentViewer
inherits from: nsi
supports last changed in gecko 7.0 (firefox 7.0 / thunderbird 7.0 / seamonkey 2.4) method overview void scrolltonode(in nsidomnode node); void sizetocontent(); attributes attribute type description allowplugins boolean if true, plugins are allowed within the doc shell.
... bidi
support octet whether to use platform bidi
support or mozilla's bidi
support 1 - use mozilla's bidi
support 2 - use the platform bidi
support 3 - disable bidi
support.
nsIMemoryMultiReporter
1.0 66 introduced gecko 7.0 inherits from: nsi
supports last changed in gecko 12.0 (firefox 12.0 / thunderbird 12.0 / seamonkey 2.9) if you want to gather multiple measurements in a single operation (such as a single traversal of a large data structure), you can use a multi-reporter to do so.
... method overview void collectreports(in nsimemorymultireportercallback callback, in nsi
supports closure); methods collectreports() void collectreports( in nsimemorymultireportercallback callback, in nsi
supports closure ); parameters callback the nsimemorymultireportercallback to call when collection is complete.
nsIMessageWakeupService
1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) note: this service was introduced in gecko 5.0 on firefox for android, but was not provided on desktop until gecko 13.0 (firefox 13).
...currently, services must expose a wrappedjsobject in order to
support this; however, once bug 593407 is fixed, the service to be woken up must implement nsiframemessagelistener.
nsIMicrosummaryGenerator
1.0 66 introduced gecko 1.8 obsolete gecko 6.0 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) warning: microsummary
support was removed in gecko 6.0 (firefox 6.0 / thunderbird 6.0 / seamonkey 2.3) method overview long calculateupdateinterval(in nsidomnode apagecontent); boolean equals(in nsimicrosummarygenerator aother); astring generatemicrosummary(in nsidomnode apagecontent); attributes attribute type description loaded boolean has the generator itself (which may be a remote resource) been loaded.
...note: in the future, this may be expanded to
support rich text content.
nsIMicrosummaryService
1.0 66 introduced gecko 1.8 obsolete gecko 6.0 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) warning: microsummary
support was removed in gecko 6.0 (firefox 6.0 / thunderbird 6.0 / seamonkey 2.3) implemented by: @mozilla.org/microsummary/service;1 as a service: var microsummaryservice = components.classes["@mozilla.org/microsummary/service;1"] .getservice(components.interfaces.nsimicrosummaryservice); method overview void addgenerator(in nsiuri generatoruri); nsimicrosummary createmicrosummary(in nsiuri pa...
... boolean ismicrosummary(in long long bookmarkid, in nsimicrosummary microsummary); nsimicrosummary refreshmicrosummary(in long long bookmarkid); void removemicrosummary(in long long bookmarkid); void setmicrosummary(in long long bookmarkid, in nsimicrosummary microsummary); methods addgenerator() install the microsummary generator from the resource at the
supplied uri.
nsIModule
inherits from: nsi
supports last changed in gecko 0.9.9 method overview boolean canunload(in nsicomponentmanager acompmgr); void getclassobject(in nsicomponentmanager acompmgr, in nscidref aclass, in nsiidref aiid, [retval, iid_is(aiid)] out nsqiresult aresult); void registerself(in nsicomponentmanager acompmgr, in nsifile alocation, in string aloaderstr, in string atype); void unregisterself(in nsicomponentmanager acompmgr, in nsifile alocation, in string aloaderstr); methods canunload() this method may be queried to determine whether or not the component module...
... ns_error_no_interface indicates that the requested interface is not
supported.
nsIMsgCompFields
properties attribute type description attachments char * obsolete attachments obsolete, do not use anymore attachmentsarray nsi
supportsarray readonly attachvcard prbool bcc astring body astring bodyisasciionly prbool cc astring characterset char * defaultcharacterset char * readonly drafid char * dsn prbool fcc astring fcc2 astring followupto char * forcemsgencoding prbool forceplaintex...
... * newsposturl char * organization astring otherrandomheaders astring no longer exists - see https://groups.google.com/forum/#!topic/mozilla.dev.apps.thunderbird/s4ofmm8_b28 priority char * receiptheadertype print32 references char * replyto astring securityinfo nsi
supports subject astring templatename astring temporaryfiles char * obsolete temporaryfiles obsolete, do not use anymore to astring usemultipartalternative prbool uuencodeattachments prbool methods utility methods prbool checkcharsetconversion ( out char * fallbackchars...
nsIMsgDatabase
dbchangelistener instigator); markhdrreplied() void markhdrreplied(in nsimsgdbhdr msghdr, in boolean breplied, in nsidbchangelistener instigator); markhdrmarked() void markhdrmarked(in nsimsgdbhdr msghdr, in boolean mark, in nsidbchangelistener instigator); markmdnneeded() mdn (message disposition notification)
support.
... void markmdnneeded(in nsmsgkey key, in boolean bneeded, in nsidbchangelistener instigator); ismdnneeded() markmdnneeded only used when mail server is a pop3 server, or when the imap server does not
support user defined permanentflags.
nsINavHistoryQuery
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) the nsinavhistoryquery is not intended to be a
super-general query mechanism.
...we don't currently
support >1 annotation name per query.
nsIOutputStream
inherits from: nsi
supports last changed in gecko 1.0 an output stream may be "blocking" or "non-blocking" (see the isnonblocking() method).
...typically, output streams that do not have an internal buffer will not implement this method since such an implementation would require an intermediate buffer unless afromstream
supported nsiinputstream.readsegments(), but that is not guaranteed.
nsIPipe
inherits from: nsi
supports last changed in gecko 1.6 method overview void init(in boolean nonblockinginput, in boolean nonblockingoutput, in unsigned long segmentsize, in unsigned long segmentcount, in nsimemory segmentallocator); attributes attribute type description inputstream nsiasyncinputstream the pipe's input end, which also implements nsisearchableinputstream.
...the pipe
supports nsiasyncinputstream and nsiasyncoutputstream, which give the user of a non-blocking pipe the ability to wait for the pipe to become ready again.
nsIPlacesImportExportService
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 14.0 (firefox 14.0 / thunderbird 14.0 / seamonkey 2.11) in the past, this interface also offered methods for importing places data, but those methods are now part of the bookmarkhtmlutils.jsm javascript code module.
...the observer subject will be an nsi
supportsprint64 whose value is afolder.
nsIPrefBranch2
the object must implement the nsi
supportsweakreference interface or this will fail.
...there are 3 approaches which have been implemented in an attempt to avoid these situations: the nsprefbranch object
supports nsi
supportsweakreference.
nsIPrefLocalizedString
modules/libpref/public/nsipreflocalizedstring.idlscriptable this interface is simply a wrapper interface for nsi
supportsstring so the preferences service can have a unique identifier to distinguish between requests for normal wide strings nsi
supportsstring) and 'localized' wide strings, which get their default values from properites files.
... inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview void setdatawithlength(in unsigned long length, [size_is(length)] in wstring data); wstring tostring(); attributes attribute type description data wstring provides access to string data stored in this property.
nsIPrivateBrowsingService
1.0 66 introduced gecko 1.9.1 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) this interface is deprecated since firefox 20, and will probably be completely removed in firefox 21.
... for details on how to do this, see the article
supporting private browsing mode.
nsIProfile
this interface was
superseded by the nsitoolkitprofileservice interface in gecko 1.8.1.
... 66 introduced gecko 0.9 deprecated gecko 1.8.1 obsolete gecko 20.0 inherits from: nsi
supports last changed in gecko 1.6 implemented by: @mozilla.org/profile/manager;1.
nsIPropertyBag
inherits from: nsi
supports last changed in gecko 1.0 method overview nsivariant getproperty(in astring name); attributes attribute type description enumerator nsisimpleenumerator get a nsisimpleenumerator whose elements are nsiproperty objects.
...ipropertybag: services.sysinfo.getproperty("version"); //output 5.1 services.sysinfo.getproperty("name"); //output windows_nt services.sysinfo.getproperty("arch"); //output x86 services.sysinfo.getproperty("haswindowstouchinterface"); //outputs false or true if windows touch is there consult the uxp repo (//github.com/realityripple/uxp/blob/master/xpcom/base/nssysteminfo.cpp) for the properties
supported.
nsIProxyInfo
last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) inherits from: nsi
supports attributes attribute type description failoverproxy nsiproxyinfo this attribute specifies the proxy to failover to when this proxy fails.
...this is used to
support proxy failover.
nsIPushService
inherits from: nsi
supports last changed in gecko 46.0 (firefox 46.0 / thunderbird 46.0 / seamonkey 2.43) push lets a remote server send payloads to a web site, add-on, or component running in the browser.
... nsipushservice
supports the push api implementation in firefox, and can be used directly from privileged code to create system subscriptions.
nsIPushSubscription
inherits from: nsi
supports last changed in gecko 46.0 (firefox 46.0 / thunderbird 46.0 / seamonkey 2.43) each subscription is associated with a unique url generated by the push service.
...the following key names are
supported: p256dh the ecdh public key, used as the input keying material in the hkdf invocation during encryption.
nsISSLErrorListener
1.0 66 introduced gecko 1.9 inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) note: the recipient of this ssl status notification should not block.
... return value the consumer shall return true if it wants to
suppress the error message related to the error (the connection will still get canceled).
nsIScreen
inherits from: nsi
supports last changed in gecko 13.0 (firefox 13.0 / thunderbird 13.0 / seamonkey 2.10) use nsiscreenmanager to obtain references to screens.
...this will only have an effect on platforms that
support screen rotation.
nsIScriptableUnicodeConverter
inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) implemented by: @mozilla.org/intl/scriptableunicodeconverter.
...throws ns_error_uconv_noconv if the requested charset is not
supported.
nsISeekableStream
xpcom/io/nsiseekablestream.idlscriptable provides seeking
support in data streams.
... inherits from: nsi
supports last changed in gecko 1.7 method overview void seek(in long whence, in long long offset); void seteof(); long long tell(); constants constant value description ns_seek_set 0 specifies that the offset is relative to the start of the stream.
nsISimpleEnumerator
inherits from: nsi
supports last changed in gecko 0.9.6 method overview nsi
supports getnext(); boolean hasmoreelements(); methods getnext() called to retrieve the next element in the enumerator.
...nsi
supports getnext(); parameters none.
nsIStreamListener
method overview void ondataavailable(in nsirequest arequest, in nsi
supports acontext, in nsiinputstream ainputstream, in unsigned long aoffset, in unsigned long acount); methods ondataavailable() this method is called when the next chunk of data for the ongoing request may be read without blocking the calling thread.
...void ondataavailable( in nsirequest arequest, in nsi
supports acontext, in nsiinputstream ainputstream, in unsigned long aoffset, in unsigned long acount ); parameters arequest an nsirequest indicating the source of the data.
nsITaskbarPreviewController
1.0 66 introduced gecko 1.9.2 inherits from: nsi
supports last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) clients should provide their own implementation of this interface.
...the controller and its
supporting code, however, may change this values at any time.
nsITaskbarProgress
1.0 66 introduced gecko 1.9.2 inherits from: nsi
supports last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) method overview void setprogressstate(in nstaskbarprogressstate state, in unsigned long long currentvalue optional, in unsigned long long maxvalue optional); constants constant value description state_no_progress 0 stop displaying progress on the taskbar button.
...the currentvalue and maxvalue parameters are optional and should be
supplied when state is one of state_normal, state_error or state_paused.
nsITextInputProcessorNotification
dom/interfaces/base/nsitextinputprocessorcallback.idlscriptable this interface of a request or notification to ime 1.0 66 introduced gecko 38 inherits from: nsi
supports last changed in gecko 38.0 (firefox 38.0 / thunderbird 38.0 / seamonkey 2.35) this interface tells details of a request or notification to ime.
... when gecko
supports new notification to ime, this interface may have some new attributes.
nsITraceableChannel
1.0 66 introduced gecko 1.9.0.4 inherits from: nsi
supports last changed in gecko 1.9.0.4 the typical way to use this interface is as follows: register for the "http-on-examine-response" notification to track all http responses; skip redirects (responsestatus = 3xx on nsihttpchannel), since otherwise you may end up with two listeners registered for a channel; qi the channel passed as the "subject" to your observer to nsitraceablechannel, and replace the default nsistreamlistener (that passes the data to the original requester - e.g.
...t, acontext); }, onstoprequest: function(arequest, acontext, astatuscode) { this.responsebody = this.receivedchunks.join(""); delete this.receivedchunks; this.responsestatus = astatuscode; this.originallistener.onstoprequest(arequest, acontext, astatuscode); this.deferreddone.resolve(); }, queryinterface: function(aiid) { if (aiid.equals(ci.nsistreamlistener) || aiid.equals(ci.nsi
supports)) { return this; } throw cr.ns_nointerface; } }; var httpresponseobserver = { observe: function(asubject, atopic, adata) { var newlistener = new tracinglistener(); asubject.queryinterface(ci.nsitraceablechannel); newlistener.originallistener = asubject.setnewlistener(newlistener); /////// end - do not edit newlistener.promisedone.then( function() { // no error happen...
nsITreeBoxObject
last changed in gecko 1.9 (firefox 3) inherits from: nsi
supports to get the treeboxobject for a tree: let boxobject = tree.boxobject; boxobject.queryinterface("components.interfaces.nsitreeboxobject"); or simply: let boxobject = tree.treeboxobject; method overview long getfirstvisiblerow(); long getlastvisiblerow(); long getpagelength(); void ensurerowisvisible(in long index); void ensurecellisvisible(in long row, in nsitreecolumn col); void scrolltorow(in long index); ...
... view nsitreeview the view that backs the tree and that
supplies it with its data.
nsIURLParser
inherits from: nsi
supports last changed in gecko 1.7 method overview void parseauthority(in string authority, in long authoritylen, out unsigned long usernamepos, out long usernamelen, out unsigned long passwordpos, out long passwordlen, out unsigned long hostnamepos, out long hostnamelen, out long port); void parsefilename(in string filename, in long filenamelen, out unsigned long basenamepos, out long basenamelen, out unsigned long extensionpos, out long extensionlen); void parsefilepath(in string filepath, in long filepathlen, out unsigned long directorypos, out long directorylen, out unsigned long basenamepos, out long basename...
...this was never a valid part of a url, and is now no longer
supported.
nsIUpdateItem
1.0 66 introduced gecko 1.8 obsolete gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) this interface is obsolete; instead of using the extension manager, you should use the addon manager.
...can be null and if
supplied must be in the format of "type:hash" (see the types in nsicryptohash and nsixpinstallmanager.initmanagerwithhashes().
nsIUpdateTimerManager
toolkit/mozapps/update/nsiupdatetimermanager.idlscriptable this interface provides a global application service that provides
support for long-duration timers (on the order of many days, weeks, or even months).
... 1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview void registertimer(in astring id, in nsitimercallback callback, in unsigned long interval); methods registertimer() presents a user interface that checks for and displays the available updates.
nsIWebBrowserChrome2
1.0 66 introduced gecko 1.9 inherits from: nsiwebbrowserchrome last changed in gecko 1.9 (firefox 3) method overview void setstatuswithcontext(in unsigned long statustype, in astring statustext, in nsi
supports statuscontext); methods setstatuswithcontext() called when the status text in the chrome needs to be updated.
...void setstatuswithcontext( in unsigned long statustype, in astring statustext, in nsi
supports statuscontext ); parameters statustype indicates what is setting the text.
nsIWebPageDescriptor
inherits from: nsi
supports last changed in gecko 1.7 method overview void loadpage(in nsi
supports apagedescriptor, in unsigned long adisplaytype); attributes attribute type description currentdescriptor nsi
supports retrieves the page descriptor for the current document.
...void loadpage( in nsi
supports apagedescriptor, in unsigned long adisplaytype ); parameters apagedescriptor the page descriptor for the page to load.
nsIWinAppHelper
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) implemented by: @mozilla.org/xre/app-info;1.
...note that this parameter was never actually
supported.
nsIWinTaskbar
1.0 66 introduced gecko 1.9.2 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) starting with windows 7, applications gain some control over their appearance in the taskbar.
...etaskbartabpreview(in nsidocshell shell, in nsitaskbarpreviewcontroller controller); nsitaskbarprogress gettaskbarprogress(in nsidocshell shell); nsitaskbarwindowpreview gettaskbarwindowpreview(in nsidocshell shell); void setgroupidforwindow(in nsidomwindow aparent, in astring aidentifier); attributes attribute type description available boolean returns true if the operating system
supports windows 7 or later taskbar features; you can use this instead of in-place operating system version checking.
nsIWindowsRegKey
1.0 66 introduced gecko 1.8 inherits from: nsi
supports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) the interface represents a single key in the registry.
...in particular, this interface does not
support the reg_multi_sz and reg_expand_sz value types.
nsIWritablePropertyBag2
setpropertyasautf8string(in astring prop, in autf8string value); void setpropertyasbool(in astring prop, in boolean value); void setpropertyasdouble(in astring prop, in double value); void setpropertyasint32(in astring prop, in print32 value); void setpropertyasint64(in astring prop, in print64 value); void setpropertyasinterface(in astring prop, in nsi
supports value); void setpropertyasuint32(in astring prop, in pruint32 value); void setpropertyasuint64(in astring prop, in pruint64 value); methods setpropertyasacstring() void setpropertyasacstring( in astring prop, in acstring value ); parameters prop property to set the value of.
... setpropertyasinterface() void setpropertyasinterface( in astring prop, in nsi
supports value ); parameters prop property to set the value of.
nsIXPCException
inherits from: nsiexception last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) method overview void initialize(in string amessage, in nsresult aresult, in string aname, in nsistackframe alocation, in nsi
supports adata, in nsiexception ainner); xpcexjsval stealjsval(); native code only!
... methods initialize() void initialize( in string amessage, in nsresult aresult, in string aname, in nsistackframe alocation, in nsi
supports adata, in nsiexception ainner ); parameters amessage aresult aname alocation adata ainner native code only!stealjsval xpcexjsval stealjsval(); parameters none.
nsIXPCScriptable
last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) inherits from: nsi
supports method overview void precreate(in nsi
supports nativeobj, in jscontextptr cx, in jsobjectptr globalobj, out jsobjectptr parentobj); void create(in nsixpconnectwrappednative wrapper, in jscontextptr cx, in jsobjectptr obj); void postcreate(in nsixpconnectwrappednative wrapper, in jscontextptr cx, in jsobjectptr obj); prbool addproperty(in nsixpconnectwrappednative wrapper, in jscontex...
... methods precreate() void precreate( in nsi
supports nativeobj, in jscontextptr cx, in jsobjectptr globalobj, out jsobjectptr parentobj ); parameters nativeobj cx globalobj parentobj create() void create( in nsixpconnectwrappednative wrapper, in jscontextptr cx, in jsobjectptr obj ); parameters wrapper cx obj postcreate() void postcreate( in nsixpconnectwrappednative wrapper, in jscontextptr c...
nsIXULBuilderListener
inherits from: nsi
supports last changed in gecko 1.7 method overview void didrebuild(in nsixultemplatebuilder abuilder); void willrebuild(in nsixultemplatebuilder abuilder); methods didrebuild() called after a template builder has rebuilt its content.
... example create an object which implements nsixulbuilderlistener: var mylistener = { queryinterface: function(aiid) { if (aiid.equals(components.interfaces.nsixulbuilderlistener) || aiid.equals(components.interfaces.nsi
supports)) return this; throw components.results.ns_nointerface; }, willrebuild : function(builder) {}, didrebuild : function(builder) { } } attach the listener to a element: myelement.addlistener(mylistener); ...
nsIZipEntry
inherits from: nsi
supports last changed in gecko 1.9 (firefox 3) attributes attribute type description compression unsigned short the type of compression used for the item.
... the possible values and their meanings are defined in the zip file specification at zip application note
support.
nsIAbCard/Thunderbird3
properties currently
supported on the card: names: firstname, lastname phoneticfirstname, phoneticlastname displayname, nickname spousename, familyname primaryemail, secondemail home contact: homeaddress, homeaddress2, homecity, homestate, homezipcode, homecountry homephone, homephonetype work contact.
...the following types are
supported: base64xml xml vcard autf8string translateto(in autf8string atype); parameters atype the type of item to translate the card into.
The Thread Manager
application/extension javascript should consider using a chromeworker instead.") interfaces there are several interfaces that provide threading
support: nsithreadmanager the thread manager itself lets you create threads.
... nsithreadinternal a subclass of nsithread that is implemented by the xpcom thread object to add
support for observing dispatch activity on a thread.
Troubleshooting XPCOM components registration
if you are testing a build from your linux distribution (or other vendor-
supplied build), look for -dev packages from them.
... this even means that if you are using a component stub, the stub needs to be compiled using a version which the machine does
support; most likely this means msvc 6.0.
Status, Recent Changes, and Plans
eliminated the need to cast getter_addrefs when an nsi
supports** is needed.
... relaxed the invariant for nscomptr<nsi
supports>, so that it is now a pointer to any xpcom interface.
Working with out parameters
when working with xpcom components, you might come across method declarations like the following one: [scriptable, uuid(8b5314bc-db01-11d2-96ce-0060b0fb9956)] interface nsitransferable : nsi
supports { ...
... void gettransferdata ( in string aflavor, out nsi
supports adata, out unsigned long adatalen ) ; ...
XPCOM ABI
firefox) is built, the name of the abi it
supports is embedded into it.
...an extension author may build (compile) the xpcom component for each and every
supported machine and pack all the builds into a single xpi, each into its distinctive platform-specific subdirectory.
XPIDL Syntax
status of this document this is a partial reverse-engineering of the libidl source code's parser, limited mostly to the subset of functionality that is
supported by the mozilla xpidl binary.
...the following is a list of potential features which are parseable but may not result in expected code: struct, union, and enumerated types array declarators (appears to be
supported in xpidl_header.c but not xpidl_typelib.c) exception declarations module declarations variable arguments (that makes the abnf get more wonky) sequence types max-length strings fixed-point numbers "any" and "long double" types.
XTF
the extensible tag framework (xtf) allows adding
support for new namespaces using xpcom components to mozilla (written in javascript or c++).
... for example, the mozilla xforms project uses xtf to add
support for the xforms namespace.
Xray vision
for example: window.confirm() is a dom api that's
supposed to ask the user to confirm an action, and return a boolean depending on whether they clicked "ok" or "cancel".
... so, in gecko 31 and 32 we've added xray
support for most javascript built-in objects.
Mailnews and Mail code review requirements
super-review is required in certain situations: significant architectural refactoring, any change to any api, all changes that affect how code modules interact.
... see the full
super-review policy for more details.
Add Option to Context Menu
lay> for thunderbird 3 <?xml version="1.0"?> <overlay id="sample" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <popup id="mailcontext"> <menuitem id="my_option" label="my option concise and cool label" oncommand="alert('hi')"/> </popup> </overlay> for thunderbird 2 and 3 in the same xpi if our extension needs to
support thunderbird 2 and 3 we need to make custom overlays for each version.
... note: if our extension
supports more mozilla applications (for example mozilla firefox and mozilla thunderbird) we need also specify application flag.
Using tab-modal prompts
an alert!"]; prompt.alert.apply(null, promptargs); nsiprompt will automatically fall back to window-modal prompts when necessary (such as in situations in which tab-modal prompts aren't
supported, or for prompts displayed outside the context of a tab).le to use other forms of the prompts of nsipromptservice interface see the example code.
...fact = components.classes['@mozilla.org/prompter;1'].getservice(components.interfaces.nsipromptfactory); var prompt = promptfact.getprompt(window, components.interfaces.nsiprompt); var promptbag = prompt.queryinterface(components.interfaces.nsiwritablepropertybag2); promptbag.setpropertyasbool('allowtabmodal', true); var check = {value: false}; //initial state of checkbox, however if no text is
supplied the checkbox is not shown var input = {value: 'pre filled value'}; var ok = prompt.prompt.apply(null, ['title - but not shown in tab modal', 'text goes here', input, 'check text, if no text, checkbox is not shown', check]); //this here is just an alert, showing the values of the prompt prompt.alert.apply(null, ['title not shown in modal', 'user clicked ok: ' + ok + '\n' + 'checked: ' + chec...
Add to iPhoto
the core foundation api is implemented by the corefoundation object, which consists of two methods to initialize and shut down the library, a reference to the library, and all the types and methods declared to
support core foundation.
...all cfarray functions accept cfmutablearray objects, so you can use cfmutablearray with any routine that accepts a cfarray as input, but cfmutablearray
supports additional functions that let you change the contents of the array.
ctypes
note: some 64-bit values are outside the range of numeric values
supported by javascript.
... large integer types because javascript doesn't
support large (64-bit) integers, js-ctypes provides two data types allowing access to 64-bit integer data.
js-ctypes reference
out of the box, js-ctypes
supports a number of predefined types.
... other features error-handling js-ctypes
supports both errno (on all platforms) and getlasterror (on windows platforms).
js-ctypes
c++
support is possible through vtable pointers see using com from js-ctypes.
... for a discussion on extended c++
support see bug 505907.
Constants - Plugins
npvers_has_form_values 15 nppvformvalue nppvariables are
supported.
... npvers_has_popups_enabled_state 16 the npn_pushpopupsenabledstate() and npn_poppopupsenabledstate() functions are
supported.
Debugger.Source - Firefox Developer Tools
please note at the time of this writing,
support for webassembly is very preliminary.
...if one assigns a function, that function’s script’s source doesnot belong to the dom element; the function’s definition must appear elsewhere.) (if the sources attached to a dom element change, the debugger.source instances representing
superceded code still refer to the dom element; this accessor only reflects origins, not current relationships.) elementattributename if this source belongs to a dom element because it is an event handler content attribute or an event handler idl attribute, this is the name of that attribute, a string.
Debugger.Object - Firefox Developer Tools
if the method returns an object: if the object has a
superseded property whose value is a true value, then spidermonkey does not make the announced change.
...(however, return resumption values are not
supported.) if a given method is absent fromhandler, then events of that sort are ignored.
Deprecated tools - Firefox Developer Tools
it was also intended to
support application development for firefox os.
... more details about the shader editor alternatives an alternative to this panel is this extension: https://github.com/spite/shadereditorextension, or spector.js also
supports a shader editor that requires a library to use a shader reloader hook.
UI Tour - Firefox Developer Tools
it shows icons for the browsers that do
support the properties, and notes properties that are experimental or deprecated.
...the "browser compatibility" section of the article gives details of browser
support for the property.
Waterfall - Firefox Developer Tools
for example,
suppose we have code like this: var iterations = 70; var multiplier = 1000000000; function calculateprimes() { console.time("calculating..."); var primes = []; for (var i = 0; i < iterations; i++) { var candidate = i * (multiplier * math.random()); var isprime = true; for (var c = 2; c <= math.sqrt(candidate); ++c) { if (candidate % c === 0) { // not prime ...
... for example,
suppose we adapt the code above to make a timestamp every 10 iterations of the loop, labeled with the iteration number: var iterations = 70; var multiplier = 1000000000; function calculateprimes() { console.time("calculating..."); var primes = []; for (var i = 0; i < iterations; i++) { if (i % 10 == 0) { console.timestamp(i.tostring()); } var candidate = i * (multiplier *...
Console messages - Firefox Developer Tools
this means that if your javascript sources are compressed, you can
supply a source map for them.
... the web console
supports the following console api messages: assert() clear() count() dir() dirxml() error() exception() group() groupend() info() log() table() time() timeend() trace() warn() the console prints a stack trace for all error messages, like this: function foo() { console.error("it explodes"); } function bar() { foo(); } function dostuff() { bar(); } dostuff(); server s...
AnalyserNode.AnalyserNode() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetanalysernode() constructorchrome full
support 55edge full
support ≤79firefox full
support 53ie no
support noopera full
support 42safari full
support 6webview android ful...
...l
support 55chrome android full
support 55firefox android full
support 53opera android full
support 42safari ios full
support 6samsung internet android full
support 6.0legend full
support full
support no
support no
support ...
AudioContext.baseLatency - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbaselatency experimentalchrome full
support 58edge full
support ≤79firefox full
support 70ie no
support noopera full
support 45safari no
support nowebview android full...
...
support 58chrome android full
support 58firefox android no
support noopera android full
support 43safari ios no
support nosamsung internet android full
support 7.0legend full
support full
support no
support no
supportexperimental.
AudioContext.createMediaStreamSource() - Web APIs
var pre = document.queryselector('pre'); var video = document.queryselector('video'); var myscript = document.queryselector('script'); var range = document.queryselector('input'); // getusermedia block - grab stream // put it into a mediastreamaudiosourcenode // also output the visuals into a video element if (navigator.mediadevices) { console.log('getusermedia
supported.'); navigator.mediadevices.getusermedia ({audio: true, video: true}) .then(function(stream) { video.srcobject = stream; video.onloadedmetadata = function(e) { video.play(); video.muted = true; }; // create a mediastreamaudiosourcenode // feed the htmlmediaelement into it var audioctx = new audiocontext(); ...
... biquadfilter.connect(audioctx.destination); // get new mouse pointer coordinates when mouse is moved // then set new gain value range.oninput = function() { biquadfilter.gain.value = range.value; } }) .catch(function(err) { console.log('the following gum error occured: ' + err); }); } else { console.log('getusermedia not
supported on your browser!'); } // dump script to pre element pre.innerhtml = myscript.innerhtml; note: as a consequence of calling createmediastreamsource(), audio playback from the media stream will be re-routed into the processing graph of the audiocontext.
AudioContext.getOutputTimestamp() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetoutputtimestamp experimentalchrome full
support 57edge full
support ≤79firefox full
support 70ie no
support noopera full
support 44safari no
support nowebview android full...
...
support 57chrome android full
support 57firefox android no
support noopera android full
support 43safari ios no
support nosamsung internet android full
support 7.0legend full
support full
support no
support no
supportexperimental.
AudioWorkletGlobalScope - Web APIs
the audioworkletglobalscope interface of the web audio api represents a global execution context for user-
supplied code, which defines custom audioworkletprocessor-derived classes.
... // test-processor.js class testprocessor extends audioworkletprocessor { constructor () {
super() // current sample-frame and time at the moment of instantiation // to see values change, you can put these two lines in process method console.log(currentframe) console.log(currenttime) } // the process method is required - simply output silence, // which the outputs are already filled with process (inputs, outputs, parameters) { return true } } // the sample ra...
AudioWorkletProcessor() - Web APIs
syntax the audioworkletprocessor and classes that derive from it cannot be instantiated directly from a user-
supplied code.
... // test-processor.js class testprocessor extends audioworkletprocessor { constructor (options) {
super() console.log(options.numberofinputs) console.log(options.processoroptions.someusefulvariable) } process (inputs, outputs, parameters) { return true } } registerprocessor('test-processor', testprocessor) next, in our main script file we'll load the processor, create an instance of audioworkletnode passing it the name of the processor and options object.
AuthenticatorAttestationResponse.getTransports() - Web APIs
return value an array containing the different transports
supported by the authenticator or nothing if this information is not available.of the processing of the different extensions by the client.
... the elements of this array are
supposed to be in lexicographical order.
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.
... should this property be absent, it would indicate that the client does not
support token binding.
BaseAudioContext.createConstantSource() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcreateconstantsourcechrome full
support 56edge full
support ≤79firefox full
support 53ie no
support noopera full
support 43safari no
support nowebview android full...
...
support 56chrome android full
support 56firefox android full
support 53opera android full
support 43safari ios no
support nosamsung internet android full
support 6.0legend full
support full
support no
support no
support ...
Using the Beacon API - Web APIs
the worker myworker.onmessage = function(event) { var msg = event.data; // log worker's send status console.log("worker reply: sendbeacon() status = " + msg); }; } this code snippet is for the worker (worker-using.js): onmessage = function(event) { var msg = event.data; // split the url and data from the message var url = msg[0]; var data = msg[1]; // if the browser
supports worker sendbeacon(), then send the beacon; otherwise // return failure message to the global context if (self.navigator.sendbeacon) { var status = self.navigator.sendbeacon(url, data); postmessage(status ?
... "success" : "fail"); } else { postmessage("worker: self.navigator.sendbeacon is un
supported"); } } see also beacon api (overview) beacon standard beacon caniuse data ...
Bluetooth.getAvailability() - Web APIs
examples the following snippet prints out a message in the console specifying wheter or not bluetooth is
supported: navigator.bluetooth.getavailability().then(available => { if (available) console.log("this device
supports bluetooth!"); else console.log("doh!
... bluetooth is not
supported"); }); specifications specification status comment web bluetooththe definition of 'getavailability()' in that specification.
CSSRule - Web APIs
6 csspagerule cssrule.keyframes_rule 7 csskeyframesrule cssrule.keyframe_rule 8 csskeyframerule reserved for future use 9 should be used to define color profiles in the future cssrule.namespace_rule 10 cssnamespacerule cssrule.counter_style_rule 11 csscounterstylerule cssrule.
supports_rule 12 css
supportsrule cssrule.document_rule 13 cssdocumentrule cssrule.font_feature_values_rule 14 cssfontfeaturevaluesrule cssrule.viewport_rule 15 cssviewportrule cssrule.region_style_rule 16 cssregionstylerule cssrule.unknown_rule 0 cssunknownrule cssrule.charset_rul...
... candidate recommendation added value
supports_rule.
CSSStyleDeclaration - Web APIs
cssstyledeclaration named properties dashed and camel-cased attributes for all
supported css properties.
... cssstyledeclaration.getpropertycssvalue() only
supported via getcomputedstyle in firefox.
CSSStyleRule.selectorText - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetselectortextchrome full
support 1edge full
support 12firefox full
support 1ie full
support 9opera full
support yessafari full
support 6webview android full s...
...upport 4.4chrome android full
support 18firefox android full
support 4opera android full
support yessafari ios full
support yessamsung internet android full
support 1.0legend full
support full
support ...
CSSStyleValue.parseAll() - Web APIs
the parseall() method of the cssstylevalue interface sets all occurences of a specific css property to the specified value and returns an array of cssstylevalue objects, each containing one of the
supplied values.
... return value an array of cssstylevalue objects, each containing one of the
supplied values.
Using the CSS Painting API - Web APIs
.fancy { background-image: paint(headerhighlight); } putting it together we can then add the fancy class to any element on the page to add a yellow box as a background: <h1 class="fancy">my cool header</h1> the following example will look like the image above in browsers
supporting the css painting api.
... in browsers that
support the css paint api, the example below should appear like the image above.
Using the CSS Typed Object Model - Web APIs
in browsers that
support computedstylemap(), you'll see a list of all the css properties and values.
...ue.appendchild(document.createtextnode( propval )); row.appendchild( cssvalue ); // and the type of unit const cssunit = document.createelement( 'td' ); cssunit.appendchild( document.createtextnode( allcomputedstyles.get( ofinterest[i] ).unit )); row.appendchild( cssunit ); //add the row to the table stylestable.appendchild( row ); } for those of you using a non-
supporting browser, the above output should looks something like this: property value unit padding-top 0 px margin-bottom 16 px font-size 16 px font-stretch 100 percent animation-duration 0 s animation-iteration-count 1 number width auto undefined height auto und...
Cache - Web APIs
// all of the google web fonts are served off of a domain that
supports cors, so that isn't an issue here.
... // it is something to keep in mind if you're attempting to cache other resources from a cross-origin // domain that doesn't
support cors, though!
Canvas tutorial - Web APIs
today, all major browsers
support it.
...the <canvas> element is not
supported in some older browsers, but is
supported in recent versions of all major browsers.
console.count() - Web APIs
if
supplied, count() outputs the number of times it has been called with that label.
... examples for example, given code like this: let user = ""; function greet() { console.count(); return "hi " + user; } user = "bob"; greet(); user = "alice"; greet(); greet(); console.count(); console output will look something like this: "default: 1" "default: 2" "default: 3" "default: 4" the label is displayed as default because no explicit label was
supplied.
DOMError - Web APIs
not
supportederror the operation is not
supported invalidstateerror the object is in an invalid state.
... namespaceerror the operation is not allowed by namespaces in xml invalidaccesserror the object does not
support the operation or argument.
DOMException.code - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcodechrome full
support yesedge full
support 12firefox full
support 1ie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support 4opera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown ...
DOMException.message - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetmessagechrome full
support yesedge full
support 12firefox full
support 1ie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support 4opera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown ...
DOMRectReadOnly.fromRect() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfromrect() static functionchrome full
support 57edge full
support 79firefox full
support 69ie no
support noopera full
support 44safari full
support 10.1webview android ful...
...l
support 57chrome android full
support 57firefox android no
support noopera android full
support 43safari ios full
support 10.3samsung internet android full
support 7.0legend full
support full
support no
support no
support ...
DOMTokenList.remove() - Web APIs
first, the html: <span class="a b c"></span> now the javascript: let span = document.queryselector("span"); let classes = span.classlist; classes.remove("c"); span.textcontent = classes; the output looks like this: to remove multiple classes at once, you can
supply multiple tokens.
... the order you
supply the tokens doesn't have to match the order they appear in the list: let span2 = document.getelementsbytagname("span")[0] let classes2 = span.classlist; classes2.remove("c", "b"); span2.textcontent = classes; specifications specification status comment domthe definition of 'remove()' in that specification.
DataTransferItem.webkitGetAsEntry() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetwebkitgetasentrychrome full
support 13edge full
support 14firefox full
support 50ie no
support noopera no
support nosafari full
support 11.1webview android no su...
...pport nochrome android full
support yesfirefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend full
support full
support no
support no
support ...
Detecting device orientation - Web APIs
this is useful for overcoming some of the differences in device
support for device orientation.
... orientation example this example will work on any browser
supporting the deviceorientation event and running on a device able to detect its orientation.
DisplayMediaStreamConstraints.audio - Web APIs
if a boolean is specified, a value of true indicates that an audio track should be included in the stream returned by getdisplaymedia(), if an appropriate audio source exists and the user agent
supports audio on display media.
... if no audio source is available, or the user agent doesn't
support audio tracks with getdisplaymedia(), the returned mediastream has no audio track, but no error occurs.
Document.cookie - Web APIs
some user agent implementations
support the following cookie prefixes: __secure- signals to the browser that it should only include the cookie in requests transmitted over a secure channel.
... rfc 2965 (section 5.3, "implementation limits") specifies that there should be no maximum length of a cookie's key or value size, and encourages implementations to
support arbitrarily large cookies.
Document.createEvent() - Web APIs
gecko
supports some non-standard event object aliases, which are listed below.
... event module standard event object gecko also
supports text event module textevent textevents keyboard event module keyboardevent keyevents basic events module event events specifications specification status comment domthe definition of 'document.createevent' in that specification.
Document.forms - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetformschrome full
support 1edge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown ...
Document.getElementsByTagNameNS() - Web APIs
> </div> </div> <p>some outer text</p> <p>some outer text</p> <button onclick="getallparaelems();"> show all p elements in document</button><br /> <button onclick="div1paraelems();"> show all p elements in div1 element</button><br /> <button onclick="div2paraelems();"> show all p elements in div2 element</button> </body> </html> potential workaround for other browsers which do not
support if the desired browser did not
support xpath, another approach (such as traversing the dom through all its children, identifying all @xmlns instances, etc.) would be necessary to find all tags with the desired local name and namespace, but xpath is much faster.
... (to accommodate explorer, one could call an xpath wrapper instead of the xpath in the function below (as explorer
supports xpath with a different api), such as this wrapper class.) function getelementsbytagnamenswrapper (ns, elname, doc, context) { if (!doc) { doc = document; } if (!context) { context = doc; } var result = doc.evaluate('//*[local-name()="'+elname+'" and namespace-uri() = "'+ns+'"]', context, null, xpathresult.ordered_node_snapshot_type, null); var a = []; for(var i = 0; i < result.snapshotlength; i++) { a[i] = result.snapshotitem(i); } return a; } specifications specification status comment domthe definition of 'document.getelementsbytagnamens' in that specification.
Document.implementation - Web APIs
syntax domimpobj = document.implementation; example var modname = "html"; var modver = "2.0"; var conformtest = document.implementation.hasfeature( modname, modver ); alert( "dom " + modname + " " + modver + "
supported?: " + conformtest ); // alerts with: "dom html 2.0
supported?: true" if dom level 2 html module is
supported.
... notes the w3c's dom level 1 recommendation only specified the hasfeature method, which is one way to determine if a dom module is
supported by a browser (see example above and what does your user agent claim to
support?).
Document.width - Web APIs
note: starting in gecko 6.0, document.width is no longer
supported.
... not
supported by internet explorer.
DocumentFragment.querySelector() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetqueryselectorchrome full
support 1edge full
support 12firefox full
support 3.5ie full
support 9opera full
support 10safari full
support 3.2webview android ful...
...l
support yeschrome android full
support yesfirefox android full
support 4opera android full
support 10.1safari ios full
support 3.2samsung internet android full
support yeslegend full
support full
support see also the documentfragment interface it belongs to.
DocumentOrShadowRoot.getSelection() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetselection experimentalchrome full
support 53edge full
support 12firefox full
support 63ie full
support yesopera full
support 40safari full
support yeswebview android f...
...ull
support 53chrome android full
support 53firefox android full
support 63opera android full
support 41safari ios full
support yessamsung internet android full
support 6.0legend full
support full
supportexperimental.
Introduction to the DOM - Web APIs
for example, the html dom api adds
support for representing html documents to the core dom.
... <html> <head> <title>dom tests</title> <script> function setbodyattr(attr, value) { if (document.body) document.body[attr] = value; else throw new error("no
support"); } </script> </head> <body> <div style="margin: .5in; height: 400px;"> <p><b><tt>text</tt></b></p> <form> <select onchange="setbodyattr('text', this.options[this.selectedindex].value);"> <option value="black">black</option> <option value="red">red</option> </select> <p><b><tt>bgcolor</tt></b></p> <select onchange="setbodyattr('...
Using the W3C DOM Level 1 Core - Web APIs
due to the ubiquity of the dom, this api is
supported in all major browsers, including mozilla firefox and microsoft internet explorer, and serves as a base for scripting on the web.
... a simple example
suppose the author wants to change the header of the above document and write two paragraphs instead of one.
Element.attachShadow() - Web APIs
not
supportederror you are trying to attach a shadow root to an element outside the html namespace, or the element cannot have a shadow attached to it (see above).
... // create a class for the element class wordcount extends htmlparagraphelement { constructor() { // always call
super first in constructor
super(); // count words in element's parent element var wcparent = this.parentnode; function countwords(node){ var text = node.innertext || node.textcontent return text.trim().split(/\s+/g).length; } var count = 'words: ' + countwords(wcparent); // create a shadow root var shadow = this.attachshadow({mode: 'open'}); // create text node and add word ...
Element.clientTop - Web APIs
gecko-based applications
support clienttop starting with gecko 1.9 (firefox 3, implemented in bug 111207).
... this property is not
supported in firefox 2 and earlier.
Element.setCapture() - Web APIs
warning: this interface never had much cross-browser
support and you probably looking for element.setpointercapture instead, from the pointer events api.
... 2px; } </style> <script type="text/javascript"> function init() { var btn = document.getelementbyid("mybutton"); if (btn.setcapture) { btn.addeventlistener("mousedown", mousedown, false); btn.addeventlistener("mouseup", mouseup, false); } else { document.getelementbyid("output").innerhtml = "sorry, there appears to be no setcapture
support on this browser"; } } function mousedown(e) { e.target.setcapture(); e.target.addeventlistener("mousemove", mousemoved, false); } function mouseup(e) { e.target.removeeventlistener("mousemove", mousemoved, false); } function mousemoved(e) { var output = document.getelementbyid("output"); output.innerhtml = "position: " + e.clientx...
Element.slot - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetslotchrome full
support 53edge full
support ≤79firefox full
support 63ie ?
... opera full
support yessafari full
support 10webview android full
support 53chrome android full
support 53firefox android full
support 63opera android full
support yessafari ios full
support yessamsung internet android full
support 6.0legend full
support full
support compatibility unknown c...
EventTarget.dispatchEvent() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdispatcheventchrome full
support 4edge full
support 12firefox full
support 2ie full
support 9 full
support 9 no
support 6 — 11notes alternate name notes older versions of ie
supported an equi...
...valent, proprietary eventtarget.fireevent() method.alternate name uses the non-standard name: fireeventopera full
support 9safari full
support 3.2webview android full
support 4chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 3samsung internet android full
support 1.0legend full
support full
supportsee imple...
ExtendableEvent - Web APIs
oprefetch, {mode: 'no-cors'}); })).then(function() { console.log('all resources have been fetched and cached.'); }); }).catch(function(error) { console.error('pre-fetching failed:', error); }) ); }); important: when fetching resources, it's very important to use {mode: 'no-cors'} if there is any chance that the resources are served off of a server that doesn't
support cors.
... in this example, www.chromium.org doesn't
support cors.
FeaturePolicy - Web APIs
featurepolicy.features returns a list of names of all features
supported by the user agent.
... featurepolicy.allowedfeatures returns a list of names of all features
supported by the user agent and allowed by the feature policy.
Fetch API - Web APIs
it also defines related concepts such as cors and the http origin header semantics,
supplanting their separate definitions elsewhere.
... aborting a fetch browsers have started to add experimental
support for the abortcontroller and abortsignal interfaces (aka the abort api), which allow operations like fetch and xhr to be aborted if they have not already completed.
FileReaderSync.readAsArrayBuffer() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreadasarraybufferchrome full
support yesedge full
support 12firefox full
support 8ie full
support yesopera full
support yessafari full
support yeswebview android ...
...full
support yeschrome android full
support yesfirefox android full
support 8opera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support ...
FileReaderSync.readAsBinaryString() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreadasbinarystringchrome full
support yesedge full
support 12firefox full
support 8ie full
support yesopera full
support yessafari full
support yeswebview android ...
...full
support yeschrome android full
support yesfirefox android full
support 8opera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support ...
FileReaderSync.readAsDataURL() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreadasdataurlchrome full
support yesedge full
support 12firefox full
support 8ie full
support yesopera full
support yessafari full
support yeswebview android ...
...full
support yeschrome android full
support yesfirefox android full
support 8opera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support ...
FileReaderSync.readAsText() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreadastextchrome full
support yesedge full
support 12firefox full
support 8ie full
support yesopera full
support yessafari full
support yeswebview android ...
...full
support yeschrome android full
support yesfirefox android full
support 8opera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support ...
FileSystem.name - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnamechrome full
support 7edge full
support ≤18firefox full
support 50ie no
support noopera full
support 15safari full
support 11.1webview android f...
...ull
support ≤37chrome android full
support 18firefox android full
support 50opera android full
support 14safari ios full
support 11.3samsung internet android full
support 1.0legend full
support full
support no
support no
support ...
FileSystem.root - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetrootchrome full
support 7edge full
support ≤18firefox full
support 50ie no
support noopera full
support 15safari full
support 11.1webview android f...
...ull
support ≤37chrome android full
support 18firefox android full
support 50opera android full
support 14safari ios full
support 11.3samsung internet android full
support 1.0legend full
support full
support no
support no
support ...
FileSystemDirectoryEntry.createReader() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcreatereader experimentalchrome full
support 13edge full
support 79firefox full
support 50ie no
support noopera no
support nosafari full
support 11.1webview android full ...
...
support ≤37chrome android full
support 18firefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
FileSystemEntry.filesystem - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilesystem experimentalchrome full
support 8edge full
support 79firefox full
support 50ie no
support noopera no
support nosafari full
support 11.1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
FileSystemEntry.fullPath - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfullpath experimentalchrome full
support 8edge full
support 79firefox full
support 50ie no
support noopera no
support nosafari full
support 11.1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
FileSystemEntry.getParent() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetparent experimentalchrome full
support 8edge full
support 79firefox no
support noie no
support noopera no
support nosafari full
support 11.1webview android full
sup...
...port ≤37chrome android full
support 18firefox android no
support noopera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
FileSystemEntry.name - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetname experimentalchrome full
support 8edge full
support 79firefox full
support 50ie no
support noopera no
support nosafari full
support 11.1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend full
support full
support no
support no
supportexperimental.
FileSystemFileEntry.file() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetfilechrome full
support 8edge full
support 79firefox full
support 50ie no
support noopera no
support nosafari full
support 11.1webview android full s...
...upport ≤37chrome android full
support 18firefox android full
support 50opera android no
support nosafari ios full
support 11.3samsung internet android full
support yeslegend full
support full
support no
support no
support ...
Introduction to the File and Directory Entries API - Web APIs
while firefox
supports blob storage for indexeddb, chrome currently does not (chrome is still implementing
support for blob storage in indexeddb).
...google chrome, for example, allows temporary storage beyond the 5 mb required in the specifications and
supports the quota management api.
FontFace.display - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdisplay experimentalchrome full
support 60edge full
support 79firefox full
support 58ie ?
... opera full
support 47safari full
support 11webview android full
support 60chrome android full
support 60firefox android no
support noopera android full
support 44safari ios no
support nosamsung internet android full
support 8.0legend full
support full
support no
support no
support ...
Using FormData Objects - Web APIs
the file interface is based on blob, inheriting blob functionality and expanding it to
support files on the user's system.
...when no filename is specified (or the parameter isn't
supported), the name "blob" is used.
GlobalEventHandlers.onanimationcancel - Web APIs
in browsers that
support animationcancel, the event is fired and this handler is called.
... result assembled together, you get this: if your browser
supports animationcancel, hiding the box using the button will cause a message to be displayed about the event.
HTMLAnchorElement.referrerPolicy - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreferrerpolicychrome full
support 51edge full
support 79firefox full
support 50ie no
support noopera full
support 38safari full
support 11.1webview android ful...
...l
support 51chrome android full
support 51firefox android full
support 50opera android full
support 41safari ios no
support nosamsung internet android full
support 7.2legend full
support full
support no
support no
support ...
HTMLAreaElement.referrerPolicy - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreferrerpolicychrome full
support 51edge full
support 79firefox full
support 50ie no
support noopera full
support 38safari full
support 11.1webview android ful...
...l
support 51chrome android full
support 51firefox android full
support 50opera android full
support 41safari ios no
support nosamsung internet android full
support 7.2legend full
support full
support no
support no
support ...
HTMLCanvasElement.toBlob() - Web APIs
exceptions securityerror the canvas's bitmap is not origin clean; at least some of its contents come from secure examples getting a file representing the canvas once you have drawn content into a canvas, you can convert it into a file of any
supported image format.
...windows xp doesn't
support converting from png to ico, so it uses bmp instead.
HTMLCanvasElement.toDataURL() - Web APIs
if the requested type is not image/png, but the returned value starts with data:image/png, then the requested type is not
supported.
... chrome also
supports the image/webp type.
HTMLCanvasElement - Web APIs
this is only
supported in mozilla-based browsers; use the standardized canvas.getcontext('2d', { alpha: false }) instead.
... htmlcanvaselement.getcontext() returns a drawing context on the canvas, or null if the context id is not
supported.
HTMLElement.offsetParent - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetoffsetparentchrome full
support 1edge full
support 12firefox full
support 1ie full
support 8opera full
support 8safari full
support 3webview android full
sup...
...port 1chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support ...
HTMLElement.offsetTop - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetoffsettopchrome full
support 1edge full
support 12firefox full
support 1ie full
support 8opera full
support 8safari full
support 3webview android full
sup...
...port 1chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support in compliance with the specification, this property will return null on webkit if the element is hidden (the style.display of this element or any ancestor is "none") or if the style.position of the element itself is set to "fixed".
HTMLFontElement.face - Web APIs
the document text, in the default style, is rendered as the first font face that the client's browser
supports.
...cription examples list of one or more valid font family names a list of font names, that have to be present on the local system courier,verdana syntax facestring = fontobj.face; fontobj.face = facestring; examples // assumes there is <font id="f"> element in the html var f = document.getelementbyid("f"); f.face = "arial"; specifications the <font> tag is not
supported in html5 and as a result neither is <font>.face .
HTMLIFrameElement.referrerPolicy - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreferrerpolicychrome full
support 51edge full
support 79firefox full
support 50ie no
support noopera full
support 38safari full
support 11.1webview android ful...
...l
support 51chrome android full
support 51firefox android full
support 50opera android full
support 41safari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
support ...
HTMLIFrameElement.src - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsrcchrome full
support 43edge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support 6webview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown ...
HTMLImageElement.referrerPolicy - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetreferrerpolicychrome full
support 51edge full
support 79firefox full
support 50ie no
support noopera full
support 38safari full
support 11.1webview android ful...
...l
support 51chrome android full
support 51firefox android full
support 50opera android full
support 41safari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
support ...
HTMLImageElement.useMap - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetusemapchrome full
support 1edge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown ...
HTMLImageElement.vspace - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetvspacechrome full
support 1edge full
support 12firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown ...
HTMLImageElement.width - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetwidthchrome full
support 1edge full
support 12firefox full
support yesie .html?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown ...
HTMLInputElement.stepDown() - Web APIs
valid on all numeric, date, and time input types that
support the step attribute, includingdate, month, week, time, datetime-local, number, and range.
... if the form control is non time, date, or numeric in nature, and therefore does not
support the step attribute (see the list of
supported input types in the the table above), or if the step value is set to any, an invalidstateerror exception is thrown.
HTMLLinkElement.as - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetas experimentalchrome full
support 50edge full
support 17firefox full
support 56ie full
support yesopera full
support 37safari full
support yeswebview android f...
...ull
support 50chrome android full
support 50firefox android full
support 56opera android full
support 37safari ios full
support yessamsung internet android full
support 5.0legend full
support full
supportexperimental.
HTMLScriptElement - Web APIs
the defer attribute may be specified with the async attribute, so legacy browsers that only
support defer (and not async) fall back to the defer behavior instead of the default blocking behavior.
... htmlscriptelement.nomodule is a boolean that if true, stops the script's execution in browsers that
support es2015 modules — used to run fallback scripts in older browsers that do not
support javascript modules.
HTMLTableRowElement - Web APIs
this property was optional and was not very well
supported.
...this property was optional and was not very well
supported.
HTMLVideoElement - Web APIs
the list of
supported media formats varies from one browser to the other.
... you should either provide your video in a single format that all the relevant browsers
supports, or provide multiple video sources in enough different formats that all the browsers you need to
support are covered.
File drag and drop - Web APIs
note: html drag and drop defines two different apis to
support dragging and dropping files.
...in the following drop handler, if the browser
supports datatransferitemlist interface, the getasfile() method is used to access each file; otherwise the datatransfer interface's files property is used to access each file.
History.back() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbackchrome full
support yesedge full
support 12firefox full
support yesie full
support 10opera full
support yessafari full
support yeswebview android ...
... full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support ...
History.forward() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetforwardchrome full
support yesedge full
support 12firefox full
support yesie full
support 10opera full
support yessafari full
support yeswebview android ...
... full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support ...
History.scrollRestoration - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetscrollrestorationchrome full
support 46edge full
support 79firefox full
support 46ie no
support noopera full
support 33safari full
support yeswebview android no s...
...upport nochrome android full
support 46firefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support 5.0legend full
support full
support no
support no
support ...
IDBCursorSync - Web APIs
not_allowed_err if the underlying index or object store does not
support updating the record because it is open in the read_only or snapshot_read mode, or if an index record cannot be changed because the underlying index is auto-populated.
... remove() deletes the record at the cursor's position, without changing the cursor's position void delete ( ) raises (databaseexception); exceptions this method can raise an idbdatabaseexception with the following code: not_allowed_err if the underlying index or object store does not
support updating the record because it is open in the read_only or snapshot_read mode.
IDBDatabase.onclose - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonclosechrome full
support 31notes full
support 31notes notes approxedge full
support ≤18firefox full
support 50ie ?
... opera full
support yessafari full
support 10.1webview android full
support yeschrome android full
support 31firefox android full
support 50opera android full
support yessafari ios full
support 10.3samsung internet android full
support 2.0legend full
support full
support compatibility unknown ...
databases - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdatabases experimentalchrome full
support 71edge full
support 79firefox no
support nonotes no
support nonotes notes see bug 934640.ie no
support noopera full
support 58safari ...
... no
support nowebview android full
support 71chrome android full
support 71firefox android no
support nonotes no
support nonotes notes see bug 934640.opera android full
support yessafari ios no
support nosamsung internet android full
support 10.0legend full
support full
support no
support no
supportexperimental...
IDBObjectStore.getKey() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetkeychrome full
support 48edge full
support ≤79firefox full
support 51ie ?
... opera full
support 45safari full
support 10.1webview android full
support 48chrome android full
support 48firefox android full
support 58opera android full
support 43safari ios full
support 10.3samsung internet android full
support 5.0legend full
support full
support compatibility unknown ...
IDBTransaction.objectStoreNames - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetobjectstorenameschrome full
support 48edge full
support ≤79firefox full
support yesie ?
... opera full
support 35safari full
support yeswebview android full
support 48chrome android full
support 48firefox android full
support yesopera android full
support 35safari ios full
support yessamsung internet android full
support 5.0legend full
support full
support compatibility unknown c...
IDBTransaction.commit() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetcommitchrome full
support 76edge full
support 79firefox full
support 74ie no
support noopera full
support 63safari no
support nowebview android full su...
...pport 76chrome android full
support 76firefox android no
support noopera android full
support 54safari ios no
support nosamsung internet android full
support 12.0legend full
support full
support no
support no
support ...
ImageCapture.getPhotoSettings() - Web APIs
the user agent selects the closest width value to this setting if it only
supports discrete heights.
...the user agent selects the closest width value to this setting if it only
supports discrete widths.
Basic concepts - Web APIs
as of firefox 40, indexeddb transactions have relaxed durability guarantees to increase performance (see bug 1112702), which is the same behaviour as other indexeddb-
supporting browsers.
...not all languages sort strings in the same way, so internationalized sorting is not
supported.
Checking when a deadline is due - Web APIs
on browsers that
support type="number", you get a nice little up and down arrow number picker.
...this step is mainly for browsers that don't
support html form validation (i have used the required attribute in my html to force validation, in those that do.) else { var newitem = [ { tasktitle: title.value, hours : hours.value, minutes : minutes.value, day : day.value, month : month.value, year : year.value, notified : "no" } ]; // open a rea...
IndexedDB API - Web APIs
this is the main landing page for mdn's indexeddb coverage — here we provide links to the full api reference and usage guides, browser
support details, and some explanation of key concepts.
...indexeddb lets you store and retrieve objects that are indexed with a key; any objects
supported by the structured clone algorithm can be stored.
InputEvent.dataTransfer - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdatatransfer experimentalchrome full
support 60edge full
support 79firefox full
support 67ie no
support noopera full
support 47safari no
support nowebview android full su...
...pport 60chrome android full
support 60firefox android full
support 67opera android full
support 44safari ios no
support nosamsung internet android full
support 8.0legend full
support full
support no
support no
supportexperimental.
InputEvent.getTargetRanges() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgettargetranges experimentalchrome full
support 60edge full
support 79firefox no
support noie no
support noopera full
support 47safari full
support 10.1webview android full ...
...
support 60chrome android full
support 60firefox android no
support noopera android full
support 44safari ios full
support 10.3samsung internet android full
support 8.0legend full
support full
support no
support no
supportexperimental.
KeyboardEvent.keyCode - Web APIs
unfortunately, some browsers still don't have it, so you'll have to be careful to make sure you use one which is
supported on all target browsers.
... } if (handled) { //
suppress "double action" if event handled event.preventdefault(); } }, true); specifications specification status comment document object model (dom) level 3 events specificationthe definition of 'keyboardevent.keycode' in that specification.
MSCandidateWindowHide - Web APIs
general info synchronous no bubbles no cancelable no note windows 8.1 and windows 7 imes for certain languages on internet explorer for the desktop might not
support this event.
... on internet explorer in the new windows ui, this event is
supported in windows 8.1 imes of all languages.
MSCandidateWindowShow - Web APIs
general info synchronous no bubbles no cancelable no note windows 8.1 and windows 7 imes for certain languages on internet explorer for the desktop might not
support this event.
... on internet explorer in the new windows ui, this event is
supported in windows 8.1 imes of all languages.
MSCandidateWindowUpdate - Web APIs
general info synchronous no bubbles no cancelable no note windows 8.1 and windows 7 imes for certain languages on internet explorer for the desktop might not
support this event.
... on internet explorer in the new windows ui, this event is
supported in windows 8.1 imes of all languages.
MSSiteModeEvent - Web APIs
*this property is not
supported for windows store apps using javascript.
...*this property is not
supported for windows store apps using javascript.
MediaCapabilities - Web APIs
methods mediacapabilities.encodinginfo() when passed a valid media configuration, it returns a promise with information as to whether the media type is
supported, and whether encoding such media would be smooth and power efficient.
... mediacapabilities.decodinginfo() when passed a valid media configuration, it returns a promise with information as to whether the media type is
supported, and whether decoding such media would be smooth and power efficient.
MediaDevices - Web APIs
get
supportedconstraints() returns an object conforming to mediatrack
supportedconstraints indicating which constrainable properties are
supported on the mediastreamtrack interface.
...tracks[0].label); stream.onremovetrack = function() { console.log('stream ended'); }; window.stream = stream; // make variable available to browser console video.srcobject = stream; }) .catch(function(error) { if (error.name === 'constraintnotsatisfiederror') { errormsg('the resolution ' + constraints.video.width.exact + 'x' + constraints.video.height.exact + ' px is not
supported by your device.'); } else if (error.name === 'permissiondeniederror') { errormsg('permissions have not been granted to use your camera and ' + 'microphone, you need to allow the page access to your devices in ' + 'order for the demo to work.'); } errormsg('getusermedia error: ' + error.name, error); }); function errormsg(msg, error) { errorelement.innerhtml += '<p>'...
MediaRecorder() - Web APIs
applications can check in advance if a mimetype is
supported by the user agent by calling mediarecorder.istype
supported().
... exceptions not
supportederror the specified mime type is not
supported by the user agent.
MediaSession.setActionHandler() - Web APIs
implement
support for each of these in order to allow that type of action to be performed.
... audio.currenttime = math.max(audio.currenttime - skiptime, 0); });
supporting multiple actions in one handler function you can also, if you prefer, use a single function to handle multiple action types, by checking the value of the mediasessionactiondetails object's action property: let skiptime = 7; navigator.mediasession.setactionhandler("seekforward", handleseek); navigator.mediasession.setactionhandler("seekbackward", handleseek); function handleseek(details...
MediaSessionActionDetails - Web APIs
implement
support for each of these in order to allow that type of action to be performed.
... audio.currenttime = math.max(audio.currenttime - skiptime, 0); });
supporting multiple actions in one handler function you can also, if you prefer, use a single function to handle multiple action types, by checking the value of the mediasessionactiondetails object's action property: let skiptime = 7; navigator.mediasession.setactionhandler("seekforward", handleseek); navigator.mediasession.setactionhandler("seekbackward", handleseek); function handleseek(details...
MediaSource - Web APIs
static methods mediasource.istype
supported() returns a boolean value indicating if the given mime type is
supported by the current user agent — this is, if it can successfully create sourcebuffer objects for that mime type.
...ritten by nick desaulniers and can be viewed live here (you can also download the source for further investigation.) var video = document.queryselector('video'); var asseturl = 'frag_bunny.mp4'; // need to be specific for blink regarding codecs // ./mp4info frag_bunny.mp4 | grep codec var mimecodec = 'video/mp4; codecs="avc1.42e01e, mp4a.40.2"'; if ('mediasource' in window && mediasource.istype
supported(mimecodec)) { var mediasource = new mediasource(); //console.log(mediasource.readystate); // closed video.src = url.createobjecturl(mediasource); mediasource.addeventlistener('sourceopen', sourceopen); } else { console.error('un
supported mime type or codec: ', mimecodec); } function sourceopen (_) { //console.log(this.readystate); // open var mediasource = this; var sourceb...
MediaStream.getTracks() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgettracks experimentalchrome full
support 45edge full
support 12firefox full
support yesie no
support noopera full
support yessafari full
support yeswebview android fu...
...ll
support 45chrome android full
support 45firefox android full
support yesopera android no
support nosafari ios full
support yessamsung internet android full
support 5.0legend full
support full
support no
support no
supportexperimental.
MediaStreamAudioSourceNode - Web APIs
var pre = document.queryselector('pre'); var video = document.queryselector('video'); var myscript = document.queryselector('script'); var range = document.queryselector('input'); // getusermedia block - grab stream // put it into a mediastreamaudiosourcenode // also output the visuals into a video element if (navigator.mediadevices) { console.log('getusermedia
supported.'); navigator.mediadevices.getusermedia ({audio: true, video: true}) .then(function(stream) { video.srcobject = stream; video.onloadedmetadata = function(e) { video.play(); video.muted = true; }; // create a mediastreamaudiosourcenode // feed the htmlmediaelement into it var audioctx = new audiocontext(); ...
... biquadfilter.connect(audioctx.destination); // get new mouse pointer coordinates when mouse is moved // then set new gain value range.oninput = function() { biquadfilter.gain.value = range.value; } }) .catch(function(err) { console.log('the following gum error occured: ' + err); }); } else { console.log('getusermedia not
supported on your browser!'); } // dump script to pre element pre.innerhtml = myscript.innerhtml; note: as a consequence of calling createmediastreamsource(), audio playback from the media stream will be re-routed into the processing graph of the audiocontext.
MediaStreamTrackAudioSourceNode() - Web APIs
exceptions not
supportederror the specified context is not an audiocontext.
..., video: false }).then(function(stream) { let options = { mediastreamtrack: stream.getaudiotracks()[0]; } let source = new mediastreamtrackaudiosourcenode(audioctx, options); source.connect(audioctx.destination); }).catch(function(err) { console.log('the following gum error occured: ' + err); }); } else { console.log('new getusermedia not
supported on your browser!'); } specifications specification status comment web audio apithe definition of 'mediastreamtrackaudiosourcenode()' in that specification.
MediaStreamTrackAudioSourceNode - Web APIs
var pre = document.queryselector('pre'); var video = document.queryselector('video'); var myscript = document.queryselector('script'); var range = document.queryselector('input'); // getusermedia block - grab stream // put it into a mediastreamaudiosourcenode // also output the visuals into a video element if (navigator.mediadevices) { console.log('getusermedia
supported.'); navigator.mediadevices.getusermedia ({audio: true, video: true}) .then(function(stream) { video.srcobject = stream; video.onloadedmetadata = function(e) { video.play(); video.muted = true; }; // create a mediastreamaudiosourcenode // feed the htmlmediaelement into it var audioctx = new audiocontext(); ...
... biquadfilter.connect(audioctx.destination); // get new mouse pointer coordinates when mouse is moved // then set new gain value range.oninput = function() { biquadfilter.gain.value = range.value; } }) .catch(function(err) { console.log('the following gum error occured: ' + err); }); } else { console.log('getusermedia not
supported on your browser!'); } // dump script to pre element pre.innerhtml = myscript.innerhtml; note: as a consequence of calling createmediastreamsource(), audio playback from the media stream will be re-routed into the processing graph of the audiocontext.
MediaStream Image Capture API - Web APIs
let zoom = document.queryselector('#zoom'); const capabilities = track.getcapabilities(); // check whether zoom is
supported or not.
...though a mediastream holds several types of tracks and provides multiple methods for retrieving them, the imagecapture constructor will throw a domexception of type not
supportederror if mediastreamtrack.kind is not "video".
MediaStream Recording API - Web APIs
if you need or want to check to see if a specific mime type is
supported, that's possible as well.
... just call mediarecorder.istype
supported().
MediaTrackConstraints.cursor - Web APIs
if needed, you can determine whether or not this constraint is
supported by checking the value of mediatrack
supportedconstraints.cursor as returned by a call to mediadevices.get
supportedconstraints().
... let displaymediaoptions = { cursor: "always" }; example: cursor visible during motion with fallback in this example, the cursor property is configured to request that the cursor be visible when in motion, falling back to always being visible if the user agent doesn't
support in-motion only cursor rendering.
MediaTrackControls.volume - Web APIs
if needed, you can determine whether or not this constraint is
supported by checking the value of mediatrack
supportedconstraints.volume as returned by a call to mediadevices.get
supportedconstraints().
... syntax var constraintsobject = { volume: constraint }; constraintsobject.volume = constraint; value a constraindouble describing the acceptable or required value(s) for an audio track's volume, on a linear scale where 0.0 means silence and 1.0 is the highest
supported volume.
MediaTrackConstraints - Web APIs
this may be because a given browser doesn't
support the property, or because it doesn't apply.
... noise
suppression a constrainboolean which specifies whether noise
suppression is preferred and/or required.
MediaTrackSettings.volume - Web APIs
the mediatracksettings dictionary's volume property is a double-precision floating-point number indicating the volume of the mediastreamtrack as currently configured, as a value from 0.0 (silence) to 1.0 (maximum
supported volume for the device).
... if needed, you can determine whether or not this constraint is
supported by checking the value of mediatrack
supportedconstraints.volume as returned by a call to mediadevices.get
supportedconstraints().
Microdata DOM API - Web APIs
the object's
supported property indices are as defined for htmlcollection objects.
... the
supported property names consist of the property names of all the elements represented by the collection, in tree order, ignoring later duplicates.
MimeTypeArray - Web APIs
the mimetypearray interface returns an array of mimetype instances, each of which contains information about a
supported browser plugins.
... var mimetypes = navigator.mimetype; var flashplugin = mimetypes['video/x-flv']; if (typeof flashplugin === "undefined") { var vid = document.createelement('video'); // use vid.canplaytype() to test for a
supported mime type.
Navigator.maxTouchPoints - Web APIs
the maxtouchpoints read-only property of the navigator interface returns the maximum number of simultaneous touch contact points are
supported by the current device.
... syntax touchpoints = navigator.maxtouchpoints; example if (navigator.maxtouchpoints > 1) { // browser
supports multi-touch } specifications specification status comment pointer events – level 2the definition of 'maxtouchpoints' in that specification.
Navigator.mediaCapabilities - Web APIs
examples navigator.mediacapabilities.decodinginfo({ type : 'file', audio : { contenttype : "audio/mp3", channels : 2, bitrate : 132700, samplerate : 5200 } }).then(function(result) { console.log('this configuration is ' + (result.
supported ?
... '' : 'not ') + '
supported, ' + (result.smooth ?
Navigator.serviceWorker - Web APIs
syntax var workercontainerinstance = navigator.serviceworker; value serviceworkercontainer examples this code checks if the browser
supports service workers.
... if ('serviceworker' in navigator) { //
supported!
Navigator.share() - Web APIs
the data object passed to canshare() only
supports the files property.
... if (navigator.canshare && navigator.canshare({ files: filesarray })) { navigator.share({ files: filesarray, title: 'pictures', text: 'our pictures.', }) .then(() => console.log('share was successful.')) .catch((error) => console.log('sharing failed', error)); } else { console.log(`your system doesn't
support sharing files.`); } specifications specification status comment web share apithe definition of 'share()' in that specification.
Notification.maxActions - Web APIs
the maxactions attribute of the notification interface returns the maximum number of actions
supported by the device and the user agent.
... examples the following snippet logs the maximum number of
supported actions.
Notification.permission - Web APIs
examples the following snippet could be used if you wanted to first check whether notifications are
supported, then check if permission has been granted for the current origin to send notifications, then request permission if required, before then sending a notification.
... function notifyme() { // let's check if the browser
supports notifications if (!("notification" in window)) { console.log("this browser does not
support desktop notification"); } // let's check whether notification permissions have alredy been granted else if (notification.permission === "granted") { // if it's okay let's create a notification var notification = new notification("hi there!"); } // otherwise, we need to ask the user for permission else if (notification.permission !== 'denied' || notification.permission === "default") { notification.requestpermission(function (permission) { // if the user accepts, let's create a notification if (permission === "granted") { var notification = new notification("hi there!"); } }); ...
Notification.requestPermission() - Web APIs
possible values for this string are: granted denied default examples assume this basic html: <button onclick="notifyme()">notify me!</button> it's possible to send a notification as follows — here we present a fairly verbose and complete set of code you could use if you wanted to first check whether notifications are
supported, then check if permission has been granted for the current origin to send notifications, then request permission if required, before then sending a notification.
... function notifyme() { // let's check if the browser
supports notifications if (!("notification" in window)) { alert("this browser does not
support desktop notification"); } // let's check whether notification permissions have already been granted else if (notification.permission === "granted") { // if it's okay let's create a notification var notification = new notification("hi there!"); } // otherwise, we need to ask the user for permission else if (notification.permission !== "denied") { notification.requestpermission().then(function (permission) { // if the user accepts, let's create a notification if (permission === "granted") { var notification = new notification("hi there!"); } }); } // at last, if the user has denie...
Notification - Web APIs
examples assume this basic html: <button onclick="notifyme()">notify me!</button> it's possible to send a notification as follows — here we present a fairly verbose and complete set of code you could use if you wanted to first check whether notifications are
supported, then check if permission has been granted for the current origin to send notifications, then request permission if required, before then sending a notification.
... function notifyme() { // let's check if the browser
supports notifications if (!("notification" in window)) { alert("this browser does not
support desktop notification"); } // let's check whether notification permissions have already been granted else if (notification.permission === "granted") { // if it's okay let's create a notification var notification = new notification("hi there!"); } // otherwise, we need to ask the user for permission else if (notification.permission !== "denied") { notification.requestpermission().then(function (permission) { // if the user accepts, let's create a notification if (permission === "granted") { var notification = new notification("hi there!"); } }); } // at last, if the user has denie...
OfflineAudioCompletionEvent.renderedBuffer - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetrenderedbufferchrome full
support 14edge full
support 12firefox full
support 25ie no
support noopera full
support 15safari full
support 6webview android full s...
...upport yeschrome android full
support 18firefox android full
support 26opera android full
support 14safari ios full
support yessamsung internet android full
support 1.0legend full
support full
support no
support no
support ...
OffscreenCanvas.getContext() - Web APIs
the offscreencanvas.getcontext() method returns a drawing context for an offscreen canvas, or null if the context identifier is not
supported.
...see bug 801176 for canvas 2d api
support from workers.
OverconstrainedError - Web APIs
properties overconstrainederror.constraint read only returns the constraint that was
supplied in the constructor, meaning the constraint that was not satisfied.
... overconstrainederror.message read only returns the text
supplied in the constructor.
ParentNode.childElementCount - Web APIs
example var foo = document.getelementbyid('foo'); if (foo.childelementcount > 0) { // do something } polyfill for ie8 & ie9 & safari this property is completely un
supported prior to ie9.
... in ie9 and safari, it is un
supported in the document and documentfragment objects.
PaymentAddress - Web APIs
the first of these three (
supportedinstruments in the example below) contains a data property that has to conform to the structure defined by the basiccardrequest dictionary.
... const
supportedinstruments = [ {
supportedmethods: "basic-card", }, ]; const details = { total: { label: "donation", amount: { currency: "usd", value: "65.00" } }, displayitems: [ { label: "original donation amount", amount: { currency: "usd", value: "65.00" }, }, ], shippingoptions: [ { id: "standard", label: "standard shipping", amount: { currency: "usd", value: "0.00" }, selected: true, }, ], }; const options = { requestshipping: true }; async function dopaymentrequest() { const request = new paymentrequest(
supportedinstruments, details, options); // add event listeners here.
PaymentRequest: shippingaddresschange event - Web APIs
const paymentrequest = new paymentrequest(methoddata, details, options); paymentrequest.addeventlistener("shippingaddresschange", event => { let detail
supdate = checkaddress(paymentrequest.shippingaddress); event.updatewith(detail
supate); }, false); const checkaddress = theaddress => { let detail
supdate = {}; // check the address, return a paymentdetail
supdate object // with any changes or errors.
... return detail
supdate; }; you can also establish a handler for shippingaddresschange using the onshippingaddresschange event handler property: paymentrequest.onshippingaddresschange = event => { let detail
supdate = checkaddress(paymentrequest.shippingaddress); event.updatewith(detail
supdate); }; specifications specification status comment payment request apithe definition of 'shippingaddresschange' in that specification.
Payment Request API - Web APIs
consistent experience on every site (that
supports the api): as the payment sheet is controlled by the browser, it can tailor the experience to the user.
... paymentdetail
supdate an object describing changes that need to be made to the payment details in the event that the server needs to update information following the instantiation of the payment interface but before the user begins to interact with it.
performance.setResourceTimingBufferSize() - Web APIs
example function setresourcetimingbuffersize(maxsize) { if (performance === undefined) { log("browser does not
support web performance"); return; } var
supported = typeof performance.setresourcetimingbuffersize == "function"; if (
supported) { log("...
...performance.setresourcetimingbuffersize() = not
supported"); } } specifications specification status comment resource timing level 1the definition of 'setresourcetimingbuffersize()' in that specification.
Performance.timeOrigin - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettimeorigin experimentalchrome full
support 62edge full
support 16firefox full
support 53ie ?
... opera full
support 49safari no
support nowebview android full
support 62chrome android full
support 62firefox android full
support 53opera android full
support 46safari ios no
support nosamsung internet android full
support 8.0legend full
support full
support no
support no
support ...
PerformanceEventTiming - Web APIs
(navigator.sendbeacon && navigator.sendbeacon('/analytics', body)) || fetch('/analytics', {body, method: 'post', keepalive: true}); } // use a try/catch instead of feature detecting `first-input` //
support, since some browsers throw when using the new `type` option.
... po.observe({ type: 'first-input', buffered: true, }); } catch (e) { // do nothing if the browser doesn't
support this api.
PerformanceResourceTiming.connectEnd - Web APIs
*end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 1the definition of 'connectend' in that specification.
PerformanceResourceTiming.connectStart - Web APIs
*end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 1the definition of 'connectstart' in that specification.
PerformanceResourceTiming.decodedBodySize - Web APIs
function log_sizes(perfentry){ // check for
support of the *size properties and print their values // if
supported.
... if ("decodedbodysize" in perfentry) console.log("decodedbodysize = " + perfentry.decodedbodysize); else console.log("decodedbodysize = not
supported"); if ("encodedbodysize" in perfentry) console.log("encodedbodysize = " + perfentry.encodedbodysize); else console.log("encodedbodysize = not
supported"); if ("transfersize" in perfentry) console.log("transfersize = " + perfentry.transfersize); else console.log("transfersize = not
supported"); } function check_performanceentries() { // use getentriesbytype() to just get the "resource" events var p = performance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { log_sizes(p[i]); } } specifications specification status comment resource timing level 2the defi...
PerformanceResourceTiming.domainLookupEnd - Web APIs
*end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 1the definition of 'domainlookupend' in that specification.
PerformanceResourceTiming.domainLookupStart - Web APIs
*end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 1the definition of 'domainlookupstart' in that specification.
PerformanceResourceTiming.encodedBodySize - Web APIs
function log_sizes(perfentry){ // check for
support of the performanceentry.*size properties and print their values // if
supported.
... if ("decodedbodysize" in perfentry) console.log("decodedbodysize = " + perfentry.decodedbodysize); else console.log("decodedbodysize = not
supported"); if ("encodedbodysize" in perfentry) console.log("encodedbodysize = " + perfentry.encodedbodysize); else console.log("encodedbodysize = not
supported"); if ("transfersize" in perfentry) console.log("transfersize = " + perfentry.transfersize); else console.log("transfersize = not
supported"); } function check_performanceentries() { // use getentriesbytype() to just get the "resource" events var p = performance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { log_sizes(p[i]); } } specifications specification status comment resource timing level 2the defi...
PerformanceResourceTiming.fetchStart - Web APIs
*end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 1the definition of 'fetchstart' in that specification.
PerformanceResourceTiming.redirectEnd - Web APIs
*end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 1the definition of 'redirectend' in that specification.
PerformanceResourceTiming.redirectStart - Web APIs
*end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 1the definition of 'redirectstart' in that specification.
PerformanceResourceTiming.requestStart - Web APIs
*end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 1the definition of 'requeststart' in that specification.
PerformanceResourceTiming.responseEnd - Web APIs
*end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 1the definition of 'responseend' in that specification.
PerformanceResourceTiming.responseStart - Web APIs
*end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 1the definition of 'responsestart' in that specification.
PerformanceResourceTiming.secureConnectionStart - Web APIs
*end properties properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 1the definition of 'secureconnectionstart' in that specification.
PerformanceResourceTiming.transferSize - Web APIs
function log_sizes(perfentry){ // check for
support of the performanceentry.*size properties and print their values // if
supported.
... if ("decodedbodysize" in perfentry) console.log("decodedbodysize = " + perfentry.decodedbodysize); else console.log("decodedbodysize = not
supported"); if ("encodedbodysize" in perfentry) console.log("encodedbodysize = " + perfentry.encodedbodysize); else console.log("encodedbodysize = not
supported"); if ("transfersize" in perfentry) console.log("transfersize = " + perfentry.transfersize); else console.log("transfersize = not
supported"); } function check_performanceentries() { // use getentriesbytype() to just get the "resource" events var p = performance.getentriesbytype("resource"); for (var i=0; i < p.length; i++) { log_sizes(p[i]); } } specifications specification status comment resource timing level 2the defi...
PerformanceResourceTiming.workerStart - Web APIs
properties = ["connectstart", "connectend", "domainlookupstart", "domainlookupend", "fetchstart", "redirectstart", "redirectend", "requeststart", "responsestart", "responseend", "secureconnectionstart", "workerstart"]; for (var i=0; i < properties.length; i++) { // check each property var
supported = properties[i] in perfentry; if (
supported) { var value = perfentry[properties[i]]; console.log("...
..." + properties[i] + " = not
supported"); } } } specifications specification status comment resource timing level 2the definition of 'workerstart' in that specification.
Permissions.revoke() - Web APIs
uservisibleonly: (push only, not
supported in firefox — see the browser compatibility section below) indicates whether you want to show a notification for every message or be able to send silent push notifications.
... exceptions typeerror retrieving the permissiondescriptor information failed in some way, or the permission doesn't exist or is currently un
supported (e.g.
Using the Permissions API - Web APIs
at the moment, implementation of the api is at an early stage, so
support in browsers is pretty spotty: it can only be found in chrome 44 and later and firefox 43 and later.
... the only
supported method right now is permissions.query(), which queries permission status.
Plugin - Web APIs
methods plugin.item returns the mime type of a
supported content type, given the index number into a list of
supported types.
... plugin.nameditem returns the mime type of a
supported item.
PointerEvent - Web APIs
pointerenter this event is fired when a pointing device is moved into the hit test boundaries of an element or one of its descendants, including as a result of a pointerdown event from a device that does not
support hover (see pointerdown).
... pointerout this event is fired for several reasons including: pointing device is moved out of the hit test boundaries of an element; firing the pointerup event for a device that does not
support hover (see pointerup); after firing the pointercancel event (see pointercancel); when a pen stylus leaves the hover range detectable by the digitizer.
Using Pointer Events - Web APIs
this application will only work on a browser that
supports pointer events.
... <canvas id="canvas" width="600" height="600" style="border:solid black 1px; touch-action:none"> your browser does not
support canvas element.
PushMessageData.arrayBuffer() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetarraybuffer experimentalchrome full
support 50edge full
support ≤79firefox full
support 44notes full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie no
support ...
... noopera full
support 37safari no
support nowebview android no
support nochrome android full
support 50firefox android full
support 48opera android full
support 37safari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
supportexperimental...
PushMessageData.blob() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetblob experimentalchrome full
support 50edge full
support ≤79firefox full
support 44notes full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie no
support ...
... noopera full
support 37safari no
support nowebview android no
support nochrome android full
support 50firefox android full
support 48opera android full
support 37safari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
supportexperimental...
PushMessageData.json() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetjson experimentalchrome full
support 50edge full
support ≤79firefox full
support 44notes full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie no
support ...
... noopera full
support 37safari no
support nowebview android no
support nochrome android full
support 50firefox android full
support 48opera android full
support 37safari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
supportexperimental...
PushMessageData.text() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettext experimentalchrome full
support 50edge full
support ≤79firefox full
support 44notes full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie no
support ...
... noopera full
support 37safari no
support nowebview android no
support nochrome android full
support 50firefox android full
support 48opera android full
support 37safari ios no
support nosamsung internet android full
support 5.0legend full
support full
support no
support no
supportexperimental...
PushSubscription.expirationTime - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetexpirationtimechrome full
support 60edge full
support 16firefox no
support noie no
support noopera full
support 47safari no
support nowebview android no
suppor...
...t nochrome android full
support 60firefox android no
support noopera android full
support 44safari ios no
support nosamsung internet android full
support 8.0legend full
support full
support no
support no
support ...
PushSubscription.getKey() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetgetkey()chrome full
support 42edge full
support 16firefox full
support 44notes full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie no
support ...
... noopera full
support 29safari no
support nowebview android no
support nochrome android full
support 42firefox android full
support 48opera android full
support 29safari ios no
support nosamsung internet android full
support 4.0legend full
support full
support no
support no
supportsee implementation notes.see implementation notes.
PushSubscription.options - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetoptionschrome full
support 42edge full
support 16firefox full
support 44notes full
support 44notes notes extended
support releases (esr) before firefox 78 esr do not
support service workers and the push api.ie no
support ...
... noopera full
support 29safari no
support nowebview android no
support nochrome android full
support 42firefox android full
support 48opera android full
support 29safari ios no
support nosamsung internet android full
support 4.0legend full
support full
support no
support no
supportsee implementat...
PushSubscription.subscriptionId - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsubscriptionidchrome full
support 42edge full
support ≤18firefox no
support noie no
support noopera full
support 29safari no
support nowebview android no
sup...
...port nochrome android full
support 42firefox android no
support noopera android full
support 29safari ios no
support nosamsung internet android full
support 4.0legend full
support full
support no
support no
support ...
RTCConfiguration.certificates - Web APIs
this attribute
supports providing multiple certificates because even though a given dtls connection uses only one certificate, providing multiple certificates allows
support for multiple encryption algorithms.
... the implementation of rtcpeerconnection will choose which certificate to use based on the algorithms it and the remote peer
support, as determined during dtls handshake.
RTCDataChannel.send() - Web APIs
since there are multiple techniques for breaking up large data into smaller pieces for transfer, it's possible to encounter scenarios in which the other peer does not
support the same ones.
... for example, if one peer is a modern browser that
supports using the eor (end of record) flag to indicate when a received message is the last piece of a multi-part object sent using send().
RTCIceCandidateStats.address - Web APIs
otherwise, the address is presumed to be a fully-qualified domain name, which is resolved first using an aaaa record (assuming ipv6 is available), then using an a record (if no result is found or the device onlu
supports ipv4).
...the addition of
support for fully-qualified domain names to be used for the address brought about the renaming of the property.
RTCRtpCodecCapability - Web APIs
properties channels optional an unsigned integer value indicating the maximum number of channels
supported by the codec; for example, a codec that
supports only mono sound would have a value of 1; stereo codecs would have a 2, etc.
... description rtcrtpcodeccapabilities describes the basic parameters for a single codec
supported by the user's device.
RTCRtpReceiver.track - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettrackchrome full
support 59edge full
support 12firefox full
support yesie no
support noopera full
support 46safari full
support yeswebview android ful...
...l
support 59chrome android full
support 59firefox android full
support yesopera android full
support 43safari ios full
support yessamsung internet android full
support 7.0legend full
support full
support no
support no
support ...
RTCRtpSender.dtmf - Web APIs
syntax var dtmfsender = rtcrtpsender.dtmf; value an rtcdtmfsender which can be used to send dtmf over the rtp session, or null if the track being carried by the rtp session or the rtcpeerconnection as a whole doesn't
support dtmf.
... only audio tracks can
support dtmf, and typically only one audio track per rtcpeerconnection will have an associated rtcdtmfsender example tbd specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcrtpsender.dtmf' in that specification.
RTCRtpSender - Web APIs
if null, the track and/or the connection doesn't
support dtmf.
... only audio tracks can
support dtmf.
ReadableStream.ReadableStream() - Web APIs
if no queuingstrategy is
supplied, the default used is the same as a countqueuingstrategy with a high water mark of 1.
... exceptions rangeerror the
supplied type value is neither "bytes" nor undefined.
ReadableStreamBYOBReader - Web APIs
the readablestreambyobreader interface of the streams api represents a byob ("bring your own buffer") reader that can be used to read stream data
supplied by the developer (e.g.
...the
supplied reason argument will be given to the underlying source, which may or may not use it.
ReadableStreamDefaultReader - Web APIs
the readablestreamdefaultreader interface of the streams api represents a default reader that can be used to read stream data
supplied from a network (e.g.
...the
supplied reason argument will be given to the underlying source, which may or may not use it.
ResizeObserverEntry.contentRect - Web APIs
note that this is better
supported than resizeobserverentry.borderboxsize or resizeobserverentry.contentboxsize, but it is left over from an earlier implementation of the resize observer api, is still included in the spec for web compat reasons, and may be deprecated in future versions.
...this uses a simple feature detection test to see if the browser
supports the newer resizeobserverentry.contentboxsize property — if so, it uses that to get the sizing data it needs.
ResizeObserverEntry - Web APIs
note that this is better
supported than the above two properties, but it is left over from an earlier implementation of the resize observer api, is still included in the spec for web compat reasons, and may be deprecated in future versions.
...this uses a simple feature detection test to see if the browser
supports the newer contentboxsize property — if so, it uses that to get the sizing data it needs.
SVGAElement.target - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettargetchrome full
support yesedge full
support 12firefox full
support yesie full
support 9opera full
support yessafari full
support yeswebview android ...
...full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support ...
SVGAnimatedAngle - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatedanglechrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support 10webview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support 3samsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGAnimatedBoolean - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatedbooleanchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGAnimatedEnumeration - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatedenumerationchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGAnimatedInteger - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatedintegerchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGAnimatedLength - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatedlengthchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGAnimatedLengthList - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatedlengthlistchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGAnimatedNumber - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatednumberchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGAnimatedNumberList - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatednumberlistchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGAnimatedPathData - Web APIs
svg animated path data interface the svganimatedpathdata interface
supports elements which have a 'd' attribute which holds svg path data, and
supports the ability to animate that attribute.
... legend full
support full
support no
support no
support compatibility unknown compatibility unknown ...
SVGAnimatedPreserveAspectRatio - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatedpreserveaspectratiochrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGAnimatedRect - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatedrectchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGAnimatedString.baseVal - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetbasevalchrome full
support yesedge full
support 12firefox full
support yesie no
support noopera full
support yessafari full
support yeswebview android f...
...ull
support yeschrome android no
support nofirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android no
support nolegend full
support full
support no
support no
support ...
SVGAnimatedTransformList - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvganimatedtransformlistchrome full
support yesedge full
support ≤18firefox full
support 9ie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support 9opera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGFitToViewBox - Web APIs
svg fit to view box interface the svgfittoviewbox interface is used to reflect the viewbox and preserveaspectratio attributes, and is mixed in to other interfaces for elements that
support these two attributes.
... legend full
support full
support no
support no
support compatibility unknown compatibility unknown ...
SVGLengthList - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvglengthlistchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android no
support nochrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
SVGNumberList - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvgnumberlistchrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown ...
SVGPreserveAspectRatio - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsvgpreserveaspectratiochrome full
support yesedge full
support ≤18firefox full
support yesie ?
... opera full
support yessafari full
support yeswebview android full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support compatibility unknown ...
SVGTests - Web APIs
the svgtests interface is used to reflect conditional processing attributes and is mixed into other interfaces for elements that
support these attributes.
... methods svgtests.hasextension() read only returns true if the browser
supports the given extension, specified by a uri.
ScreenOrientation.angle - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetanglechrome full
support 38edge full
support 79firefox full
support 43ie no
support noopera full
support 25safari no
support nowebview android full su...
...pport 38chrome android full
support 38firefox android full
support 43opera android full
support 25safari ios no
support nosamsung internet android full
support 3.0legend full
support full
support no
support no
support ...
ScreenOrientation.lock() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetlockchrome full
support 38edge full
support 79firefox full
support 43ie no
support noopera full
support 25safari no
support nowebview android full su...
...pport 38chrome android full
support 38firefox android full
support 43opera android full
support 25safari ios no
support nosamsung internet android full
support 3.0legend full
support full
support no
support no
support ...
ScreenOrientation.onchange - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetonchangechrome full
support 38edge full
support 79firefox full
support 43ie no
support noopera full
support 25safari no
support nowebview android full su...
...pport 38chrome android full
support 38firefox android full
support 43opera android full
support 25safari ios no
support nosamsung internet android full
support 3.0legend full
support full
support no
support no
support ...
ScreenOrientation.type - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettypechrome full
support 38edge full
support 79firefox full
support 43ie no
support noopera full
support 25safari no
support nowebview android full su...
...pport 38chrome android full
support 38firefox android full
support 43opera android full
support 25safari ios no
support nosamsung internet android full
support 3.0legend full
support full
support no
support no
support ...
ScreenOrientation.unlock() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetunlockchrome full
support 38edge full
support 79firefox full
support 43ie no
support noopera full
support 25safari no
support nowebview android full su...
...pport 38chrome android full
support 38firefox android full
support 43opera android full
support 25safari ios no
support nosamsung internet android full
support 3.0legend full
support full
support no
support no
support ...
Screen Wake Lock API - Web APIs
examples feature detection this code checks for wake lock
support and updates the ui accordingly.
... if ('wakelock' in navigator) { is
supported = true; statuselem.textcontent = 'screen wake lock api
supported!'; } else { wakebutton.disabled = true; statuselem.textcontent = 'wake lock is not
supported by this browser.'; } requesting a wake lock the following example demonstrates how to request a wakelocksentinel object.
Selection.removeAllRanges() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetremoveallranges experimentalchrome full
support yesedge full
support 12firefox full
support yesie full
support yesopera full
support yessafari full
support yeswebview android ...
... full
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
supportexperimental.
Selection.removeRange() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetremoverange experimentalchrome full
support 58edge full
support 12firefox full
support yesie ?
... opera full
support 45safari no
support nowebview android full
support 58chrome android full
support 58firefox android full
support yesopera android full
support 43safari ios no
support nosamsung internet android full
support 7.0legend full
support full
support no
support no
support ...
Sensor APIs - Web APIs
the only time anything is shown to the user is when permissions need to be requested and when the sensor type isn't
supported by the device.
... console.log('sensor construction was blocked by a feature policy.'); } else if (error.name === 'referenceerror') { console.log('sensor is not
supported by the user agent.'); } else { throw error; } } permissions and feature policy sensor readings may not be taken unless the user grants permission to a specific sensor type.
ServiceWorkerRegistration - Web APIs
examples in this example, the code first checks whether the browser
supports service workers and if so registers one.
...rker = registration.installing; console.log('a new service worker is being installed:', installingworker); // you can listen for changes to the installing service worker's // state via installingworker.onstatechange }); }) .catch(function(error) { console.log('service worker registration failed:', error); }); } else { console.log('service workers are not
supported.'); } specifications specification status comment service workersthe definition of 'serviceworkerregistration' in that specification.
SourceBuffer.changeType() - Web APIs
one scenario in which this is helpful is to
support adapting the media source to changing bandwidth availability, by transitioning from one codec to another as resource constraints change.
... not
supportederror the specified mime type is not
supported, or is not
supported with the types of sourcebuffer objects present in the mediasource.sourcebuffers list.
SpeechRecognitionEvent.emma - Web APIs
the exact contents can vary across user agents and recognition engines, but all
supporting implementations will expose a valid xml document complete with an emma namespace.
... if the speech recognition system does not
supply emma data then the user agent will return null.
SpeechSynthesisVoice - Web APIs
the speechsynthesisvoice interface of the web speech api represents a voice that the system
supports.
... speechsynthesisvoice.localservice read only a boolean indicating whether the voice is
supplied by a local speech synthesizer service (true), or a remote speech synthesizer service (false.) speechsynthesisvoice.name read only returns a human-readable name that represents the voice.
Using readable streams - Web APIs
browser
support you can consume fetch body objects as streams and create your own custom readable streams in firefox 65+ and chrome 42+ (and equivalent chromium-based browsers).
... pipe chains are only
supported in chrome at the moment, and that functionality is subject to change.
Streams API - Web APIs
readablestreamdefaultreader represents a default reader that can be used to read stream data
supplied from a network (e.g.
... readablestreambyobreader represents a byob ("bring your own buffer") reader that can be used to read stream data
supplied by the developer (e.g.
SubtleCrypto.digest() - Web APIs
supported values are: sha-1 (but don't use this in cryptographic applications) sha-256 sha-384 sha-512.
...
supported algorithms digest algorithms, also known as cryptographic hash functions, transform an arbitrarily large block of data into a fixed-size output, usually much shorter than the input.
SubtleCrypto.encrypt() - Web APIs
supported algorithms the web crypto api provides four algorithms that
support the encrypt() and decrypt() operations.
...the web crypto api
supports three different aes modes: ctr (counter mode) cbc (cipher block chaining) gcm (galois/counter mode) it's strongly recommended to use authenticated encryption, which includes checks that the ciphertext has not been modified by an attacker.
SubtleCrypto.exportKey() - Web APIs
keys can be exported in several formats: see
supported formats in the subtlecrypto.importkey() page for details.
... not
supported raised when trying to export in an unknown format.
SubtleCrypto - Web APIs
you can import keys from other systems, and
support for standard formats like pkcs #8 and json web key helps you do this.
...
supported algorithms the cryptographic functions provided by the web crypto api can be performed by one or more different cryptographic algorithms: the algorithm argument to the function indicates which algorithm to use.
HTMLSlotElement.assignedSlot - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetassignedslotchrome full
support 53edge full
support ≤18firefox full
support yesie ?
... opera full
support 40safari full
support 10.1webview android full
support 53chrome android full
support 53firefox android full
support yesopera android full
support 41safari ios full
support 10.3samsung internet android full
support 6.0legend full
support full
support compatibility unknown ...
TextEncoder - Web APIs
note: there is a polyfill implementation to
support non-utf-8 text encodings on github.
... polyfill the below polyfill is compliant with the standard and therefore only
supports utf-8.
msManipulationViewsEnabled - Web APIs
the msmanipulationviewsenabled read-only property returns true if manipulation features are
support available, such as touch panning and zooming using css rules.
... value returns true if manipulation features are
support available, such as touch panning and zooming using css rules.
TouchEvent - Web APIs
the event can describe one or more points of contact with the screen and includes
support for detecting movement, addition and removal of contact points, and so forth.
... the user has placed more touch points on the screen than can be
supported, in which case the earliest touch in the touchlist gets canceled.
URL.createObjectURL() - Web APIs
this is no longer necessary, and browsers are removing
support for doing this.
... older versions of this specification used createobjecturl() for mediastream objects; this is no longer
supported.
URLUtilsReadOnly.host - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internethost experimentalchrome no
support noedge no
support nofirefox full
support 3.5ie no
support noopera no
support nosafari no
support nowebview android no
support...
... nochrome android no
support nofirefox android full
support 4opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
URLUtilsReadOnly.hostname - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internethostname experimentalchrome no
support noedge no
support nofirefox full
support 3.5ie no
support noopera no
support nosafari no
support nowebview android no
support...
... nochrome android no
support nofirefox android full
support 4opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
URLUtilsReadOnly.href - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internethref experimentalchrome no
support noedge no
support nofirefox full
support 3.5ie no
support noopera no
support nosafari no
support nowebview android no
support...
... nochrome android no
support nofirefox android full
support 4opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
URLUtilsReadOnly.origin - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetorigin experimentalchrome no
support noedge no
support nofirefox full
support 29ie no
support noopera no
support nosafari no
support nowebview android no
support ...
... nochrome android no
support nofirefox android full
support 29opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
URLUtilsReadOnly.pathname - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpathname experimentalchrome no
support noedge no
support nofirefox full
support 3.5ie no
support noopera no
support nosafari no
support nowebview android no
support...
... nochrome android no
support nofirefox android full
support 4opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
URLUtilsReadOnly.port - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetport experimentalchrome no
support noedge no
support nofirefox full
support 3.5ie no
support noopera no
support nosafari no
support nowebview android no
support...
... nochrome android no
support nofirefox android full
support 4opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
URLUtilsReadOnly.protocol - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetprotocol experimentalchrome no
support noedge no
support nofirefox full
support 3.5ie no
support noopera no
support nosafari no
support nowebview android no
support...
... nochrome android no
support nofirefox android full
support 4opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
URLUtilsReadOnly.search - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsearch experimentalchrome no
support noedge no
support nofirefox full
support 3.5ie no
support noopera no
support nosafari no
support nowebview android no
support...
... nochrome android no
support nofirefox android full
support 4opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
URLUtilsReadOnly.toString() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internettostring experimentalchrome no
support noedge no
support nofirefox full
support 3.5ie no
support noopera no
support nosafari no
support nowebview android no
support...
... nochrome android no
support nofirefox android full
support 4opera android no
support nosafari ios no
support nosamsung internet android no
support nolegend full
support full
support no
support no
supportexperimental.
USBConfiguration - Web APIs
the usbconfiguration interface of the webusb api provides information about a particular configuration of a usb device and the interfaces that it
supports.
... usbconfiguration.interfacesread only returns an array containing instances of the usbinterface describing each interface
supported by this configuration.
USBDevice.usbVersionMajor - Web APIs
the usbversionmajor read only property of the usbdevice interface is one of three properties that declare the usb protocol version
supported by the device.
... syntax var serialnumber = usbdevice.usbversionmajor value the last of three properties that declare the usb protocol version
supported by the device.
USBDevice.usbVersionMinor - Web APIs
the usbversionminor read only property of the usbdevice interface is one of three properties that declare the usb protocol version
supported by the device.
... syntax var serialnumber = usbdevice.usbversionminor value the second of three properties that declare the usb protocol version
supported by the device.
USBDevice.usbVersionSubminor - Web APIs
the usbversionsubminor read only property of the usbdevice interface is one of three properties that declare the usb protocol version
supported by the device.
... syntax var serialnumber = usbdevice.usbversionsubminor value the first of three properties that declare the usb protocol version
supported by the device.
User Timing API - Web APIs
interoperability as shown in the performance interface's browser compatibility table, the user timing methods are broadly implemented by desktop and mobile browsers (the only exceptions are desktop safari and mobile safari, however the safari technology preview 24 has
support).
... to test your browser's
support for this api, run the perf-api-
support application.
VRStageParameters - Web APIs
the vrstageparameters interface of the webvr api represents the values describing the the stage area for devices that
support room-scale experiences.
... examples var info = document.queryselector('p'); var vrdisplay; navigator.getvrdisplays().then(function(displays) { vrdisplay = displays[0]; var stageparams = vrdisplay.stageparameters; // stageparams is a vrstageparameters object if(stageparams === null) { info.textcontent = 'your vr hardware does not
support room-scale experiences.' } else { info.innerhtml = '<strong>display stage parameters</strong>' + '<br>sitting to standing transform: ' + stageparams.sittingtostandingtransform + '<br>play area width (m): ' + stageparams.sizex + '<br>play area depth (m): ' + stageparams.sizey } }); specifications specification status c...
VideoConfiguration - Web APIs
the videoconfiguration dictionary of the media capabilities api is used to define the video file being tested when calling the mediacapabilities methods encodinginfo() and decodinginfo() to determine whether or not the described video configuration is
supported, and how smoothly and how smoooth and power-efficient it can be handled.
...see our web video codec guide for types which may be
supported.
WebGL2RenderingContext.getInternalformatParameter() - Web APIs
the webgl2renderingcontext.getinternalformatparameter() method of the webgl 2 api returns information about implementation-dependent
support for internal formats.
...possible values: gl.samples: returns a int32array containing sample counts
supported for internalformat in descending order.
WebGL2RenderingContext.samplerParameter[if]() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetsamplerparameterichrome full
support 56edge full
support 79firefox full
support 51ie no
support noopera full
support 43safari no
support nowebview android full su...
...pport 58chrome android full
support 58firefox android full
support 51opera android full
support 43safari ios no
support nosamsung internet android full
support 7.0legend full
support full
support no
support no
support ...
WebGL2RenderingContext - Web APIs
to get an object of this interface, call getcontext() on a <canvas> element,
supplying "webgl2" as the argument: var canvas = document.getelementbyid('mycanvas'); var gl = canvas.getcontext('webgl2'); webgl 2 is an extension to webgl 1.
... renderbuffers webgl2renderingcontext.getinternalformatparameter() returns information about implementation-dependent
support for internal formats.
Basic scissoring - Web APIs
<p>result of of scissoring.</p> <canvas>your browser does not seem to
support html5 canvas.</canvas> body { text-align : center; } canvas { display : block; width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } window.addeventlistener("load", function setupwebgl (evt) { "use strict" window.removeeventlistener(evt.type, setupwebgl, false); var paragraph = document.queryselector("p"); var can...
..." + "your browser or device may not
support webgl."; return; } gl.viewport(0, 0, gl.drawingbufferwidth, gl.drawingbufferheight); // enable scissoring operation and define the position and // size of the scissoring area.
Boilerplate 1 - Web APIs
]</button> <canvas>your browser does not seem to
support html5 canvas.</canvas> css body { text-align : center; } canvas { display : block; width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } button { display : block; font-size : inherit; margin : auto; padding : 0.6em; } javascript function getrenderingcontext() { var canvas = document.queryselector("canvas"); ...
...canvas.width = canvas.clientwidth; canvas.height = canvas.clientheight; var gl = canvas.getcontext("webgl") || canvas.getcontext("experimental-webgl"); if (!gl) { var paragraph = document.queryselector("p"); paragraph.innerhtml = "failed to get webgl context." + "your browser or device may not
support webgl."; return null; } gl.viewport(0, 0, gl.drawingbufferwidth, gl.drawingbufferheight); gl.clearcolor(0.0, 0.0, 0.0, 1.0); gl.clear(gl.color_buffer_bit); return gl; } the source code of this example is also available on github.
Canvas size and WebGL - Web APIs
<p>compare the two canvases.</p> <canvas>your browser does not seem to
support html5 canvas.</canvas> <canvas>your browser does not seem to
support html5 canvas.</canvas> body { text-align : center; } canvas { display : inline-block; width : 120px; height : 80px; margin : auto; padding : 0; border : none; background-color : black; } window.addeventlistener("load", function() { "use strict" var firstcanvas = document.getelementsbytagname("...
..." + "your browser or device may not
support webgl."; return; } gl.viewport(0, 0, gl.drawingbufferwidth, gl.drawingbufferheight); gl.enable(gl.scissor_test); gl.scissor(30, 10, 60, 60); gl.clearcolor(1.0, 1.0, 0.0, 1.0); gl.clear(gl.color_buffer_bit); }); }, false); the source code of this example is also available on github.
Clearing by clicking - Web APIs
<p>a very simple webgl program that still shows some color and user interaction.</p> <p>you can repeatedly click the empty canvas or the button below to change color.</p> <canvas id="canvas-view">your browser does not seem to
support html5 canvas.</canvas> <button id="color-switcher">press here to switch color</button> body { text-align : center; } canvas { display : block; width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } button { display : inline-block; font-size : inherit; margin : auto; padding : 0.6em; } window.addeventlistener("load"...
... if (!gl) { gl = canvas.getcontext("webgl") || canvas.getcontext("experimental-webgl"); if (!gl) { alert("failed to get webgl context.\n" + "your browser or device may not
support webgl."); return; } gl.viewport(0, 0, gl.drawingbufferwidth, gl.drawingbufferheight); } // get a random color value using a helper function.
Color masking - Web APIs
<p>tinting the displayed colors with color masking.</p> <canvas>your browser does not seem to
support html5 canvas.</canvas> <button id="red-toggle">on</button> <button id="green-toggle">on</button> <button id="blue-toggle">on</button> body { text-align : center; } canvas { display : block; width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } button { display : inline-block; font-family : serif; font-size : inherit; ...
...tlistener("load", function setupanimation (evt) { "use strict" window.removeeventlistener(evt.type, setupanimation, false); var canvas = document.queryselector("canvas"); var gl = canvas.getcontext("webgl") || canvas.getcontext("experimental-webgl"); if (!gl) { document.queryselector("p").innerhtml = "failed to get webgl context." + "your browser or device may not
support webgl."; return; } gl.viewport(0, 0, gl.drawingbufferwidth, gl.drawingbufferheight); var timer = setinterval(drawanimation, 1000); var mask = [true, true, true]; var redtoggle = document.queryselector("#red-toggle"), greentoggle = document.queryselector("#green-toggle"), bluetoggle = document.queryselector("#blue-toggle"); redtoggle.addeventlistener("click", setc...
Hello GLSL - Web APIs
hello glsl!</p> <canvas>your browser does not seem to
support html5 canvas.</canvas> body { text-align : center; } canvas { width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } button { display : block; font-size : inherit; margin : auto; padding : 0.6em; } <script type="x-shader/x-vertex" id="vertex-shader"> #version 100 void main() { gl_position = vec4(0.0, 0.0, 0.0, 1.0...
...ction getrenderingcontext() { var canvas = document.queryselector("canvas"); canvas.width = canvas.clientwidth; canvas.height = canvas.clientheight; var gl = canvas.getcontext("webgl") || canvas.getcontext("experimental-webgl"); if (!gl) { var paragraph = document.queryselector("p"); paragraph.innerhtml = "failed to get webgl context." + "your browser or device may not
support webgl."; return null; } gl.viewport(0, 0, gl.drawingbufferwidth, gl.drawingbufferheight); gl.clearcolor(0.0, 0.0, 0.0, 1.0); gl.clear(gl.color_buffer_bit); return gl; } })(); the source code of this example is also available on github.
Hello vertex attributes - Web APIs
click on the canvas to change the horizontal position of the square.</p> <canvas>your browser does not seem to
support html5 canvas.</canvas> body { text-align : center; } canvas { width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } button { display : block; font-size : inherit; margin : auto; padding : 0.6em; } <script type="x-shader/x-vertex" id="vertex-shader"> #version 100 precision highp float; attribute float position; vo...
...ction getrenderingcontext() { var canvas = document.queryselector("canvas"); canvas.width = canvas.clientwidth; canvas.height = canvas.clientheight; var gl = canvas.getcontext("webgl") || canvas.getcontext("experimental-webgl"); if (!gl) { var paragraph = document.queryselector("p"); paragraph.innerhtml = "failed to get webgl context." + "your browser or device may not
support webgl."; return null; } gl.viewport(0, 0, gl.drawingbufferwidth, gl.drawingbufferheight); gl.clearcolor(0.0, 0.0, 0.0, 1.0); gl.clear(gl.color_buffer_bit); return gl; } })(); the source code of this example is also available on github.
Raining rectangles - Web APIs
you missed <strong>0</strong>.</p> <canvas>your browser does not seem to
support html5 canvas.</canvas> body { text-align : center; } canvas { display : block; width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } button { display : block; font-size : inherit; margin : auto; padding : 0.6em; } ;(function(){ "use strict" window.addeventlistener("load", setupanimation, false); var gl, tim...
...ction getrenderingcontext() { var canvas = document.queryselector("canvas"); canvas.width = canvas.clientwidth; canvas.height = canvas.clientheight; var gl = canvas.getcontext("webgl") || canvas.getcontext("experimental-webgl"); if (!gl) { var paragraph = document.queryselector("p"); paragraph.innerhtml = "failed to get webgl context." + "your browser or device may not
support webgl."; return null; } gl.viewport(0, 0, gl.drawingbufferwidth, gl.drawingbufferheight); gl.clearcolor(0.0, 0.0, 0.0, 1.0); gl.clear(gl.color_buffer_bit); return gl; } })(); the source code of this example is also available on github.
Scissor animation - Web APIs
<p>webgl animation by clearing the drawing buffer with solid color and applying scissor test.</p> <button id="animation-onoff"> press here to <strong>[verb goes here]</strong> the animation</button> <canvas>your browser does not seem to
support html5 canvas.</canvas> body { text-align : center; } canvas { display : block; width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } button { display : block; font-size : inherit; margin : auto; padding : 0.6em; } ;(function(){ "use strict" window.addeventlistener("load", setupanimation, false); // variables ...
...ction getrenderingcontext() { var canvas = document.queryselector("canvas"); canvas.width = canvas.clientwidth; canvas.height = canvas.clientheight; var gl = canvas.getcontext("webgl") || canvas.getcontext("experimental-webgl"); if (!gl) { var paragraph = document.queryselector("p"); paragraph.innerhtml = "failed to get webgl context." + "your browser or device may not
support webgl."; return null; } gl.viewport(0, 0, gl.drawingbufferwidth, gl.drawingbufferheight); gl.clearcolor(0.0, 0.0, 0.0, 1.0); gl.clear(gl.color_buffer_bit); return gl; } })(); the source code of this example is also available on github.
Simple color animation - Web APIs
<p>a simple webgl program that shows color animation.</p> <p>you can click the button below to toggle the color animation on or off.</p> <canvas id="canvas-view">your browser does not seem to
support html5 canvas.</canvas> <button id="animation-onoff"> press here to <strong>[verb goes here]</strong> the animation </button> body { text-align : center; } canvas { display : block; width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } button { display : inline-block; font-size : inherit; margin : auto; padding :...
... stopanimation({type: "click"}); var gl; function drawanimation () { if (!gl) { var canvas = document.getelementbyid("canvas-view"); gl = canvas.getcontext("webgl") ||canvas.getcontext("experimental-webgl"); if (!gl) { clearinterval(timer); alert("failed to get webgl context.\n" + "your browser or device may not
support webgl."); return; } gl.viewport(0, 0, gl.drawingbufferwidth, gl.drawingbufferheight); } // get a random color value using a helper function.
Textures from code - Web APIs
simple demonstration of procedural texturing</p> <canvas>your browser does not seem to
support html5 canvas.</canvas> body { text-align : center; } canvas { width : 280px; height : 210px; margin : auto; padding : 0; border : none; background-color : black; } button { display : block; font-size : inherit; margin : auto; padding : 0.6em; } <script type="x-shader/x-vertex" id="vertex-shader"> #version 100 precision highp float; attribute vec2 position; voi...
...ction getrenderingcontext() { var canvas = document.queryselector("canvas"); canvas.width = canvas.clientwidth; canvas.height = canvas.clientheight; var gl = canvas.getcontext("webgl") || canvas.getcontext("experimental-webgl"); if (!gl) { var paragraph = document.queryselector("p"); paragraph.innerhtml = "failed to get webgl context." + "your browser or device may not
support webgl."; return null; } gl.viewport(0, 0, gl.drawingbufferwidth, gl.drawingbufferheight); gl.clearcolor(0.0, 0.0, 0.0, 1.0); gl.clear(gl.color_buffer_bit); return gl; } })(); the source code of this example is also available on github.
WebGL tutorial - Web APIs
webgl enables web content to use an api based on opengl es 2.0 to perform 3d rendering in an html <canvas> in browsers that
support it without the use of plug-ins.
...the <canvas> element and webgl are not
supported in some older browsers, but are
supported in recent versions of all major browsers.
WebGL: 2D and 3D graphics for the web - Web APIs
support for webgl is present in firefox 4+, google chrome 9+, opera 12+, safari 5.1+, internet explorer 11+, and microsoft edge build 10240+; however, the user's device must also have hardware that
supports these features.
... the webgl 2 api introduces
support for much of the opengl es 3.0 feature set; it's provided through the webgl2renderingcontext interface.
Introduction to the Real-time Transport Protocol (RTP) - Web APIs
rtp
supports multicast; while this isn't yet important for webrtc, it's likely to matter in the future, when webrtc is (hopefully) enhanced to
support multi-user conversations.
...these correspond to the following three types of transport
supported by rtcpeerconnection: rtcrtpsender rtcrtpsenders handle the encoding and transmission of mediastreamtrack data to a remote peer.
Lifetime of a WebRTC session - Web APIs
network address translation (nat) is a standard which
supports this address sharing by handling routing of data inbound and outbound to and from devices on a lan, all of which are sharing a single wan (global) ip address.
... note: different browsers
support ice restart under different sets of conditions.
A simple RTCDataChannel sample - Web APIs
this method accepts, optionally, an object with constraints to be met for the connection to meet your needs, such as whether the connection should
support audio, video, or both.
...this configuration lies somewhere in the union of options that both peers can
support.
Writing WebSocket client applications - Web APIs
if you want to open a connection and are flexible about the protocols you
support, you can specify an array of protocols: var examplesocket = new websocket("wss://www.example.com/socketserver", ["protocolone", "protocoltwo"]); once the connection is established (that is, readystate is open), examplesocket.protocol will tell you which protocol the server selected.
...most browsers now only allow secure websocket connections, and no longer
support using them in insecure contexts.
Lighting a WebXR setting - Web APIs
computing the color of a lighted pixel although some graphics libraries include
support for light source objects and automatically calculate and apply lighting effect for you, webgl does not.
... at present, webxr doesn't offer
support for lighting estimation.
Web Audio API - Web APIs
several sources — with different types of channel layout — are
supported even within a single context.
...this last connection is only necessary if the user is
supposed to hear the audio.
Web NFC API - Web APIs
note: devices and tags have to be formatted and recorded specifically to
support ndef record format to be used with web nfc.
... low-level operations are currently not
supported by the api, however there is a public discussion about api that would add such functuionality.
Window.devicePixelRatio - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdevicepixelratiochrome full
support 1edge full
support 12firefox full
support 18ie full
support 11opera full
support 11.1safari full
support 3webview android ful...
...l
support 1chrome android full
support 18firefox android full
support 18opera android full
support 11.1safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support ...
Privileged features - Web APIs
the page is
supposed to provide a user interface of its own, usually this feature is used to open xul documents (standard dialogs like the javascript console are opened this way).
...for compatibility reasons, it's now
supported in firefox.
Window.screenLeft - Web APIs
screenleft was originally
supported only in ie but was introduced everywhere due to popularity.
...h(); ctx.arc(leftupdate + (width/2), topupdate + (height/2) + 35, 50, degtorad(0), degtorad(360), false); ctx.fill(); pelem.textcontent = 'window.screenleft: ' + window.screenleft + ', window.screentop: ' + window.screentop; window.requestanimationframe(positionelem); } window.requestanimationframe(positionelem); also in the code we include a snippet that detects whether screenleft is
supported, and if not, polyfills in screenleft/screentop using window.screenx/window.screeny.
Window.screenTop - Web APIs
screentop was originally
supported only in ie but was introduced everywhere due to popularity.
...h(); ctx.arc(leftupdate + (width/2), topupdate + (height/2) + 35, 50, degtorad(0), degtorad(360), false); ctx.fill(); pelem.textcontent = 'window.screenleft: ' + window.screenleft + ', window.screentop: ' + window.screentop; window.requestanimationframe(positionelem); } window.requestanimationframe(positionelem); also in the code we include a snippet that detects whether screenleft is
supported, and if not, polyfills in screenleft/screentop using window.screenx/window.screeny.
Window.screenX - Web APIs
this was originally
supported only in ie but was introduced everywhere due to popularity.
... also in the code we include a snippet that detects whether screenleft is
supported, and if not, polyfills in screenleft/screentop using screenx/screeny.
Window.screenY - Web APIs
this was originally
supported only in ie but was introduced everywhere due to popularity.
... also in the code we include a snippet that detects whether screenleft is
supported, and if not, polyfills in screenleft/screentop using screenx/screeny.
Window.stop() - Web APIs
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetstopchrome full
support yesedge full
support 14firefox full
support yesie no
support noopera full
support yessafari full
support yeswebview android f...
...ull
support yeschrome android full
support yesfirefox android full
support yesopera android full
support yessafari ios full
support yessamsung internet android full
support yeslegend full
support full
support no
support no
support ...
Sending and Receiving Binary Data - Web APIs
note:
support for sending arraybuffer objects using xmlhttprequest was added to gecko 9.0 (firefox 9.0 / thunderbird 9.0 / seamonkey 2.6).
... add information about other browsers'
support here.
XMLHttpRequest.responseType - Web APIs
the values
supported by responsetype are the following: "" an empty responsetype string is treated the same as "text", the default type.
... ms-stream the response is part of a streaming download; this response type is only allowed for download requests, and is only
supported by internet explorer.
XMLHttpRequest - Web APIs
event handlers onreadystatechange as a property of the xmlhttprequest instance is
supported in all browsers.
... more recent browsers, including firefox, also
support listening to the xmlhttprequest events via standard addeventlistener() apis in addition to setting on* properties to a handler function.
XPathEvaluator.evaluate() - Web APIs
wrong_document_err if the provided context node is from a document that is not
supported by the xpathevaluator, a domexception of type wrong_document_err is raised.
... not_
supported_err if the provided context node is not a type permitted as an xpath context node or the request type is not permitted by the xpathevaluator, a domexception of type not_
supported_err is raised.
XPathExpression.evaluate() - Web APIs
wrong_document_err if the provided context node is from a document that is not
supported by the xpathevaluator, a domexception of type wrong_document_err is raised.
... not_
supported_err if the provided context node is not a type permitted as an xpath context node or the request type is not permitted by the xpathevaluator, a domexception of type not_
supported_err is raised.
XRPermissionDescriptor.requiredFeatures - Web APIs
the xrpermissiondescriptor dictionary's requiredfeatures property should be set prior to calling navigator.permissions.query() to a list of webxr features which must be
supported for the app to work.
...this is used for environments in which the user can physically move around, and is
supported by all instances of xrsession, both immersive and inline, though it's most useful for inline sessions.
XRReferenceSpace - Web APIs
it expands upon the base class, xrspace, by adding
support for several different tracking behaviors as well as to request a new reference space which describes the offset transform between the tracked object and another location in the world.
...this is used for environments in which the user can physically move around, and is
supported by all instances of xrsession, both immersive and inline, though it's most useful for inline sessions.
XRReferenceSpaceType - Web APIs
the xrreferencespacetype enumerated type defines the strings which identify the types of reference spaces
supported by webxr.
...this is used for environments in which the user can physically move around, and is
supported by all instances of xrsession, both immersive and inline, though it's most useful for inline sessions.
XRSession.cancelAnimationFrame() - Web APIs
example in the example below we see code which starts up a webxr session if immersive vr mode is
supported.
... const xr = navigator.xr; let requesthandle = null; let xrsession = null; if (xr) { xr.issession
supported('immersive-vr') .then((is
supported) => { if (is
supported) { startxr(); } }); } function framecallback(time, xrframe) { xrsession.requestanimationframe(framecallback); // update and render the frame } async function startxr() { xrsession = xr.requestsession("immersive-vr"); if (xrsession) { stopbutton.onclick = stopxr; requesthandle = xrsession.requestan...
XRSession.requestReferenceSpace() - Web APIs
this is used for environments in which the user can physically move around, and is
supported by all instances of xrsession, both immersive and inline, though it's most useful for inline sessions.
... exceptions rather than throwing true exceptions, requestreferencespace() rejects the returned promise with a domexception whose name is found in the list below: not
supportederror the requested reference space is not
supported.
XRSession - Web APIs
xrsession
supports both inline and immersive virtual and augmented reality modes.
...returns a promise which resolves with the xrreferencespace or xrboundedreferencespace which was requested, or throws a not
supportederror if the requested space type isn't
supported by the device.
XRWebGLLayer.antialias - Web APIs
the read-only xrwebgllayer property antialias is a boolean value which is true if the rendering layer's frame buffer
supports antialiasing.
... syntax let antialiasing
supported = xrwebgllayer.antialias; value a boolean value which is true if the webgl rendering layer's frame buffer is configured to
support antialiasing.
XRWebGLLayer - Web APIs
although xrwebgllayer is currently the only type of framebuffer layer
supported by webgl, it's entirely possible that future updates to the webxr specification may allow for other layer types and corresponding image sources.
... properties antialias read only a boolean value indicating whether or not the webgl context's framebuffer
supports anti-aliasing.
Using the alert role - Accessibility
fire an accessible alert event using the operating system's accessibility api if it
supports it.
... aria attributes used alert related aria techniques using the alertdialog role using the aria-invalid property compatibility tbd: add
support information for common ua and at product combinations additional resources aria best practices - alert role: http://www.w3.org/tr/wai-aria-practices/#alert ...
Using the alertdialog role - Accessibility
fire an accessible alert event using the operating system's accessibility api if it
supports it.
...abindex="0"> <h2 id="dialog1title">your login session is about to expire</h2> <p id="dialog1desc">to extend your session, click the ok button</p> <button>ok</button> </div> </div> working examples: tbd notes aria attributes used alertdialog aria-labelledby aria-describedby related aria techniques using the dialog role using the alert role compatibility tbd: add
support information for common ua and at product combinations additional resources ...
Using the aria-labelledby attribute - Accessibility
to improve compatibility with user agents that do not
support aria, you can use aria-labelledby with the <label> element (using the for attribute).
...</div> notes the most common accessibility api mapping for a label is the accessible name property used by aria roles all elements of the base markup related aria techniques using the aria-label attribute using the aria-describedby attribute compatibility tbd: add
support information for common ua and at product combinations additional resources wai-aria specification for aria-labelledby ...
Using the aria-required attribute - Accessibility
html5 now has the required attribute, but aria-required is still useful for user agents that do not yet
support html5.
..." /> <br/> <label for="streetaddress">street address:</label> <input id="streetaddress" type="text" /> </form> working examples: tooltip example (includes the use of the aria-required attribute) notes used in aria roles combobox gridcell listbox radiogroup spinbutton textbox tree related aria techniques using the aria-invalid attribute compatibility tbd: add
support information for common ua and at product combinations additional resources wai-aria specification for aria-required wai-aria authoring practices for forms constraint validation in html5 ...
Using the article role - Accessibility
the aria article role is similar to the html5 article element; however the article element should still be given the aria role of article, since not all assistive technologies
support html5 yet.
...n class="content"> <p>a very interesting post</p> </section> <section class="comments"> <div class="comment" role="article"> <p>meaningful comment</p> </div> <div class="comment" role="article"> <p>positive comment</p> </div> </section> </article> notes aria attributes used related aria techniques aria techniques - list of roles compatibility tbd: add
support information for common ua and at product combinations additional resources wai-aria specification for the article role ...
Using the group role - Accessibility
fire an accessible group event using the operating system's accessibility api if it
supports it.
... aria attributes used group related aria techniques region role compatibility tbd: add
support information for common ua and at product combinations additional resources aria authoring practices – accessible name guidance by role – group ...
Using the log role - Accessibility
fire an accessible log event using the operating system's accessibility api if it
supports it.
... aria attributes used log related aria techniques marquee role compatibility tbd: add
support information for common ua and at product combinations additional resources aria best practices – mplementing live regions: http://www.w3.org/tr/wai-aria-practices/#liveregions ...
Using the status role - Accessibility
fire an accessible status event using the operating system's accessibility api if it
supports it.
... <p role="status">your changes were automatically saved.</p> working examples: notes aria attributes used status related aria techniques alert role live region roles live region attributes compatibility the paciello group published some data on compatibility via their 2014 blog post: screen reader
support for aria live regions tbd: add updated
support information for common ua and at product combinations additional resources previous recommendations from wai-aria 1.0 (2014) for the status role ...
ARIA: Complementary role - Accessibility
the complementary landmark role is used to designate a
supporting section that relates to the main content, yet can stand alone when separated.
... working draft screen reader
support tbd ...
ARIA: feed role - Accessibility
keyboard interaction
supporting the following, or a similar, interface is recommended when focus is inside the feed: page down: move focus to next article.
... recommendation screen reader
support coming soon ...
ARIA: gridcell role - Accessibility
e creates a table-style grouping of information: <h3 id="table-title">jovian gas giant planets</h3> <div role="grid" aria-describedby="table-title"> <div role="rowgroup"> <div role="row"> <div role="columnheader">name</div> <div role="columnheader">diameter (km)</div> <div role="columnheader">length of day (hours)</div> <div role="columnheader">distance from sun (10<
sup>6</
sup>km)</div> <div role="columnheader">number of moons</div> </div> </div> <div role="rowgroup"> <div role="row"> <div role="gridcell">jupiter</div> <div role="gridcell">142,984</div> <div role="gridcell">9.9</div> <div role="gridcell">778.6</div> <div role="gridcell">67</div> </div> </div> <div role="rowgroup"> <div role="row"> ...
... <div role="gridcell">saturn</div> <div role="gridcell">120,536</div> <div role="gridcell">10.7</div> <div role="gridcell">1433.5</div> <div role="gridcell">62</div> </div> </div> </div> accessibility concerns
support for gridcell and certain gridcell-related aria roles and properties have poor
support with assistive technologies.
ARIA: search role - Accessibility
best practices prefer html using the <form> element in conjunction with a declaration of role="search" will provide the largest amount of
support.
... working draft screen reader
support tbd ...
ARIA: heading role - Accessibility
although theoretically you can go higher, and some screen readers may
support it, the results can be unpredictable with other browser/screen reader combinations.
... screen reader
support tbd ...
WAI-ARIA Roles - Accessibility
to be
supported, the cell must be nested in an element with the role of row.aria: checkbox rolethe checkbox role is used for checkable interactive controls.
... elements containing role="checkbox" must also include the aria-checked attribute to expose the checkbox's state to assistive technology.aria: comment rolethe comment landmark role semantically denotes a comment/reaction to some content on the page, or to a previous comment.aria: complementary rolethe complementary landmark role is used to designate a
supporting section that relates to the main content, yet can stand alone when separated.
Cognitive accessibility - Accessibility
the user should be able to postpone or
suppress interruptions, except situations involving altering a person to an emergency.
...include spell checking and suggestions for long-form text input, as well as links to help and
support material.
Accessibility FAQ - Accessibility
mozilla accessibility project what are some of the built-in accessibility features that are currently
supported in the browser?
... firefox 3 accessibility features (archive.org) which assistive technologies
support firefox and thunderbird?
Accessibility Information for Web Authors - Accessibility
furthermore, assistive technologies do not understand what these widgets are
supposed to be, or what state they are in or what they are capable of.
... purpose newsgroup mailing list google group developer discussion mozilla.dev.accessibility subscribe/unsubscribe google group end user
support mozilla.
support.accessibility subscribe/unsubscribe google group ...
Operable - Accessibility
2.2.4 surpress interruptions (aaa) any interruptions such as alerts or interstitial adverts should have functionality available to
suppress or postpone them, unless it is an emergency alert.
...<h2>) and <label> elements clearly describe the purpose of the content and form elements they are
supposed to be describing.
Perceivable - Accessibility
this may prove inaccessible to people with a disability related to that sense, or a device that does not
support that sense.
... "swipe from the right hand side of the screen to reveal the menu" some users might not be able to swipe the screen, either due to disability or because their device does not
support touch.
:focus-visible - CSS: Cascading Style Sheets
note that firefox
supports similar functionality through an older, prefixed pseudo-class — :-moz-focusring.
... <custom-button tabindex="0" role="button">click me</custom-button> custom-button { display: inline-block; margin: 10px; } custom-button:focus { /* provide a fallback style for browsers that don't
support :focus-visible */ outline: none; background: lightgrey; } custom-button:focus:not(:focus-visible) { /* remove the focus indicator on mouse-focus for browsers that do
support :focus-visible */ background: transparent; } custom-button:focus-visible { /* draw a very noticeable focus style for keyboard-focus on browsers that do
support :focus-visible */ outline: 4px d...
:host-context() - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:host-context()chrome full
support 54edge full
support 79firefox no
support nonotes no
support nonotes notes see bug 1082060.ie no
support noopera full
support 41safari ...
... no
support nowebview android full
support 54chrome android full
support 54firefox android no
support nonotes no
support nonotes notes see bug 1082060.opera android full
support 41safari ios no
support nosamsung internet android full
support 6.0legend full
support full
support no
support no
supportsee implementation notes.see implementation note...
:link - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet:linkchrome full
support 1edge full
support 12firefox full
support 1ie full
support 3opera full
support 3.5safari full
support 1webview android full s...
...upport 1.5chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 3.2samsung internet android full
support 1.0legend full
support full
support ...
:not() - CSS: Cascading Style Sheets
the ability to list more than one selector is experimental and not yet widely
supported.
...adow: 2px 2px 3px gold; } /* <p> elements that are not in the class `.fancy` */ p:not(.fancy) { color: green; } /* elements that are not <p> elements */ body :not(p) { text-decoration: underline; } /* elements that are not <div> and not <span> elements */ body :not(div):not(span) { font-weight: bold; } /* elements that are not `.crazy` or `.fancy` */ /* note that this syntax is not well
supported yet.
src - CSS: Cascading Style Sheets
if a user agent doesn't
support the specified formats, it skips downloading the font resource.
... if no format hints are
supplied, the font resource is always downloaded.
@keyframes - CSS: Cascading Style Sheets
properties that can't be animated in keyframe rules are ignored, but
supported properties will still be animated.
... cascading keyframes are
supported starting in firefox 14.
forced-colors - CSS: Cascading Style Sheets
note: this feature is not
supported by any user agent and its specifics are subject to change.
... user preferences currently no user agent implements this feature, although various operating systems do
support such preferences and if this media query is ever implemented user agents will likely rely on the settings provided by the operating system in use.
prefers-reduced-data - CSS: Cascading Style Sheets
note: this feature is not
supported by any user agent and its specifics are subject to change.
... user preferences currently no user agent implements this feature, although various operating systems do
support such preferences and if this media query is ever implemented user agents will likely rely on the settings provided by the operating system.
@media - CSS: Cascading Style Sheets
/* at the top level of your code */ @media screen and (min-width: 900px) { article { padding: 1rem 3rem; } } /* nested within another conditional at-rule */ @
supports (display: flex) { @media screen and (min-width: 900px) { article { display: flex; } } } for a discussion of media query syntax, please see using media queries.
... aspect-ratio width-to-height aspect ratio of the viewport color number of bits per color component of the output device, or zero if the device isn't color color-gamut approximate range of colors that are
supported by the user agent and output device added in media queries level 4.
Alternative style sheets - CSS: Cascading Style Sheets
internet explorer also
supports this feature (beginning with ie 8), also accessed from view > page style.
...this tells the browser which style sheet title should be selected by default, and makes that default selection apply in browsers that do not
support alternate style sheets.
At-rules - CSS: Cascading Style Sheets
@
supports — a conditional group rule that will apply its content if the browser meets the criteria of the given condition.
... conditional group rules are defined in css conditionals level 3 and are: @media, @
supports, @document.
CSS Animations - CSS: Cascading Style Sheets
reference css properties animation animation-delay animation-direction animation-duration animation-fill-mode animation-iteration-count animation-name animation-play-state animation-timing-function css at-rules @keyframes guides detecting css animation
support describes a technique for detecting if a browser
supports css animations.
...currently offers a technique for replaying an animation which has already run through to completion, which the api doesn't
support inherently.
Box alignment for block, absolutely positioned and table layout - CSS: Cascading Style Sheets
note: at the time of writing (may 2018), there is no real
support for the box alignment properties in block layout.
... aligning in these layout methods today as we do not currently have browser
support for box alignment in block layout, your options for alignment are either to use one of the existing alignment methods or, to make even a single item inside a container a flex item in order to use the alignment properties as specified in flexbox.
Color picker tool - CSS: Cascading Style Sheets
it also makes it easy to convert between various color formats
supported by css, including: hexa colors, rgb (red/green/blue) and hsl (hue/saturation/lightness).
... control over the alpha channel is also
supported on rgb (rgba) and hsl (hsla) formats.
CSS Multi-column Layout - CSS: Cascading Style Sheets
css multi-column layout is a module of css that adds
support for multi-column layouts.
...
support is included for establishing the number of columns in a layout, as well as how content should flow from column to column, gap sizes between columns, and column dividing lines (known as column rules) along with their appearance.
CSS Containment - CSS: Cascading Style Sheets
note: style containment is "at-risk" in the spec and may not be
supported everywhere (it's not currently
supported in firefox).
... to gain as much containment as possible use contain: strict, which behaves the same as contain: size layout paint, or perhaps the following to also add style containment in browsers that
support it: contain: strict; contain: strict style; reference css properties contain external resources an introduction to css containment ...
Typical use cases of Flexbox - CSS: Cascading Style Sheets
in a perfect world of browser
support, the reason you'd choose to use flexbox is because you want to lay a collection of items out in one direction or another.
...you can change how the space is distributed using the space-around value, or where
supported, space-evenly.
CSS grids, logical values, and writing modes - CSS: Cascading Style Sheets
in these guides, i have already touched on an important feature of grid layout: the
support for different writing modes that is built into the specification.
...this spec details how we can use these different writing modes in css, not just for the
support of languages that have a different writing mode to english, but also for creative purposes.
CSS Grid Layout and Accessibility - CSS: Cascading Style Sheets
given that interoperable
support for display: contents is limited and we do not yet have subgrids, there is a definite temptation when developing a site using css grid layout to flatten out the markup, to remove semantic elements in order to make it simpler to create a layout.
...adrian roselli has also posted regarding tab order in various browsers – although this was prior to grid
support being fully implemented in firefox.
Using the :target pseudo-class in selectors - CSS: Cascading Style Sheets
suppose you wish to style any h2 element that is the target of a url, but do not want any other kind of element to get a target style.
...h4 id="one">...</h4> <p id="two">...</p> <div id="three">...</div> <a id="four">...</a> <em id="five">...</em> <a href="#one">first</a> <a href="#two">second</a> <a href="#three">third</a> <a href="#four">fourth</a> <a href="#five">fifth</a> conclusion in cases where a fragment identifier points to a portion of the document, readers may become confused about which part of the document they're
supposed to be reading.
Shapes from box values - CSS: Cascading Style Sheets
the box values allowable as a shape value are: content-box padding-box border-box margin-box the border-radius values are also
supported, this means that you can have something in your page with a curved border, and your shape can follow the created shape.
... when to use the box values using box values is a simple way to create shapes, however this is by nature only going to work with very simple shapes that can be defined using the well-
supported border-radius property.
Introducing the CSS Cascade - CSS: Cascading Style Sheets
while the declarations contained in most at-rules — such as those in @media, @document, or @
supports — participate in the cascade, declarations contained in @keyframes don't.
... have a user agent style sheet, two author style sheets, a user stylesheet, and inline styles within the html: user-agent css: li { margin-left: 10px } author css 1: li { margin-left: 0 } /* this is a reset */ author css 2: @media screen { li { margin-left: 3px } } @media print { li { margin-left: 1px } } user css: .specific { margin-left: 1em } html: <ul> <li class="specific">1<
sup>st</
sup></li> <li>2<
sup>nd</
sup></li> </ul> in this case, declarations inside li and .specific rules should apply.
Pseudo-elements - CSS: Cascading Style Sheets
however, since this distinction was not present in older versions of the w3c spec, most browsers
support both syntaxes for the original pseudo-elements.
... index of standard pseudo-elements ::after (:after) ::backdrop ::before (:before) ::cue ::cue-region ::first-letter (:first-letter) ::first-line (:first-line) ::grammar-error ::marker ::part() ::placeholder ::selection ::slotted() ::spelling-error browser lowest version
support of internet explorer 8.0 :pseudo-element 9.0 :pseudo-element ::pseudo-element firefox (gecko) 1.0 (1.0) :pseudo-element 1.0 (1.5) :pseudo-element ::pseudo-element opera 4.0 :pseudo-element 7.0 :pseudo-element ::pseudo-element safari (webkit) 1.0 (85) :pseudo-element ::pseudo-element specifications specification status comment css level 1 ...
Selector list - CSS: Cascading Style Sheets
#main, .content, article { font-size: 1.1em; } selector list invalidation a downside to using selector lists is that the following aren't equivalent: h1 { font-family: sans-serif } h2:maybe-un
supported { font-family: sans-serif } h3 { font-family: sans-serif } h1, h2:maybe-un
supported, h3 { font-family: sans-serif } this is because a single un
supported selector in a selector list invalidates the whole rule.
... h1 { font-family: sans-serif } h2:maybe-un
supported { font-family: sans-serif } h3 { font-family: sans-serif } :is(h1, h2:maybe-un
supported, h3) { font-family: sans-serif } specifications specification status comment selectors level 4the definition of 'selector lists' in that specification.
Specificity - CSS: Cascading Style Sheets
div:where(.outer) p { color: orange; } div p { color: blueviolet; } #no-where-
support { margin: 0.5em; border: 1px solid red; } #no-where-
support:where(*) { display: none !important; } ...
... <div id="no-where-
support"> ⚠️ your browser doesn't
support the <code><a href="/docs/web/css/:where" target="_top">:where()</a></code> pseudo-class.
Cubic Bezier Generator - CSS: Cascading Style Sheets
ize of 0.1 tick on the rulers var scaling; //limitation: scaling is computed once: if canvas.height/canvas.width change it won't be recalculated var dragsm = 0; // drag state machine: 0 = nodrag, others = object being dragged function initcanvas() { // get the canvas element using the dom var canvas = document.getelementbyid('bezier'); // make sure we don't execute when canvas isn't
supported if (canvas.getcontext) { // use getcontext to use the canvas for drawing var ctx = canvas.getcontext('2d'); scaling = math.min(canvas.height - rulers - margin, canvas.width - rulers - margin); canvas.onmousedown = mousedown; canvas.onmouseup = mouseup; } else { alert('you need safari or firefox 1.5+ to see this demo.'); } } func...
...result + 0.5 : result; } function drawbeziercurve(x1, y1, x2, y2) { // get the canvas element using the dom var canvas = document.getelementbyid('bezier'); // make sure we don't execute when canvas isn't
supported if (canvas.getcontext) { // use getcontext to use the canvas for drawing var ctx = canvas.getcontext('2d'); // clear canvas ctx.clearrect(0, 0, canvas.width, canvas.height); // draw the rulers ctx.beginpath(); ctx.strokestyle = "black"; // draw the y axis ctx.moveto(cx(0), cy(0)); ctx.lineto(cx(1), cy(...
background-attachment - CSS: Cascading Style Sheets
</p> css p { background-image: url("https://mdn.mozillademos.org/files/12057/starsolid.gif"); background-attachment: fixed; } result multiple background images this property
supports multiple background images.
... candidate recommendation the shorthand property has been extended to
support multiple backgrounds and the local value.
<basic-shape> - CSS: Cascading Style Sheets
shape functions the following shapes are
supported.
... when all of the first four arguments are
supplied they represent the top, right, bottom and left offsets from the reference box inward that define the positions of the edges of the inset rectangle.
border-bottom-width - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetborder-bottom-widthchrome full
support 1edge full
support 12firefox full
support 1ie full
support 4opera full
support 3.5safari full
support 1webview android full s...
...upport 2.3chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support see also the other border-width-related css properties: border-left-width, border-right-width, border-top-width, and border-width.
border-left - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetborder-leftchrome full
support 1edge full
support 12firefox full
support 1ie full
support 4opera full
support 3.5safari full
support 1webview android full s...
...upport 1chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support ...
border-right - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetborder-rightchrome full
support 1edge full
support 12firefox full
support 1ie full
support 5.5opera full
support 9.2safari full
support 1webview android full...
...
support ≤37chrome android full
support 18firefox android full
support 14opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support ...
border-top - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetborder-topchrome full
support 1edge full
support 12firefox full
support 1ie full
support 4opera full
support 3.5safari full
support 1webview android full s...
...upport 1chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support ...
counter() - CSS: Cascading Style Sheets
it is generally used with pseudo-elements, but can be used, theoretically, anywhere a <string> value is
supported.
... note: the counter() function can be used with any css property, but
support for properties other than content is experimental, and
support for the type-or-unit parameter is sparse.
counters() - CSS: Cascading Style Sheets
it is generally used with pseudo-elements, but can be used, theoretically, anywhere a <string> value is
supported.
... note: the counters() function can be used with any css property, but
support for properties other than content is experimental, and
support for the type-or-unit parameter is sparse.
cursor - CSS: Cascading Style Sheets
more than one <url> may be provided as fallbacks, in case some cursor image types are not
supported.
...cursor changes using images which are outside the size range
supported by the browser will generally just be ignored.
direction - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetdirectionchrome full
support 2edge full
support 12firefox full
support 1ie full
support 5.5opera full
support 9.2safari full
support 1webview android full...
...
support 1chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support ...
empty-cells - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetempty-cellschrome full
support 1edge full
support 12firefox full
support 1ie full
support 8opera full
support 4safari full
support 1.2webview android full s...
...upport 1chrome android full
support 18firefox android full
support 4opera android full
support 10.1safari ios full
support 3.1samsung internet android full
support 1.0legend full
support full
support ...
env() - CSS: Cascading Style Sheets
<p> if the <code>env()</code> function is
supported in your browser, this paragraph’s text will have 50px of padding between it and the left border — but not the top, right and bottom.
...but, if the property value doesn't
support commas, the value is not valid.
saturate() - CSS: Cascading Style Sheets
the saturate() css function
super-saturates or desaturates the input image.
...a value under 100% desaturates the image, while a value over 100%
super-saturates it.
font-weight - CSS: Cascading Style Sheets
however some fonts, called variable fonts, can
support a range of weights with a more or less fine granularity, and this can give the designer a much closer degree of control over the chosen weight.
... for the example below to work, you'll need a browser that
supports the css fonts level 4 syntax in which font-weight can be any number between 1 and 1000.
Initial value - CSS: Cascading Style Sheets
the usage of the initial value depends on whether a property is inherited or not: for inherited properties, the initial value is used on the root element only, as long as no specified value is
supplied.
... for non-inherited properties, the initial value is used on all elements, as long as no specified value is
supplied.
mask-border-mode - CSS: Cascading Style Sheets
formal definition initial valuealphaapplies toall elements; in svg, it applies to container elements excluding the defs element and all graphics elementsinheritednocomputed valueas specifiedanimation typediscrete formal syntax luminance | alpha examples basic usage this property doesn't yet seem to have
support anywhere.
... when browsers
support it, it will specify the type of blending mode used for the mask border — luminance or alpha: mask-border-mode: luminance; mask-border-mode: alpha; specifications specification status comment css masking module level 1the definition of 'mask-border-mode' in that specification.
mask-border - CSS: Cascading Style Sheets
div { width: 200px; background-color: lavender; border: 18px solid salmon; padding: 10px; /* prefixed longhand properties currently
supported in chromium -webkit-mask-box-image-source: url(https://udn.realityripple.com/samples/2d/fd08a3134c.png); -webkit-mask-box-image-slice: 30 fill; -webkit-mask-box-image-width: 20px; -webkit-mask-box-image-repeat: round; -webkit-mask-box-image-outset: 1px; */ /* prefixed shorthand property currently
supported in chromium */ -webkit-mask-box-image: url("https://udn.re...
...alityripple.com/samples/2d/fd08a3134c.png") /* source */ 30 fill / /* slice */ 20px / /* width */ 1px /* outset */ round; /* repeat */ /* updated standard shorthand property, not
supported anywhere yet */ mask-border: url("https://udn.realityripple.com/samples/2d/fd08a3134c.png") /* source */ 30 fill / /* slice */ 20px / /* width */ 1px /* outset */ round; /* repeat */ } result specifications specification status comment css masking module level 1the definition of 'mask-border' in that specification.
orphans - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetorphanschrome full
support 25edge full
support 12firefox no
support noie full
support 8opera full
support 9.2safari full
support 1.3webview android full...
...
support ≤37chrome android full
support 25firefox android no
support noopera android full
support 14safari ios full
support 1samsung internet android full
support 1.5legend full
support full
support no
support no
support see also widows paged media ...
outline-offset - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetoutline-offsetchrome full
support 1edge full
support 15firefox full
support 1.5ie no
support noopera full
support 9.5safari full
support 1.2webview android ful...
...l
support 37chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support no
support no
support ...
overflow - CSS: Cascading Style Sheets
no scrollbars are provided, and no
support for allowing the user to scroll (such as by dragging or using a scroll wheel) is allowed.
...only
supported in webkit-based (e.g., safari) and blink-based (e.g., chrome or opera) browsers.
page-break-after - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpage-break-afterchrome full
support 1edge full
support 12firefox full
support 1notes full
support 1notes notes the values avoid, left, and right are un
supported.ie full
support 4opera full
support ...
... 7safari full
support 1.2webview android full
support 37chrome android full
support 18firefox android full
support 4notes full
support 4notes notes the values avoid, left, and right are un
supported.opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend full
support full
supportsee implementation notes.see...
page-break-before - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpage-break-beforechrome full
support 1edge full
support 12firefox full
support 1notes full
support 1notes notes the values avoid, left, and right are un
supported.ie full
support 4opera full
support ...
... 7safari full
support 1.2webview android full
support 37chrome android full
support 18firefox android full
support 4notes full
support 4notes notes the values avoid, left, and right are un
supported.opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend full
support full
supportsee implementation notes.see...
paint() - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpaint()chrome full
support 65edge full
support 79firefox no
support noie no
support noopera full
support 52safari no
support nowebview android full
supp...
...ort 65chrome android full
support 65firefox android no
support noopera android full
support 47safari ios no
support nosamsung internet android full
support 9.2legend full
support full
support no
support no
support see also paintworklet css painting api using the css painting api <image> canvas ...
<position> - CSS: Cascading Style Sheets
candidate recommendation relists links to both definitions: if css backgrounds and borders module level 3 is
supported, its definition of <position> must also be used.
... candidate recommendation defines <position> explicitly and extends it to
support offsets from any edge.
right - CSS: Cascading Style Sheets
desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetrightchrome full
support 1edge full
support 12firefox full
support 1ie full
support 5.5opera full
support 5safari full
support 1webview android full s...
...upport 1chrome android full
support 18firefox android full
support 4opera android full
support 14safari ios full
support 1samsung internet android full
support 1.0legend full
support full
support ...
shape-outside - CSS: Cascading Style Sheets
if a <shape-box> is also
supplied, it defines the reference box for the <basic-shape> function.
... formal definition initial valuenoneapplies tofloatsinheritednocomputed valueas defined for <basic-shape> (with <shape-box> following, if
supplied), the <image> with its uri made absolute, otherwise as specified.animation typeyes, as specified for <basic-shape>, otherwise no formal syntax none | <shape-box> | <basic-shape> | <image>where <shape-box> = <box> | margin-box<basic-shape> = <inset()> | <circle()> | <ellipse()> | <polygon()> | <path()><image> = <url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <...
text-combine-upright - CSS: Cascading Style Sheets
] examples digits the digits value requires less markup than the all value when digits are being combined, but it is currently not very widely
supported by browsers.
... html <p lang="ja" class="exampletext">平成20年4月16日に</p> css .exampletext { writing-mode: vertical-lr; text-combine-upright: digits 2; font: 36px serif; } results screenshotlive sample all the all value requires markup around every piece of horizontal text, but it is currently
supported by more browsers than the digits value.
text-decoration - CSS: Cascading Style Sheets
be careful when removing the text decoration on anchors since users often depend on the underline to denote hyperlinks.</p> <p class="underover">this text has lines above <em>and</em> below it.</p> <p class="thick">this text has a really thick purple underline in
supporting browsers.</p> <p class="blink">this text might blink for you, depending on the browser you use.</p> specifications specification status comment css text decoration module level 4 working draft adds text-decoration-thickness; note that this isn't yet officially part of the shorthand — this is as yet unspecified.
...added
support for the value of text-decoration-style.
text-overflow - CSS: Cascading Style Sheets
to clip at the transition between characters you can specify text-overflow as an empty string, if that is
supported in your target browsers: text-overflow: '';.
... syntax [ clip | ellipsis | <string> ]{1,2} examples css p { width: 200px; border: 1px solid; padding: 2px 5px; /* both of the following are required for text-overflow */ white-space: nowrap; overflow: hidden; } .overflow-visible { white-space: initial; } .overflow-clip { text-overflow: clip; } .overflow-ellipsis { text-overflow: ellipsis; } .overflow-string { /* not
supported in most browsers, see the 'browser compatibility' section below */ text-overflow: " [..]"; } html <p class="overflow-visible">lorem ipsum dolor sit amet, consectetur adipisicing elit.</p> <p class="overflow-clip">lorem ipsum dolor sit amet, consectetur adipisicing elit.</p> <p class="overflow-ellipsis">lorem ipsum dolor sit amet, consectetur adipisicing elit.</p> <p class="overflo...
text-rendering - CSS: Cascading Style Sheets
but the geometricprecision property — when fully
supported by the rendering engine — lets you scale your text fluidly.
... for large scale factors, you might see less-than-beautiful text rendering, but the size is what you would expect—neither rounded up nor down to the nearest font size
supported by windows or linux.
text-transform - CSS: Cascading Style Sheets
note:
support for language-specific cases varies between browsers, so check the browser compatibility table.
...the capitalize line in the browser compatibility table contains the version the different engines started to
support this now precisely-defined behavior.
Getting Started - Developer guides
then, mozilla, safari, and other browsers followed, implementing an xmlhttprequest object that
supported the methods and properties of microsoft's original activex object.
...}; next, after declaring what happens when you receive the response, you need to actually make the request, by calling the open() and send() methods of the http request object, like this: httprequest.open('get', 'http://www.example.org/some.file', true); httprequest.send(); the first parameter of the call to open() is the http request method – get, post, head, or another method
supported by your server.
Video player styling basics - Developer guides
as mentioned in the previous article, there is a fallback provided for browsers that do not
support the <progress> element; this also needs to be styled appropriately: .controls progress[data-state="fake"] { background:#e6e6e6; height:65%; } .controls progress span { width:0%; height:100%; display:inline-block; background-color:#2a84cd; } a .data-state class is also used here when a <progress> element is being "faked"; when it's in this state the background colour needs...
... control visibility the first change is simple: the data-state for showing the video controls when javascript is available to the browser now needs to be set: // display the user defined video controls videocontrols.setattribute('data-state', 'visible'); progress bar
support a check also needs to be made to set up the "fake" progress bar if the browser doesn't
support the <progress> element: var
supportsprogress = (document.createelement('progress').max !== undefined); if (!
supportsprogress) progress.setattribute('data-state', 'fake'); button functionality this section looks at the javascript required for implementing the button functionality.
Block formatting context - Developer guides
suppress margin collapsing.
...there's no floating children avaliable inside a flex/grid container, but exclude external floats and
suppress margin collapsing still works.
Challenge solutions - Developer guides
solution css
supports common color names like orange, yellow, blue, green, or black.
... it also
supports some more exotic color names like chartreuse, fuschia, or burlywood.
Touch events (Mozilla experimental) - Developer guides
warning: this experimental api was removed in gecko 18.0 (firefox 18.0 / thunderbird 18.0 / seamonkey 2.15), when
support for the standard touch events was implemented.
...you should instead use the standard touch events api,
supported since gecko/firefox 6 with multi-touch
support added in gecko/firefox 12.
Event developer guide - Developer guides
two common styles are: the generalized addeventlistener() and a set of specific on-event handlers.media eventsvarious events are sent when handling media that are embedded in html documents using the <audio> and <video> elements; this section lists them and provides some helpful information about using them.mouse gesture eventsgecko 1.9.1 added
support for several mozilla-specific dom events used to handle mouse gestures.
...you should instead use the standard touch events api,
supported since gecko/firefox 6 with multi-touch
support added in gecko/firefox 12.using device orientation with 3d transformsthis article provides tips on how to use device orientation information in tandem with css 3d transforms.
Rich-Text Editing in Mozilla - Developer guides
the rich-text editing
support in mozilla 1.3
supports the designmode feature which turns html documents into rich-text editors.
... starting in firefox 3, mozilla also
supports internet explorer's contenteditable attribute which allows any element to become editable or non-editable (the latter for when preventing change to fixed elements in an editable environment).
Making content editable - Developer guides
if you want to use a different paragraph separator, the above browsers all
support document.execcommand, which provides a defaultparagraphseparator command to allow you to change it.
... for example, to use <p> elements: document.execcommand("defaultparagraphseparator", false, "p"); additionally, firefox
supports the non-standard argument, br, for defaultparagraphseparator since firefox 55.
Introduction to Web development - Developer guides
html elements reference guide — a comprehensive guide to html elements with details on how browsers
support them css getting started with css — an absolute beginners guide to css covers basic concepts and fundamentals css reference guide — a complete guide to css with details on the level of gecko/firefox
support for each.
... sitepoint a reliable reference site for learning html, css and javascript which also mentions feature
support across different browsers and known browser bugs.
Mobile Web Development - Developer guides
apis like geolocation or orientation are either not
supported on desktops or are much less useful, and these apis give mobile users new ways to interact with your site.
... for browsers that don't
support these features, provide an acceptable fallback.
User input and controls - Developer guides
note: pointer events are not widely
supported yet, but a pointer.js polyfill is available on mozilla github.
...it will only work on a browser that
supports touch events.
HTML attribute: multiple - HTML: Hypertext Markup Language
some browsers
support the appearance of the list of options from the associated <datalist> for subsequent email addresses when multiple is present.
...the selection of non-contiguous is not as well
supported: items should be able to be selected and deselected by pressing space , but
support varies between browsers.
<font> - HTML: Hypertext Markup Language
attributes like all other html elements, this element
supports the global attributes.
...the document text in the default style is rendered in the first font face that the client's browser
supports.
<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 contro...
... additional attributes in addition to the attributes that operate on all <input> elements regardless of their type, password field inputs
support the following attributes: attribute description maxlength the maximum length the value may be, in utf-16 characters minlength the minimum length in characters that will be considered valid pattern a regular expression the value must match in order to be valid placeholder an example value to display in the field when the field is...
<keygen> - HTML: Hypertext Markup Language
(note that only a subset of the curves named there may actually be
supported in any particular browser.) if the keyparams parameter string is not a recognized curve name string, then a curve is chosen according to the user's chosen key strength (low, medium, high), using the curve named "secp384r1" for high, and the curve named "secp256r1" for medium keys.
...if the user's browser is configured to
support cryptographic hardware (e.g.
<main> - HTML: Hypertext Markup Language
example <!-- other content --> <main> <h1>apples</h1> <p>the apple is the pomaceous fruit of the apple tree.</p> <article> <h2>red delicious</h2> <p>these bright red apples are the most common found in many
supermarkets.</p> <p>...
...prefer using the <main> element over declaring role="main", unless there are legacy browser
support concerns.
<noembed>: The Embed Fallback element (Obsolete) - HTML: Hypertext Markup Language
the <noembed> element is an obsolete, non-standard way to provide alternative, or "fallback", content for browsers that do not
support the <embed> element or do not
support the type of embedded content an author wishes to use.
... examples the message inside <noembed> tag will appear only when your browser does not
support <embed> tag.
<sub>: The Subscript element - HTML: Hypertext Markup Language
another example: <p>almost every developer's favorite molecule is c<sub>8</sub>h<sub>10</sub>n<sub>4</sub>o<sub>2</sub>, which is commonly known as "caffeine."</p> the output: specifications specification status comment html living standardthe definition of '<sub> and <
sup>' in that specification.
... living standard html5the definition of '<sub> and <
sup>;' in that specification.
itemtype - HTML: Hypertext Markup Language
google and other major search engines
support the schema.org vocabulary for structured data.
...they must only be specified on elements with an itemscope attribute, whose itemtype attribute specifies a vocabulary not
supporting global identifiers for items, as defined by that vocabulary's specification.
tabindex - HTML: Hypertext Markup Language
from html 4.01 specification, the attribute is now
supported on all elements (global attributes).
... recommendation only
supported on <a>, <area>, <button>, <input>, <object>, <select>, and <textarea>.
title - HTML: Hypertext Markup Language
ing here will show nothing.</p> </div> result accessibility concerns use of the title attribute is highly problematic for: people using touch-only devices people navigating with keyboards people navigating with assistive technology such as screen readers or magnifiers people experiencing fine motor control impairment people with cognitive concerns this is due to inconsistent browser
support, compounded by the additional assistive technology parsing of the browser-rendered page.
... recommendation
supported on all elements but <base>, <basefont>, <head>, <html>, <meta>, <param>, <script>, and <title>.
Link types - HTML: Hypertext Markup Language
if the most appropriate icon is later found to be inappropriate, for example because it uses an un
supported format, the browser proceeds to the next-most appropriate, and so on.
... note: if the x-pingback: http header is also present, it
supersedes the <link> element with this link type.
Quirks Mode and Standards Mode - HTML: Hypertext Markup Language
this is essential in order to
support websites that were built before the widespread adoption of web standards.
...note however that serving your pages as application/xhtml+xml will cause internet explorer 8 to show a download dialog box for an unknown format instead of displaying your page, as the first version of internet explorer with
support for xhtml is internet explorer 9.
HTML: Hypertext Markup Language
cors settings attributes some html elements that provide
support for cors, such as <img> or <video>, have a crossorigin attribute (crossorigin property), which lets you configure the cors requests for the element's fetched data.
... guide to media types and formats on the web the <audio> and <video> elements allow you to play audio and video media natively within your content without the need for external software
support.
Data URLs - HTTP
length limitations although firefox
supports data urls of essentially unlimited length, browsers are not required to
support any particular maximum length of data.
... no
support for query strings, etc.
Evolution of HTTP - HTTP
chunked responses are now also
supported.
...notably, we can cite new extensions of the http protocol appearing in 2016:
support of alt-svc allows the dissociation of the identification and the location of a given resource, allowing for a smarter cdn caching mechanism.
Identifying resources on the Web - HTTP
increasingly, browsers are removing
support for using ftp to load subresources, for security reasons.
... examples https://developer.mozilla.org/docs/learn tel:+1-816-555-1212 git@github.com:mdn/browser-compat-data.git ftp://example.org/resource.txt urn:isbn:9780141036144 mailto:help@
supercyberhelpdesk.info specifications specification title rfc 7230, section 2.7: uniform resource identifiers hypertext transfer protocol (http/1.1): message syntax and routing ...
List of default Accept values - HTTP
user agent value comment firefox earlier than 3.6 no
support for <video> firefox 3.6 and later video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5 see bug 489071 source chrome */* source internet explorer 8 or earlier no
support for <video> values for audio resources when an audio file is requested, like via the <audio> html element, most browsers use specific values...
... user agent value comment firefox 3.6 and later audio/webm,audio/ogg,audio/wav,audio/*;q=0.9,application/ogg;q=0.7,video/*;q=0.6,*/*;q=0.5 see bug 489071 source safari, chrome */* source internet explorer 8 or earlier no
support for <audio> internet explorer 9 ?
Using HTTP cookies - HTTP
for more information about cookie prefixes and the current state of browser
support, see the prefixes section of the set-cookie reference article.
...(see samesite cookies, above.) in browsers that
support samesite, this has the effect of ensuring that the authentication cookie is not sent with cross-origin requests, so such a request is effectively unauthenticated to the application server.
Accept-Encoding - HTTP
even if both the client and the server
supports the same compression algorithms, the server may choose not to compress the body of a response, if the identity value is also acceptable.
...it doesn't mean that any algorithm is
supported; merely that no preference is expressed.
CSP: frame-ancestors - HTTP
setting this directive to 'none' is similar to x-frame-options: deny (which is also
supported in older browsers).
... this directive is not
supported in the <meta> element.
CSP: style-src - HTTP
specifying nonce makes a modern browser ignore 'unsafe-inline' which could still be set for older browsers without nonce
support.
...csp
supports sha256, sha384 and sha512.
Content-Security-Policy - HTTP
though the report-to directive is intended to replace the deprecated report-uri directive, report-to is not
supported in most browsers yet.
... so for compatibility with current browsers while also adding forward compatibility when browsers get report-to
support, you can specify both report-uri and report-to: content-security-policy: ...; report-uri https://endpoint.example.com; report-to groupname in browsers that
support report-to, the report-uri directive will be ignored.
Cross-Origin-Embedder-Policy - HTTP
if a cross origin resource
supports cors, the crossorigin attribute or the cross-origin-resource-policy header must be used to load it without being blocked by coep.
... to check if cross origin isolation has been successful, you can test against the crossoriginisolated property available to window and worker contexts: if (crossoriginisolated) { // post sharedarraybuffer } else { // do something else } avoiding coep blockage with cors if you enable coep using require-corp and have a cross origin resource that needs to be loaded, it needs to
support cors and you need to explicitly mark the resource as loadable from another origin to avoid blockage from coep.
Digest - HTTP
header type response header forbidden header name no syntax digest: <digest-algorithm>=<digest-value> digest: <digest-algorithm>=<digest-value>,<digest-algorithm>=<digest-value> directives <digest-algorithm>
supported digest algorithms are defined in rfc 3230 and rfc 5843, and include sha-256 and sha-512.
... some of the
supported algorithms, including unixsum and md5 are subject to collisions and are thus not suitable for applications in which collision-resistance is important.
Large-Allocation - HTTP
firefox has moved to a multiprocess architecture, and this architecture is required in order to
support the large-allocation header.
... firefox currently only
supports the large-allocation header in our 32-bit windows builds, as memory fragmentation is not an issue in 64-bit builds.
Referrer-Policy - HTTP
https://example.com/otherpage https://example.com/page https://mozilla.org https://example.com/ http://example.org (no referrer) unsafe-url https://example.com/page?q=123 anywhere https://example.com/page?q=123 specifying a fallback policy if you want to specify a fallback policy in any case the desired policy hasn't got wide enough browser
support, use a comma-separated list with the desired policy specified last: referrer-policy: no-referrer, strict-origin-when-cross-origin in the above scenario, no-referrer will only be used if strict-origin-when-cross-origin is not
supported by the browser.
... specifying multiple values is only
supported in the referrer-policy http header, and not in the referrerpolicy attribute.
Transfer-Encoding - HTTP
http/2 doesn't
support http 1.1's chunked transfer encoding mechanism, as it provides its own, more efficient, mechanisms for data streaming.
...the http/1.1 standard also recommends that the servers
supporting this content-encoding should recognize x-gzip as an alias, for compatibility purposes.
Upgrade-Insecure-Requests - HTTP
header type request header forbidden header name no syntax upgrade-insecure-requests: 1 examples a client's request signals to the server that it
supports the upgrade mechanisms of upgrade-insecure-requests: get / http/1.1 host: example.com upgrade-insecure-requests: 1 the server can now redirect to a secure version of the site.
... a vary header can be used so that the site isn't served by caches to clients that don’t
support the upgrade mechanism.
X-XSS-Protection - HTTP
although these protections are largely unnecessary in modern browsers when sites implement a strong content-security-policy that disables the use of inline javascript ('unsafe-inline'), they can still provide protections for users of older web browsers that don't yet
support csp.
... chrome has removed their xss auditor firefox have not, and will not implement x-xss-protection edge have retired their xss filter this means that if you do not need to
support legacy browsers, it is recommended that you use content-security-policy without allowing unsafe-inline scripts instead.
405 Method Not Allowed - HTTP
the hypertext transfer protocol (http) 405 method not allowed response status code indicates that the request method is known by the server but is not
supported by the target resource.
... the server must generate an allow header field in a 405 response containing a list of the target resource's currently
supported methods.
About JavaScript - JavaScript
it is a prototype-based, multi-paradigm scripting language that is dynamic, and
supports object-oriented, imperative, and functional programming styles.
...in a nutshell, javascript is a dynamic scripting language
supporting prototype based object construction.
Control flow and error handling - JavaScript
« previousnext » javascript
supports a compact set of statements, specifically control flow statements, that you can use to incorporate a great deal of interactivity in your application.
...javascript
supports two conditional statements: if...else and switch.
Grammar and types - JavaScript
enhanced object literals in es2015, object literals are extended to
support setting the prototype at construction, shorthand for foo: foo assignments, defining methods, making
super calls, and computing property names with expressions.
... var obj = { // __proto__ __proto__: theprotoobj, // shorthand for ‘handler: handler’ handler, // methods tostring() { //
super calls return 'd ' +
super.tostring(); }, // computed (dynamic) property names [ 'prop_' + (() => 42)() ]: 42 }; regexp literals a regex literal (which is defined in detail later) is a pattern enclosed between slashes.
Indexed collections - JavaScript
suppose you define the following array: let myarray = ['wind', 'rain', 'fire'] you can refer to the first element of the array as myarray[0], the second element of the array as myarray[1], etc… the index of the elements begins with zero.
...for example: let emp = [] emp[0] = 'casey jones' emp[1] = 'phil lesh' emp[2] = 'august west' note: if you
supply a non-integer value to the array operator in the code above, a property will be created in the object representing the array, instead of an array element.
Unicode property escapes - JavaScript
note: some unicode properties encompasses much more characters than some character classes (such as \w which matches only latin letters, a to z) but the latter is better
supported among browsers (as of january 2020).
... // ٢ is the digit 2 in arabic-indic notation // while it is predominantly written within the arabic script // it can also be written in the thaana script "٢".match(/\p{script=thaana}/u); // null as thaana is not the predominant script
super() "٢".match(/\p{script_extensions=thaana}/u); // ["٢", index: 0, input: "٢", groups: undefined] unicode property escapes vs.
TypeError: "x" is not a constructor - JavaScript
message typeerror: object doesn't
support this action (edge) typeerror: "x" is not a constructor typeerror: math is not a constructor typeerror: json is not a constructor typeerror: symbol is not a constructor typeerror: reflect is not a constructor typeerror: intl is not a constructor typeerror: atomics is not a constructor error type typeerror what went wrong?
... examples invalid cases var car = 1; new car(); // typeerror: car is not a constructor new math(); // typeerror: math is not a constructor new symbol(); // typeerror: symbol is not a constructor function* f() {}; var obj = new f; // typeerror: f is not a constructor a car constructor
suppose you want to create an object type for cars.
Arrow function expressions - JavaScript
an arrow function expression is a syntactically compact alternative to a regular function expression, although without its own bindings to the this, arguments,
super, or new.target keywords.
...() => { statements } advanced syntax // parenthesize the body of a function to return an object literal expression: params => ({foo: bar}) // rest parameters and default parameters are
supported (param1, param2, ...rest) => { statements } (param1 = defaultvalue1, param2, …, paramn = defaultvaluen) => { statements } // destructuring within the parameter list is also
supported var f = ([a, b] = [1, 2], {x: c} = {x: a + b}) => a + b + c; f(); // 6 description see also "es6 in depth: arrow functions" on hacks.mozilla.org.
Functions - JavaScript
defining method functions getter and setter functions you can define getters (accessor methods) and setters (mutator methods) on any standard built-in object or user-defined object that
supports the addition of new properties.
... in strict mode, all browsers that
support es2015 handle this the same way: zero is defined only if shoulddefinezero is true, and only in the scope of the if-block.
Array.prototype[@@iterator]() - JavaScript
examples iteration using for...of loop html <ul id="letterresult"> </ul> javascript var arr = ['a', 'b', 'c']; var earr = arr[symbol.iterator](); var letterresult = document.getelementbyid('letterresult'); // your browser must
support for..of loop // and let-scoped variables in for loops // const and var could also be used for (let letter of earr) { letterresult.innerhtml += "<li>" + letter + "</li>"; } result alternative iteration var arr = ['a', 'b', 'c', 'd', 'e']; var earr = arr[symbol.iterator](); console.log(earr.next().value); // a console.log(earr.next().value); // b console.log(earr.next().value); // c cons...
... function logiterable(it) { if (!(symbol.iterator in object.getprototypeof(it) /* or "symbol.iterator in object.__proto__" or "it[symbol.iterator]" */)) { console.log(it, ' is not an iterable object...'); return; } var iterator = it[symbol.iterator](); // your browser must
support for..of loop // and let-scoped variables in for loops // const and var could also be used for (let letter of iterator) { console.log(letter); } } // array logiterable(['a', 'b', 'c']); // a // b // c // string logiterable('abc'); // a // b // c logiterable(123); // 123 " is not an iterable object..." specifications specification ecmascript (ecma-262)th...
Array.prototype.every() - JavaScript
you can work around this by inserting the following code at the beginning of your scripts, allowing use of every in implementations which do not natively
support it.
...if thisarg was
supplied, let t be thisarg; else let t be undefined.
Array.prototype.find() - JavaScript
if thisarg was
supplied, let t be thisarg; else let t be undefined.
... return undefined; }, configurable: true, writable: true }); } if you need to
support truly obsolete javascript engines that don't
support object.defineproperty, it is best not to polyfill array.prototype at all, as you cannot make it non-enumerable.
Array.prototype.findIndex() - JavaScript
if thisarg was
supplied, let t be thisarg; else let t be undefined.
... return -1; }, configurable: true, writable: true }); } if you need to
support truly obsolete javascript engines that do not
support object.defineproperty, it is best not to polyfill array.prototype methods at all, as you cannot make them non-enumerable.
Array.prototype.sort() - JavaScript
description if comparefunction is not
supplied, all non-undefined array elements are sorted by converting them to strings and comparing strings in utf-16 code units order.
... if comparefunction is
supplied, all non-undefined array elements are sorted according to the return value of the compare function (all undefined elements are sorted to the end of the array, with no call to comparefunction).
Array.prototype.toLocaleString() - JavaScript
polyfill // https://tc39.github.io/ecma402/#
sup-array.prototype.tolocalestring if (!array.prototype.tolocalestring) { object.defineproperty(array.prototype, 'tolocalestring', { value: function(locales, options) { // 1.
... return r; } }); } if you need to
support truly obsolete javascript engines that don't
support object.defineproperty, it's best not to polyfill array.prototype methods at all, as you can't make them non-enumerable.
Date() constructor - JavaScript
support for rfc 2822 format strings is by convention only.
...
support for iso 8601 formats differs in that date-only strings (e.g.
Intl.DateTimeFormat() constructor - JavaScript
unicode extension are
supported (for example "en-us-u-ca-buddhist").
...implementations are required to
support at least the following subsets: weekday, year, month, day, hour, minute, second weekday, year, month, day year, month, day year, month month, day hour, minute, second hour, minute implementations may
support other subsets, and requests will be negotiated against all available subset-representation combinations to find the best match.
Intl.DateTimeFormat - JavaScript
static methods intl.datetimeformat.
supportedlocalesof() returns an array containing those of the provided locales that are
supported without having to fall back to the runtime's default locale.
...rabic speaking countries uses real arabic digits console.log(new intl.datetimeformat('ar-eg').format(date)); // → "١٩/١٢/٢٠١٢" // for japanese, applications may want to use the japanese calendar, // where 2012 was the year 24 of the heisei era console.log(new intl.datetimeformat('ja-jp-u-ca-japanese').format(date)); // → "24/12/19" // when requesting a language that may not be
supported, such as // balinese, include a fallback language, in this case indonesian console.log(new intl.datetimeformat(['ban', 'id']).format(date)); // → "19/12/2012" using options the date and time formats can be customized using the options argument: var date = new date(date.utc(2012, 11, 20, 3, 0, 0, 200)); // request a weekday along with a long date var options = { weekday: 'long', year:...
Intl.NumberFormat - JavaScript
static methods intl.numberformat.
supportedlocalesof() returns an array containing those of the provided locales that are
supported without having to fall back to the runtime's default locale.
...chinese decimal console.log(new intl.numberformat('zh-hans-cn-u-nu-hanidec').format(number)); // → 一二三,四五六.七八九 // when requesting a language that may not be
supported, such as // balinese, include a fallback language, in this case indonesian console.log(new intl.numberformat(['ban', 'id']).format(number)); // → 123.456,789 using options the results can be customized using the options argument: var number = 123456.789; // request a currency format console.log(new intl.numberformat('de-de', { style: 'currency', currency: 'eur' }).format(number)); //...
JSON.stringify() - JavaScript
// '{"obj":"now i am a nested object under key 'obj'"}' json.stringify([ obj ]); // '["now i am a nested object under key '0'"]' issue with json.stringify() when serializing circular references note that since the json format doesn't
support object references (although an ietf draft exists), a typeerror will be thrown if one attempts to encode an object with circular references.
... const circularreference = {}; circularreference.myself = circularreference; // serializing circular references throws "typeerror: cyclic object value" json.stringify(circularreference); to serialize circular references you can use a library that
supports them (e.g.
JSON - JavaScript
nan and infinity are un
supported.
...by default, all instances of undefined are replaced with null, and other un
supported native data types are censored.
Number.prototype.toFixed() - JavaScript
syntax numobj.tofixed([digits]) parameters digits optional the number of digits to appear after the decimal point; this may be a value between 0 and 20, inclusive, and implementations may optionally
support a larger range of values.
...implementations are allowed to
support larger and smaller values as chosen.
Object.entries() - JavaScript
polyfill to add compatible object.entries()
support in older environments that do not natively
support it, you can use any of the following: a demonstration implementation of object.entries in the tc39/proposal-object-values-entries (if you don't need any
support for ie); a polyfill in the es-shims/object.entries repositories; or, you can use the simple, ready-to-deploy polyfill listed below: if (!object.entries) { object.entries = fu...
...nction( obj ){ var ownprops = object.keys( obj ), i = ownprops.length, resarray = new array(i); // preallocate the array while (i--) resarray[i] = [ownprops[i], obj[ownprops[i]]]; return resarray; }; } for the above polyfill code snippet, if you need
support for ie<9, then you will also need an object.keys() polyfill (such as the one found on the object.keys page).
Object.getOwnPropertyDescriptors() - JavaScript
ll only copy enumerable and own properties from a source object to a target object, you are able to use this method and object.create() for a shallow copy between two unknown objects: object.create( object.getprototypeof(obj), object.getownpropertydescriptors(obj) ); creating a subclass a typical way of creating a subclass is to define the subclass, set its prototype to an instance of the
superclass, and then define properties on that instance.
...instead, you can use this code to set the prototype: function
superclass() {}
superclass.prototype = { // define your methods and properties here }; function subclass() {} subclass.prototype = object.create(
superclass.prototype, { // define your methods and properties here } ); specifications specification ecmascript (ecma-262)the definition of 'object.getownpropertydescriptors' in that specification.
RegExp() constructor - JavaScript
alternatively, if an object is
supplied for the pattern, the flags string will replace any of that object's flags (and lastindex will be reset to 0) (as of es2015).
... if flags is not specified and a regular expressions object is
supplied, that object's flags (and lastindex value) will be copied over.
Set - JavaScript
set2] // [1, 2, 3, 4] // intersect can be simulated via let intersection = new set([...set1].filter(x => set2.has(x))) // difference can be simulated via let difference = new set([...set1].filter(x => !set2.has(x))) // iterate set entries with foreach() myset.foreach(function(value) { console.log(value) }) // 1 // 2 // 3 // 4 implementing basic set operations function is
superset(set, subset) { for (let elem of subset) { if (!set.has(elem)) { return false } } return true } function union(seta, setb) { let _union = new set(seta) for (let elem of setb) { _union.add(elem) } return _union } function intersection(seta, setb) { let _intersection = new set() for (let elem of setb) { if (seta.h...
... _difference.delete(elem) } else { _difference.add(elem) } } return _difference } function difference(seta, setb) { let _difference = new set(seta) for (let elem of setb) { _difference.delete(elem) } return _difference } // examples let seta = new set([1, 2, 3, 4]) let setb = new set([2, 3]) let setc = new set([3, 4, 5, 6]) is
superset(seta, setb) // => true union(seta, setc) // => set [1, 2, 3, 4, 5, 6] intersection(seta, setc) // => set [3, 4] symmetricdifference(seta, setc) // => set [1, 2, 5, 6] difference(seta, setc) // => set [1, 2] relation with array objects let myarray = ['value1', 'value2', 'value3'] // use the regular set constructor to transform an array into a set le...
String.prototype.charAt() - JavaScript
if the index you
supply is out of this range, javascript returns an empty string.
...urrogate without preceding high surrogate' } let prev = str.charcodeat(i - 1) // (could change last hex to 0xdb7f to treat high private surrogates // as single characters) if (0xd800 > prev || prev > 0xdbff) { throw 'low surrogate without preceding high surrogate' } // return the next character instead (and increment) return [str.charat(i + 1), i + 1] } fixing charat() to
support non-basic-multilingual-plane (bmp) characters while the previous example may be more useful for programs that must
support non-bmp characters (since it does not require the caller to know where any non-bmp character might appear), in the event that one does wish, in choosing a character by index, to treat the surrogate pairs within a string as the single characters they represent, one can us...
String.prototype.codePointAt() - JavaScript
polyfill the following extends strings to include the codepointat() function as specified in ecmascript 2015 for browsers without native
support.
...https://mths.be/codepointat v0.2.0 by @mathias */ if (!string.prototype.codepointat) { (function() { 'use strict'; // needed to
support `apply`/`call` with `undefined`/`null` var defineproperty = (function() { // ie 8 only
supports `object.defineproperty` on dom elements try { var object = {}; var $defineproperty = object.defineproperty; var result = $defineproperty(object, object, object) && $defineproperty; } catch(error) {} return result; }()); var codepointat = function(position) { if (this == null) { throw typeerror(); } var string = string(this); var size = string.length; // `tointeger` var index = position ?
String.prototype.localeCompare() - JavaScript
let items = ['réservé', 'premier', 'cliché', 'communiqué', 'café', 'adieu']; items.sort( (a, b) => a.localecompare(b, 'fr', {ignorepunctuation: true})); // ['adieu', 'café', 'cliché', 'communiqué', 'premier', 'réservé'] check browser
support for extended arguments the locales and options arguments are not
supported in all browsers yet.
... to check whether an implementation
supports them, use the "i" argument (a requirement that illegal language tags are rejected) and look for a rangeerror exception: function localecompare
supportslocales() { try { 'foo'.localecompare('bar', 'i'); } catch (e) { return e.name === 'rangeerror'; } return false; } using locales the results provided by localecompare() vary between languages.
Symbol() constructor - JavaScript
the symbol() constructor returns a value of type symbol, but is incomplete as a constructor because it does not
support the syntax "new symbol()" and it is not intended to be subclassed.
... it may be used as the value of an extends clause of a class definition but a
super call to it will cause an exception.
WebAssembly.Global() constructor - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsglobal() constructorchrome full
support 69edge no
support nofirefox full
support 62ie no
support noopera no
support nosafari no
support nowebview android full
suppor...
...t 69chrome android full
support 69firefox android full
support 62opera android no
support nosafari ios no
support nosamsung internet android full
support 10.0nodejs no
support nolegend full
support full
support no
support no
support ...
WebAssembly.compileStreaming() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jscompilestreamingchrome full
support 61edge full
support 16firefox full
support 58ie no
support noopera full
support 47safari no
support nowebview android full su...
...pport 61chrome android full
support 61firefox android full
support 58opera android full
support 45safari ios no
support nosamsung internet android full
support 8.0nodejs no
support nolegend full
support full
support no
support no
support ...
WebAssembly.instantiateStreaming() - JavaScript
desktopmobileserverchromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetnode.jsinstantiatestreamingchrome full
support 61edge full
support 16firefox full
support 58ie no
support noopera full
support 47safari no
support nowebview android full su...
...pport 61chrome android full
support 61firefox android full
support 58opera android full
support 45safari ios no
support nosamsung internet android full
support 8.0nodejs no
support nolegend full
support full
support no
support no
support ...
parseInt() - JavaScript
ecmascript 5 clarifies that 10 (decimal) should be used, but not all browsers
support this yet.
...and, because older browsers must be
supported, always specify a radix.
Destructuring assignment - JavaScript
however, if you leave out the right-hand side assignment, the function will look for at least one argument to be
supplied when invoked, whereas in its current form, you can simply call drawchart() without
supplying any parameters.
... the current design is useful if you want to be able to call the function without
supplying any parameters, the other can be useful when you want to ensure an object is passed to the function.
Unary plus (+) - JavaScript
integers in both decimal and hexadecimal (0x-prefixed) formats are
supported.
... negative numbers are
supported (though not for hex).
new operator - JavaScript
examples object type and object instance
suppose you want to create an object type for cars.
...for example: var kenscar = new car('nissan', '300zx', 1992); object property that is itself another object
suppose you define an object called person as follows: function person(name, age, sex) { this.name = name; this.age = age; this.sex = sex; } and then instantiate two new person objects as follows: var rand = new person('rand mcnally', 33, 'm'); var ken = new person('ken jones', 39, 'm'); then you can rewrite the definition of car to include an owner property that takes a person object, as...
class - JavaScript
note that
super(), used in the constructor, can only be used in constructors, and must be called before the this keyword can be used.
... class polygon { constructor(height, width) { this.name = 'polygon'; this.height = height; this.width = width; } } class square extends polygon { constructor(length) {
super(length, length); this.name = 'square'; } } attempting to declare a class twice re-declaring a class using the class declaration throws a syntaxerror.
<math> - MathML
examples html5 notation <!doctype html> <html> <head> <title>mathml in html5</title> </head> <body> <math> <mrow> <mrow> <m
sup> <mi>a</mi> <mn>2</mn> </m
sup> <mo>+</mo> <m
sup> <mi>b</mi> <mn>2</mn> </m
sup> </mrow> <mo>=</mo> <m
sup> <mi>c</mi> <mn>2</mn> </m
sup> </mrow> </math> </body> </html> xhtml notation <?xml version="1.0" encoding="utf-8"?> <!doctype html public "-//w3c//dtd xhtml 1.1 plus math...
...ml 2.0//en" "http://www.w3.org/math/dtd/mathml2/xhtml-math11-f.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>mathml in xhtml</title> </head> <body> <math xmlns="http://www.w3.org/1998/math/mathml"> <mrow> <mrow> <m
sup> <mi>a</mi> <mn>2</mn> </m
sup> <mo>+</mo> <m
sup> <mi>b</mi> <mn>2</mn> </m
sup> </mrow> <mo>=</mo> <m
sup> <mi>c</mi> <mn>2</mn> </m
sup> </mrow> </math> </body> </html> notes: xhtml documents with mathml must be served as application/xhtml+xml.
<semantics> - MathML
the rules of determining the visible child in a <semantics> element are the following: if no rule other rule applies: by default only the first child is rendered, which is
supposed to be presentation markup.
... example <math> <semantics> <!-- presentation mathml --> <mrow> <m
sup> <mi>x</mi> <mn>2</mn> </m
sup> <mo>+</mo> <mi>y</mi> </mrow> <!-- content mathml --> <annotation-xml encoding="mathml-content"> <apply> <plus/> <apply> <power/> <ci>x</ci> <cn type="integer">2</cn> </apply> <ci>y</ci> </apply> </annotation-xml> <!-- annotate an image -...
Digital audio concepts - Web media technologies
the vastly
superior compression ratios possible with lossy compression usually make it a compelling choice, and adequate or excellent audio quality is possible with well-chosen codec configurations.
... in addition, some codecs
support special limited frequency bandwidth channels, such as the lfe channel, which inherently limit the frequency range available.
Using images in HTML - Web media technologies
it
supports a wide range of attributes that control how the image behaves and allows you to add important information like alt text for people who don't see the image.
... image file type and format guide a guide to the various image file types commonly
supported by web browsers including details about their individual use cases, capabilities, and compatibility factors.
Web Performance
resource timing api resource loading and timing the loading of those resources, including managing the resource buffer and coping with cors the performance timeline the performance timeline standard defines extensions to the performance interface to
support client-side latency measurements within applications.
...in this guide we'll discuss some alternative media formats, how to use them responsibly so that non-
supporting browsers don't get left out in the cold, and some advanced guidance on transcoding your existing assets to them.
Progressive web app structure - Progressive web apps (PWAs)
in addition to the basic shell, you can add other features such as add to home screen or push notifications, safe in the knowledge that the app will still work ok if they are not
supported by the user's browser — this is the beauty of progressive enhancement.
... progressive: start with the "good, old basic website” and progressively add new features while remembering to detect if they are available in the browser and gracefully handle any errors that crop up if
support is not available.
Progressive loading - Progressive web apps (PWAs)
onst observer = new intersectionobserver((items, observer) => { items.foreach((item) => { if(item.isintersecting) { loadimages(item.target); observer.unobserve(item.target); } }); }); imagestoload.foreach((img) => { observer.observe(img); }); } else { imagestoload.foreach((img) => { loadimages(img); }); } if the intersectionobserver object is
supported, the app creates a new instance of it.
... let's reiterate our earlier mention of progressive enhancement — the code is written so that the app will work whether intersection observer is
supported or not.
How to make PWAs re-engageable using Notifications and Push - Progressive web apps (PWAs)
the technology is still at a very early stage — some working examples use the google cloud messaging platform, but are being rewritten to
support vapid (voluntary application identification), which offers an extra layer of security for your app.
...if not, we initialize a new subscription: const response = await fetch('./vapidpublickey'); const vapidpublickey = await response.text(); const convertedvapidkey = urlbase64touint8array(vapidpublickey); the app fetches the server's public key and converts the response to text; then it needs to be converted to a uint8array (to
support chrome).
Graphic design for responsive sites - Progressive web apps (PWAs)
this really depends on what target devices you have to
support, how complex the graphics need to be, and how much interactivity your graphics require.
...these may not be
supported in older browsers like ie6-8, but they generally degrade gracefully, are fairly easy to write, and become much more flexible and powerful when combined with javascript and other technologies.
SVG Conditional Processing Attributes - SVG: Scalable Vector Graphics
value: false|true; animatable: no requiredextensions list all the browser specific capabilities that must be
supported by the borwser to be allowed to render the associated element.
... value: a list of space-separated uri; animatable: no requiredfeatures deprecated since svg 2 list all the features, as defined is the svg 1.1 specification, that must be
supported by the borwser to be allowed to render the associated element..
begin - SVG: Scalable Vector Graphics
a valid event-value consists of an element id followed by a dot and one of the
supported events for that element.
... all valid events (not necessarily
supported by all elements) are defined by the dom and html specifications.
calcMode - SVG: Scalable Vector Graphics
the default mode is linear, however if the attribute does not
support linear interpolation (e.g.
...this is only
supported for values that define a linear numeric range, and for which some notion of "distance" between points can be calculated (e.g.
end - SVG: Scalable Vector Graphics
a valid event-value consists of an element id followed by a dot and one of the
supported events for that element.
... all valid events (not necessarily
supported by all elements) are defined by the dom and html specifications.
requiredExtensions - SVG: Scalable Vector Graphics
determines whether all of the named extensions are
supported by the user agent.
... if all of the given extensions are
supported, then the attribute evaluates to true; otherwise, the current element and its children are skipped and thus will not be rendered.
string - SVG: Scalable Vector Graphics
the string attribute is a hint to the user agent, and specifies a list of formats that the font referenced by the parent <font-face-uri> element
supports.
... only one element is using this attribute: <font-face-format> usage notes value <anything> default value none animatable no <anything> this value specifies a list of formats that are
supported by the font referenced by the parent <font-face-uri> element.
Content type - SVG: Scalable Vector Graphics
svg
supports all of the syntax alternatives for <color> defined in css2 syntax and basic data types, and (depend on the implementation) in the future css color module level 3.
...for example, to fill a rectangle with a linear gradient, you first define a <lineargradient> element and give it an id, as in: <lineargradient xml:id="mygradient">...</lineargradient> you then reference the linear gradient as the value of the fill attribute for the rectangle, as in the following example: <rect fill="url(#mygradient)"/> svg
supports two types of iri references: local iri references, where the iri reference does not contain an <absoluteiri> or <relativeiri> and thus only contains a fragment identifier (i.e., #<elementid> or #xpointer(id<elementid>)).
<cursor> - SVG: Scalable Vector Graphics
the png format is recommended because it
supports the ability to define a transparency mask via an alpha channel.
... if a different image format is used, this format should
support the definition of a transparency mask (two options: provide an explicit alpha channel or use a particular pixel color to indicate transparency).
<glyph> - SVG: Scalable Vector Graphics
example svg <svg width="400px" height="300px" version="1.1" xmlns="http://www.w3.org/2000/svg"> <!-- example copied from https://www.w3.org/tr/svg/fonts.html#glyphelement --> <defs> <font id="font1" horiz-adv-x="1000"> <font-face font-family="
super sans" font-weight="bold" font-style="normal" units-per-em="1000" cap-height="600" x-height="400" ascent="700" descent="300" alphabetic="0" mathematical="350" ideographic="400" hanging="500"> <font-face-src> <font-face-name name="
super sans bold"/> </font-face-src> </font-face> <missing-glyph><path d="m0,0h200v200h-200z"/></mis...
...sing-glyph> <glyph unicode="!" horiz-adv-x="80" d="m0,0h200v200h-200z"></glyph> <glyph unicode="@" d="m0,50l100,300l400,100z"></glyph> </font> </defs> <text x="100" y="100" style="font-family: '
super sans', helvetica, sans-serif; font-weight: bold; font-style: normal">text using embe@dded font!</text> </svg> result specifications specification status comment scalable vector graphics (svg) 1.1 (second edition)the definition of '<glyph>' in that specification.
Weak signature algorithms - Web security
as new attacks are found and improvements in available technology make attacks more feasible, the use of older algorithms is discouraged and
support for them is eventually removed.
... md5
support for md5 based signatures was removed in early 2012.
Tutorials
mdn html element reference a comprehensive reference for html elements, and how the different browsers
support them.
... css reference complete reference to css, with details on
support by firefox and other browsers.
xml:base - XML: Extensible Markup Language
support was removed from blink (chrome and opera) in 2015: chromium bug 341854 blink-dev mailing list post and from firefox 66 in bug 903372.
... work-arounds xml:base
support in old browsers https://gist.github.com/leonderijke/c5cf7c5b2e424c0061d2 specifications specification status comment xml base (second edition) recommendation ...
Axes - XPath
the following is an extremely brief description of the thirteen available axes and the degree of
support available in gecko.
... namespace (not
supported) indicates all the nodes that are in scope for the context node.
Functions - XPath
xslt/xpath reference: xslt elements, exslt functions, xpath functions, xpath axes the following is an annotated list of core xpath functions and xslt-specific additions to xpath, including a description, syntax, a list of arguments, result-type, source in the appropriate w3c recommendation, and degree of present gecko
support.
... boolean() ceiling() choose() concat() contains() count() current() xslt-specific document() xslt-specific element-available() false() floor() format-number() xslt-specific function-available() generate-id() xslt-specific id() (partially
supported) key() xslt-specific lang() last() local-name() name() namespace-uri() normalize-space() not() number() position() round() starts-with() string() string-length() substring() substring-after() substring-before() sum() system-property() xslt-specific translate() true() unparsed-entity-url() xslt-specific (not
supported) ...
<xsl:fallback> - XSLT: Extensible Stylesheet Language Transformations
xslt/xpath reference: xslt elements, exslt functions, xpath functions, xpath axes the <xsl:fallback> element specifies what template to use if a given extension (or, eventually, newer version) element is not
supported.
... defined xslt, section 15 gecko
support not
supported at this time.
Alerts and Notifications - Archive of obsolete content
n popup(title, text) { try { components.classes['@mozilla.org/alerts-service;1'] .getservice(components.interfaces.nsialertsservice) .showalertnotification(null, title, text, false, '', null); } catch(e) { // prevents runtime error on platforms that don't implement nsialertsservice } } if you need to display a comparable alert on a platform that doesn't
support nsialertsservice, you can do this: function popup(title, msg) { var image = null; var win = components.classes['@mozilla.org/embedcomp/window-watcher;1'] .getservice(components.interfaces.nsiwindowwatcher) .openwindow(null, 'chrome://global/content/alerts/alert.xul', '_blank', 'chrome,titlebar=no,popup=yes', nu...
Canvas code snippets - Archive of obsolete content
h', 'beziercurveto', 'clearrect', 'clip', 'closepath', 'drawimage', 'fill', 'fillrect', 'filltext', 'lineto', 'moveto', 'quadraticcurveto', 'rect', 'restore', 'rotate', 'save', 'scale', 'settransform', 'stroke', 'strokerect', 'stroketext', 'transform', 'translate']; var gettermethods = ['createpattern', 'drawfocusring', 'ispointinpath', 'measuretext', // drawfocusring not currently
supported // the following might instead be wrapped to be able to chain their child objects 'createimagedata', 'createlineargradient', 'createradialgradient', 'getimagedata', 'putimagedata' ]; var props = ['canvas', 'fillstyle', 'font', 'globalalpha', 'globalcompositeoperation', 'linecap', 'linejoin', 'linewidth', 'miterlimit', 'shadowoffsetx', 'shadowoffsety', 'shadowblur', ...
Customizing the download progress bar - Archive of obsolete content
l(chrome://myextension/skin/progress_bg_osx.png) !important; %endif %endif } richlistitem .progress-bar { %ifdef xp_win -moz-appearance: none !important; background-image: url(chrome://myextension/skin/progress_fd_win.png) !important; %else %ifdef xp_macosx background-image: url(chrome://myextension/skin/progress_fd_osx.gif) !important; %endif %endif } note: this file only
supports windows and mac, but it would be straightforward to add
support for linux.
File I/O - Archive of obsolete content
here are some of the special locations the directory service
supports: (scope: d = product-wide, f = profile wide) string scope meaning achrom d %curprocd%/chrome aplugns d %curprocd%/plugins (deprecated - use aplugnsdl) aplugnsdl d comsd n/a %curprocd%/components curprocd n/a current working directory (usually the application's installation directory).
XML-related code snippets - Archive of obsolete content
how to create a dom tree using xmlhttprequest parsing and serializing xml using xpath jxon (lossless javascript xml object notation) xsl transforms xlink xinclude xml:id xml:base
support in old browsers xpointer svg namespaces, or why http://www.mozilla.org/keymaster/gat...re.is.only.xul is at the top of every xul document.
XPath - Archive of obsolete content
,returntype,result); //contextnode should be used in the one in which it was created //add by mooring 2008-11-15 16:00 china var xhr = new ajax('post','demo.xml',parsexml,'xml'); //ajax is a class written by javascript which return responsexml object to parsexml function function parsexml(obj)//obj is the returnxml object now { if(!obj.documentelement) { alert("your browser does't
support this script!"); return; } var fields = [];//store the results if(window.activexobject) { var tobj = obj.documentelement.selectnodes("/root/field/item"); for(var i=0;i<tobj.length; i++) { fields.push(tobj[i].text); } } else { var tobj = obj.evaluate("/root/field/item",obj.documentelement,null, xpathresult.any_type, null); var tmp = tobj.iteratenext(); while(tmp) {...
XUL Structure - Archive of obsolete content
in addition, another person could
supply a separate package that applies a skin or locale to your content part, thus providing
support for a new theme or language without having to change the original package.
Window icons - Archive of obsolete content
older versions to
support older applications, such as firefox 1.0, you need to copy the icons to app_dir/chrome/icons/default manually on the first start (example code).
XUL Parser in Python/source - Archive of obsolete content
import sys, glob, xmllib import os, re el_list = {} w = open('res.html', 'w') # unfortunately, i had to put this hack in here to
suppress the printing out of the resolved namespace: # "xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul window", etc.
XULBrowserWindow - Archive of obsolete content
in order to do so it implements the following interfaces: nsi
supports nsixulbrowserwindow nsiwebprogresslistener nsiwebprogresslistener2 nsi
supportsweakreference note: this page is not complete at this time.
XML - Archive of obsolete content
only quite recently have the standards out of which xul was fashioned matured to a level where they might really be powerful and flexible enough to
support the sort of development that xul provides for.
action - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
assign - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
bbox - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
binding - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related tbd ...
bindings - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related tbd ...
box - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements vbox, hbox ...
broadcaster - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
broadcasterset - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
browser - Archive of obsolete content
, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata addprogresslistener( listener ) return type: no return value add a progre...
caption - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements groupbox, checkbox ...
checkbox - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsiaccessibleprovider, nsidomxulcheckboxelement ...
colorpicker - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsidomxulcontrolelement bugs the onchange event only fires if attribut...
column - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements grid, columns, rows, row ...
columns - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements grid, column, rows, row.
command - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related xul:list of commands ...
commandset - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
conditions - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
content - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata relacionados tbd ...
datepicker - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsidomxulcontrolelement ...
deck - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related stack ...
description - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes header a class used for headings.
dialogheader - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements dialog, window ...
dropmarker - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
grippy - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
groupbox - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsiaccessibleprovider ...
hbox - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements box, vbox ...
image - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes alert-icon class that adds an alert icon.
keyset - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
label - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes the following classes may be used to style the element.
listcell - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes listcell-iconic use this class to have an image appear on the listcell.
listcol - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements listbox, listcell, listcols, listhead, listheader, listitem ...
listcols - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements listbox, listcell, listcol, listhead, listheader, listitem ...
listhead - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements listbox, listcell, listcol, listcols, listheader, listitem ...
listheader - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements listbox, listcell, listcol, listcols, listhead, listitem ...
listitem - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes the following classes may be used to style the element.
member - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
menu - Archive of obsolete content
, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata appenditem( label, value ) return type: element creates a new item and adds...
menubar - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements menu, menuitem, menulist, menupopup, menuseparator interfaces nsiacces...
menuitem - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes menuitem-iconic use this class to have an image appear on the menuitem.
menulist - Archive of obsolete content
, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata appenditem( label, value, description ) return type: element creates a new menuitem element a...
menuseparator - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements menu, menubar, menuitem, menulist, menupopup interfaces nsiaccessiblep...
notification - Archive of obsolete content
, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata close() return type: no return value closes the notification or findbar and removes it from ...
notificationbox - Archive of obsolete content
, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata appendnotification( label , value , image , priority , buttons, eventcallback ) return type: ...
observes - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
page - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
param - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
popupset - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements popup, menupopup ...
prefpane - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata events paneload this event is fired on the pane element when the pane is fully loa...
progressmeter - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsiaccessibleprovider ...
query - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
queryset - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
radio - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements radiogroup, checkbox interfaces nsiaccessibleprovider, nsidomxulselect...
radiogroup - Archive of obsolete content
, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata appenditem( label, value ) return type: element creates a new item and add...
resizer - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
row - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements grid, columns, column, rows.
rows - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements grid, columns, column, row.
rule - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
scale - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata decrease() return type: no return value decreases the value of the scale or...
script - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
scrollbar - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
scrollbox - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
scrollcorner - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
separator - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes the following classes may be used to style the element.
spacer - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements separator, splitter ...
spinbuttons - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
splitter - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes the following classes may be used to style the element.
stack - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related deck ...
statusbar - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements statusbarpanel interfaces nsiaccessibleprovider ...
<statusbarpanel> - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes the following classes may be used to style the element.
stringbundleset - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
tab - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata notes note: prior to gecko 1.9, disabling tabs fails; even while disabled, they still accept e...
tabbox - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements tabs, tab, tabpanels, tabpanel.
tabpanel - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements tabbox, tabs, tab, tabpanels.
tabpanels - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements tabbox, tabs, tab, tabpanel.
tabs - Archive of obsolete content
, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata advanceselectedtab( dir, wrap ) return type: no return value if the argument dir is set to 1...
template - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
textnode - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
timepicker - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsidomxulcontrolelement ...
titlebar - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
toolbarbutton - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbargrippy, toolbaritem, toolbarpalette, toolbarseparator, ...
toolbargrippy - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbaritem, toolbarpalette, toolbarseparator, tool...
toolbaritem - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbarpalette, toolbarseparator, to...
toolbarpalette - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarseparator, toolb...
toolbarseparator - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarpalett...
toolbarset - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarpalett...
toolbarspacer - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarpalette, toolbar...
toolbarspring - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarpalett...
tree - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata startediting( row, column ) return type: no return value activates user editing of the given ...
treecell - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements tree, treecols, treecol, treechildren, treeitem, treerow and treeseparator.
treechildren - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata example <tree flex="1"> <treecols> <treecol id="sender" label="sender" flex="1"/> <t...
treecol - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes the following class may be used to style the element.
treecols - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements tree, treecol, treechildren, treeitem, treerow, treecell and treeseparator.
treeitem - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements tree, treecols, treecol, treechildren, treerow, treecell and treeseparator.
treerow - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements tree, treecols, treecol, treechildren, treeitem, treecell and treeseparator...
treeseparator - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements tree, treecols, treecol, treechildren, treeitem, treerow and treecell.
triple - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
vbox - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements box, hbox ...
where - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
wizardpage - Archive of obsolete content
attribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is
supported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), removeattributenode(), removeattributens(), removechild(), removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related wizard ...
XUL - Archive of obsolete content
xul periodic table this collection of xul demos used to be available as a web page, but can no longer be viewed in firefox since
support for remote xul was disabled.
Creating a Windows Inno Setup installer for XULRunner applications - Archive of obsolete content
[setup] appname=my app appvername=my app 1.0 apppublisher=mark finkle apppublisherurl=http://developer.mozilla.org/en/docs/getting_started_with_xulrunner app
supporturl=http://developer.mozilla.org/en/docs/getting_started_with_xulrunner appupdatesurl=http://developer.mozilla.org/en/docs/getting_started_with_xulrunner defaultdirname={pf}\my app defaultgroupname=my app allownoicons=yes outputdir=..\build\output outputbasefilename=myapp-1.0-win32 ; setupiconfile= compression=lzma solidcompression=yes [languages] name: english; messagesfile: compiler:default...
Custom app bundles for Mac OS X - Archive of obsolete content
ontents/ info.plist (application bundle properties are specified in this xml file.) pkginfo (this is a simple text file and is created along with the info.plist file) macos/ (the macos folder will contain your xulrunner executable) xulrunner (this is the xulrunner stub) resources/ (this is where you place your xul application code and
support files) application.ini (xulrunner-related application settings) example.icns (this is the icon which will be used by your application bundle) chrome/ content/ example.xul (this directory contains your application's chrome) example.manifest defaults/ ...
Opening a Link in the Default Browser - Archive of obsolete content
to
suppress this warning for particular protocols that are safe to open in the default application, you must set default prefs (thunderbird sets the following prefs): //
suppress external-load warning for standard browser schemes pref("network.protocol-handler.warn-external.http", false); pref("network.protocol-handler.warn-external.https", false); pref("network.protocol-handler.warn-external.ftp", fal...
NSS 3.17.3 release notes
nss 3.17.3 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_17_3_rtm/src/ new in nss 3.17.3 new functionality
support for tls_fallback_scsv has been added to the ssltap and tstclnt utilities.
NSS 3.17.4 release notes
notable changes in nss 3.17.4 bug 1084986: if an ssl/tls connection fails, because client and server don't have any common protocol version enabled, nss has been changed to report error code ssl_error_un
supported_version (instead of reporting ssl_error_no_cypher_overlap).
NSS 3.19 release notes
in tls 1.2 handshakes, nss advertises
support for the sha512 hash algorithm in order to be compatible with tls servers that use certificates with a sha512 signature (bug 1155922).
NSS 3.26 release notes
nss 3.26 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_26_rtm/src/ new in nss 3.26 new functionality the selfserv test utility has been enhanced to
support alpn (http/1.1) and 0-rtt added
support for the system-wide crypto policy available on fedora linux, see http://fedoraproject.org/wiki/changes/cryptopolicy introduced build flag nss_disable_libpkix which allows compilation of nss without the libpkix library notable changes in nss 3.26 the following ca certificate was added cn = isrg root x1 sha-256 fingerprint: 96:bc:e...
NSS 3.27.1 release notes
however, some applications query the list of protocol versions that are
supported by the nss library, enabling all
supported tls protocol versions.
NSS 3.33 release notes
nss 3.33 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_33_rtm/src/ notable changes in nss 3.33 tls compression is no longer
supported.
NSS 3.38 release notes
nss 3.38 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_38_rtm/src/ new in nss 3.38 new functionality added
support for the tls record size limit extension.
NSS 3.40 release notes
nss 3.40 source distributions are available on ftp.mozilla.org for secure https download: source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/nss_3_40_rtm/src/ new in nss 3.40 new functionality the draft-00 version of encrypted sni
support is implemented tstclnt now takes -n option to specify encrypted sni key new functions none notable changes in nss 3.40 the mozilla::pkix library has been ported from mozilla psm to nss.
NSS 3.41 release notes
256 fingerprint: 56c77128d98c18d91b4cfdffbc25ee9103d4758ea2abad826a90f3457d460eb4 cn = opentrust root ca g2 sha-256 fingerprint: 27995829fe6a7515c1bfe848f9c4761db16c225929257bf40d0894f29ea8baf2 cn = opentrust root ca g3 sha-256 fingerprint: b7c36231706e81078c367cb896198f1e3208dd926949dd8f5709a410f75b6292 bugs fixed in nss 3.41 bug 1412829, reject empty
supported_signature_algorithms in certificate request in tls 1.2 bug 1485864 - cache side-channel variant of the bleichenbacher attack (cve-2018-12404) bug 1481271 - resend the same ticket in clienthello after helloretryrequest bug 1493769 - set session_id for external resumption tokens bug 1507179 - reject ccs after handshake is complete in tls 1.3 this bugzilla query returns...
NSS 3.42 release notes
new in nss 3.42 new functionality bug 818686 -
support xdg basedir specification new functions none notable changes in nss 3.42 the following ca certificates were added: none the following ca certificates were removed: none added
support for some of the testcases from the wycheproof project: bug 1508666 - added aes-gcm test cases bug 1508673 - added chacha20-poly1305 test cases ...
NSS 3.44.1 release notes
new in nss 3.44.1 new functionality 1546229 - add ipsec ike
support to softoken many new fips test cases (note: this has increased the source archive by approximately 50 megabytes for this release.) bugs fixed in nss 3.44.1 1554336 - optimize away unneeded loop in mpi.c 1515342 - more thorough input checking (cve-2019-11729) 1540541 - don't unnecessarily strip leading 0's from key material during pkcs11 import (cve-2019-11719) ...
NSS 3.48 release notes
91742 - ensure des iv length is valid before usage from pkcs#11 bug 1588567 - enable mozilla::pkix gtests in nss ci bug 1591315 - update nsc_decrypt length in constant time bug 1562671 - increase nss mp kdf default iteration count, by default for modern key4 storage, optionally for legacy key3.db storage bug 1590972 - use -std=c99 rather than -std=gnu99 bug 1590676 - fix build if arm doesn't
support neon bug 1575411 - enable tls extended master secret by default bug 1590970 - ssl_settimefunc has incomplete coverage bug 1590678 - remove -wmaybe-uninitialized warning in tls13esni.c bug 1588244 - nss changes for delegated credential key strength checks bug 1459141 - add more cbc padding tests that missed nss 3.47 bug 1590339 - fix a memory leak in btoa.c bug 1589810 - fix uninitializ...
NSS 3.49 release notes
bug 1606025 - remove -wmaybe-uninitialized warning in sslsnce.c bug 1606119 - fix ppc hw crypto build failure bug 1605545 - memory leak in pk11install_platform_generate bug 1602288 - fix build failure due to missing posix signal.h bug 1588714 - implement checkarm
support for win64/aarch64 bug 1585189 - nss database uses 3des instead of aes to encrypt db entries bug 1603257 - fix ubsan issue in softoken ckm_nss_chacha20_ctr initialization bug 1590001 - additional hrr tests (cve-2019-17023) bug 1600144 - treat clienthello with message_seq of 1 as a second clienthello bug 1603027 - test that esni is regenerated after helloretryrequest bug 1593167 - intermi...
NSS 3.51.1 release notes
bugs fixed in nss 3.51.1 bug 1619102 - add workaround option to include both dtls and tls versions in dtls
supported_versions.
nsXPIDLString
class declaration nstxpidlstring extends nststring such that: (1) mdata can be null (2) objects of this type can be automatically cast to |const chart*| (3) getter_copies method is
supported to adopt data allocated with ns_alloc, such as "out string" parameters in xpidl.
XPCOM glue classes
this is done using the functions addref() and release(), which respectively modify a variable of type nsautorefcnt, which basically is a wrapper around a count of the number of references refering to the class.nsstringclass declarationnsstring externalclass declarationnsstringcontainer (external)class declarationns
supportsweakreferenceinherit from this c++ class to add canonical
support for nsi
supportsweakreference.nsxpidlcstringclass declarationnsxpidlstringclass declarationpromiseflatcstring (external)class declarationpromiseflatstring (external)class declaration ...
IAccessible2
iserviceprovider *pservice = null; hr = pacc->queryinterface(iid_iserviceprovider, (void **)&pservice); if(succeeded(hr)) { iaccessible2 *pia2 = null; hr = pservice->queryservice(iid_iaccessible, iid_iaccessible2, (void**)&pia2); if (succeeded(hr) && pia2) { // the control
supports iaccessible2.
IAccessibleAction
1.0 66 introduced gecko 1.9 inherits from: iunknown last changed in gecko 1.9 (firefox 3) every accessible object that can be manipulated via the native gui beyond the methods available either in the msaa iaccessible interface or in the set of iaccessible2 interfaces (other than this iaccessibleaction interface) should
support the iaccessibleaction interface in order to provide assistive technology access to all the actions that can be performed by the object.
IAccessibleEditableText
note that even a read only text object can
support the copy capability so this interface is not limited to editable objects.
IAccessibleTable
[propget] hresult summary( [out] iunknown accessible ); parameters accessible returns a reference to an implementation dependent accessible object representing the table's summary or a null pointer if the table does not
support a summary.
IAccessibleValue
1.0 66 introduced gecko 1.9 inherits from: iunknown last changed in gecko 1.9 (firefox 3) the iaccessiblevalue interface represents a single numerical value and should be implemented by any class that
supports numerical value like progress bars and spin boxes.
IJSDebugger
1.0 66 introduced gecko 9.0 inherits from: nsi
supports last changed in gecko 9.0 (firefox 9.0 / thunderbird 9.0 / seamonkey 2.6) implemented by: @mozilla.org/jsdebugger;1 as a service: var jsdebugger = components.classes["@mozilla.org/jsdebugger;1"] .createinstance(components.interfaces.ijsdebugger); note: you should almost never directly use this service; instead, you should use the javascript code module that does this for you.
amIInstallCallback
1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview void oninstallended(in astring aurl, in print32 astatus); methods oninstallended() called when an install completes or fails.
amIInstallTrigger
1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview boolean enabled(); boolean install(in nsivariant aargs, [optional] in amiinstallcallback acallback); boolean installchrome(in pruint32 atype, in astring aurl, in astring askin); deprecated since gecko 2.0 boolean startsoftwareupdate(in astring aurl, [optional] in print32 aflags); deprecated since gecko 2.0 boolean updateenabled(); deprecated since gecko 2.0 constants retained for backwards compatibility.
amIWebInstallInfo
1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview void install(); attributes attribute type description installs nsivariant an array of addoninstall objects.
amIWebInstallListener
1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 8.0 (firefox 8.0 / thunderbird 8.0 / seamonkey 2.5) method overview boolean onwebinstallblocked(in nsidomwindow awindow, in nsiuri auri, [array, size_is(acount)] in nsivariant ainstalls, [optional] in pruint32 acount); void onwebinstalldisabled(in nsidomwindow awindow, in nsiuri auri, [array, size_is(acount)] in nsivariant ainstalls, [optional] in pru...
amIWebInstallPrompt
1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 8.0 (firefox 8.0 / thunderbird 8.0 / seamonkey 2.5) method overview void confirm(in nsidomwindow awindow, in nsiuri auri, [array, size_is(acount)] in nsivariant ainstalls, [optional] in pruint32 acount); prior to gecko 8.0, all references to nsidomwindow used in this interface were nsidomwindow.
amIWebInstaller
1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 8.0 (firefox 8.0 / thunderbird 8.0 / seamonkey 2.5) method overview boolean installaddonsfromwebpage(in astring amimetype, in nsidomwindow awindow, in nsiuri areferer, [array, size_is(ainstallcount)] in wstring auris, [array, size_is(ainstallcount)] in wstring ahashes, [array, size_is(ainstallcount)] in wstring anames, [array, size_is(ainstallcount)] in wstring aicons, [optional] in amiinstallcallback acallback, [optional] in pruint32 ainstallcount); boolean isinstallenabled(in astring amimetype, in nsiuri areferer); note: pri...
imgIContainer
66 introduced gecko 1.0 inherits from: nsi
supports last changed in gecko 14.0 (firefox 14.0 / thunderbird 14.0 / seamonkey 2.11) implemented by: ?????????????????????????????????????.
imgIContainerObserver
1.0 66 introduced gecko 1.7 inherits from: nsi
supports last changed in gecko 12.0 (firefox 12.0 / thunderbird 12.0 / seamonkey 2.9) if you wish to listen for activities on an imgicontainer, you should implement the framechanged() method.
imgIDecoder
inherits from: nsi
supports last changed in gecko 1.7 this interface is the base class for decoders for specific image formats.
imgIEncoder
void initfromdata([array, size_is(length), const] in pruint8 data, in unsigned long length, in pruint32 width, in pruint32 height, in pruint32 stride, in pruint32 inputformat, in astring outputoptions); void startimageencode(in pruint32 width, in pruint32 height, in pruint32 inputformat, in astring outputoptions); constants possible values for input format (note that not all image formats
support saving alpha channels): constant value description input_format_rgb 0 input is rgb each pixel is represented by three bytes: r, g, and b (in that order, regardless of host endianness) input_format_rgba 1 input is rgb each pixel is represented by four bytes: r, g, and b (in that order, regardless of host endianness).
mozIAsyncFavicons
1.0 66 introduced gecko 6.0 inherits from: nsi
supports last changed in gecko 11.0 (firefox 11.0 / thunderbird 11.0 / seamonkey 2.8) nsifaviconservice handles this interface, so you do not need to directly create a new service.
mozIAsyncHistory
1.0 66 introduced gecko 24.0 inherits from: nsi
supports last changed in gecko 24.0 (firefox 24.0 / thunderbird 24.0 / seamonkey 2.21) implemented by: @mozilla.org/browser/history;1 as a service: var asynchistory = components.classes["@mozilla.org/browser/history;1"] .getservice(components.interfaces.moziasynchistory); method overview void getplacesinfo(in jsval aplaceidentifiers, in mozivisitinfocallback acallback); void isurivisited(in nsiuri auri, in mozivisitedstatuscallback acallback); void updateplaces(in moziplaceinfo, [optional] in mozivisitinfocallback acallback); m...
mozIColorAnalyzer
toolkit/components/places/mozicoloranalyzer.idlscriptable provides methods to analyze colors in an image 1.0 66 introduced gecko 17.0 inherits from: nsi
supports last changed in gecko 17.0 (firefox 17.0 / thunderbird 17.0 / seamonkey 2.14) method overview void findrepresentativecolor(in nsiuri imageuri, in mozirepresentativecolorcallback callback); methods findrepresentativecolor() given an image uri, find the most representative color for that image based on the frequency of each color.
mozIJSSubScriptLoader
66 introduced gecko 1.0 inherits from: nsi
supports last changed in gecko 28 (firefox 28 / thunderbird 28 / seamonkey 2.25 / firefox os 1.3) implemented by: @mozilla.org/moz/jssubscript-loader;1.
mozIPersonalDictionary
1.0 66 introduced gecko 1.4.1 inherits from: nsi
supports last changed in gecko 1.7 implemented by: @mozilla.org/spellchecker/personaldictionary;1.
mozIPlaceInfo
toolkit/components/places/public/moziasynchistory.idlscriptable this interface provides additional info for a places entry 1.0 66 introduced gecko 2.0 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) attributes attribute type description frecency long read only: the frecency of the place.
mozIPlacesAutoComplete
1.0 66 introduced gecko 1.9.2 inherits from: nsi
supports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview void registeropenpage(in nsiuri auri); void unregisteropenpage(in nsiuri auri); constants constant value description match_anywhere 0 match anywhere in each searchable term.
mozIRepresentativeColorCallback
toolkit/components/places/mozicoloranalyzer.idlscriptable provides callback methods for mozicoloranalyzer 1.0 66 introduced gecko 17.0 inherits from: nsi
supports last changed in gecko 17.0 (firefox 17.0 / thunderbird 17.0 / seamonkey 2.14) method overview void oncomplete(in boolean success, [optional] in unsigned long color); methods oncomplete() will be called when color analysis finishes.
mozIStorageAggregateFunction
last changed in gecko 1.9 (firefox 3) inherits from: nsi
supports method overview void onstep(in mozistoragevaluearray afunctionarguments); nsivariant onfinal(); methods onstep() this is called for each row of results returned by the query.
mozIStorageBindingParams
last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) inherits from: nsi
supports you can only create mozistoragebindingparams objects by calling the mozistoragebindingparamsarray.newbindingparams().
mozIStorageBindingParamsArray
last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) inherits from: nsi
supports you can only create these objects by calling the mozistoragestatement.newbindingparamsarray().
XPCOM
this can create a difficult situation for extension developers trying to
support multiple gecko versions (firefox 2 and 3, for example).creating a python xpcom componentcreating applications with mozilla already provides a tutorial for making a simple javascript or c++ component (implementing the nsisimple interface).
Address book sync client design
this interface is as follows: #include "nsi
supports.idl" #include "nsrootidl.idl" #include "nsifilespec.idl" [scriptable, uuid(e0ed29e0-098a-11d4-8fd6-00a024a7d144)] interface nsiabsynclistener : nsi
supports { /** * notify the observer that the ab sync authorization operation has begun.
nsIMsgCloudFileProvider
inherits from: nsi
supports method overview void init(in string aaccountkey); void uploadfile(in nsilocalfile afile, in nsirequestobserver acallback); acstring urlforfile(in nsilocalfile afile); void cancelfileupload(in nsilocalfile afile); void refreshuserinfo(in boolean awithui, in nsirequestobserver acallback); void deletefile(in nsilocalfile afile, in nsirequestobserver acallback); void createnewaccount(in acstring aemailaddress, in acstring apassword, in acstring afirstname, in acstring alastname, in nsirequestobserver acallback); void createexistingaccount(in nsir...
Filelink Providers
this document explains how to extend thunderbird to
support additional web-based storage services.
Spam filtering
currently, spam filtering is does not work for news, but it would be possible to add
support for this.
Building a Thunderbird extension 5: XUL
to view this xul file use the dom inspector extension (no longer
supported) or look inside the omni.ja archive, which is located in the thunderbird program folder.
Theme Packaging
<?xml version="1.0"?> <rdf xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <description about="urn:mozilla:install-manifest"> <em:id>{18b64b56-d42f-428d-a88c-baa413bc413f}</em:id> <em:version>1.0</em:version> <em:type>4</em:type> <!-- target application this extension can install into, with minimum and maximum
supported versions.
libmime content type handlers
type prefixed by the * following: mimecth:text/vcard * * libmime will then use nscomponentmanager::contractidtoclsid() to * locate the appropriate content type handler */ #ifndef nsimimecontenttypehandler_h_ #define nsimimecontenttypehandler_h_ typedef struct { prbool force_inline_display; } contenttypehandlerinitstruct; #include "prtypes.h" #include "nsi
supports.h" #include "mimecth.h" // {20dabd99-f8b5-11d2-8ee0-00a024a7d144} #define ns_imime_content_type_handler_iid \ { 0x20dabd99, 0xf8b5, 0x11d2, \ { 0x8e, 0xe0, 0x0, 0xa0, 0x24, 0xa7, 0xd1, 0x44 } } class nsimimecontenttypehandler : public nsi
supports { public: static const nsiid& getiid() { static nsiid iid = ns_imime_content_type_handler_iid; return iid; } ns_imethod ...
Thunderbird
community thunderbird product home page thunderbird project community pages user
support is handled at mozilla
support development discussion happens on the tb-planning mailing list: subscribe archives add-on developers forum/mailing list mozillazine forums mozilla messaging web page #thunderbird on irc.mozilla.org (for users) #maildev on irc.mozilla.org (for developers) a list of all thunderbird communication...
XPI
xpi archives only
support files stored uncompressed or compressed using the "deflate" method.
Examples
the js-macosx bridge has dependency on bridge
support metadata: whenever a cocoa class, function, struct or const is encountered in the javascript code, js-macosx will replace it with the corresponding js-ctypes declaration based on the bridge
support file from the framework that object belongs to.
Declaring types
{ fieldn: typen } ] example for example, to
support the c tm structure using js-ctypes, you would use the following code: const struct_tm = new ctypes.structtype("tm", [ { "tm_sec": ctypes.int }, { "tm_min": ctypes.int }, { "tm_hour": ctypes.int }, { "tm_mday": ctypes.int }, { "tm_mon": ctypes.int }, ...
Working with data
note: these 64-bit integer types are intentionally low on features, so that when javascript adds a "big number" type, we can easily upgrade to
support that properly.
Using js-ctypes
examples can be found here: bugzilla :: bug 505907 -
support c++ calling from jsctypes library search paths if you specify a full path, that path is used to load the library.
MediaSource.MediaSource() - Web APIs
ple example written by nick desaulniers (view the full demo live, or download the source for further investigation.) var video = document.queryselector('video'); var asseturl = 'frag_bunny.mp4'; // need to be specific for blink regarding codecs // ./mp4info frag_bunny.mp4 | grep codec var mimecodec = 'video/mp4; codecs="avc1.42e01e, mp4a.40.2"'; if ('mediasource' in window && mediasource.istype
supported(mimecodec)) { var mediasource = new mediasource; //console.log(mediasource.readystate); // closed video.src = url.createobjecturl(mediasource); mediasource.addeventlistener('sourceopen', sourceopen); } else { console.error('un
supported mime type or codec: ', mimecodec); } ...
MediaSource.endOfStream() - Web APIs
example the following snippet is from a simple example written by nick desaulniers (view the full demo live, or download the source for further investigation.) var asseturl = 'frag_bunny.mp4'; // need to be specific for blink regarding codecs // ./mp4info frag_bunny.mp4 | grep codec var mimecodec = 'video/mp4; codecs="avc1.42e01e, mp4a.40.2"'; if ('mediasource' in window && mediasource.istype
supported(mimecodec)) { var mediasource = new mediasource; //console.log(mediasource.readystate); // closed video.src = url.createobjecturl(mediasource); mediasource.addeventlistener('sourceopen', sourceopen); } else { console.error('un
supported mime type or codec: ', mimecodec); } function sourceopen (_) { //console.log(this.readystate); // open var mediasource = this; var sourcebuf...
MediaSource.readyState - Web APIs
example the following snippet is from a simple example written by nick desaulniers (view the full demo live, or download the source for further investigation.) if ('mediasource' in window && mediasource.istype
supported(mimecodec)) { var mediasource = new mediasource; //console.log(mediasource.readystate); // closed video.src = url.createobjecturl(mediasource); mediasource.addeventlistener('sourceopen', sourceopen); } else { console.error('un
supported mime type or codec: ', mimecodec); } function sourceopen (_) { //console.log(this.readystate); // open var mediasource = this; var sourcebuf...
MediaStreamAudioSourceNode() - Web APIs
udio: true, video: false }).then(function(stream) { var options = { mediastream : stream } var source = new mediastreamaudiosourcenode(audioctx, options); source.connect(audioctx.destination); }).catch(function(err) { console.log('the following gum error occured: ' + err); }); } else { console.log('new getusermedia not
supported on your browser!'); } specifications specification status comment web audio apithe definition of 'mediastreamaudiosourcenode()' in that specification.
MediaStreamTrack.getCapabilities() - Web APIs
syntax const capabilities = track.getcapabilities() return value a mediatrackcapabilities object which specifies the value or range of values which are
supported for each of the user agent's
supported constrainable properties.
MediaStreamTrack - Web APIs
candidate recommendation additional properties for isolated track
support media capture and streamsthe definition of 'mediastreamtrack' in that specification.
MediaStreamTrackAudioSourceOptions.mediaStreamTrack - Web APIs
, video: false }).then(function(stream) { let options = { mediastreamtrack: stream.getaudiotracks()[0]; } let source = new mediastreamtrackaudiosourcenode(audioctx, options); source.connect(audioctx.destination); }).catch(function(err) { console.log('the following gum error occured: ' + err); }); } else { console.log('new getusermedia not
supported on your browser!'); } specifications specification status comment web audio apithe definition of 'mediastreamtrackaudiosourceoptions.mediastream' in that specification.
MediaTrackConstraints.aspectRatio - Web APIs
if needed, you can determine whether or not this constraint is
supported by checking the value of mediatrack
supportedconstraints.aspectratio as returned by a call to mediadevices.get
supportedconstraints().
MediaTrackConstraints.autoGainControl - Web APIs
if needed, you can determine whether or not this constraint is
supported by checking the value of mediatrack
supportedconstraints.autogaincontrol as returned by a call to mediadevices.get
supportedconstraints().
MediaTrackConstraints.channelCount - Web APIs
if needed, you can determine whether or not this constraint is
supported by checking the value of mediatrack
supportedconstraints.channelcount as returned by a call to mediadevices.get
supportedconstraints().
MediaTrackConstraints.deviceId - Web APIs
if needed, you can determine whether or not this constraint is
supported by checking the value of mediatrack
supportedconstraints.deviceid as returned by a call to mediadevices.get
supportedconstraints().
MediaTrackConstraints.displaySurface - Web APIs
if needed, you can determine whether or not this constraint is
supported by checking the value of mediatrack
supportedconstraints.displaysurface as returned by a call to mediadevices.get
supportedconstraints().
MediaTrackConstraints.echoCancellation - Web APIs
if needed, you can determine whether or not this constraint is
supported by checking the value of mediatrack
supportedconstraints.echocancellation as returned by a call to mediadevices.get
supportedconstraints().
TypedArray.prototype.keys() - JavaScript
examples iteration using for...of loop var arr = new uint8array([10, 20, 30, 40, 50]); var earray = arr.keys(); // your browser must
support for..of loop // and let-scoped variables in for loops for (let n of earray) { console.log(n); } alternative iteration var arr = new uint8array([10, 20, 30, 40, 50]); var earr = arr.keys(); console.log(earr.next().value); // 0 console.log(earr.next().value); // 1 console.log(earr.next().value); // 2 console.log(earr.next().value); // 3 console.log(earr.next().value); // 4 specifications...
TypedArray.prototype.reduce() - JavaScript
syntax typedarray.reduce(callback[, initialvalue]) parameters callback function to execute on each value in the typed array, taking four arguments: previousvalue the value previously returned in the last invocation of the callback, or initialvalue, if
supplied (see below).
TypedArray.prototype.reduceRight() - JavaScript
syntax typedarray.reduceright(callback[, initialvalue]) parameters callback function to execute on each value in the typed array, taking four arguments: previousvalue the value previously returned in the last invocation of the callback, or initialvalue, if
supplied (see below).
TypedArray.prototype.slice() - JavaScript
if (!uint8array.prototype.slice) { object.defineproperty(uint8array.prototype, 'slice', { value: function (begin, end) { return new uint8array(array.prototype.slice.call(this, begin, end)); } }); } if you need to
support truly obsolete javascript engines that don't
support object.defineproperty, it's best not to polyfill array.prototype methods at all, as you can't make them non-enumerable.
TypedArray.prototype.some() - JavaScript
// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.some if (!uint8array.prototype.some) { object.defineproperty(uint8array.prototype, 'some', { value: array.prototype.some }); } if you need to
support truly obsolete javascript engines that don't
support object.defineproperty, it's best not to polyfill array.prototype methods at all, as you can't make them non-enumerable.
TypedArray.prototype.toString() - JavaScript
compatibility if a browser doesn't
support the typedarray.prototype.tostring() method yet, javascript will call the tostring method of object: var numbers = new uint8array([2, 5, 8, 1, 4]) numbers.tostring(); // "[object uint8array]" specifications specification ecmascript (ecma-262)the definition of 'array.prototype.tostring' in that specification.
TypedArray.prototype.values() - JavaScript
examples iteration using for...of loop var arr = new uint8array([10, 20, 30, 40, 50]); var earray = arr.values(); // your browser must
support for..of loop // and let-scoped variables in for loops for (let n of earray) { console.log(n); } alternative iteration var arr = new uint8array([10, 20, 30, 40, 50]); var earr = arr.values(); console.log(earr.next().value); // 10 console.log(earr.next().value); // 20 console.log(earr.next().value); // 30 console.log(earr.next().value); // 40 console.log(earr.next().value); // 50 specifi...
TypedArray - JavaScript
calling it or using it in a new expression will throw a typeerror, except when used during object creation in js engines that
support subclassing.
Iteration protocols - JavaScript
string iterator]" console.log(iterator.next()); // { value: "h", done: false } console.log(iterator.next()); // { value: "i", done: false } console.log(iterator.next()); // { value: undefined, done: true } some built-in constructs—such as the spread syntax—use the same iteration protocol under the hood: console.log([...somestring]); // ["h", "i"] you can redefine the iteration behavior by
supplying our own @@iterator: // need to construct a string object explicitly to avoid auto-boxing let somestring = new string('hi'); somestring[symbol.iterator] = function () { return { // this is the iterator object, returning a single element (the string "bye") next: function () { return this._first ?
Lexical grammar - JavaScript
keywords reserved keywords as of ecmascript 2015 break case catch class const continue debugger default delete do else export extends finally for function if import in instanceof new return
super switch this throw try typeof var void while with yield future reserved keywords the following are reserved as future keywords by the ecmascript specification.
Operator precedence - JavaScript
console.log(3 + 10 * 2); // logs 23 console.log(3 + (10 * 2)); // logs 23 because parentheses here are
superfluous console.log((3 + 10) * 2); // logs 26 because the parentheses change the order left-associativity (left-to-right) means that it is processed as (a op1 b) op2 c, while right-associativity (right-to-left) means it is interpreted as a op1 (b op2 c).
delete operator - JavaScript
console.log(delete func); // false cross-browser notes although ecmascript makes iteration order of objects implementation-dependent, it may appear that all major browsers
support an iteration order based on the earliest added property coming first (at least for properties not on the prototype).