Search completed in 1.26 seconds.
CanvasCaptureMediaStreamTrack - Web APIs
the canvascaptu
remediastreamtrack interface represents the video track contained in a mediastream being generated from a <canvas> following a call to htmlcanvaselement.capturestream().
... canvascaptu
remediastreamtrack.canvas read only returns the htmlcanvaselement object whose surface is captured in real-time.
... canvascaptu
remediastreamtrack.requestframe() manually forces a frame to be captured and sent to the stream.
... specifications specification status comment media capture from dom elementsthe definition of 'canvascaptu
remediastreamtrack' in that specification.
CanvasRenderingContext2D.removeHitRegion() - Web APIs
the canvasrenderingcontext2d method
removehitregion()
removes a given hit region from the canvas.
... syntax void ctx.
removehitregion(id); parameters id a domstring representing the id of the region that is to be
removed.
... examples using the
removehitregion method this example demonstrates the
removehitregion() method.
... html <canvas id="canvas"></canvas> javascript const canvas = document.getelementbyid('canvas'); const ctx = canvas.getcontext('2d'); // set a hit region ctx.addhitregion({id: 'eyes'}); //
remove it from the canvas ctx.
removehitregion('eyes'); specifications canvas hit regions have been
removed from the whatwg living standard, although discussions about future standardization are ongoing.
ChildNode.remove() - Web APIs
the childnode.
remove() method
removes the object from the tree it belongs to.
... syntax node.
remove(); example using
remove() <div id="div-01">here is div-01</div> <div id="div-02">here is div-02</div> <div id="div-03">here is div-03</div> var el = document.getelementbyid('div-02'); el.
remove(); //
removes the div with the 'div-02' id childnode.
remove() is unscopable the
remove() method is not scoped into the with statement.
... with(node) {
remove(); } // referenceerror:
remove is not defined polyfill you can polyfill the
remove() method in internet explorer 9 and higher with the following code: // from:https://github.com/jserz/js_piece/blob/master/dom/childnode/
remove()/
remove().md (function (arr) { arr.foreach(function (item) { if (item.hasownproperty('
remove')) { return; } object.defineproperty(item, '
remove', { configurable: true, enumerable: true, writable: true, value: function
remove() { this.parentnode.
removechild(this); } }); }); })([element.prototype, characterdata.prototype, documenttype.prototype]); specifications specification status comment domthe definition...
... of 'childnode.
remove' in that specification.
MediaQueryList.removeListener() - Web APIs
the
removelistener() method of the mediaquerylist interface
removes a listener from the mediaquerylistener.
... this is basically an alias for eventtarget.
removeeventlistener(), for backwards compatibility purposes — in older browsers you could use
removeeventlistener() instead.
... syntax mediaquerylist.
removelistener(func) parameters func a function or function reference representing the callback function you want to
remove.
... para.textcontent = 'this is a narrow screen — less than 600px wide.'; document.body.style.backgroundcolor = 'red'; } else { /* the viewport is more than than 600 pixels wide */ para.textcontent = 'this is a wide screen — more than 600px wide.'; document.body.style.backgroundcolor = 'blue'; } } mql.addlistener(screentest); // later on, when it is no longer needed mql.
removelistener(screentest); specifications specification status comment css object model (cssom) view modulethe definition of '
removelistener' in that specification.
PaymentResponse.payerEmail - Web APIs
the paye
remail read-only property of the paymentresponse interface returns the email address supplied by the user.
... this option is only present when the requestpaye
remail option is set to true in the paymentoptions object passed to the paymentrequest constructor.
... syntax var paye
remail = paymentresponse.paye
remail; specifications specification status comment payment request api candidate recommendation initial definition.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetpaye
remailchrome 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...
RTCPeerConnection: removestream event - Web APIs
the obsolete
removestream event was sent to an rtcpeerconnection to inform it that a mediastream had been
removed from the connection.
... you can use the rtcpeerconnection interface's on
removestream property to set a handler for this event.
... bubbles no cancelable no interface mediastreamevent event handler property rtcpeerconnection.on
removestream important: this event has been
removed from the webrtc specification in favor of the existing
removetrack event on the
remote mediastream and the corresponding mediastream.on
removetrack event handler property of the
remote mediastream.
... the rtcpeerconnection api is now track-based, so having zero tracks in the
remote stream is equivalent to the
remote stream being
removed, which caused a
removestream event.
Selection.removeAllRanges() - Web APIs
the selection.
removeallranges() method
removes all ranges from the selection, leaving the anchornode and focusnode properties equal to null and leaving nothing selected.
... syntax sel.
removeallranges(); parameters none.
... specifications specification status comment selection apithe definition of 'selection.
removeallranges()' in that specification.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internet
removeallranges experimentalchrome full support yesedge full support 12firefox full support yesie full support yesopera full support yessafari full support ...
SourceBuffer.remove() - Web APIs
the
remove() method of the sourcebuffer interface
removes media segments within a specific time range from the sourcebuffer.
... syntax sourcebuffer.
remove(start, end); parameters start a double representing the start of the time range, in seconds.
... invalidstateerror the sourcebuffer.updating property is equal to true, or this sourcebuffer has been
removed from the mediasource.
... specifications specification status comment media source extensionsthe definition of '
remove()' in that specification.
Decrement (--) - JavaScript
the dec
rement operator (--) dec
rements (subtracts one from) its operand and returns a value.
... syntax operator: x-- or --x description if used postfix, with operator after operand (for example, x--), the dec
rement operator dec
rements and returns the value before dec
rementing.
... if used prefix, with operator before operand (for example, --x), the dec
rement operator dec
rements and returns the value after dec
rementing.
... examples postfix dec
rement let x = 3; y = x--; // y = 3 // x = 2 prefix dec
rement let a = 2; b = --a; // a = 1 // b = 1 specifications specification ecmascript (ecma-262)the definition of 'dec
rement operator' in that specification.
Increment (++) - JavaScript
the inc
rement operator (++) inc
rements (adds one to) its operand and returns a value.
... syntax operator: x++ or ++x description if used postfix, with operator after operand (for example, x++), the inc
rement operator inc
rements and returns the value before inc
rementing.
... if used prefix, with operator before operand (for example, ++x), the inc
rement operator inc
rements and returns the value after inc
rementing.
... examples postfix inc
rement let x = 3; y = x++; // y = 3 // x = 4 prefix inc
rement let a = 2; b = ++a; // a = 3 // b = 3 specifications specification ecmascript (ecma-262)the definition of 'inc
rement operator' in that specification.
dirRemove - Archive of obsolete content
dir
remove
removes a directory.
... method of file object syntax int dir
remove( filespecobject dirto
remove [, boolean recursive] ); parameters the dir
remove method has the following parameters: dirto
remove a filespecobject representing the directory to be
removed.
... recursive an optional boolean value indicating whether the
remove operation is to be performed recursively (1) or not (0).
removeAllNotifications - Archive of obsolete content
« xul reference home
removeallnotifications( immediate ) return type: no return value
remove all notifications.
... if immediate is true, the messages are
removed immediately.
... if immediate is false, the notifications are
removed using a slide transition.
removeItemAt - Archive of obsolete content
« xul reference home
removeitemat( index ) return type: element
removes the child item in the element at the specified index.
... the method returns the
removed item.
... <script language="javascript"> function
removeselecteditem(){ var mylistbox = document.getelementbyid('mylistbox'); if(mylistbox.selectedindex == -1){ return; // no item selected so return }else{ mylistbox.
removeitemat(mylistbox.selectedindex); } } function
removeallitems(){ var mylistbox = document.getelementbyid('mylistbox'); var count = mylistbox.itemcount; while(count-- > 0){ mylistbox.
removeitemat(0); } } </script> <button label="
remove selected item" oncommand="
removeselecteditem()"/> <button label="
remove all items" oncommand="
removeallitems()"/> <listbox id="mylistbox"> <listitem label="alpha"/> <listitem label="beta"/> <listitem label="oscar"/> <listitem label="foxtrot"/> </listbox> see also
removealli...
PR_REMOVE_AND_INIT_LINK
removes an element from a circular list and initializes the linkage.
... syntax #include <prclist.h> pr_
remove_and_init_link (prclist *elemp); parameter elemp a pointer to the element.
... description pr_
remove_and_init_link
removes the specified element from its circular list and initializes the links of the element to point to itself.
PR_REMOVE_LINK
removes an element from a circular list.
... syntax #include <prclist.h> pr_
remove_link (prclist *elemp); parameter elemp a pointer to the element.
... description pr_
remove_link
removes the specified element from its circular list.
Power profiling overview
although power is an instantaneous concept, in practice measu
rements of it are determined in a non-instantaneous fashion, i.e.
... intel processors have model-specific registers (msrs) containing measu
rements of how much time is spent in different c-states, and tools such as powermetrics (mac), powertop and turbostat (linux) can expose this information.
...for this reason, integrating power measu
rements into the gecko profiler is unlikely to be useful, and other power profiling tools typically use much lower sampling rates (e.g.
...And 26 more matches
context-menu - Archive of obsolete content
usage instead of manually adding items when particular contexts occur and then
removing them when those contexts go away, you bind items to contexts, and the adding and
removing is automatically handled for you.
...likewise, any items that were previously in the menu but are not bound to the current context are automatically
removed from the menu.
... you never need to manually
remove your items from the menu unless you want them to never appear again.
...And 25 more matches
MMgc - Archive of obsolete content
the gc marks the entire stack during collection, and not inc
rementally, so write barriers aren't needed.
...gcroots are marked at the end of the mark phase, and not inc
rementally, so no write barriers are required.
...since mmgc must traverse objects to dec
rement refcounts properly upon destruction, i just made destructors do zeroing too.
...And 24 more matches
nsIBrowserHistory
it adds functions used by the basic browser like, marking pages as typed in the url bar, and
removing pages as from the history interface.
...browserhistory); method overview void addpagewithdetails(in nsiuri auri, in wstring atitle, in long long alastvisited); obsolete since gecko 15.0 void markpageasfollowedlink(in nsiuri auri); obsolete since gecko 22.0 void markpageastyped(in nsiuri auri); obsolete since gecko 22.0 void registeropenpage(in nsiuri auri); obsolete since gecko 9.0 void
removeallpages(); void
removepage(in nsiuri auri); void
removepages([array, size_is(alength)] in nsiuri auris, in unsigned long alength, in boolean adobatchnotify); void
removepagesbytimeframe(in long long abegintime, in long long aendtime); void
removepagesfromhost(in autf8string ahost, in boolean aentiredomain); void
removevisitsbytimeframe(in long lon...
... note: the count attribute was
removed in gecko 15.0 because it was only used to determine if there were any entries at all anyway, so the nsinavhistoryservice.hashistoryentries attribute is better for this.
...And 24 more matches
Establishing a connection: The WebRTC perfect negotiation pattern - Web APIs
const constraints = { audio: true, video: true }; const config = { iceservers: [{ urls: "stun:stun.mystunserver.tld" }] }; const selfvideo = document.queryselector("video.selfview"); const
remotevideo = document.queryselector("video.
remoteview"); const signaler = new signalingchannel(); const pc = new rtcpeerconnection(config); this code also gets the <video> elements using the classes "selfview" and "
remoteview"; these will contain, respectively, the local user's self-view and the view of the incoming stream from the
remote peer.
... connecting to a
remote peer the start() function shown here can be called by either of the two end-points that want to talk to one another.
... pc.ontrack = ({track, streams}) => { track.onunmute = () => { if (
remotevideo.srcobject) { return; }
remotevideo.srcobject = streams[0]; }; }; when the track event occurs, this handler executes.
...And 23 more matches
Index - Archive of obsolete content
this process continues until there are no more elements
remaining.
... 158 inc
rement xul attributes, xul reference no summary!
... 263 pageinc
rement xul attributes, xul reference no summary!
...And 22 more matches
The Implementation of the Application Object Model - Archive of obsolete content
in the absence of any modifications to xul, etc., this is what would be used by default to hold the tree for a
remote xul file.
...the data itself can be fed in from any number of different sources (e.g., from a local file system, from your bookmarks file, or from some
remote downloadable rdf file), and can then be combined into a single graph.
...because rdf can suck up data from a
remote location (e.g., from a downloadable rdf file), and also suck up data from a local source, it can take the
remote data and combine it with local data.
...And 21 more matches
IME handling guide
and before dispatching ecomposition* events, this class
removes ascii control characters from dispatching composition event's data in the default settings.
... e10s support even when a
remote process has focus, native ime handler in chrome process does its job.
...unfortunately, it's not allowed to use syncronous communication from chrome process to a
remote process.
...And 21 more matches
Garbage collection
design overview spidermonkey has a mark-sweep garbage collection (gc) with inc
remental marking mode, generational collection, and compaction.
...this allows compartments to be used for security checks: objects in the same compartment have the same access requi
rements, so no checks are needed, but checks may be done when traversing cross-compartment wrappers.
... a zone
remains alive as long as any js heap objects in the zone are alive.
...And 21 more matches
nsIAnnotationService
out unsigned long count, [retval, array, size_is(count)] out nsivariant result); void getitemannotationnames(in long long aitemid, [optional] out unsigned long count, [retval, array, size_is(count)] out nsivariant result); boolean pagehasannotation(in nsiuri auri, in autf8string aname); boolean itemhasannotation(in long long aitemid, in autf8string aname); void
removepageannotation(in nsiuri auri, in autf8string aname); void
removeitemannotation(in long long aitemid, in autf8string aname); void
removepageannotations(in nsiuri auri); void
removeitemannotations(in long long aitemid); void copypageannotations(in nsiuri asourceuri, in nsiuri adesturi, in boolean aoverwritedest); void copyitemannotations(in long long ...
...asourceitemid, in long long adestitemid, in boolean aoverwritedest); void addobserver(in nsiannotationobserver aobserver); void
removeobserver(in nsiannotationobserver aobserver); nsiuri getannotationuri(in nsiuri auri, in autf8string aname); constants constant value description expire_session 0 for temporary data that can be discarded when the user exits.
...
removed at application exit.
...And 21 more matches
nsIContentPrefService2
(see nsicontentpref below.) for example, if you want to
remember the user's preference for a certain zoom level on www.mozilla.org pages, you might store a preference whose domain is "www.mozilla.org", whose name is "zoomlevel", and whose value is the numeric zoom level.
...void getcachedbysubdomainandname(in astring domain, in astring name, in nsiloadcontext context, out unsigned long len, [retval,array,size_is(len)] out nsicontentpref prefs); nsicontentpref getcachedglobal(in astring name, in nsiloadcontext context); void getglobal(in astring name, in nsiloadcontext context, in nsicontentprefcallback2 callback); void
removealldomains(in nsiloadcontext context, [optional] in nsicontentprefcallback2 callback); void
removeallglobals(in nsiloadcontext context, [optional] in nsicontentprefcallback2 callback); void
removebydomain(in astring domain, in nsiloadcontext context, [optional] in nsicontentprefcallback2 callback); void
removebydomainandname(in astring domain, in ...
...astring name, in nsiloadcontext context, [optional] in nsicontentprefcallback2 callback); void
removebyname(in astring name, in nsiloadcontext context, [optional] in nsicontentprefcallback2 callback); void
removebysubdomain(in astring domain, in nsiloadcontext context, [optional] in nsicontentprefcallback2 callback); void
removebysubdomainandname(in astring domain, in astring name, in nsiloadcontext context, [optional] in nsicontentprefcallback2 callback); void
removeglobal(in astring name, in nsiloadcontext context, [optional] in nsicontentprefcallback2 callback); void
removeobserverforname(in astring name, in nsicontentprefobserver observer); void set(in astring domain, in astring name, in nsivar...
...And 21 more matches
imgIContainer
nsiframe getrootlayoutframe(); violates the xpcom interface guidelines pruint16 gettype(); violates the xpcom interface guidelines void init(in print32 awidth, in print32 aheight, in imgicontainerobserver aobserver); obsolete since gecko 2.0 void lockimage(); void
removeframe(in gfxiimageframe item); obsolete since gecko 1.9.2 void requestdecode(); void requestdiscard(); void requestrefresh([const] in timestamp atime); violates the xpcom interface guidelines void resetanimation(); void restoredatadone(); native code only!
... flag_decode_no_p
remultiply_alpha: do not p
remultiply alpha if it is not already p
remultiplied in the image data.
... flag_sync_decode 0x1 flag_decode_no_p
remultiply_alpha 0x2 flag_decode_no_colorspace_conversion 0x4 flag_clamp 0x8 frame_first 0 constants for specifying various "special" frames.
...And 19 more matches
Signaling and video calling - Web APIs
you can try out this example on glitch, and you can
remix the example to experiment with it as well.
... sdp the sdp (session description protocol) string describing the local end of the connection from the perspective of the sender (or the
remote end of the connection from the receiver's point of view).
... each ice candidate is sent to the other peer by sending a json message of type "new-ice-candidate" over the signaling server to the
remote peer.
...And 19 more matches
Introduction to CSS layout - Learn web development
if you create a link around some text inside a paragraph, that link
remains inline with the rest of the text, and doesn’t break onto a new line.
...the element is moved to the left or right and
removed from normal flow, and the surrounding content floats around the floated item.
... floats example body { width: 90%; max-width: 900px; margin: 0 auto; } p { line-height: 2; word-spacing: 0.1
rem; } .box { background-color: rgb(207,232,220); border: 2px solid rgb(79,185,227); padding: 10px; border-radius: 5px; } <h1>simple float example</h1> <div class="box">float</div> <p> lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
...And 18 more matches
about:memory
about:memory is a special page within firefox that lets you view, save, load, and diff detailed measu
rements of firefox's memory usage.
...(you don't need to take a screenshot.) this text contains fewer measu
rements than a memory reports file, but is often good enough to diagnose problems.
...hover over any measu
rement to see a description of what it means.
...And 18 more matches
sslfnc.html
the ssl_fortezza_ cipher suites will be
removed in nss 3.11.
...otherwise, the old settings
remain in the session cache and will be used instead of the new settings.
...the client-auth certificate cache is used to
remember the certificates previously presented by clients for client certificate authentication.
...And 18 more matches
nsINavBookmarkObserver
1.0 66 introduced gecko 1.8 inherits from: nsisupports last changed in gecko 21.0 (firefox 21.0 / thunderbird 21.0 / seamonkey 2.18) method overview void onbeforeitem
removed(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...
...lder, in print64 oldparent, in print32 oldindex, in print64 newparent, in print32 newindex); obsolete since gecko 1.9 void onfolder
removed(in print64 folder, in print64 parent, in print32 index); obsolete since gecko 1.9 void onitemadded(in long long aitemid, in long long aparentid, in long aindex, in unsigned short aitemtype, in nsiuri auri, in autf8string atitle, in prtime adateadded, in acstring aguid, in acstring aparentguid); void onitemchanged(in long long aitemid, in acstring aproperty, in boolean aisannotationproperty, in autf8string anewvalue, in prtime alastmodified, in unsigned short aitemtype, in long long aparentid, in acstring aguid, in acstring aparentguid); void onitemmoved(in long long aitemid, in long long aoldparentid, in long aoldindex, ...
...in long long anewparentid, in long anewindex, in unsigned short aitemtype, in acstring aguid, in acstring aoldparentguid, in acstring anewparentguid); void onitem
removed(in long long aitemid, in long long aparentid, in long aindex, in unsigned short aitemtype, in nsiuri auri, in acstring aguid, in acstring aparentguid); void onitemreplaced(in print64 folder, in nsiuri item, in nsiuri newitem); obsolete since gecko 1.9 void onitemvisited(in long long aitemid, in long long avisitid, in prtime atime, in unsigned long atransitiontype, in nsiuri auri, in long long aparentid, in acstring aguid, in acstring aparentguid); void onseparatoradded(in print64 parent, in print32 index); obsolete since gecko 1.9 void onseparator
removed(in print64 parent, in prin...
...And 18 more matches
A simple RTCDataChannel sample - Web APIs
we'll cover the mechanics of accomplishing the connection and transmitting and receiving data, but we will save the bits about locating and linking to a
remote computer for another example.
... note: even though both ends of our connection will be on the same page, we're going to refer to the one that starts the connection as the "local" one, and to the other as the "
remote" end.
... set up the
remote peer
remoteconnection = new rtcpeerconnection();
remoteconnection.ondatachannel = receivechannelcallback; the
remote end is set up similarly, except that we don't need to explicitly create an rtcdatachannel ourselves, since we're going to be connected through the channel established above.
...And 18 more matches
RDF in Mozilla FAQ - Archive of obsolete content
by loading chunks of it into a xul ui from a
remote site), don't forget to let mozilla-rdf and the rdf interest group lists know.
...the datasource will
remain "cached" until the last reference to the datasource is released.
...so assertions will not // be immediately available alternatively, you can create one directly using the xpcom component manager, as the following code fragment illustrates: // create an rdf/xml datasource using the xpcom component manager var ds = components .classes["@mozilla.org/rdf/datasource;1?name=xml-datasource"] .createinstance(components.interfaces.nsirdfdatasource); // the nsirdf
remotedatasource interface has the interfaces // that we need to setup the datasource.
...And 17 more matches
Fundamental text and font styling - Learn web development
in this example we'll apply some different css properties to the same html sample, which looks like this: <h1>tommy the cat</h1> <p>well i
remember it as though it were a meal ago...</p> <p>said tommy the cat as he reeled back to clear whatever foreign matter may have nestled its way into his mighty throat.
... color can accept any css color unit, for example: p { color: red; } this will cause the paragraphs to become red, rather than the standard browser default black, like so: <h1>tommy the cat</h1> <p>well i
remember it as though it were a meal ago...</p> <p>said tommy the cat as he reeled back to clear whatever foreign matter may have nestled its way into his mighty throat.
... a font-family example let's add to our previous example, giving the paragraphs a sans-serif font: p { color: red; font-family: helvetica, arial, sans-serif; } this gives us the following result: <h1>tommy the cat</h1> <p>well i
remember it as though it were a meal ago...</p> <p>said tommy the cat as he reeled back to clear whatever foreign matter may have nestled its way into his mighty throat.
...And 16 more matches
GCIntegration - SpiderMonkey Redirect 1
at a high level, there are three issues to be aware of: interactions between the garbage collector and the cycle collector inc
remental garbage collection moving garbage collection the apis for gc/cc interaction and inc
remental gc are already in place.
... gc/cc interaction <to be done later.> inc
remental gc inc
remental gc divides gc marking into time slices.
... {{ svg{source: "http://people.mozilla.org/~wmccloskey/inc
remental1.svg", embedding: "iframe", height:"130"} }} assume object b is already marked, as in the leftmost frame, while objects a and c have not been marked yet.
...And 16 more matches
Index
65 js::
remove*root jsapi reference, obsolete, reference, référence(2), spidermonkey js::
remove*root
removes the variable that rp points to from the garbage collector's root set.
...it should define any
remaining lazy properties that should be enumerable but are not yet defined in obj.
...these structures wrap parameters that are passed to the finalizers
removing most of explicit dependencies on jscontext in the finalization code.
...And 16 more matches
<input>: The Input (Form Input) element - HTML: Hypertext Markup Language
line-breaks are automatically
removed from the input value.
...line-breaks are automatically
removed from the input value.
...a value is required or must be check for the form to be submittable size email, password, tel, text size of the control src image same as src attribute for <img>; address of image resource step numeric types inc
remental values that are valid.
...And 16 more matches
Componentizing our Svelte app - 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/04-componentizing-our-app or directly download the folder's content: npx degit opensas/mdn-svelte-tutorial/04-componentizing-our-app
remember to run npm install && npm run dev to start your app in development mode.
... moreactions.svelte: the check all and
remove completed buttons at the bottom of the ui that allow you to perform mass actions on the todo items.
...first of all, we need to import it — add the following line at the top of the todos.svelte <script> section: import filterbutton from './filterbutton.svelte' now, replace the filters <div> with a call to the filterbutton component, which takes the current filter as a prop — the below line is all you need: <filterbutton {filter} /> note:
remember that when the html attribute name and variable matches, they can be replaced with {variable}, that's why we could replace <filterbutton filter={filter} /> with <filterbutton {filter} />.
...And 15 more matches
Working with Svelte stores - 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/06-stores or directly download the folder's content: npx degit opensas/mdn-svelte-tutorial/06-stores
remember to run npm install && npm run dev to start your app in development mode.
...content: <script> import { alert } from '../stores.js' import { ondestroy } from 'svelte' let alertcontent = '' const unsubscribe = alert.subscribe(value => alertcontent = value) ondestroy(unsubscribe) </script> {#if alertcontent} <div on:click={() => alertcontent = ''}> <p>{ alertcontent }</p> </div> {/if} <style> div { position: fixed; cursor: pointer; margin-right: 1.5
rem; margin-left: 1.5
rem; margin-top: 1
rem; right: 0; display: flex; align-items: center; border-radius: 0.2
rem; background-color: #565656; color: #fff; font-size: 0.875
rem; font-weight: 700; padding: 0.5
rem 1.4
rem; font-size: 1.5
rem; z-index: 100; opacity: 95%; } div p { color: #fff; } div svg { height: 1.6
rem; fill: currentcolor; width: 1.4
rem; margin-right: 0.
...5
rem; } </style> let's walk through this piece of code in detail.
...And 15 more matches
nsIDownloadManager
toolkit/components/downloads/public/nsidownloadmanager.idlscriptable this interface lets applications and extensions communicate with the download manager, adding and
removing files to be downloaded, fetching information about downloads, and being notified when downloads are completed.
...tdownload(in unsigned long aid); void onclose(); obsolete since gecko 1.9.1 void open(in nsidomwindow aparent, in nsidownload adownload); obsolete since gecko 1.9.1 void openprogressdialogfor(in nsidownload adownload, in nsidomwindow aparent, in boolean acanceldownloadonclose); obsolete since gecko 1.9.1 void pausedownload(in unsigned long aid); void
removedownload(in unsigned long aid); void
removedownloadsbytimeframe(in long long abegintime, in long long aendtime); void
removelistener(in nsidownloadprogresslistener alistener); void resumedownload(in unsigned long aid); void retrydownload(in unsigned long aid); void savestate(); obsolete since gecko 1.8 void startbatchupdate(); obsolete si...
... cancleanup boolean whether or not there are downloads that can be cleaned up (
removed) that is downloads that have completed, have failed or have been canceled.
...And 15 more matches
MCD, Mission Control Desktop, AKA AutoConfig - Archive of obsolete content
for mozilla 1.x.x, firefox, thunderbird or netscape 7 it is still a javascript file, the byte-shift is 13 by default, but can be
removed using the pref("general.config.obscure_value", 0); preference in any appropriate .js file dedicated to autoconfig (here autoconf.js).
...lockpref("mail.identity.id1.use
remail", mail); lockpref("mail.server.server2.name", mail); lockpref("mail.identity.id1.fullname", cn); //debug with popup error messages doesn't work anymore :-( !!
...attrs array, // uses the previous processldapvalues() getldapattributes( ldaphost, ldapbase, ldapfilter, ldapattrs.join(",") ); // create account // see also http://blog.deanandadie.net/2010/06/easy-thunderbird-account-management-using-mcd/ // identity defaultpref("mail.identity.id1.fullname", userinfo.cn ); defaultpref("mail.identity.id1.smtpserver", "smtp1" ); defaultpref("mail.identity.id1.use
remail", userinfo.mail ); // imap server settings defaultpref("mail.server.server1.hostname", "myimap.server.com" ); defaultpref("mail.server.server1.name", userinfo.mail ); defaultpref("mail.server.server1.port", 993 ); defaultpref("mail.server.server1.sockettype", 3 ); defaultpref("mail.server.server1.type", "imap" ); defaultpref("mail.server.server1.username", userinfo.mail ); // smtp server set...
...And 14 more matches
RDF Modifications - Archive of obsolete content
« previousnext » one of the most useful aspects of using templates with rdf datasources is that when the rdf datasource changes, for instance a new triple is added, or a triple is
removed, the template updates accordingly, adding or
removing result output as needed.
...the template builder uses these notifcations to update the template as necessary based on the new or
removed information.
...there are four such functions: 'assert', to add a new triple (or arrow) to the rdf graph, 'unassert' to
remove a triple, 'change' to adjust the target of a triple, and 'move' to adjust the source of a 'triple'.
...And 14 more matches
nsIXULTemplateBuilder
this allows the query processor to be specific to a particular kind of input data or query syntax, while the template builder
remains independent of the kind of data being used.
...when a result no longer matches, the result's hasbeen
removed() method must be called.
...the addresult,
removeresult, replaceresult and resultbindingchanged methods may be called by the query processor to indicate that the set of valid results has changed, such that a different query may match.
...And 14 more matches
WebRTC connectivity - Web APIs
each peer, then, keeps two descriptions on hand: the local description, describing itself, and the
remote description, describing the other end of the call.
... the recipient receives the offer and calls rtcpeerconnection.set
remotedescription() to record it as the
remote description (the description of the other end of the connection).
... the caller calls rtcpeerconnection.set
remotedescription() to set the answer as the
remote description for its end of the call.
...And 14 more matches
SVG 2 support in Mozilla - SVG: Scalable Vector Graphics
svgexternalresourcesrequired
removed never implemented svgelement.viewportelement and svgelement.ownersvgelement nullable implementation status unknown svgelement.getpresentationattribute()
removed never implemented (prototype
removed in bug 921456) svgcolor and svgicccolor
removed never implemented svgelement.focus(), svgelement.blur() not implemented (bug 778654) svge...
...tribute for svggraphicselement.getbbox() implemented behind the preference svg.new-getbbox.enabled (bug 999964, bug 1019326) allow leading and trailing whitespace in <length>, <angle>, <number> and <integer> implementation status unknown form feed (u+000c) in whitespace implementation status unknown svgelement.xmlbase, svgelement.xmllang and svgelement.xmlspace
removed implementation status unknown svgviewspec
removed implementation status unknown svgelement.style
removed implementation status unknown svggraphicselement.gettransformtoelement()
removed not
removed yet svggraphicselement.getctm() on the outermost element implementation status unknown animval attribute alias of baseval implementati...
...hlength attribute and gettotallength() and getpointatlength() methods from svgpathelement to svggeometryelement implemented (bug 1239100) document structure change notes svgsvgelement.suspendredraw(), svgsvgelement.unsuspendredraw(), and svgsvgelement.unsuspendredrawall() deprecated turned into no-ops (bug 734079) externalresourcesrequired attribute
removed implementation status unknown auto value for width and height in <image> implementation status unknown referencing entire document with <use> implementation status unknown lang attribute on <desc> and <title> implemented (bug 721920) css transforms on outermost <svg> not affecting svgsvgelement.currentscale or svgsvgelement.currenttranslate i...
...And 14 more matches
Theme changes in Firefox 2 - Archive of obsolete content
filename css file details browser/base/searchdialog.xul browser/base/content/searchdialog.css
removed from firefox 2.
... preferences/downloads.xul -
removed from firefox 2.
... preferences/general.xul -
removed from firefox 2.
...And 13 more matches
source-editor.jsm
this component has been
removed from the platform in firefox 28.
...struction void destroy(); void init(element aelement, object aconfig, function acallback); search operations number find(string astring, [optional] object options); number findnext(boolean awrap); number findprevious(boolean awrap); event management void addeventlistener(string aeventtype, function acallback); void
removeeventlistener(string aeventtype, function acallback); undo stack operations boolean canredo(); boolean canundo(); void endcompoundchange(); boolean redo(); void resetundo(); void startcompoundchange(); boolean undo(); display management operations void focus(); number gettopindex(); boolea...
...ion(); object getselection(); void setcaretoffset(number aoffset); void setcaretposition(number aline, [optional] number acolumn, [optional] number aalign); void setselection(number astart, number aend); breakpoint management void addbreakpoint(number alineindex, [optional] string acondition); array getbreakpoints(); boolean
removebreakpoint(number alineindex); properties attribute type description dirty boolean set this value to false whenever you save the text; the editor will update it to true when the content is changed.
...And 13 more matches
Localizing with Koala
requi
rements mercurial, linux, windows or mac os x.
...cd c:\mozilla\l10n\application\firefox c:\mozilla\l10n\application\firefox> rmdir 3.6 c:\mozilla\l10n\application\firefox> hg clone http://hg.mozilla.org/releases/mozilla-1.9.2 3.6 requesting all changes adding changesets adding manifests adding file changes added 33099 changesets with 158636 changes to 50664 files (+9 heads) updating working directory 40357 files updated, 0 files merged, 0 files
removed, 0 files unresolved configure the locale locale id: x-testing (put your locale's code) version: 3.6 location: choose the folder where you want to keep the localized files or leave empty for now check "mercurial" if you wish to use mercurial to keep the revision history of your files (very recommended) existing localizations: url: if you're editing an existing localization or you already...
... have a repository set up (either on hg.mozilla.org or bitbucket), type the url of the
remote repository, e.g.
...And 13 more matches
nsIHTMLEditor
undselection(in nsidomelement aanchorelement); boolean isanonymouselement(in nsidomelement aelement); void makeorchangelist(in astring alisttype, in boolean entirelist, in astring abullettype); boolean nodeisblock(in nsidomnode node); void pastenoformatting(in long aselectiontype); void rebuilddocumentfromsource(in astring asourcestring); void
removealldefaultproperties(); void
removeallinlineproperties(); void
removedefaultproperty(in nsiatom aproperty, in astring aattribute, in astring avalue); void
removeinlineproperty(in nsiatom aproperty, in astring aattribute); void
removeinsertionlistener(in nsicontentfilter infilter); void
removelist(in astring alisttype); void replaceheadconten...
... 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.
... void ignorespuriousdragevent( in boolean aignorespuriousdragevent ); parameters aignorespuriousdragevent increasefontsize() increase font size for text in selection by 1 html unit all existing text is scanned for existing <font size> attributes so they will be inc
remented instead of inserting new <font> tag.
...And 13 more matches
Migrating from webkitAudioContext - Web APIs
it was first implemented in webkit, and some of its older parts were not immediately
removed as they were replaced in the specification, leading to many sites using non-compatible code.
...as the specification evolved and changes were made to the spec, some of the old implementation pieces were not
removed from the webkit (and blink) implementations due to backwards compatibility reasons.
...names, like in the example below : // old method names var gain = context.creategainnode(); var delay = context.createdelaynode(); var js = context.createjavascriptnode(1024); you can simply rename the methods to look like this: // new method names var gain = context.creategain(); var delay = context.createdelay(); var js = context.createscriptprocessor(1024); the semantics of these methods
remain the same in the renamed versions.
...And 13 more matches
Linear-gradient Generator - CSS: Cascading Style Sheets
========*/ /*=======================================================================*/ /*========== capture mouse movement ==========*/ var setmousetracking = function setmousetracking(elem, callback) { elem.addeventlistener('mousedown', function(e) { callback(e); document.addeventlistener('mousemove', callback); }); document.addeventlistener('mouseup', function(e) { document.
removeeventlistener('mousemove', callback); }); }; /*====================*/ // color picker class /*====================*/ function colorpicker(node) { this.color = new color(); this.node = node; this.subscribers = []; var type = this.node.getattribute('data-mode'); var topic = this.node.getattribute('data-topic'); this.topic = topic; this.picker_mode = (type === 'hsl') ?
...0 : 1; else this.state = 1 ^ this.state; if (active !== this) { if (active) active.toggle(false); active = this; } if (this.state === 0) this.dropmenu.setattribute('data-hidden', 'true'); else this.dropmenu.
removeattribute('data-hidden'); }; dropdown.prototype.updatevalue = function updatevalue(e) { if (date.now() - this.time < 500) return; if (e.target.classname !== "ui-dropdown-list") { this.setnodevalue(e.target); this.toggle(false); } this.time = date.now(); }; dropdown.prototype.setnodevalue = function setnodevalue(node, send_notify) { this.value['name'] = node.textcont...
...ion(e) { var value = parsefloat(e.target.value); if (isnan(value) === true) setvalue(obj.topic, obj.value); else setvalue(obj.topic, value); }); return input; }; var slidercomponent = function slidercomponent(obj, sign) { var slider = document.createelement('div'); var startx = null; var start_value = 0; slider.addeventlistener("click", function(e) { document.
removeeventlistener("mousemove", slidermotion); setvalue(obj.topic, obj.value + obj.step * sign); }); slider.addeventlistener("mousedown", function(e) { startx = e.clientx; start_value = obj.value; document.body.style.cursor = "e-resize"; document.addeventlistener("mouseup", slideend); document.addeventlistener("mousemove", slidermotion); }); var slideend = function slide...
...And 13 more matches
Event reference
s chargingchange chargingtimechange dischargingtimechange levelchange call events alerting busy callschanged cfstatechange connecting dialing disconnected disconnecting error held, holding incoming resuming statechange voicechange sensor events compassneedscalibration devicemotion deviceorientation orientationchange smartcard events icccardlockerror iccinfochange smartcard-insert smartcard-
remove stkcommand stksessionend cardstatechange sms and ussd events delivered received sent ussdreceived frame events mozbrowserclose mozbrowsercontextmenu mozbrowsererror mozbrowsericonchange mozbrowserlocationchange mozbrowserloadend mozbrowserloadstart mozbrowseropenwindow mozbrowsersecuritychange mozbrowsershowmodalprompt mozbrowsertitlechange dom mutation events domattributenamechanged dom...
...attrmodified domcharacterdatamodified domcontentloaded domelementnamechanged domnodeinserted domnodeinsertedintodocument domnode
removed domnode
removedfromdocument domsubtreemodified touch events touchcancel touchend touchmove touchstart pointer events pointerover pointerenter pointerdown pointermove pointerup pointercancel pointerout pointerleave gotpointercapture lostpointercapture standard events these events are defined in official web specifications, and should be common across browsers.
... cut clipboardevent clipboard the text selection has been
removed from the document and added to the clipboard.
...And 13 more matches
Web video codec guide - Web media technologies
loss of sharpness the act of
removing data in the process of encoding video requires that some details be lost.
...then, to finish the job, the
remaining differences are found, then the set of object shifts and the set of pixel differences are stored in the data representing the new frame.
...if a 1080p video is reduced to 720p prior to encoding, the resulting video can be much smaller while having much higher visual quality; even after scaling back up during playback, the result may be better than encoding the original video at full size and accepting the quality hit needed to meet your size requi
rements.
...And 13 more matches
Codecs used by WebRTC - Web media technologies
general codec requi
rements before looking at codec-specific capabilities and requi
rements, there are a few overall requi
rements that must be met by any codec configuration used with webrtc.
... below are the video codecs which are required in any fully webrtc-compliant browser, as well as the profiles which are required and the browsers which actually meet the requi
rement.
...this is due to a change in google play store requi
rements that prevent firefox from downloading and installing the openh264 codec needed to handle h.264 in webrtc connections.
...And 13 more matches
Dynamic behavior in Svelte: working with variables and props - 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/03-adding-dynamic-behavior or directly download the folder's content: npx degit opensas/mdn-svelte-tutorial/03-adding-dynamic-behavior
remember to run npm install && npm run dev to start your app in development mode.
...svelte will use it to diff the list when data changes, rather than adding or
removing items at the end, and it's a good practice to always specify one.
... toggling and
removing todos let's add some functionality to toggle the task status.
...And 12 more matches
DownloadList
method overview promise<array<download>> getall(); promise add(download adownload); promise
remove(download adownload); promise addview(object aview); promise
removeview(object aview); void
removefinished([optional] function afilterfn); methods getall() retrieves a snapshot of the downloads that are currently in the list.
... the returned array does not change when downloads are added or
removed, though the download objects it contains are still updated in real time.
...
remove()
removes a download from the list.
...And 12 more matches
SpiderMonkey 1.8.5
support for extended class methods (in particular, jsequalityop) has been
removed.
...all support for the slow native function type has been
removed, and the fast signature has been renamed to jsnative.
... the rooting apis (js_addroot, js_
removeroot, etc.) have been replaced with a family of type-safe functions (js_addstringroot, js_
removestringroot, etc.) that are easier to use correctly.
...And 12 more matches
Using XPCOM Components
whenever a user accesses the cookie manager dialog to view, organize, or
remove cookies that have been stored on the system, they are using the cookiemanager component behind the scenes.
... the nsicookiemanager interface
removeall
remove all cookies from the cookie list.
...
remove
remove a particular cookie from the list.
...And 12 more matches
nsIPermissionManager
rbird 16 / seamonkey 2.13) inherits from: nsisupports method overview void add(in nsiuri uri, in string type, in pruint32 permission, [optional] in pruint32 expiretype, [optional] in print64 expiretime); void addfromprincipal(in nsiprincipal principal, in string type, in pruint32 permission, [optional] in pruint32 expiretype, [optional] in print64 expiretime); void
remove(in autf8string host, in string type); void
removefromprincipal(in nsiprincipal principal, in string type); void
removepermission(in nsipermission perm); void
removeallsince(in int64_t since); void
removeall(); pruint32 testexactpermission(in nsiuri uri, in string type); pruint32 testexactpermissionfromprincipal(...
...
remove()
remove permission information for a given host string and permission type.
... void
remove( in nsiuri uri, in string type ); parameters nsiuri the uri whose permission will be
removed.
...And 12 more matches
Deprecated tools - Firefox Developer Tools
not all of these have had wide adoption, and due to the cost of maintenance, seldom used panels are eventually
removed.
... we have created this list of deprecated or
removed panels.
... this page documents the deprecated panels and the bugs that track their
removal.
...And 12 more matches
EventTarget.addEventListener() - Web APIs
if true, the listener would be automatically
removed when invoked.
...rather than adding more parameters to the function (complicating things enormously when dealing with optional values), the third parameter was changed to an object that can contain various properties defining the values of options to configure the process of
removing the event listener.
... passivesupported = true; return false; } }; window.addeventlistener("test", null, options); window.
removeeventlistener("test", null, options); } catch(err) { passivesupported = false; } this creates an options object with a getter function for the passive property; the getter sets a flag, passivesupported, to true if it gets called.
...And 12 more matches
window.location - Web APIs
ent.scrollleft = onode.offsetleft; } function showbookmark (sbookmark, busehash) { if (arguments.length === 1 || busehash) { location.hash = sbookmark; return; } var obookmark = document.queryselector(sbookmark); if (obookmark) { shownode(obookmark); } } </script> <style> span.intlink { cursor: pointer; color: #0000ff; text-decoration: underline; } </style> </head> <body> <p>lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
...lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
...lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
...And 12 more matches
Layout System Overview - Archive of obsolete content
this presentation is typically formatted in accordance with the requi
rements of the css1 and css2 specifications from the w3c.
...(note: it is unclear if this is really a benefit - it may have been better to use a copy of the content model for each presentation, and to
remove the complexity of managing separate presentations - analysis is needed here).
...the css formatting requi
rements present two distinct layout models: 1) the in-flow model, where the geometry of an element is influenced by the geometry of the elements that precede it, and 2) the positioned model, where the geometry of an element is not influenced by the geometry of the elements that precede it, or in any case, is influenced more locally.
...And 11 more matches
Space Manager Detailed Design - Archive of obsolete content
* * returns ns_ok if successful, ns_error_invalid_arg if there is no region * tagged with aframe */ nsresult offsetregion(nsiframe* aframe, nscoord dx, nscoord dy); /** *
remove the region associated with afrane.
... * * returns ns_ok if successful and ns_error_invalid_arg if there is no region * tagged with aframe */ nsresult
removeregion(nsiframe* aframe); /** * clears the list of regions representing the unavailable space.
...coord abottom, nsvoidarray*); ~bandrect(); // list operations bandrect* next() const {return (bandrect*)pr_next_link(this);} bandrect* prev() const {return (bandrect*)pr_prev_link(this);} void insertbefore(bandrect* abandrect) {pr_insert_before(abandrect, this);} void insertafter(bandrect* abandrect) {pr_insert_after(abandrect, this);} void
remove() {pr_
remove_link(this);} // split the band rect into two vertically, with this band rect becoming // the top part, and a new band rect being allocated and returned for the // bottom part // // does not insert the new band rect into the linked list bandrect* splitvertically(nscoord abottom); // split the band rect into two horizontally, with this band rect becomin...
...And 11 more matches
Index - MDN Web Docs Glossary: Definitions of Web-related terms
47 cms cms, composing, content management system, glossary a cms (content management system) is software that allows users to publish, organize, change, or
remove various kinds of content, not only text but also embedded images, video, audio, and interactive code.
...not all http responses can be cached, these are the following constraints for an http response to be cached: 61 caldav caldav, glossary, infrastructure caldav (calendaring extensions to webdav) is a protocol standardized by the ietf and used to
remotely access calendar data from a server.
... 67 carddav carddav, glossary, infrastructure carddav (vcard extension to webdav) is a protocol standardized by the ietf and used to
remote-access or share contact information over a server.
...And 11 more matches
Looping code - Learn web development
an iterator, which generally inc
rements the counter by a small amount on each successive loop, until the condition is no longer true.
...after each hour, the amount of food he has collected is inc
remented by two, and he checks whether he has enough food.
... inside the parentheses we have three items, separated by semi-colons: an initializer — this is usually a variable set to a number, which is inc
remented to count the number of times the loop has run.
...And 11 more matches
Arrays - Learn web development
here we look at why this is useful, then explore how to create an array, retrieve, add, and
remove items stored in an array, and more besides.
...try this: shopping[0] = 'tahini'; shopping; // shopping will now return [ "tahini", "milk", "cheese", "hummus", "noodles" ] note: we've said it before, but just as a
reminder — computers start counting from 0!
...(try running step 4 with a different character than a comma.) let dognames = ['rocket','flash','bella','slugger']; dognames.tostring(); // rocket,flash,bella,slugger adding and
removing array items we've not yet covered adding and
removing array items — let us look at this now.
...And 11 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.
... typescript also has some disadvantages: not true static typing: types are only checked at compile time, and they are
removed from the generated code.
... note:
remember that you can run npx degit opensas/mdn-svelte-tutorial/07-typescript-support svelte-todo-typescript to get the complete to-do list application in javascript before you start porting it to typescript.
...And 11 more matches
nsICommandLine
this may be the original command line of this instance or a command line provided
remotely by another instance of the application.
... method overview long findflag(in astring aflag, in boolean acasesensitive); astring getargument(in long aindex); boolean handleflag(in astring aflag, in boolean acasesensitive); astring handleflagwithparam(in astring aflag, in boolean acasesensitive); void
removearguments(in long astart, in long aend); nsifile resolvefile(in astring aargument); nsiuri resolveuri(in astring aargument); attributes attribute type description length long number of arguments in the command line.
...in most cases, this will be null (x
remote will sometimes set this attribute).
...And 11 more matches
HTMLInputElement.stepDown() - Web APIs
the htmlinputelement.stepdown([n]) method dec
rements the value of a numeric type of <input> element by the value of the step attribute or up to n multiples of the step attribute if a number is passed as the parameter.
... the method, when invoked, dec
rements the value by (step * n), where n defaults to 1 if not specified, and step defaults to the default value for step if not specified.
... given <input id="mytime" type="time" max="17:00" step="900" value="17:00">, invoking mytime.step(3) will change the value to 16:15, dec
rementing the time by 3 * 900, or 45 minutes.
...And 11 more matches
Using CSS transitions - CSS: Cascading Style Sheets
some user agents, like those based on gecko, implement this requi
rement and others, like those based on webkit, are less strict.
... transition-duration: 0.5s <div class="parent"> <div class="box">lo
rem</div> </div> .parent { width: 250px; height:125px;} .box { width: 100px; height: 100px; background-color: red; font-size: 20px; left: 0px; top: 0px; position:absolute; -webkit-transition-property: width height background-color font-size left top transform -webkit-transform color; -webkit-transition-duration: 0.5s; -webkit-transition-timing-function: ea...
...n-timing-function: ease-in-out; } function updatetransition() { var el = document.queryselector("div.box"); if (el) { el.classname = "box1"; } else { el = document.queryselector("div.box1"); el.classname = "box"; } return el; } var intervalid = window.setinterval(updatetransition, 7000); transition-duration: 1s <div class="parent"> <div class="box">lo
rem</div> </div> .parent { width: 250px; height:125px;} .box { width: 100px; height: 100px; background-color: red; font-size: 20px; left: 0px; top: 0px; position: absolute; -webkit-transition-property: width height background-color font-size left top -webkit-transform color; -webkit-transition-duration: 1s; -webkit-transition-timing-function: ease-in-out; ...
...And 11 more matches
Tree View Details - Archive of obsolete content
containers there are also three functions, iscontainer, iscontaine
rempty and iscontaineropen that are used to handle a parent item in the tree.
... the iscontaine
rempty method should return true if a row is an empty container, for instance, a directory with no files in it.
... note that the tree will call neither iscontaine
rempty nor iscontaineropen for rows that are not containers as indicated by the return value of the iscontainer method.
...And 10 more matches
Practical positioning examples - Learn web development
let's look at the html contained within the body: <section class="info-box"> <ul> <li><a href="#" class="active">tab 1</a></li> <li><a href="#">tab 2</a></li> <li><a href="#">tab 3</a></li> </ul> <div class="panels"> <article class="active-panel"> <h2>the first tab</h2> <p>lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
...donec ultrices, urna maximus consequat aliquet, dui neque eleifend lo
rem, a auctor libero turpis at sem.
...nulla facilisi.</p> </article> <article> <h2>the second tab</h2> <p>this tab hasn't got any lo
rem ipsum in it.
...And 10 more matches
How to build custom form controls - Learn web development
we will also discuss how, when, and whether building your own control makes sense, and what to consider when building a control is a requi
rement.
...
remember, if you want to provide the same functionality as the existing native <select>, it should behave the exact same way as the select for all users, from keyboard to mouse to touch to screen reader, and any other input device.
... before starting, it's important to
remember javascript in the browser is an unreliable technology.
...And 10 more matches
Client-side storage - Learn web development
storing the contents of a shopping cart from a previous session,
remembering if a user was previously logged in).
... the storage.
removeitem() method takes one parameter — the name of a data item you want to
remove — and
removes that item out of web storage.
... type the following lines into your javascript console: localstorage.
removeitem('name'); let myname = localstorage.getitem('name'); myname the third line should now return null — the name item no longer exists in the web storage.
...And 10 more matches
Setting up your own test automation environment - Learn web development
you can feel free to change the references to some of the other browsers we added,
remove them, etc., depending on what browsers you have available to test on your operating system.
...'test passed'); } else { console.log('test failed'); } driver.quit(); }); }); } in terminal, make sure you are inside your project folder, then enter the following command: node google_test_multiple if you are using a mac and do decide to test safari, you might get an error message along the lines of "could not create a session: you must enable the 'allow
remote automation' option in safari's develop menu to control safari via webdriver." if you get this, follow the given instruction and try again.
... you can use any url to point to your resource, including a file:// url to test a local document: driver.get('file:///users/chrismills/git/learning-area/tools-testing/cross-browser-testing/accessibility/fake-div-buttons.html'); or driver.get('http://localhost:8888/fake-div-buttons.html'); but it is better to use a
remote server location so the code is more flexible — when you start using a
remote server to run your tests (see later on), your code will break if you try to use local paths.
...And 10 more matches
OS.File for the main thread
in string destpath, [optional] in object options); promise<bool> exists(in string path); promise<string> getcurrentdirectory(); promise<void> makedir(in string path, [optional] in object options); promise<void> move(in string sourcepath, in string destpath); promise<uint8array> read(in string path, [optional] in object options); promise<void>
remove(in string path, [optional] in object options); promise<void>
removeemptydir(in string path, [optional] in object options); promise<void>
removedir(in string path, [optional] in object options); promise<void> setcurrentdirectory(in string path); promise<void> setdates(in string path, in date|number accessdate, in date|number modificationdate); promis...
...if the file exists, its contents will be
removed.
...if unspecified, files are opened with a default sharing policy (file is not protected against being read/written/
removed by another process or another use in the same process).
...And 10 more matches
Starting WebLock
these two methods are used to dynamically add or
remove an observer to a notification topic.
...for example, the user interface needs to be able to enable and disable the web locking functionality, see what sites are in the whitelist, and add or
remove sites from that list.
...
removesite -
remove the current url from the white list.
...And 10 more matches
nsIDOMWindowUtils
void
removesheet(in nsiuri sheeturi, in unsigned long type); void resumetimeouts(); void sendcompositionevent(in astring atype); obsolete since gecko 9 void sendcompositionevent(in astring atype, in astring adata, in astring alocale); obsolete since gecko 38.0 void sendcontentcommandevent(in astring atype, [optional] in nsitransferable atransferable); void g...
...elta_y_zero 0x0100 wheel_event_expected_overflow_delta_y_positive 0x0200 wheel_event_expected_overflow_delta_y_negative 0x0400 mousescroll_prefer_widget_at_point 1 mousescroll_scroll_lines 2 mousescroll_win_scroll_lparam_not_null 65536 touch_hover 1 touch_contact 2 touch_
remove 4 touch_cancel 8 ime_status_disabled 0 users cannot use ime at all.
... select_character 0 select_cluster 1 select_word 2 select_line 3 select_beginline 4 select_endline 5 select_paragraph 6 select_wordnospace 7 agent_sheet 0 a possible type of a style sheet loaded/
removed with loadsheet()/
removesheet().
...And 10 more matches
nsIFaviconService
ko 22.0 astring getfavicondataasdataurl(in nsiuri afaviconuri); obsolete since gecko 22.0 nsiuri getfaviconforpage(in nsiuri apageuri); obsolete since gecko 22.0 nsiuri getfaviconimageforpage(in nsiuri apageuri); obsolete since gecko 22.0 nsiuri getfaviconlinkforicon(in nsiuri afaviconuri); boolean isfailedfavicon(in nsiuri afaviconuri); void
removefailedfavicon(in nsiuri afaviconuri); void setandloadfaviconforpage(in nsiuri apageuri, in nsiuri afaviconuri, in boolean aforcereload, in unsigned long afaviconloadtype, [optional] in nsifavicondatacallback acallback); obsolete since gecko 22.0 void setfavicondata(in nsiuri afaviconuri, [const,array,size_is(adatalen)] in octet adata, in unsigned long adatalen, in autf8string ...
... expireallfavicons() expires all known favicons,
removing them from the database.
... getfavicondata() obsolete since gecko 22.0 (firefox 22.0 / thunderbird 22.0 / seamonkey 2.19) note: this method was
removed in gecko 22.0.
...And 10 more matches
Background Tasks API - Web APIs
it's an ext
remely busy chunk of code, and your main javascript code may run right inside this thread along with all of this.
...currently, time
remaining() has an upper limit of 50 milliseconds, but in reality you will often have less time than that, since the event loop may already be eating into that time on complex sites, with browser extensions needing processor time, and so forth.
... window.requestidlecallback = window.requestidlecallback || function(handler) { let starttime = date.now(); return settimeout(function() { handler({ didtimeout: false, time
remaining: function() { return math.max(0, 50.0 - (date.now() - starttime)); } }); }, 1); } if window.requestidlecallback is undefined, we create it here.
...And 10 more matches
Border-image generator - CSS: Cascading Style Sheets
ab.png" data-stateid="border5"/> <img class="image" src="https://udn.realityripple.com/samples/fb/c0b285d3da.svg" data-stateid="border6"/> </div> </div> <div id="load-actions" class="group section"> <div id="toggle-gallery" data-action="hide"> </div> <div id="load-image" class="button"> upload image </div> <input id="
remote-url" type="text" placeholder="load an image from url"/> <div id="load-
remote" class="button"> </div> </div> <div id="general-controls" class="group section"> <div class="name"> control box </div> <div class="separator"></div> <div class="property"> <div class="name">scale</div> <div class="ui-input...
...tion='hide'] { background-image: url('https://mdn.mozillademos.org/files/6005/arrow-up-white.png'); } .button { width: 100px; height: 25px; margin: 10px; color: #fff; text-align: center; font-size: 12px; line-height: 25px; background-color: #379b4a; border-radius: 2px; float: left; } .button:hover { cursor: pointer; background-color: #3380c4; } #load-image { float: left; } #load-
remote { width: 30px; background-image: url('https://mdn.mozillademos.org/files/6003/arrow-right-white.png'); background-repeat: no-repeat; background-position: center center; } #
remote-url { width: 200px; height: 23px; margin: 10px; padding: 0 5px; border: 1px solid #379b4a; border-radius: 2px; float: left; transition: width 0.5s; } #
remote-url:focus { box-shadow: 0px 0px 3px -1px #3...
...ion(e) { var value = parsefloat(e.target.value); if (isnan(value) === true) setvalue(obj.topic, obj.value); else setvalue(obj.topic, value); }); return input; }; var slidercomponent = function slidercomponent(obj, sign) { var slider = document.createelement('div'); var startx = null; var start_value = 0; slider.addeventlistener("click", function(e) { document.
removeeventlistener("mousemove", slidermotion); setvalue(obj.topic, obj.value + obj.step * sign); }); slider.addeventlistener("mousedown", function(e) { startx = e.clientx; start_value = obj.value; document.body.style.cursor = "e-resize"; document.addeventlistener("mouseup", slideend); document.addeventlistener("mousemove", slidermotion); }); var slideend = function slide...
...And 10 more matches
Color picker tool - CSS: Cascading Style Sheets
========*/ /*=======================================================================*/ /*========== capture mouse movement ==========*/ var setmousetracking = function setmousetracking(elem, callback) { elem.addeventlistener('mousedown', function(e) { callback(e); document.addeventlistener('mousemove', callback); }); document.addeventlistener('mouseup', function(e) { document.
removeeventlistener('mousemove', callback); }); }; /*====================*/ // color picker class /*====================*/ function colorpicker(node) { this.color = new color(); this.node = node; this.subscribers = []; var type = this.node.getattribute('data-mode'); var topic = this.node.getattribute('data-topic'); this.topic = topic; this.picker_mode = (type === 'hsl') ?
...ion(e) { var value = parsefloat(e.target.value); if (isnan(value) === true) setvalue(obj.topic, obj.value); else setvalue(obj.topic, value); }); return input; }; var slidercomponent = function slidercomponent(obj, sign) { var slider = document.createelement('div'); var startx = null; var start_value = 0; slider.addeventlistener("click", function(e) { document.
removeeventlistener("mousemove", slidermotion); setvalue(obj.topic, obj.value + obj.step * sign); }); slider.addeventlistener("mousedown", function(e) { startx = e.clientx; start_value = obj.value; document.body.style.cursor = "e-resize"; document.addeventlistener("mouseup", slideend); document.addeventlistener("mousemove", slidermotion); }); var slideend = function slide...
...end(e) { document.
removeeventlistener("mousemove", slidermotion); document.body.style.cursor = "auto"; slider.style.cursor = "pointer"; }; var slidermotion = function slidermotion(e) { slider.style.cursor = "e-resize"; var delta = (e.clientx - startx) / obj.sensivity | 0; var value = delta * obj.step + start_value; setvalue(obj.topic, value); }; return slider; }; var inputslider = function(node) { var min = parsefloat(node.getattribute('data-min')); var max = parsefloat(node.getattribute('data-max')); var step = parsefloat(node.getattribute('data-step')); var value = parsefloat(node.getattribute('data-value')); var topic = node.getattribute('data-topic'); var unit = node.getattribute('data-unit'); var name = node.getattribute('data-info'); ...
...And 10 more matches
Web audio codec guide - Web media technologies
gher the quality, the better the fidelity of the encoded audio the higher the fidelity, the larger the resulting file becomes, though the amount of change varies from codec to codec bit rate the higher the bit rate, the higher the quality can be the higher the bit rate, the larger the encoded file is likely to be audio frequency bandwidth if there is any audio in the
removed frequency band(s), there may be a noticeable loss of fidelity
removing frequency bands means less data to encode, thus smaller encoded files stereo coding simple stereo and mid-side stereo coding don't affect quality; intensity stereo coding introduces loss of detail, however.
... generally speaking, the most common reasons to choose lossless audio are because you require archival-quality storage, or because the audio samples will be
remixed and recompressed, and you wish to avoid the amplification of artifacts in the audio due to recompression.
...additionally, because amr is designed to minimize capacity requi
rements, it only captures the portion of the full audio frequency bandwidth of human speech which is absolutely necessary to understand what's being said, so quality is reduced accordingly.
...And 10 more matches
Enhanced Extension Installation - Archive of obsolete content
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.
... if there is, and this
remote information makes it so that the item is now compatible with the running version of the application, the item is configured in the manner described above (metadata written, added to container).
... uninstallation, disabling, enabling these functions work on the same principle as installation - the user requests an action through the ui while the application is running and metadata is written (tobeuninstalled, tobedisabled, tobeenabled) and a .autoreg file created in the profile so that on the subsequent startup the extension system's startup routine can
remove files (in the uninstall case) and write a new extensions.ini file listing the directories for the currently "active" items.
...And 9 more matches
How to convert an overlay extension to restartless - Archive of obsolete content
requi
rements first off, what kind of add-on are we talking about here?
...the examples will also assume that you know how to properly add instructions to your add-on's chrome.manifest to add and
remove resource, chrome, locale, & etc.
... 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.
...And 9 more matches
jspage - Archive of obsolete content
rsion");})||"0 r0").match(/\d+/g);return{version:parseint(a[0]||0+"."+a[1],10)||0,build:parseint(a[2],10)||0}; })();function $exec(b){if(!b){return b;}if(window.execscript){window.execscript(b);}else{var a=document.createelement("script");a.setattribute("type","text/javascript"); a[(browser.engine.webkit&&browser.engine.version<420)?"innertext":"text"]=b;document.head.appendchild(a);document.head.
removechild(a);}return b;}native.uid=1; var $uid=(browser.engine.trident)?function(a){return(a.uid||(a.uid=[native.uid++]))[0];}:function(a){return a.uid||(a.uid=native.uid++);};var window=new native({name:"window",legacy:(browser.engine.trident)?null:window.window,initialize:function(a){$uid(a); if(!a.element){a.element=$empty;if(browser.engine.webkit){a.document.createelement("iframe");}a.element.p...
...ceof function){b=class.instantiate(b);}this.implement(b); },this);}};var chain=new class({$chain:[],chain:function(){this.$chain.extend(array.flatten(arguments));return this;},callchain:function(){return(this.$chain.length)?this.$chain.shift().apply(this,arguments):false; },clearchain:function(){this.$chain.empty();return this;}});var events=new class({$events:{},addevent:function(c,b,a){c=events.
removeon(c);if(b!=$empty){this.$events[c]=this.$events[c]||[]; this.$events[c].include(b);if(a){b.internal=true;}}return this;},addevents:function(a){for(var b in a){this.addevent(b,a[b]);}return this;},fireevent:function(c,b,a){c=events.
removeon(c); if(!this.$events||!this.$events[c]){return this;}this.$events[c].each(function(d){d.create({bind:this,delay:a,"arguments":b})();},this);return this;},re...
...moveevent:function(b,a){b=events.
removeon(b); if(!this.$events[b]){return this;}if(!a.internal){this.$events[b].erase(a);}return this;},
removeevents:function(c){var d;if($type(c)=="object"){for(d in c){this.
removeevent(d,c[d]); }return this;}if(c){c=events.
removeon(c);}for(d in this.$events){if(c&&c!=d){continue;}var b=this.$events[d];for(var a=b.length;a--;a){this.
removeevent(d,b[a]); }}return this;}});events.
removeon=function(a){return a.replace(/^on([a-z])/,function(b,c){return c.tolowercase();});};var options=new class({setoptions:function(){this.options=$merge.run([this.options].extend(arguments)); if(!this.addevent){return this;}for(var a in this.options){if($type(this.options[a])!="function"||!(/^on[a-z]/).test(a)){continue;}this.addevent(a,this.options[a]); delete this.options[a];}ret...
...And 9 more matches
Template Logging - Archive of obsolete content
the first debugging method involves logging all new results that apply to the template due to the data changing as well as logging results that are changed or
removed.
...this logging of results can be very useful for debugging, but
remember to
remove this flag when you have finished and the template works correctly, as the logging can take up extra time that is not necessary when the template is working.
...this indicates first, that this is a new result, as opposed to a result being
removed, and second, that this result is 'active'.
...And 9 more matches
scale - Archive of obsolete content
the user may use the arrow keys to inc
rement and dec
rement the value by one unit, or the page up and page down keys to inc
rement and dec
rement the value by one page, as specified by the pageinc
rement attribute.
... attributes dir, disabled, inc
rement, max, min, movetoclick, pageinc
rement, tabindex, value properties disabled, max, min, inc
rement, pageinc
rement, tabindex, value, methods decrease, decreasepage, increase, increasepage, examples horizontal scale: <scale min="1" max="10"/> vertical scale: <scale min="1" max="10" orient="vertical"/> attributes dir type: one of the values below the direction in which the child elements of the element are placed.
... inc
rement type: integer the amount by which the curpos (for scroll bars) or value (for number boxes and scale) attribute changes when the arrows are clicked(or scales are dragged).
...And 8 more matches
tabbrowser - Archive of obsolete content
addtab, addtabsprogresslistener,appendgroup, getbrowseratindex, getbrowserindexfordocument, getbrowserfordocument, getbrowserfortab, geticon, getnotificationbox, gettabforbrowser, gettabmodalpromptbox, goback, gobackgroup, goforward, goforwardgroup, gohome, gotoindex, loadgroup, loadonetab, loadtabs, loaduri, loaduriwithflags, movetabto, pintab, reload, reloadalltabs, reloadtab, reloadwithflags,
removealltabsbut,
removecurrenttab,
removeprogresslistener,
removetab,
removetabsprogresslistener,replacegroup, selecttabatindex, seticon, showonlythesetabs, stop, unpintab attributes autocompleteenabled type: boolean set to true to enable autocomplete of fields.
...lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 listener to the browser which will monitor loaded documents.
...
removealltabsbut( tabelement ) return type: no return value
removes all of the tab panels except for the one corresponding to the specified tab.
...And 8 more matches
Introduction to SSL - Archive of obsolete content
in addition, ssl 2.0 support is entirely
removed in firefox 8.
... using all data generated in the handshake so far, the client (with the cooperation of the server, depending on the cipher being used) creates the p
remaster secret for the session, encrypts it with the server's public key (obtained from the server's certificate, sent in step 2), and sends the encrypted p
remaster secret to the server.
...in this case the client sends both the signed data and the client's own certificate to the server along with the encrypted p
remaster secret.
...And 8 more matches
HTML text fundamentals - Learn web development
my legs are made of cardboard and i am married to a fish.</textarea> <div class="playable-buttons"> <input id="reset" type="button" value="reset"> <input id="solution" type="button" value="show solution"> </div> html { font-family: sans-serif; } h2 { font-size: 16px; } .a11y-label { margin: 0; text-align: right; font-size: 0.7
rem; width: 98%; } body { margin: 10px; background: #f5f9fa; } var textarea = document.getelementbyid('code'); var reset = document.getelementbyid('reset'); var solution = document.getelementbyid('solution'); var output = document.queryselector('.output'); var code = textarea.value; var userentry = textarea.value; function updatecode() { output.innerhtml = textarea.value; } reset.addevent...
...character).</p> <textarea id="code" class="input" style="min-height: 100px; width: 95%">milk eggs bread hummus</textarea> <div class="playable-buttons"> <input id="reset" type="button" value="reset"> <input id="solution" type="button" value="show solution"> </div> html { font-family: sans-serif; } h2 { font-size: 16px; } .a11y-label { margin: 0; text-align: right; font-size: 0.7
rem; width: 98%; } body { margin: 10px; background: #f5f9fa; } var textarea = document.getelementbyid('code'); var reset = document.getelementbyid('reset'); var solution = document.getelementbyid('solution'); var output = document.queryselector('.output'); var code = textarea.value; var userentry = textarea.value; function updatecode() { output.innerhtml = textarea.value; } reset.addevent...
...the first two roundabouts turn left at the third roundabout the school is on your right, 300 meters up the road</textarea> <div class="playable-buttons"> <input id="reset" type="button" value="reset"> <input id="solution" type="button" value="show solution"> </div> html { font-family: sans-serif; } h2 { font-size: 16px; } .a11y-label { margin: 0; text-align: right; font-size: 0.7
rem; width: 98%; } body { margin: 10px; background: #f5f9fa; } var textarea = document.getelementbyid('code'); var reset = document.getelementbyid('reset'); var solution = document.getelementbyid('solution'); var output = document.queryselector('.output'); var code = textarea.value; var userentry = textarea.value; function updatecode() { output.innerhtml = textarea.value; } reset.addevent...
...And 8 more matches
Video and Audio APIs - Learn web development
you can solve both these problems by hiding the native controls (by
removing the controls attribute), and programming your own with html, css, and javascript.
...in our javascript later on, we will set the controls to visible, and
remove the controls attribute from the <video> element.
... next, insert the following at the bottom of your code: media.
removeattribute('controls'); controls.style.visibility = 'visible'; these two lines
remove the default browser controls from the video, and make the custom controls visible.
...And 8 more matches
NSS_3.12_release_notes.html
h/ocsp.h) cert_setusepkixforvalidation (see cert.h) cert_pkixverifycert (see cert.h) hash_gettype (see sechash.h) nss_initwithmerge (see nss.h) pk11_createmergelog (see pk11pub.h) pk11_creategenericobject (see pk11pub.h) pk11_createpbev2algorithmid (see pk11pub.h) pk11_destroymergelog (see pk11pub.h) pk11_generatekeypairwithopflags (see pk11pub.h) pk11_getpbecryptomechanism (see pk11pub.h) pk11_is
removable (see pk11pub.h) pk11_mergetokens (see pk11pub.h) pk11_writerawattribute (see pk11pub.h) seckey_ecparamstobasepointorderlen (see keyhi.h) seckey_ecparamstokeysize (see keyhi.h) secmod_deletemoduleex (see secmod.h) sec_getregisteredhttpclient (see ocsp.h) sec_pkcs5isalgorithmpbealgtag (see secpkcs5.h) vfy_createcontextdirect (see cryptohi.h) vfy_createcontextwithalgorithmid (see cryptohi.h) v...
...rce cert_rev_m_ignore_implicit_default_source cert_rev_m_skip_test_on_missing_source cert_rev_m_require_info_on_missing_source cert_rev_m_ignore_missing_fresh_info cert_rev_m_fail_on_missing_fresh_info cert_rev_m_stop_testing_on_fresh_info cert_rev_m_continue_testing_on_fresh_info cert_rev_mi_test_each_method_separately cert_rev_mi_test_all_local_information_first cert_rev_mi_no_overall_info_requi
rement cert_rev_mi_require_some_fresh_info_available cert_policy_flag_no_mapping cert_policy_flag_explicit cert_policy_flag_no_any cert_enable_ldap_fetch cert_enable_http_fetch new macro in utilrename.h: smime_aes_cbc_128 the nssckbi pkcs #11 module's version changed to 1.70.
...bug 429388: vfychain.main leaks memory bug 396044: warning: usage of uninitialized variable in ckfw/object.c(174) bug 396045: warning: usage of uninitialized variable in ckfw/mechanism.c(719) bug 401986: mac os x leopard build failure in legacydb bug 325805: diff considers mozilla/security/nss/cmd/pk11util/scripts/pkey a binary file bug 385151:
remove the link time dependency from nss to softoken bug 387892: add entrust root ca certificate(s) to nss bug 433386: when system clock is off by more than two days, oscp check fails, can result in crash if user tries to view certificate [[@ secitem_compareitem_util] [[@ memcmp] bug 396256: certutil and pp do not print all the generalnames in a crldp extension bug 398019: correct confusing and erron...
...And 8 more matches
SpiderMonkey 17
the jsresolve_classname and jsresolve_with resolve flags (passed to jsclass.resolve when jsclass.flags contains jsclass_new_resolve) have been
removed.
... a significant number of typedefs of built-in types, or of types which are now standardized, have been
removed.
...typedef changes many types have been
removed from the jsapi and replaced with simpler alternatives.
...And 8 more matches
XPCOM array guide
this array is read-only, and the interface does not provide any methods that will allow adding and
removing members.
... nsimutablearray - a scriptable container for scriptable xpcom objects, which allows addition and
removal of member objects.
...instead of inc
rementally accessing each element of the array by its index, the arrays provide a way to pass in a callback function that will be called for each element in the array.
...And 8 more matches
Observer Notifications
inner-window-destroyed nsidomwindow called when an inner window is
removed from the backward/forward cache.
...by this point, the browsingcontext will have been detached from its browsingcontextgroup and parent windowcontext, and
removed from any browsingcontext tree it was a part of.
...additionally, it will have been
removed from any windowcontext tree it was part of.
...And 8 more matches
nsIContentPrefService
iew void addobserver(in astring aname, in nsicontentprefobserver aobserver); nsivariant getpref(in nsivariant agroup, in astring aname, [optional] in nsicontentprefcallback acallback); nsipropertybag2 getprefs(in nsivariant agroup); nsipropertybag2 getprefsbyname(in astring aname); boolean haspref(in nsivariant agroup, in astring aname); void
removegroupedprefs(); void
removeobserver(in astring aname, in nsicontentprefobserver aobserver); void
removepref(in nsivariant agroup, in astring aname); void
removeprefsbyname(in astring aname); void setpref(in nsivariant agroup, in astring aname, in nsivariant avalue); attributes attribute type description dbconnection mozistor...
...or if aname is null or an empty string
removegroupedprefs()
remove all grouped prefs.
... useful for
removing references to the sites the user has visited when the user clears their private data.
...And 8 more matches
nsIDOMMozNetworkStatsManager
val end, [optional] in jsval options /* networkstatsgetoptions */); nsidomdomrequest addalarm(in nsisupports network, in long threshold, [optional] in jsval options /* networkstatsalarmoptions */); nsidomdomrequest getallalarms([optional] in nsisupports network); nsidomdomrequest
removealarms([optional] in long alarmid); nsidomdomrequest clearstats(in nsisupports network); nsidomdomrequest clearallstats(); nsidomdomrequest getavailablenetworks(); nsidomdomrequest getavailableservicetypes(); attributes attribute type description samplerate long minimum time in milliseconds between samples stored in the d...
...if null, data measu
rement from both origins are merged.
... start a date object representing the beginning of data measu
rement.
...And 8 more matches
Element - Web APIs
childnode.
remove()
removes the element from the children list of its parent.
... element.
removeattribute()
removes the named attribute from the current node.
... element.
removeattributens()
removes the attribute with the specified name and namespace, from the current node.
...And 8 more matches
Using IndexedDB - Web APIs
this article documents the types of objects used by indexeddb, as well as the methods of the asynchronous api (the synchronous api was
removed from spec).
... the following table shows the different ways the keys are supplied: key path (keypath) key generator (autoinc
rement) description no no this object store can hold any kind of value, even primitive values like numbers and strings.
...in it, you can create and delete object stores and build and
remove indices.
...And 8 more matches
RTCPeerConnection.addIceCandidate() - Web APIs
when a web site or app using rtcpeerconnection receives a new ice candidate from the
remote peer over its signaling channel, it delivers the newly-received candidate to the browser's ice agent by calling rtcpeerconnection.addicecandidate().
... this adds this new
remote candidate to the rtcpeerconnection's
remote description, which describes the state of the
remote end of the connection.
...the same is the case if the value of the specified object's candidate is either missing or an empty string (""), it signals that all
remote candidates have been delivered.
...And 8 more matches
A re-introduction to JavaScript (JS tutorial) - JavaScript
the standard arithmetic operators are supported, including addition, subtraction, modulus (or
remainder) arithmetic, and so forth.
...the hexadecimal notation is still in place; only octal has been
removed.
... operators javascript's numeric operators are +, -, *, / and % which is the
remainder operator (which is the same as modulo.) values are assigned using =, and there are also compound assignment statements such as += and -=.
...And 8 more matches
<mpadded> - MathML
depth sets or inc
rements the depth.
... possible values: any length or an inc
rement/dec
rement (a length prefixed with "+" or "-") .
... height sets or inc
rements the height.
...And 8 more matches
panel - Archive of obsolete content
a panel's content is loaded as soon as it is created, before the panel is shown, and the content
remains loaded when a panel is hidden, so it is possible to keep a panel around in the background, updating its content as appropriate in preparation for the next time it is shown.
... you can load
remote html into the panel: var mypanel = require("sdk/panel").panel({ width: 180, height: 180, contenturl: "https://en.wikipedia.org/w/index.php?title=jetpack&useformat=mobile" }); mypanel.show(); you can also load html that's been packaged with your add-on, and this is most probably how you will create dialogs.
... warning: unless your content script is ext
remely simple and consists only of a static string, don't use contentscript: if you do, you may have problems getting your add-on approved on amo.
...And 7 more matches
Creating Event Targets - Archive of obsolete content
", bookmarkservice.getbookmarkuri(aitemid).spec); }, onitemvisited: function(aitemid, avisitid, time) { console.log("visited ", bookmarkservice.getbookmarkuri(aitemid).spec); }, queryinterface: xpcomutils.generateqi([ci.nsinavbookmarkobserver]) }; exports.main = function() { bookmarkservice.addobserver(bookmarkobserver, false); }; exports.onunload = function() { bookmarkservice.
removeobserver(bookmarkobserver); } try running this add-on, adding and visiting bookmarks, and observing the output in the console.
...bookmarkservice.getbookmarkuri(aitemid).spec); }, onitemvisited: function(aitemid, avisitid, time) { emit(exports, "visited", bookmarkservice.getbookmarkuri(aitemid).spec); }, queryinterface: xpcomutils.generateqi([ci.nsinavbookmarkobserver]) }; bookmarkservice.addobserver(bookmarkobserver, false); exports.on = on.bind(null, exports); exports.once = once.bind(null, exports); exports.
removelistener = function
removelistener(type, listener) { off(exports, type, listener); }; this code implements a module which can emit added and visited events.
...this consists of three functions: on(): start listening for events or a given type once(): listen for the next occurrence of a given event, and then stop
removelistener(): stop listening for events of a given type the on() and once() exports delegate to the corresponding function from event/core, and use bind() to pass the exports object itself as the target argument to the underlying function.
...And 7 more matches
Chapter 5: Let's build a Firefox extension - Archive of obsolete content
although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
...to create this dev profile start firefox with firefox.exe -no-
remote -p dev on the first start the profile manager will appear, where you can create the dev profile and configure its home-path.
...this isn’t a requi
rement for extension development, but i recommend it as a way to work more efficiently.
...And 7 more matches
Search Extension Tutorial (Draft) - Archive of obsolete content
in particular, changing the location bar search keyword url in a way which is not automatically reset when the add-on is
removed will result in a reset prompt for users.
... for (let [name, [origvalue, value]] in iterator(savedprefs)) { if (defaultprefs.getcharpref(name) == value) defaultprefs.setcharpref(name, origvalue); } } function install() {} function uninstall() {} changing the default search engine this change comes in two parts: 1) installing a new search engine (and
removing it when your extension is disabled), and 2) setting it as a default (and restoring the previous default when your extension is uninstalled).
... if (reason == addon_uninstall || reason == addon_disable) { let engine = services.search.getenginebyname(engine_details.name); // only
remove the engine if it appears to be the same one we // added.
...And 7 more matches
Modularization techniques - Archive of obsolete content
addref() inc
rements that reference count, and release() dec
rements it.
...a factory allows an implementor to hide both the class declaration and creation details of an object, an ext
remely important step for allowing maximum flexibility in the implementation of a class and reducing compile time dependencies.
... the component manager one of the major goals of our modularization is to
remove link time dependencies.
...And 7 more matches
Introduction to Public-Key Cryptography - Archive of obsolete content
once the server has been authenticated, the client and server use techniques of symmetric-key encryption, which is very fast, to encrypt all the information they exchange for the
remainder of the session and to detect any tampering that may have occurred.
... single sign-on network users are frequently required to
remember multiple passwords for the various services they use.
...server authentication is a requi
rement for an encrypted ssl session.
...And 7 more matches
Common causes of memory leaks in extensions - Extensions
all zombie compartments in extensions are caused by a failure to release resources appropriately in certain circumstances, such as when a window is closed, a page unloads, or an extension is disabled or
removed.
... failing to clean up event listeners extensions can be disabled and
removed by user actions, but it also happens when an add-on is updated.
... if a bootstrapped (restartless) extension fails to clean up event listeners when disabled or
removed, the listeners will still reference the enclosing scope — usually the bootstrap.js sandbox — and therefore keep that scope (and its enclosing compartment) alive until the window is unloaded.
...And 7 more matches
Index - Learn web development
50 choosing the right approach beginner, intervals, javascript, learn, optimize, promises, async, asynchronous, await, requestanimationframe, setinterval, settimeout, timeouts to finish this module off, we'll provide a brief discussion of the different coding techniques and features we've discussed throughout, looking at which one you should use when, with recommendations and
reminders of common pitfalls where appropriate.
... 66 inheritance in javascript article, beginner, codingscripting, constructor, function, getter, inheritance, javascript, learn, oojs, oop, object, object member, prototype, extends, l10n:priority, setter this article has covered the
remainder of the core oojs theory and syntax that we think you should know now.
...here we look at why this is useful, then explore how to create an array, retrieve, add, and
remove items stored in an array, and more besides.
...And 7 more matches
Basic math in JavaScript — numbers and operators - Learn web development
10 / 5 %
remainder (sometimes called modulo) returns the
remainder left over after you've divided the left number into a number of integer portions equal to the right number.
... inc
rement and dec
rement operators sometimes you'll want to repeatedly add or subtract one to or from a numeric variable value.
... this can be conveniently done using the inc
rement (++) and dec
rement (--) operators.
...And 7 more matches
Introducing a complete toolchain - Learn web development
however, more complicated software requi
rements will likely benefit from the usage of tools to help simplify the development process.
...git is currently the most popular source code revision control tool available to developers — revision control provides many advantages, such as a way to backup your work in a
remote place, and a mechanism to work in a team on the same project without fear of overwriting each other's code.
...it's an ext
remely powerful and versatile tool but can be tricky to configure correctly and you could easily consume many hours trying to get a configuration just right!
...And 7 more matches
Command line options
do not run profile_name while running an instance of the application, you can use the -no-
remote option to avoid connecting to a running instance.
...you can use the -no-
remote option to avoid connecting to a running instance.
... -no-
remote do not accept or send
remote commands.
...And 7 more matches
Eclipse CDT
system requi
rements eclipse will use a lot of memory to fully index the mozilla source tree to provide code assistance features (easily 4 gb of ram, although this will drop to just over 1 gb if you restart after indexing is complete).
...for that to work you also either need to find the existing bindings for that key combination (using the bindings column to sort by key combination helps with this) and
remove them, or else you need to make your binding very specific by setting the "when" field to "c/c++ editor" instead of the more general "editing text".
...eclipse doesn't have good facilities for building inc
rementally in individual directories in the way that mozilla developers generally require.
...And 7 more matches
Multiple Firefox profiles
you can
remove such add-ons from your profile for nightly use while keeping them for use with other profiles.
...if you choose a folder that isn't empty, and you later
remove the profile and choose the \"delete files\" option, everything inside that folder will be deleted.
... deleting a profile in the profile manager, select the profile to
remove, and click delete profile....
...And 7 more matches
Release phase
you've setup up your local and
remote environments, you've selected your l10n tools and projects, done some localization and even some testing!
... add the following lines to your ~/.ssh/config file, replacing user@host.domain with your mozilla ldap account name: host hg.mozilla.org user user@host.domain if you have already cloned the
remote repository using the http protocol using this command: $ hg clone http://hg.mozilla.org/releases/l10n-central/x-testing then you will need to edit the .hg/hgrc file (inside the x-testing local clone) to tell mercurial to push using ssh.
... your .hg/hgrc file shoud look like this (add the emphasized line): [paths] default = hg.mozilla.org/releases/l10n-central/x-testing default-push = ssh://hg.mozilla.org/releases/l10n-central/x-testing if you haven't already cloned the
remote repository, enter this command: hg clone ssh://hg.mozilla.org/releases/l10n-central/x-testing mercurial will let you know that it's cloning the repository: destination directory: x-testing requesting all changes adding changesets adding manifests adding file changes added 4 changesets with 242 changes to 239 files updating to branch default 239 files updated, 0 files merged, 0 files
removed, 0 files unresolved the default push url is the same as the default pull url (i.e., ssh://hg.mozilla.org/releases/l10n-central/x-testing).
...And 7 more matches
Activity Monitor, Battery Status Menu and top
activity monitor this is a built-in os x tool that shows real-time process measu
rements.
... power-related measu
rements activity monitor has several tabs.
... they can all be customized to show any of the available measu
rements (by right-clicking on the column strip) but only the "energy" tab groups child processes with parent processes, which is useful, so it's the best one to use.
...And 7 more matches
NSS API Guidelines
(frees are allowed.) the arena_destructor_list preprocessor definition, and the code it encloses, are an effort to make the following work together: arenas, letting you allocate stuff and then
removing them all at once lazy creation of pure-memory objects from asn.1 blobs, for example use of nsspkixcertificate doesn't drag all the code in for all constituent objects, unless they're actually being used our agressive pointer-tracking facility all these are useful, but they don't combine well.
... secport_
remove_pointer(classname, pointer) -
remove a pointer from the valid list.
...for some data structures, this problem can be
removed by protected reference counting.
...And 7 more matches
Python binding for NSS
depercated elements will persist for a least two releases before being
removed from the api entirely.
...
remove checks for whether a socket is open for reading.
...ssl_version_from_major_minor ssl.get_default_ssl_version_range ssl.get_supported_ssl_version_range ssl.set_default_ssl_version_range ssl.ssl_library_version_from_name ssl.ssl_library_version_name ssl.get_cipher_suite_info ssl.ssl_cipher_suite_name ssl.ssl_cipher_suite_from_name the following deprecated module functions were
removed: ssl.nssinit ssl.nss_ini ssl.nss_shutdown the following classes were added: sslciphersuiteinfo sslchannelinfo the following class methods were added: certificate.trust_flags certificate.set_trust_attributes sslsocket.set_ssl_version_range sslsocket.get_ssl_version_range ...
...And 7 more matches
Detailed XPCOM hashtable guide
items are found, added, and
removed from the hashtable by using the key.
... inserting/
removing: o(n): adding and
removing items from a large array can be time-consuming o(1): adding and
removing items from hashtables is a quick operation wasted space: none: arrays are packed structures, so there is no wasted space.
... hashtables are useful for sets of data that need swift random access; with non-integral keys or non-contiguous integral keys; or where items will be frequently added or
removed.
...And 7 more matches
nsIMessageListenerManager
to access this service, use: var globalmm = components.classes["@mozilla.org/globalmessagemanager;1"] .getservice(components.interfaces.nsimessagelistenermanager); method overview void addmessagelistener(in astring messagename, in nsimessagelistener listener, [optional] in boolean listenwhenclosed) void
removemessagelistener(in astring messagename, in nsimessagelistener listener); void addweakmessagelistener(in astring messagename, in nsimessagelistener listener); void
removeweakmessagelistener(in astring messagename, in nsimessagelistener listener); methods addmessagelistener(...
... listenwhenclosed specify true to receive messages during the short period after a frame has been
removed from the dom and before its frame script has finished unloading; this is false by default.
...
removemessagelistener() undo an addmessagelistener() call; that is, calling this causes listener to stop being invoked when the specified message is received.
...And 7 more matches
nsIMsgHeaderParser
es); void parseheaderswitharray(in wstring aline, [array, size_is(count)] out wstring aemailaddresses, [array, size_is(count)] out wstring anames, [array, size_is(count)] out wstring afullnames, [retval] out unsigned long count); void reformatheaderaddresses(in string line, out string reformattedaddress); wstring reformatunquotedaddresses(in wstring line); void
removeduplicateaddresses(in string addrs, in string other_addrs, in prbool
removealiasestome, out string newaddress); string unquotephraseoraddr(in string line, in boolean preserveintegrity); wstring unquotephraseoraddrwstring(in wstring line, in boolean preserveintegrity); methods extractheaderaddressmailboxes() given a string which contains a list of header addresses, ret...
... return value safe addresses (?) exceptions thrown missing exception missing description native code only!
removeduplicateaddresses returns a copy of addrs which may have had some addresses
removed.
... addresses are
removed if they are already in either addrs or other_addrs.
...And 7 more matches
nsIWindowMediator
void
removelistener(in nsiwindowmediatorlistener alistener); void setzlevel(in nsixulwindow awindow, in pruint32 azlevel); native code only!
... var {cc: classes, ci: interfaces} = components; var windowlistener = { onopenwindow: function (awindow) { // wait for the window to finish loading let domwindow = awindow.queryinterface(ci.nsiinterfacerequestor).getinterface(ci.nsidomwindowinternal || ci.nsidomwindow); domwindow.addeventlistener("load", function () { domwindow.
removeeventlistener("load", arguments.callee, false); //this
removes this load function from the window //window has now loaded now do stuff to it //as example this will add a function to listen to tab select and will fire alert in that window if (domwindow.gbrowser && domwindow.gbrowser.tabcontainer) { domwindow.gbrowser.tabcontainer.addeventlisten...
...er('tabselect', function () { domwindow.alert('tab was selected') }, false); } }, false); }, onclosewindow: function (awindow) {}, onwindowtitlechange: function (awindow, atitle) {} }; //to register services.wm.addlistener(windowlistener); //services.wm.
removelistener(windowlistener); //once you want to
remove this listener execute
removelistener, currently its commented out so you can copy paste this code in scratchpad and see it work native code only!calculatezposition a window wants to be moved in z-order.
...And 7 more matches
CanvasRenderingContext2D - Web APIs
the methods listed below
remain for historical and compatibility reasons as svgmatrix objects are used in most parts of the api nowadays and will be used in the future instead.
... canvasrenderingcontext2d.
removehitregion()
removes the hit region with the specified id from the canvas.
... canvasrenderingcontext2d.clearhitregions()
removes all hit regions from the canvas.
...And 7 more matches
RTCPeerConnection.addTrack() - Web APIs
any tracks that are added to the same stream on the local end of the connection will be on the same stream on the
remote end.
...the associated receiver is muted (indicating that it is not able to deliver packets) until and unless one or more streams are added to the receiver by the
remote peer.
...this is perfectly acceptable, although it will be up to the
remote peer to decide what stream to insert the track into, if any.
...And 7 more matches
RTCPeerConnection.createOffer() - Web APIs
the createoffer() method of the rtcpeerconnection interface initiates the creation of an sdp offer for the purpose of starting a new webrtc connection to a
remote peer.
... offertoreceiveaudio optional (legacy) a legacy boolean option which used to control whether or not to offer to the
remote peer the opportunity to try to send audio.
... if this value is false, the
remote peer will not be offered to send audio data, even if the local side will be sending audio data.
...And 7 more matches
Introduction to the Real-time Transport Protocol (RTP) - Web APIs
those conditions may be affected by everything from the underlying layers of the network stack to the physical network connection, the intervening networks, the performance of the
remote endpoint, noise levels, traffic levels, and so forth.
...it can be used for any form of continuous or active data transfer, including data streaming, active badges or status display updates, or control and measu
rement information transport.
...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.
...And 7 more matches
Box-shadow generator - CSS: Cascading Style Sheets
; this.pointer = pointer; setmousetracking(node, updateslider.bind(this)); sliders[topic] = this; setvalue(topic, this.value); } var setbuttoncomponent = function setbuttoncomponent(node) { var type = node.getattribute('data-type'); var topic = node.getattribute('data-topic'); if (type === "sub") { node.textcontent = '-'; node.addeventlistener("click", function() { dec
rement(topic); }); } if (type === "add") { node.textcontent = '+'; node.addeventlistener("click", function() { inc
rement(topic); }); } } var setinputcomponent = function setinputcomponent(node) { var topic = node.getattribute('data-topic'); var unit_type = node.getattribute('data-unit'); var input = document.createelement('input'); var unit = document.createelement(...
...'span'); unit.textcontent = unit_type; input.setattribute('type', 'text'); node.appendchild(input); node.appendchild(unit); input.addeventlistener('click', function(e) { this.select(); }); input.addeventlistener('change', function(e) { setvalue(topic, e.target.value | 0); }); subscribe(topic, function(value) { node.children[0].value = value; }); } var inc
rement = function inc
rement(topic) { var slider = sliders[topic]; if (slider === null || slider === undefined) return; if (slider.value + slider.step <= slider.max) { slider.value += slider.step; setvalue(slider.topic, slider.value) notify.call(slider); } }; var dec
rement = function dec
rement(topic) { var slider = sliders[topic]; if (slider === null || slider === undefined) re...
...= value; slider.pointer.style.left = pos - offset / 2 + "px"; slider.node.setattribute('data-value', value); notify.call(slider); } var setmousetracking = function setmousetracking(elem, callback) { elem.addeventlistener("mousedown", function(e) { callback(e); document.addeventlistener("mousemove", callback); }); document.addeventlistener("mouseup", function(e) { document.
removeeventlistener("mousemove", callback); }); } var subscribe = function subscribe(topic, callback) { if (subscribers[topic] === undefined) subscribers[topic] = []; subscribers[topic].push(callback); } var unsubscribe = function unsubscribe(topic, callback) { subscribers[topic].indexof(callback); subscribers[topic].splice(index, 1); } var notify = function notify() { if (sub...
...And 7 more matches
clamp() - CSS: Cascading Style Sheets
the <p> element's font-size is set as max(1.2
rem, 1.2vw).
... this means that the font-size will be set at 1.2
rem, unless the computed value of 1.2vw is greater than that of 1.2
rem, in which case it will be set to that value instead.
... the <h1> element's font-size is set as clamp(1.8
rem, 2.5vw, 2.8
rem).
...And 7 more matches
Array.prototype.splice() - JavaScript
the splice() method changes the contents of an array by
removing or replacing existing elements and/or adding new elements in place.
... deletecount optional an integer indicating the number of elements in the array to
remove from start.
... if deletecount is 0 or negative, no elements are
removed.
...And 7 more matches
The building blocks of responsive design - Progressive web apps (PWAs)
fluid grids the best place to start is with fluid measu
rements for our application layout — essentially, this means using a combination of percentages and ems/
rems to size your containers and text, not fixed widths such as pixels.
... to get these sitting side-by-side we have used the following rules: x-card { width: 100%; } x-card:nth-child(1), x-card:nth-child(2) { width: 30%; float: left; padding: 2
rem; } x-card:nth-child(3) { width: 40%; float: left; height: 100%; overflow: auto; padding: 2
rem; } so we're giving the first two columns a width of 30%, and the third a width of 40%, floating the columns all left.
... this way they end up side-by-side, and their proportions
remain the same as the browser window size varies.
...And 7 more matches
content/mod - Archive of obsolete content
detachfrom(modification, window) function
removes attached modification from a given window.
... if window is not specified, modification is
removed from all the windows it's being attached to.
... for example, the following code applies and
removes a style to a content window, adding a border to all divs in page: var { attachto, detachfrom } = require("sdk/content/mod"); var style = require("sdk/stylesheet/style").style; var style = style({ source: "div { border: 4px solid gray }" }); // assuming window points to the content page we want to modify attachto(style, window); // ...
...And 6 more matches
Intercepting Page Loads - Archive of obsolete content
we store the handler function in a private variable because later we want to
remove it when we do not need it anymore.
... gbrowser.
removeeventlistener("load", this._loadhandler, true); finally, the actual code for the handler, which is very simple: _onpageload : function(event) { // this is the content document of the loaded page.
...
remember that your observe method will be called for every http request made by firefox, usually several dozen per page visit.
...And 6 more matches
notificationbox - Archive of obsolete content
properties currentnotification, allnotifications, notificationshidden methods appendnotification, getnotificationwithvalue,
removeallnotifications,
removecurrentnotification,
removenotification,
removetransientnotifications, 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...
...nu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties currentnotification type: notification element the currently displayed notification element or null.
...lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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: element create a new notification and display it.
...And 6 more matches
WAI-ARIA basics - Learn web development
one thing to
remember though — you should only use wai-aria when you need to!
...it might be nice if we always read out the heading too, so the user can
remember what is being read out.
...you can for example only get content additions or
removals read out.
...And 6 more matches
CSS values and units - Learn web development
rem font size of the root element.
...as an absolute unit this width will
remain the same no matter what else changes.
... ems and
rems em and
rem are the two relative lengths you are likely to encounter most frequently when sizing anything from boxes to text.
...And 6 more matches
Positioning - Learn web development
previous overview: css layout next positioning allows you to take elements out of the normal document layout flow, and make them behave differently; for example sitting on top of one another, or always
remaining in the same place inside the browser viewport.
...to try this out, add the following declarations to the .positioned rule in your css: top: 30px; left: 30px; note: the values of these properties can take any units you'd logically expect — pixels, mm,
rems, %, etc.
... now, update the body rule to
remove the position: relative; declaration and add a fixed height, like so: body { width: 500px; height: 1400px; margin: 0 auto; } now we're going to give the <h1> element position: fixed;, and get it to sit at the top of the viewport.
...And 6 more matches
Styling links - Learn web development
default styles the following example illustrates what a link will behave like by default (the css is simply enlarging and centering the text to make it stand out more.) <p><a href="#">a simple link</a></p> p { font-size: 2
rem; text-align: center; } note: all the links in the examples in this page are fake links — a # (hash, or pound sign) is put in place of the real url.
...to
remember the order, you could try using a mnemonic like love fears hate.
... now let's add some more information to get this styled properly: body { width: 300px; margin: 0 auto; font-size: 1.2
rem; font-family: sans-serif; } p { line-height: 1.4; } a { outline: none; text-decoration: none; padding: 2px 1px 0; } a:link { color: #265301; } a:visited { color: #437a16; } a:focus { border-bottom: 1px solid; background: #bae498; } a:hover { border-bottom: 1px solid; background: #cdfeaa; } a:active { background: #265301; color: #cdfeaa; } we'll also provide some sample html to apply the css to: <p>there are several browsers available, such as <a href="#">mozilla firefox</a>, <a href="#">google chrome</a>, and <a href="#">microsoft edge</a>.</p> putting the two together gives us this result: so what did we do here?
...And 6 more matches
HTML forms in legacy browsers - Learn web development
t supported form buttons there are two ways to define buttons within html forms: the <input> element with its attribute type set to the values button, submit, reset or image the <button> element <input> the <input> element can make things a little difficult if you want to apply some css by using the element selector: <input type="button" value="click me"> if we
remove the border on all inputs, can we restore the default appearance on input buttons only?
...for example, if you declare input { font-size: 2
rem; }, it will impact number, date, and text, but not color or range.
...you can declare appearance: none; to
remove the browser styles, but that generally defeats the purpose: as you lose all styling,
removing the default look and feel your visitors are used to.
...And 6 more matches
Introduction to events - Learn web development
addeventlistener() and
removeeventlistener() the newest type of event mechanism is defined in the document object model (dom) level 2 events specification, which provides browsers with a new function — addeventlistener().
...first, there is a counterpart function,
removeeventlistener(), which
removes a previously added listener.
... for example, this would
remove the listener set in the first code block in this section: btn.
removeeventlistener('click', bgchange); this isn't significant for simple, small programs, but for larger, more complex programs it can improve efficiency to clean up old unused event handlers.
...And 6 more matches
Drawing graphics - Learn web development
the web still had no way to effectively create animations, games, 3d scenes, and other requi
rements commonly handled by lower level languages such as c++ or java.
... add the following code into it, just below the opening <body> tag: <canvas class="mycanvas"> <p>add suitable fallback here.</p> </canvas> we have added a class to the <canvas> element so it will be easier to select if we have multiple canvases on the page, but we have
removed the width and height attributes for now (you could add them back in if you wanted, but we will set them using javascript in a below section).
...to get rid of the scrollbars, we need to
remove the margin and also set overflow to hidden.
...And 6 more matches
A first splash into JavaScript - Learn web development
resetbutton.textcontent = 'start new game'; document.body.append(resetbutton); resetbutton.addeventlistener('click', resetgame); } function resetgame() { guesscount = 1; const resetparas = document.queryselectorall('.resultparas p'); for(let i = 0 ; i < resetparas.length ; i++) { resetparas[i].textcontent = ''; } resetbutton.parentnode.
removechild(resetbutton); guessfield.disabled = false; guesssubmit.disabled = false; guessfield.value = ''; guessfield.focus(); lastresult.style.backgroundcolor = 'white'; randomnumber = math.floor(math.random() * 100) + 1; } </script> </body> </html> have a go at playing it — familiarize yourself with the game before you move on.
... inc
rement the turn number by 1.
...we add 1 to the guesscount variable so the player uses up their turn (++ is an inc
rementation operation — inc
rement by 1), and empty the value out of the form text field and focus it again, ready for the next guess to be entered.
...And 6 more matches
Beginning our React todo list - Learn web development
we are also not going to be using the logo.svg file, so
remove that import too.
... <span>active</span> <span classname="visually-hidden"> tasks</span> </button> <button type="button" classname="btn toggle-btn" aria-pressed="false"> <span classname="visually-hidden">show </span> <span>completed</span> <span classname="visually-hidden"> tasks</span> </button> </div> <h2 id="list-heading"> 3 tasks
remaining </h2> <ul role="list" classname="todo-list stack-large stack-exception" aria-labelledby="list-heading" > <li classname="todo stack-small"> <div classname="c-cb"> <input id="todo-0" type="checkbox" defaultchecked={true} /> <label classname="todo-label" htmlfor="todo-0"> eat </label> ...
... we have a heading that tells us how many tasks
remain.
...And 6 more matches
Styling Vue components with CSS - Learn web development
mal; -webkit-font-smoothing: inherit; -moz-osx-font-smoothing: inherit; -webkit-appearance: none; } button::-moz-focus-inner { border: 0; } button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; } button, input { /* 1 */ overflow: visible; } input[type="text"] { border-radius: 0; } body { width: 100%; max-width: 68
rem; margin: 0 auto; font: 1.6
rem/1.25 "helvetica neue", helvetica, arial, sans-serif; background-color: #f5f5f5; color: #4d4d4d; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; } @media screen and (min-width: 620px) { body { font-size: 1.9
rem; line-height: 1.31579; } } /*end resets*/ next, in your src/main.js file, import the reset.css file like so: ...
... before: after: noticeable changes include the
removal of the list bullets, background color changes, and changes to the base button and input styles.
...let's
remove those and replace them with the styles below.
...And 6 more matches
HTTP Cache
it will soon be completely obsoleted and
removed (bug 913828).
...ver all existing app caches the service also provides methods to clear the whole disk and memory cache content or purge any intermediate memory structures: clear – after it returns, all entries are no longer accessible through the cache apis; the method is fast to execute and non-blocking in any way; the actual erase happens in background purgefrommemory –
removes (schedules to
remove) any intermediate cache data held in memory for faster access (more about the intermediate cache below) nsiloadcontextinfo distinguishes the scope of the storage demanded to open.
... this applies in general, writers throwing away the cache entry means a failure to write the cache entry and a new writer is being looked for again, the cache entry
remains empty (a.k.a.
...And 6 more matches
PopupNotifications.jsm
method overview void locationchange(); notification getnotification(id, browser); void
remove(notification); notification show(browser, id, message, anchorid, mainaction, secondaryactions, options); properties attribute type description ispanelopen boolean returns true if the notification panel is currently visible, false if it is not.
...
remove()
removes the specified notification.
... void
remove( notification notification ); parameters notification the notification object representing the notification to
remove.
...And 6 more matches
HTMLInputElement.stepUp() - Web APIs
the htmlinputelement.stepup() method inc
rements the value of a numeric type of <input> element by the value of the step attribute, or the default step value if the step attribute is not explicitly set.
... the method, when invoked, inc
rements the value by (step * n), where n defaults to 1 if not specified, and step defaults to the default value for step if not specified.
... input type default step value example step declaration date 1 (day) 7 day (one week) inc
rements: <input type="date" min="2019-12-25" step="7"> month 1 (month) 12 month (one year) inc
rements: <input type="month" min="2019-12" step="12"> week 1 (week) two week inc
rements: <input type="week" min="2019-w23" step="2"> time 60 (seconds) 900 second (15 minute) inc
rements: <input type="time" min="09:00" step="900"> datetime-local 1 (day) same day of the week: <input type="datetime-local" min="019-12-25t19:30" step="7"> number 1 0.1 inc
rements <input type="number" min="0" step="0.1" max="10"> range 1 inc
rements by 2: <input type="range" min="0" step="2" ...
...And 6 more matches
Web audio spatialization basics - Web APIs
they
remain static.
... let's set up a rotation rate, which we'll convert into a radian range value for use in math.sin and math.cos later, when we want to figure out the new coordinates when we're rotating our boombox: // set up rotation constants const rotationrate = 60; // bigger number equals slower sound rotation const q = math.pi/rotationrate; //rotation inc
rement in radians we can also use this to work out degrees rotated, which will help with the css transforms we will have to create (note we need both an x and y-axis for the css transforms): // get degrees for css const degreesx = (q * 180)/math.pi; const degreesy = (q * 180)/math.pi; let's take a look at our left rotation as an example.
... we need to change the x orientation and the z orientation of the panner coordinates, to move around the y-axis for our left rotation: case 'rotate-left': transform.rotatey -= degreesy; // 'left' is rotation about y-axis with negative angle inc
rement z = panner.orientationz.value*math.cos(q) - panner.orientationx.value*math.sin(q); x = panner.orientationz.value*math.sin(q) + panner.orientationx.value*math.cos(q); y = panner.orientationy.value; panner.orientationx.value = x; panner.orientationy.value = y; panner.orientationz.value = z; break; this is a little confusing, but what we're doing is using sin and cos to help us work out the circular motion the coordinates need for the rotation of the boombox.
...And 6 more matches
WindowOrWorkerGlobalScope.setInterval() - Web APIs
it returns an interval id which uniquely identifies the interval, so you can
remove it later by calling clearinterval().
...&& scroll(asheets[nidx], 0, true) && nidx++ === asheets.length - 1) { clean(); return; } ocurrent.nodevalue += spart.charat(0); spart = spart.slice(1); } function sheet (onode) { this.ref = onode; if (!onode.haschildnodes()) { return; } this.parts = array.prototype.slice.call(onode.childnodes); for (var nchild = 0; nchild < this.parts.length; nchild++) { onode.
removechild(this.parts[nchild]); this.parts[nchild] = new sheet(this.parts[nchild]); } } var nintervid, ocurrent = null, btyping = false, bstart = true, nidx = 0, spart = "", asheets = [], amap = []; this.rate = nrate || 100; this.play = function () { if (btyping) { return; } if (bstart) { var aitems = document.queryselectorall(sselector); if (aitems.
...</div> <h1>javascript typewriter</h1> <div id="article"> <p>lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
...And 6 more matches
position - CSS: Cascading Style Sheets
absolute the element is
removed from the normal document flow, and no space is created for the element in the page layout.
... fixed the element is
removed from the normal document flow, and no space is created for the element in the page layout.
... class="box" id="one">one</div> <div class="box" id="two">two</div> <div class="box" id="three">three</div> <div class="box" id="four">four</div> css .box { display: inline-block; width: 100px; height: 100px; background: red; color: white; } #two { position: relative; top: 20px; left: 20px; background: blue; } absolute positioning elements that are relatively positioned
remain in the normal flow of the document.
...And 6 more matches
SDK API Lifecycle - Archive of obsolete content
it has two main components: a stability index that defines how stable each module is a deprecation process that defines when and how stable sdk apis can be changed or
removed from future versions of the sdk while giving developers enough time to update their code.
...you can try it out and provide feedback, but we may change or
remove it in future versions without having to pass through a formal deprecation process.
... all warnings should include links to further information about what to use instead of the deprecated module and when the module will be completely
removed.
...And 5 more matches
dev/panel - Archive of obsolete content
note that at the moment you can't debug
remote targets (for example, firefox os, the firefox os simulator, or firefox for android) using tools developed with this api.
... we're working on
removing this restriction.
...the messages follow the
remote debugging protocol.
...And 5 more matches
places/bookmarks - Archive of obsolete content
usage this module exports: three constructors: bookmark, group, and separator, corresponding to the types of objects, referred to as bookmark items, in the bookmarks database in firefox two additional functions, save() to create, update, and
remove bookmark items, and search() to retrieve the bookmark items that match a particular set of criteria.
... deleting items: to delete a bookmark item, pass in a bookmark item with a property
remove set to true.
...
remove(items) a helper function that takes in a bookmark item, or an array of several bookmark items, and sets each item's
remove property to true.
...And 5 more matches
Creating custom Firefox extensions with the Mozilla build system - Archive of obsolete content
this article describes how to set up the development environment for a large, complex firefox extension with any or all of the above-mentioned requi
rements.
...i can't even
remember why anymore, but i got stuck in a number of places, and the whole affair ended up taking far longer than i originally expected.
...this can be a guid, but the format shown above is prettier and, let's face it, a lot easier to
remember.
...And 5 more matches
Appendix C: Avoiding using eval in Add-ons - Archive of obsolete content
additionally, parsing json retrieved from a
remote location becomes a security vulnerability when parsed with the eval function.
... basically, you are executing
remote code with full chrome access; that is, introducing a
remote code execution vulnerability.
... even if you trust the
remote server; for example, because it is one you rent and administer yourself, there is a huge security risk, because of, but not limited to: you might discontinue your project or sell it, so that it is possible another person with malicious intentions takes over your domain.
...And 5 more matches
Tabbed browser - Archive of obsolete content
gbrowser.
removecurrenttab(); there is also a more generic
removetab method, which accepts a xul tab element as its single parameter.
...// when no longer needed gbrowser.
removeeventlistener("load", examplepageload, true); ...
... notification when a tab is added or
removed function exampletabadded(event) { var browser = gbrowser.getbrowserfortab(event.target); // browser is the xul element of the browser that's been added } function exampletabmoved(event) { var browser = gbrowser.getbrowserfortab(event.target); // browser is the xul element of the browser that's been moved } function exampletab
removed(event) { var browser = gbrowser.getbrowserfortab(event.target); // browser is the xul element of the browser that's been
removed } // during initialization var container = gbrowser.tabcontainer; container.addeventlistener("tabopen", exampletabadded, false); container.addeventlistener("tabmove", exampletabmoved, false); container.addeventlistener("tabclose", exampletab
removed, false); // when no longer...
...And 5 more matches
Style System Overview - Archive of obsolete content
cssruleprocessor one cssruleprocessor per origin (ua, user, author) css rule processor sorts all the rules in cascade order, and then puts them in rulehash, which
remembers order and then hashes by first of id, class, tag, namespace, or unhashed.
... to match rules, we do lookups in the rulehash's tables,
remerge the lists of rules using stored indices, and then call selectormatchestree to find which selectors really match.
... walkruletree also
remembers the first rule that contributed non-empty data.
...And 5 more matches
JavaScript Client API - Archive of obsolete content
in this case, it is highly recommended to use the utils.makeguid() helper to generate new 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.
... the next three methods are called by the sync algorithm when it determines that the state of the local application needs to be changed to keep it up-to-date with the user's
remote activities.
... the sync algorithm will call your store object with a record to be created, updated, or
removed, and it is your store object's responsibility to apply this change to the local application using whatever methods are neccessary.
...And 5 more matches
JavaScript crypto - Archive of obsolete content
deprecatedthis feature has been
removed from the web standards.
...these services are a balance between the functionality web pages need and the requi
rement to protect users from malicious web sites.
... handling smart card events web sites can make themselves more smartcard friendly by listening for smartcard insertion and
removal events.
...And 5 more matches
Binding Attachment and Detachment - Archive of obsolete content
input[type="checkbox"] { -moz-binding: url("http://www.mozilla.org/xbl/htmlbindings.xml#checkbox"); } bindings attached through css will only
remain on the bound element as long as the element continues to match the style rule.
... whenever an element is
removed from a document, any bindings attached via css loaded by the document will be detached.
... note: some older papers mentioned dom methods document.addbinding and document.
removebinding; these were subsequently discarded as redundant and not implemented.
...And 5 more matches
PopupEvents - Archive of obsolete content
<script> function openfilemenu() { var filemenu = document.getelementbyid("file-menu"); filemenu.addeventlistener("popupshown", filemenuopened, false); filemenu.open = true; } function filemenuopened(event) { if (event.target != document.getelementbyid("file-menupopup")) return; var filemenu = document.getelementbyid("file-menu"); filemenu.
removeeventlistener("popupshown", filemenuopened, false); var openmenu = document.getelementbyid("open-menu"); openmenu.open = true; } </script> <menu id="file-menu" label="file"> <menupopup id="file-menupopup"> <menu id="open-menu" label="open"> <menupopup> <menuitem label="file..."/> <menuitem label="page"/> </menupopup> </menu> </menupopup> </menu> <b...
...next, the popupshown event listener is
removed again.
...the popuphiding event when a popup is closed, the popuphiding event is fired on the popup just before it is
removed from the screen.
...And 5 more matches
Performance
dmd dmd is a tool that identifies shortcomings in about:memory's measu
rements, and can also do multiple kinds of general heap profiling.
...it is available on all platforms and release channels, and also supports
remote profiling b2g and fennec.
... profiling with zoom zoom is a profiler for linux done by the people who made shark measuring performance using the perfmeasu
rement.jsm code module using perfmeasu
rement.jsm to measure performance data in your javascript code.
...And 5 more matches
Index
the usual minimum requi
rement is that private keys must be wrapped using a protective layer (such as password-based encryption).
... if you would like to use nss as a toolkit that implements ssl,
remember that you must init nss first.
... *
remove certificate entry(s) from crl rmcert range where: range: two integer values separated by dash: range of certificates that will be added by this command.
...And 5 more matches
Hacking Tips
pein:3 (0x7fffef1231c0 @ 47) […] #25157 0x7fffefbbc250 typein:2 (0x7fffef1231c0 @ 24) #25158 0x7fffefbbc1c8 typein:3 (0x7fffef1231c0 @ 47) #25159 0x7fffefbbc140 typein:2 (0x7fffef1231c0 @ 24) #25160 0x7fffefbbc0b8 typein:3 (0x7fffef1231c0 @ 47) #25161 0x7fffefbbc030 typein:5 (0x7fffef123280 @ 9) note, you can do the exact same exercise above using lldb (necessary on osx after apple
removed gdb) by running lldb -f js then following the
remaining steps.
...0x7fffffff9848: 0x7fffef134d40 0x2 […] (gdb) p (*(jsfunction**) 0x7fffffff9848)->u.i.script_->lineno $1 = 1 (gdb) p (*(jsfunction**) 0x7fffffff9848)->u.i.script_->filename $2 = 0xff92d1 "typein" the stack is order as defined in js/src/ion/ionframes-x86-shared.h, it is composed of the return address, a descriptor (a small value), the jsfunction (if it is even) or a jsscript (if the it is odd,
remove it to dereference the pointer) and the frame ends with the number of actual arguments (a small value too).
... one way to investigate is to let valgrind start gdb for you, the other way documented here is to let valgrind act as a gdb server which can be manipulated from the gdb
remote.
...And 5 more matches
Mozilla internal string guide
nsa[c]string is the base of the string classes (since it imposes fewer requi
rements) and ns[c]string is a class derived from it.
... the
remainder of the string classes inherit from either nsastring or nsstring.
... int pos = 0; while (cur < end) { if (char16_t('\t') != *cur) { ++pos; ++cur; } else { len += 3; data.setlength(len); // after setlength, read `cur` and `end` again cur = data.beginwriting() + pos; end = data.endwriting(); // move the
remaining data over if (pos < len - 1) memmove(cur + 4, cur + 1, (len - 1 - pos) * sizeof(char16_t)); // fill the tab with spaces *cur = char16_t(' '); *(cur + 1) = char16_t(' '); *(cur + 2) = char16_t(' '); *(cur + 3) = char16_t(' '); pos += 4; cur += 4; } } } if a string buffer becomes smaller while writing it, use setlength to infor...
...And 5 more matches
mozIStorageConnection
); mozistoragependingstatement executeasync([array, size_is(anumstatements)] in mozistoragebasestatement astatements, in unsigned long anumstatements, [optional] in mozistoragestatementcallback acallback ); void executesimplesql(in autf8string asqlstatement); boolean indexexists(in autf8string aindexname); void preload(); obsolete since gecko 1.9 void
removefunction(in autf8string afunctionname); mozistorageprogresshandler
removeprogresshandler(); void rollbacktransaction(); void setgrowthinc
rement(in print32 ainc
rement, in autf8string adatabasename); mozistorageprogresshandler setprogresshandler(in print32 agranularity, in mozistorageprogresshandler ahandler); boolean tableexists(in autf8string ata...
...
removefunction() deletes a custom sql function that was created with either mozistorageconnection.createfunction() or mozistorageconnection.createaggregatefunction().
... void
removefunction( in autf8string afunctionname ); parameters afunctionname the name of the function to
remove.
...And 5 more matches
nsIFormHistory2
method overview void addentry(in astring name, in astring value); boolean entryexists(in astring name, in astring value); boolean nameexists(in astring name); void
removeallentries(); void
removeentriesbytimeframe(in long long abegintime, in long long aendtime); void
removeentriesforname(in astring name); void
removeentry(in astring name, in astring value); attributes attribute type description dbconnection mozistorageconnection returns the underlying db connection the form history module is using.
...boolean nameexists( in astring name ); parameters name return value
removeallentries()
removes all entries in the entire form history.
... void
removeallentries(); parameters none.
...And 5 more matches
nsIIdleService
to create an instance, use: var idleservice = components.classes["@mozilla.org/widget/idleservice;1"] .getservice(components.interfaces.nsiidleservice); method overview void addidleobserver(in nsiobserver observer, in unsigned long time); void
removeidleobserver(in nsiobserver observer, in unsigned long time); attributes attribute type description idletime unsigned long the amount of time in milliseconds that has passed since the last user activity.
... gecko 1.9.2 note starting in gecko 1.9.2, there is a once a day notification sent out if the user
remains idle for an extended period: 'idle-daily'.
...
removeidleobserver()
remove an observer registered with addidleobserver().
...And 5 more matches
nsIMsgFolder
sgthread thread); void setlabelformessages(in nsisupportsarray messages, in nsmsglabelvalue label); nsimsgdatabase getmsgdatabase(in nsimsgwindow msgwindow); void setmsgdatabase(in nsimsgdatabase msgdatabase); nsimsgdatabase getdbfolderinfoanddb(out nsidbfolderinfo folderinfo); nsimsgdbhdr getmessageheader(in nsmsgkey msgkey); boolean shouldsto
remsgoffline(in nsmsgkey msgkey); boolean hasmsgoffline(in nsmsgkey msgkey); nsiinputstream getofflinefilestream(in nsmsgkey msgkey, out pruint32 offset, out pruint32 size); void downloadmessagesforoffline(in nsisupportsarray messages, in nsimsgwindow window); nsimsgfolder getchildwithuri(in acstring uri, in boolean deep, in boolean caseinsensitive); void ...
...); void setstringproperty(in string propertyname, in acstring propertyvalue); boolean isancestorof(in nsimsgfolder folder); boolean containschildnamed(in astring name); nsimsgfolder getchildnamed(in astring aname); nsimsgfolder findsubfolder(in acstring escapedsubfoldername); void addfolderlistener(in nsifolderlistener listener); void
removefolderlistener(in nsifolderlistener listener); void notifypropertychanged(in nsiatom property, in acstring oldvalue, in acstring newvalue); void notifyintpropertychanged(in nsiatom property, in long oldvalue, in long newvalue); void notifyboolpropertychanged(in nsiatom property, in boolean oldvalue, in boolean newvalue); void notifypropertyflagchanged(in nsim...
...sgdbhdr item, in nsiatom property, in unsigned long oldvalue, in unsigned long newvalue); void notifyunicharpropertychanged(in nsiatom property, in astring oldvalue, in astring newvalue); void notifyitemadded(in nsisupports item); void notifyitem
removed(in nsisupports item); void notifyfolderevent(in nsiatom event); void listdescendents(in nsisupportsarray descendents); void shutdown(in boolean shutdownchildren); void setinvfeditsearchscope(in boolean asearchthisfolder, in boolean asetonsubfolders); void copydatatooutputstreamforappend(in nsiinputstream aistream, in long alength, in nsioutputstream outputstream); void copydatadone(); void setjunkscoreformessages(in nsisupportsarray amessages, in acstring...
...And 5 more matches
nsIMsgIncomingServer
in astring aprompttitle, in nsimsgwindow amsgwindow, out boolean okayvalue); astring getunicharattribute(in string name); astring getunicharvalue(in string attr); boolean isnewhdrduplicate(in nsimsgdbhdr anewhdr); void onuserorhostnamechanged(in acstring oldname, in acstring newname); void performbiff(in nsimsgwindow amsgwindow); void performexpand(in nsimsgwindow amsgwindow); void
removefiles(); void setboolattribute(in string name, in boolean value); void setboolvalue(in string attr, in boolean value); void setcharattribute(in string name, in acstring value); void setcharvalue(in string attr, in acstring value); void setdefaultlocalpath(in nsilocalfile adefaultlocalpath); void setfilevalue(in string relpref, in string abspref, in nsilocalfile avalue); void setfi...
... cancreatefoldersonserver boolean candelete boolean can this server be
removed from the account manager?
... for instance, local mail is not
removable, but an imported folder is.
...And 5 more matches
nsITreeView
inherits from: nsisupports 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 getlevel(in long index); long getparentindex(in long rowindex); long getprogressmode(in long row, in nsitreecolumn col); astring getrowproperties(in long index, in nsisupportsarray properties obsolete since gecko 22); boolean hasnextsibling(in long rowindex, in long afterindex); boolean iscontainer(in long index); boolean iscontaine
rempty(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 nsitreeco...
...although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
...And 5 more matches
nsIXPConnect
val value); nsivariant jsvaltovariant(in jscontextptr cx, in jsvalptr ajsval); void movewrappers(in jscontextptr ajscontext, in jsobjectptr aoldscope, in jsobjectptr anewscope); [noscript,notxpcom] void notejscontext(in jscontextptr ajscontext, in nscctraversalcallbackref acb); void releasejscontext(in jscontextptr ajscontext, in prbool nogc); void
removejsholder(in voidptr aholder); native code only!
...although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
...although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
...And 5 more matches
Debugger - Firefox Developer Tools
changing this flag value will recompile all jit code to add or
remove code coverage instrumentation.
... onexceptionunwind(frame,value) the exceptionvalue has been thrown, and has propagated toframe;frame is the youngest
remaining stack frame, and is a debuggee frame.
...
removedebuggee(global)
remove the global object designated byglobal from this debugger instance’s set of debuggees.
...And 5 more matches
DevTools API - Firefox Developer Tools
a target is usually a web page (a tab), but can be other things (a chrome window, a
remote tab,…).
... unregistertool(tool) unregisters the given tool and
removes it from all toolboxes.
... this.window.document.body.
removeeventlistener("click", this.handleclick); // async destruction.
...And 5 more matches
Index - Firefox Developer Tools
not all of these have had wide adoption, and due to the cost of maintenance, seldom used panels are eventually
removed.
...if you open a json file in the browser, or view a
remote url with the content-type set to application/json, it is parsed and given syntax highlighting.
... 93 ui tour the performance tool's ui consists of 4 main pieces: 94 waterfall 95
remote debugging tools, l10n:priority you can use the firefox developer tools on your desktop to debug web sites and web apps running in other browsers or runtimes.
...And 5 more matches
about:debugging - Firefox Developer Tools
in the tools > web developer menu, click
remote debugging.
... when about:debugging opens, on the left-hand side, you'll see a sidebar with two options and information about your
remote debugging setup: setup use the setup tab to configure the connection to your
remote device.
... setup tab connecting to a
remote device firefox supports debugging over usb with android devices, using the about:debugging page.
...And 5 more matches
Animation - Web APIs
animation.on
remove allows you to set and run an event handler that fires when the animation is
removed (i.e., put into an active replace state).
... animation.commitstyles() commits the end styling state of an animation to the element being animated, even after that animation has been
removed.
... animation.persist() explicitly persists an animation, when it would otherwise be
removed due to the browser's automatically
removing filling animations behavior.
...And 5 more matches
Element.classList - Web APIs
the domtokenlist itself is read-only, although you can modify it using the add() and
remove() methods.
... examples const div = document.createelement('div'); div.classname = 'foo'; // our starting state: <div class="foo"></div> console.log(div.outerhtml); // use the classlist api to
remove and add classes div.classlist.
remove("foo"); div.classlist.add("anotherclass"); // <div class="anotherclass"></div> console.log(div.outerhtml); // if visible is set
remove it, otherwise add it div.classlist.toggle("visible"); // add/
remove visible, depending on test conditional, i less than 10 div.classlist.toggle("visible", i < 10 ); console.log(div.classlist.contains("foo")); // add or
remove multiple classes div.classlist.add("foo", "bar", "baz"); div.classlist.
remove("foo", "bar", "baz"); // add or
remove multiple classes using spread syntax const cls = ["foo", "bar"]; div.classlist.add(...cls); ...
...div.classlist.
remove(...cls); // replace class "foo" with class "bar" div.classlist.replace("foo", "bar"); versions of firefox before 26 do not implement the use of several arguments in the add/
remove/toggle methods.
...And 5 more matches
HTMLTableElement - Web APIs
if a correct object is given, it is inserted in the tree as the first child of this element and the first <caption> that is a child of this element is
removed from the tree, if any.
...if a correct object is given, it is inserted in the tree immediately before the first element that is neither a <caption>, nor a <colgroup>, or as the last child if there is no such element, and the first <thead> that is a child of this element is
removed from the tree, if any.
...if a correct object is given, it is inserted in the tree immediately before the first element that is neither a <caption>, a <colgroup>, nor a <thead>, or as the last child if there is no such element, and the first <tfoot> that is a child of this element is
removed from the tree, if any.
...And 5 more matches
In depth: Microtasks and the JavaScript runtime environment - Web APIs
when it exits, the context is
removed from the context stack.
...when this function returns, the context for localgreeting() is
removed from the execution stack and destroyed.
... the greetuser() function returns and its context is
removed from the stack and destroyed.
...And 5 more matches
Timing element visibility with the Intersection Observer API - Web APIs
the first column (sized automatically based on its content) is used for the sidebar and the second column (which will be used for body content) is sized to be at least the width of the contents of the column and at most all
remaining available space.
...the rows are sized the same way as the columns: the first one is automatically sized and the one uses the
remaining space, but at least enough space to provide room for all elements within it.
... to pause the timers, all we need to do is
remove the ads from the set of visible ads (visibleads) and mark them as inactive.
...And 5 more matches
Node - Web APIs
node.normalize() clean up all the text nodes under this element (merge adjacent,
remove empty).
... node.
removechild()
removes a child node from the current element, which must be a child of the current node.
... node.setuserdata() allows a user to attach, or
remove, domuserdata to the node.
...And 5 more matches
RTCPeerConnection.setLocalDescription() - Web APIs
instead, the current connection configuration
remains in place until negotiation is complete.
...if the signaling state is one of stable, have-local-offer, or have-
remote-pranswer, the webrtc runtime automatically creates a new offer and sets that as the new local description.
...this has been deprecated and its use is strongly discouraged, as it will be
removed in the future.
...And 5 more matches
SVGLengthList - Web APIs
s now indexable and can be accessed like arrays interface overview also implement none methods void clear() svglength initialize(in svglength newitem) svglength getitem(in unsigned long index) svglength insertitembefore(in svglength newitem, in unsigned long index) svglength replaceitem(in svglength newitem, in unsigned long index) svglength
removeitem(in unsigned long index) svglength appenditem(in svglength newitem) properties readonly unsigned long numberofitems readonly unsigned long length normative document svg 1.1 (2nd edition) properties name type description numberofitems unsigned long the number of items in the list.
...if the inserted item is already in a list, it is
removed from its previous list before it is inserted into this list.
...if newitem is already in a list, it is
removed from its previous list before it is inserted into this list.
...And 5 more matches
SVGNumberList - Web APIs
interface overview also implement none methods void clear() svgnumber initialize(in svgnumber newitem) svgnumber getitem(in unsigned long index) svgnumber insertitembefore(in svgnumber newitem, in unsigned long index) svgnumber replaceitem(in svgnumber newitem, in unsigned long index) svgnumber
removeitem(in unsigned long index) svgnumber appenditem(in svgnumber newitem) properties readonly unsigned long numberofitems readonly unsigned long length normative document svg 1.1 (2nd edition) properties name type description numberofitems unsigned long the number of items in the list.
...if the inserted item is already in a list, it is
removed from its previous list before it is inserted into this list.
... if newitem is already in a list, it is
removed from its previous list before it is inserted into this list.
...And 5 more matches
SVGPathSegList - Web APIs
none methods void clear() svgpathseg initialize(in svgpathseg newitem) svgpathseg getitem(in unsigned long index) svgpathseg insertitembefore(in svgpathseg newitem, in unsigned long index) svgpathseg replaceitem(in svgpathseg newitem, in unsigned long index) svgpathseg
removeitem(in unsigned long index) svgpathseg appenditem(in svgpathseg newitem) properties readonly unsigned long numberofitems normative document svg 1.1 (2nd edition) properties ...
...if the inserted item is already in a list, it is
removed from its previous list before it is inserted into this list.
... if newitem is already in a list, it is
removed from its previous list before it is inserted into this list.
...And 5 more matches
SVGPointList - Web APIs
also implement none methods void clear() svgpoint initialize(in svgpoint newitem) svgpoint getitem(in unsigned long index) svgpoint insertitembefore(in svgpoint newitem, in unsigned long index) svgpoint replaceitem(in svgpoint newitem, in unsigned long index) svgpoint
removeitem(in unsigned long index) svgpoint appenditem(in svgpoint newitem) properties readonly unsigned long numberofitems normative document svg 1.1 (2nd edition) properties name type ...
...if the inserted item is already in a list, it is
removed from its previous list before it is inserted into this list.
...if newitem is already in a list, it is
removed from its previous list before it is inserted into this list.
...And 5 more matches
SVGStringList - Web APIs
interface overview also implement none methods void clear() domstring initialize(in domstring newitem) domstring getitem(in unsigned long index) domstring insertitembefore(in domstring newitem, in unsigned long index) domstring replaceitem(in domstring newitem, in unsigned long index) domstring
removeitem(in unsigned long index) domstring appenditem(in domstring newitem) properties readonly unsigned long numberofitems readonly unsigned long length normative document svg 1.1 (2nd edition) properties name type description numberofitems unsigned long the number of items in the list.
...if the inserted item is already in a list, it is
removed from its previous list before it is inserted into this list.
...if newitem is already in a list, it is
removed from its previous list before it is inserted into this list.
...And 5 more matches
SVGTransformList - Web APIs
ssed like arrays interface overview also implement none methods void clear() svgtransform initialize(in svgtransform newitem) svgtransform getitem(in unsigned long index) svgtransform insertitembefore(in svgtransform newitem, in unsigned long index) svgtransform replaceitem(in svgtransform newitem, in unsigned long index) svgtransform
removeitem(in unsigned long index) svgtransform appenditem(in svgtransform newitem) svgtransform createsvgtransformfrommatrix(in svgmatrix) svgtransform consolidate() properties readonly unsigned long numberofitems readonly unsigned long length normative document svg 1.1 (2nd edition) properties name type ...
...if the inserted item is already in a list, it is
removed from its previous list before it is inserted into this list.
...if newitem is already in a list, it is
removed from its previous list before it is inserted into this list.
...And 5 more matches
Cognitive accessibility - Accessibility
cognitive impairment refers to a broad range of disabilities, from people with intellectual disabilities who may have the most-limited capabilities, to age-related issues with thinking and
remembering.
...these problems include difficulty with understanding content,
remembering how to complete tasks, and confusion caused by inconsistent or non-traditional web page layouts.
... timers options for adjusting time requi
rements include: allowing the user to turn off or adjust the time to at least 10 times the original limit before encountering it.
...And 5 more matches
Backwards Compatibility of Flexbox - CSS: Cascading Style Sheets
safari was the last of the major browsers to
remove prefixes, with the release of safari 9 in 2015.
...this is becoming less and less of a requi
rement today as support is widespread.
...you can also check can i use for information about when prefixes were
removed in browsers to make your decision.
...And 5 more matches
Template Builder Interface - Archive of obsolete content
templates can only be used in xul documents, however, there is no requi
rement that the templates generate xul elements.
...this method
removes any existing generated content and deletes all data in the rule network.
...essentially, the rebuild method instructs the builder to
remove any existing information and reconstruct it from the beginning.
...And 3 more matches
Custom toolbar button - Archive of obsolete content
optionally
remove the sections for target applications that you do not want.
...content/button.xul # thunderbird compose overlay chrome://messenger/content/messengercompose/messengercompose.xul chrome://custombutton/content/button.xul # thunderbird address book overlay chrome://messenger/content/addressbook/addressbook.xul chrome://custombutton/content/button.xul # sunbird overlay chrome://calendar/content/calendar.xul chrome://custombutton/content/button.xul optionally
remove the sections for toolbars that you do not need.
... optionally
remove the sections for toolbars that you do not need.
...And 3 more matches
XUL element attributes - Archive of obsolete content
when the xul document is contained on a
remote web site, the datasources may only be loaded from the same domain as the document.
... flex type: string (representing an integer) indicates the flexibility of the element, which indicates how an element's container distributes
remaining empty space among its children.
...once the default sizes of elements in a box are calculated, the
remaining space in the box is divided among the flexible elements, according to their flex ratios.
...And 3 more matches
listbox - Archive of obsolete content
ation, itemcount, listboxobject, 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 <listbox id="thelist"> <listitem label="ruby"/> <listitem label="emerald"/> <listitem label="sapphire" selected="true"/> <listitem label="diamond"/> </listbox> <listbox id="thelist" rows="10" width="400"> <listhead> <listheader label="1ct gem" ...
...this is done inc
rementally, so typing more letters with select more specific items.
...lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 deselecting any other items that are already selected.
...And 3 more matches
menuitem - Archive of obsolete content
a workaround is to set the autocheck attribute to false, then programmatically set the checked attribute when the user selects the item, and set it to false instead of
removing the attribute (i.e.
... do menuitem.setattribute("checked", "false") instead of menuitem.
removeattribute("checked")) when the user unchecks the menuitem, as a value of false will both correctly hide the checkmark and persist its hidden state.
... single the menu the item is contained within is closed, but the parent menus
remain open.
...And 3 more matches
richlistbox - Archive of obsolete content
ion, 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> <richlistitem> <description>a xul description!</description> </richlistitem> <richlistitem> <button label="a xul button"/> </richlistitem> </richlistbox> the richlistbox element contains multiple richlistitem elements, which can con...
...this is done inc
rementally, so typing more letters with select more specific items.
...lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 deselecting any other items that are already selected.
...And 3 more matches
XULRunner 1.9.2 Release Notes - Archive of obsolete content
system requi
rements before installing, make sure your computer meets the system requi
rements.
... the system requi
rements for xulrunner are the same as the system requi
rements for firefox.
...
remove the xulrunner directory.
...And 3 more matches
Table Reflow Internals - Archive of obsolete content
inc
remental - has a reflow path (tree) where each node has a command with a target frame, reflow command types are: dirty - something changed inside a target (e.g.
...a text run) user defined - currently only used for fixed positioned frames kinds of reflows inc
remental reflow (continued) reflower not allowed to change available size of reflowee reflow commands get coalesced to streamline processing style change a target changed stylistic if there is a target, otherwise every frame may need to respond parent of target usually turns it into an inc
remental reflow with a style changed command type table frames nstableouter frame ↙ ↘ nstable frame nstablecaption frame ↙ ↘ ↓ nstablecol groupframe nstablerow groupfra...
...if this doesn't change, the row may not have to reflow the cell table inc
remental reflow outer table is a target when a caption is added or
removed (dirty) or the table or caption margin changes (style changed).
...And 3 more matches
Game monetization - Game development
remember that you need thousands of downloads of your game to make iaps effective — only a small fraction of players will actually pay for iaps.
... freemium games that feature iaps are often referred to a freemium — a freemium game can be acquired and played for free, but you can pay for extra (p
remium) features, virtual goods or other benefits.
... add-ons and dlcs add-ons and downloadable content are a good way to provide extra value to an already released game, but
remember that you'll have to offer decent, entertaining content to attract people to buy it.
...And 3 more matches
Game promotion - Game development
the more information you can include the better — you should include screenshots, description, trailer, press kit, requi
rements, available platforms, support details and more.
...a further option is to publish monthly reports that summarize all your progress — it helps you see what you've accomplished throughout the month and what's still left to do, and it keeps
reminding people that your game is coming out soon — building buzz is always good.
...
remember to not be too pushy on telling everyone about your games — you're not a walking advertisement.
...And 3 more matches
create fancy boxes - Learn web development
just
remember that such use of gradient is quite expensive, performance wise.
...*/ z-index : -1; background-color: #a4c9cf; border-radius: 100%; } .fancy::before { /* this is the size of the clouds left ear */ width : 125px; height : 125px; /* we sligthly move it to the left */ left : -80px; /* to make sure that the bottom of the cloud
remains flat, we must make the bottom right corner of the left ear square.
... */ border-bottom-right-radius: 0; } .fancy::after { /* this is the size of the clouds left ear */ width : 100px; height : 100px; /* we sligthly move it to the right */ right : -60px; /* to make sure that the bottom of the cloud
remains flat, we must make the bottom left corner of the right ear square.
...And 3 more matches
How can we design for all types of users? - Learn web development
relative units are expressed in em, % and
rem: percent-based sizes: % this unit tells your browser that an element's font size must be n% of the previous element whose font size was expressed.
...
rem-based sizes:
rem this unit is proportional to the root element's font size and is expressed as portions of 1, like em.
... enter
rem.
...And 3 more matches
Getting started with HTML - Learn web development
</textarea> <div class="controls"> <input id="reset" type="button" value="reset" /> <input id="solution" type="button" value="show solution" /> </div> html { font-family: 'open sans light',helvetica,arial,sans-serif; } h2 { font-size: 16px; } .a11y-label { margin: 0; text-align: right; font-size: 0.7
rem; width: 98%; } body { margin: 10px; background: #f5f9fa; } var textarea = document.getelementbyid('code'); var reset = document.getelementbyid('reset'); var solution = document.getelementbyid('solution'); var output = document.queryselector('.output'); var code = textarea.value; var userentry = textarea.value; function updatecode() { output.innerhtml = textarea.value; } reset.addeven...
...
remember that you need to include a space between the element name, and between each attribute.
..."code" class="input" style="min-height: 100px;width: 95%"> <p>a link to my favorite website.</p> </textarea> <div class="playable-buttons"> <input id="reset" type="button" value="reset"> <input id="solution" type="button" value="show solution"> </div> html { font-family: sans-serif; } h2 { font-size: 16px; } .a11y-label { margin: 0; text-align: right; font-size: 0.7
rem; width: 98%; } body { margin: 10px; background: #f5f9fa; } var textarea = document.getelementbyid('code'); var reset = document.getelementbyid('reset'); var solution = document.getelementbyid('solution'); var output = document.queryselector('.output'); var code = textarea.value; var userentry = textarea.value; function updatecode() { output.innerhtml = textarea.value; } reset.addevent...
...And 3 more matches
From object to iframe — other embedding technologies - Learn web development
a (tab inserts a tab character).</p> <textarea id="code" class="input" style="width: 95%;min-height: 100px;"> </textarea> <div class="playable-buttons"> <input id="reset" type="button" value="reset"> <input id="solution" type="button" value="show solution"> </div> html { font-family: sans-serif; } h2 { font-size: 16px; } .a11y-label { margin: 0; text-align: right; font-size: 0.7
rem; width: 98%; } body { margin: 10px; background: #f5f9fa; } const textarea = document.getelementbyid('code'); const reset = document.getelementbyid('reset'); const solution = document.getelementbyid('solution'); const output = document.queryselector('.output'); let code = textarea.value; let userentry = textarea.value; function updatecode() { output.innerhtml = textarea.value; } reset.
...0
removes the border.
...you should serve your websites using https whenever possible: https reduces the chance that
remote content has been tampered with in transit, https prevents embedded content from accessing content in your parent document, and vice versa.
...And 3 more matches
Multimedia: video - Learn web development
optimizing video delivery it's best to compress all video, optimize <source> order, set autoplay,
remove audio from muted video, optimize video preload, and consider streaming the video.
... compress all videos most video compression work compares adjacent frames within a video, with the intent of
removing detail that is identical in both frames.
...
remove audio from muted hero videos for hero-video or other video without audio,
removing audio is smart.
...And 3 more matches
nsICookieManager
an optional interface for accessing or
removing the cookies that are in the cookie list.
...it is implemented by the @mozilla.org/cookiemanager;1 component, but should generally be accessed via services.cookies method overview void
remove(in autf8string ahost, in acstring aname, in autf8string apath, in boolean ablocked, in jsval aoriginattributes); void
removeall(); attributes attribute type description enumerator nsisimpleenumerator called to enumerate through each cookie in the cookie list.
... methods
remove() this method is called to
remove an individual cookie from the cookie list, specified by host, name, and path.
...And 3 more matches
nsIDOMElement
ring namespaceuri, in domstring localname); domstring getattributens(in domstring namespaceuri, in domstring localname); nsidomnodelist getelementsbytagname(in domstring name); nsidomnodelist getelementsbytagnamens(in domstring namespaceuri, in domstring localname); boolean hasattribute(in domstring name); boolean hasattributens(in domstring namespaceuri, in domstring localname); void
removeattribute(in domstring name) nsidomattr
removeattributenode(in nsidomattr oldattr) void
removeattributens(in domstring namespaceuri, in domstring localname) void setattribute(in domstring name, in domstring value) nsidomattr setattributenode(in nsidomattr newattr) nsidomattr setattributenodens(in nsidomattr newattr) void setattributens(in domstring namespaceuri, in domstring qualifi...
...
removeattribute()
remove an attribute.
... void
removeattribute( in domstring name ); parameters name attribute name
removeattributenode()
remove an attribute, giving the attribute node.
...And 3 more matches
nsIFrameLoader
method overview void activateframeevent(in astring atype, in boolean capture); void activate
remoteframe(); void destroy(); void loadframe(); void loaduri(in nsiuri auri); void sendcrossprocesskeyevent(in astring atype, in long akeycode, in long acharcode, in long amodifiers, [optional] in boolean apreventdefault); void sendcrossprocessmouseevent(in astring atype, in float ax, in float ay, in long abutton, in long aclickcount, in long amodifier...
... attributes attribute type description delay
remotedialogs boolean depthtoogreat boolean find out whether the loader's frame is at too great a depth in the frame tree.
... methods activateframeevent() activates event forwarding from client (
remote frame) to parent.
...And 3 more matches
nsIHttpServer
* * @param path * the path which is to be mapped to the given file; must begin with "/" and * be a valid uri path (i.e., no query string, hash reference, etc.) * @param file * the file to serve for the given path, or null to
remove any mapping that * might exist; this file must exist for the lifetime of the server */ void registerfile(in string path, in nsifile file); /** * registers a custom path handler.
...ram path * the path on the server (beginning with a "/") which is to be handled by * handler; this path must not include a query string or hash component; it * also should usually be canonicalized, since most browsers will do so * before sending otherwise-matching requests * @param handler * an object which will handle any requests for the given path, or null to *
remove any existing handler; if while the server is running the handler * throws an exception while responding to a request, an http 500 response * will be returned * @throws ns_error_invalid_arg * if path does not begin with a "/" */ void registerpathhandler(in string path, in nsihttprequesthandler handler); /** * registers a custom prefix handler.
... * @param handler * an object which will handle any requests for the given path, or null to *
remove any existing handler; if while the server is running the handler * throws an exception while responding to a request, an http 500 response * will be returned * @throws ns_error_invalid_arg * if path does not begin with a "/" or does not end with a "/" */ void registerprefixhandler(in string prefix, in nsihttprequesthandler handler); /** * registers a custom error page handle...
...And 3 more matches
nsIMsgDatabase
void deletemessage(in nsmsgkey key, in nsidbchangelistener instigator, in boolean commit); void deleteheader(in nsimsgdbhdr msghdr, in nsidbchangelistener instigator,in boolean commit, in boolean notify); void
removeheadermdbrow(in nsimsgdbhdr msghdr); void undodelete(in nsimsgdbhdr msghdr); void markmarked(in nsmsgkey key, in boolean mark, in nsidbchangelistener instigator); void markoffline(in nsmsgkey key, in boolean offline, in nsidbchangelistener instigator); void setlabel(in nsmsgkey key, in nsmsglabelvalue label); void setstringproperty(in nsmsgkey akey, in string aproperty, in string aval...
...boolean deleted, in nsidbchangelistener instigator); void applyretentionsettings(in nsimsgretentionsettings amsgretentionsettings, in boolean adeleteviafolder); boolean hasnew(); void clearnewlist(in boolean notify); void addtonewlist(in nsmsgkey key); void startbatch(); void endbatch(); nsimsgofflineimapoperation getofflineopforkey(in nsmsgkey messagekey, in boolean create); void
removeofflineop(in nsimsgofflineimapoperation op); nsisimpleenumerator enumerateofflineops(); void listallofflineopids(in nsmsgkeyarrayptr offlineopids); native code only!
...in 4.x, it was mainly used to
remove corrupted databases.
...And 3 more matches
nsINavHistoryObserver
methods onbeforedeleteuri() obsolete since gecko 21.0 (firefox 21.0 / thunderbird 21.0 / seamonkey 2.18) note: this method was
removed in gecko 21.0 as part of bug 826409.
...notes the
removepagesbyhost() and
removepagesbytimeframe() functions call beginupdatebatch() and endupdatebatch() rather than onclearhistory() or ondeleteuri().
...if a page entry is
removed, then you can be sure that we don't have anymore visits for it.
...And 3 more matches
nsIPasswordManager
to create an instance, use: var passwordmanager = components.classes["@mozilla.org/passwordmanager;1"] .getservice(components.interfaces.nsipasswordmanager); method overview void adduser(in autf8string ahost, in astring auser, in astring apassword); void
removeuser(in autf8string ahost, in astring auser); void addreject(in autf8string ahost); void
removereject(in autf8string ahost); attributes attribute type description enumerator nsisimpleenumerator readonly: an enumeration of the stored usernames and passwords as nsipassword objects.
...
removeuser()
removes a stored password.
... void
removeuser(in autf8string ahost, in astring auser); parameters ahost the hostname of the password to
remove.
...And 3 more matches
nsITreeBoxObject
the view is responsible for calling this notification method when rows are added or
removed.
... for non-contiguous additions/
removals, this method should be called multiple times.
... void rowcountchanged(in long index, in long count); parameters index the position at which the new rows were added or at which rows were
removed.
...And 3 more matches
nsIZipWriter
ring 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 nsisupports acontext); void
removeentry(in autf8string azipentry, in boolean aqueue); attributes attribute type description comment acstring gets or sets the comment associated with the currently open zip file.
...in the event of an early failure, the
remaining items stay in the queue; calling processqueue() again will continue where operations left off.
...
removeentry()
removes an entry from the zip file.
...And 3 more matches
Reference Manual
nscomptr only does exactly the work you would have done, if you always
remembered to do the right thing.
...the
remaining directives provide some additional control in special situations.
...dont_addref is the perfect
remedy to situations like this.
...And 3 more matches
Using the Multiple Accounts API
incoming servers (nsimsgincomingserver): an incoming server represents a
remote message store such as a pop, imap, or nntp server.
... it holds all the information necessary to retrieve mail from the
remote server, such as hostname, user login name, and biff settings.
..., "id3"); user_pref("mail.account.account4.server", "server4"); user_pref("mail.account.account4.identities", "id2,id3"); user_pref("mail.server.server1.hostname", "imap.mywork.com"); user_pref("mail.server.server2.hostname", "pop.myisp.com"); user_pref("mail.server.server3.hostname", "news.myisp.com"); user_pref("mail.server.server4.hostname", "news.mozilla.org"); user_pref("mail.identity.id1.use
remail", "alecf@mywork.com"); user_pref("mail.identity.id2.use
remail", "alecf@myisp.com"); user_pref("mail.identity.id3.use
remail", "alecfnospam@myisp.com"); there is a lot of information missing here of course.
...And 3 more matches
Plugin Roadmap for Firefox - Plugins
the last
remaining npapi plugin, adobe flash, has announced an end-of-life plan.
...users will have the choice to
remember the flash setting per-site.
... september 2017 starting with firefox 56 in september 2017, firefox for android will
remove all support for plugins (bug 1381916).
...And 3 more matches
Break on DOM mutation - Firefox Developer Tools
that means, the script execution is stopped whenever a child node or descendant node deeper in the dom structure is added to or
removed from the element the option is set on.
... examples for when this breakpoint is triggered are calling node.appendchild() and node.
removechild(), calling childnode.
remove() or setting element.innerhtml on one of the subnodes.
... that means, the script execution is stopped whenever an attribute is added to or
removed from the element the option is set on or the value of one of its attributes is changed.
...And 3 more matches
Debugger.Object - Firefox Developer Tools
debugger.object instances protect their referents from the garbage collector; as long as the debugger.object instance is live, the referent
remains live.
...(this function behaves like object.defineproperties, except that the target object is implicit, and in a different compartment from theproperties argument.) deleteproperty(name)
remove the referent’s property namedname.
... return true if the property was successfully
removed, or if the referent has no such property.
...And 3 more matches
Debugger.Script - Firefox Developer Tools
disabling the debugger instance disables this breakpoint; and
removing a global from the debugger instance’s set of debuggees clears all the breakpoints belonging to that debugger instance in that global’s scripts.
... clearbreakpoint(handler, [offset]) if the instance refers to a jsscript,
remove all breakpoints set in this debugger instance that usehandler as their handler.
... ifoffset is given,
remove only those breakpoints set atoffset that usehandler; ifoffset is not a valid offset in this script, throw an error.
...And 3 more matches
page-mod - Archive of obsolete content
so you can rewrite the above code like this: var pagemod = require("sdk/page-mod"); pagemod.pagemod({ include: "*.mozilla.org", contentscriptfile: "./my-script.js" }); unless your content script is ext
remely simple and consists only of a static string, don't use contentscript: if you do, you may have problems getting your add-on approved on amo.
...if you are maintaining a list of workers belonging to a page-mod, you can use this event to
remove workers that are no longer valid.
... for example, if you maintain a list of workers attached to a page-mod: var workers = []; var pagemod = require("sdk/page-mod").pagemod({ include: ['*'], contentscriptwhen: 'ready', contentscriptfile: data.url('pagemod.js'), onattach: function(worker) { workers.push(worker); } }); you can
remove workers when they are no longer valid by listening to detach: var workers = []; function detachworker(worker, workerarray) { var index = workerarray.indexof(worker); if(index != -1) { workerarray.splice(index, 1); } } var pagemod = require("sdk/page-mod").pagemod({ include: ['*'], contentscriptwhen: 'ready', contentscriptfile: data.url('pagemod.js'), onattach: function(worker) { workers.push(worker); worker.on('detach', function () { detachworker(th...
...And 2 more matches
page-worker - Archive of obsolete content
this can point to a
remote file: pageworker = require("sdk/page-worker").page({ contentscript: "console.log(document.body.innerhtml);", contenturl: "http://en.wikipedia.org/wiki/internet" }); it can also point to an html file which you've packaged with your add-on.
... unless your content script is ext
remely simple and consists only of a static string, don't use contentscript: if you do, you may have problems getting your add-on approved on amo.
... in the "main.js" file:
remove the contentscriptfile option in the page() constructor.
...And 2 more matches
event/target - Archive of obsolete content
this module provides an exemplar eventtarget object, that implements an interface for adding and
removing event listeners of a specific type.
...});
removing listeners eventtarget interface defines api for unregistering event listeners, via
removelistener method: target.
removelistener('message', onmessage); emitting events eventtarget interface intentionally does not define an api for emitting events.
... chaining emitters can also have their methods chained: target.on('message', handlemessage) .on('data', parsedata) .on('error', handleerror); eventtarget eventtarget is an exemplar for creating an objects that can be used to add /
remove event listeners on them.
...And 2 more matches
io/file - Archive of obsolete content
remove(path)
removes a file from the file system.
... to
remove directories, use rmdir.
... parameters path : string the path of the file to
remove.
...And 2 more matches
ui/button/action - Archive of obsolete content
you can also add, or change, the listener afterwards: var { actionbutton } = require("sdk/ui/button/action"); var button = actionbutton({ id: "my-button", label: "my button", icon: { "16": "./firefox-16.png", "32": "./firefox-32.png" }, onclick: firstclick }); function firstclick(state) { console.log("you clicked '" + state.label + "'"); button.
removelistener("click", firstclick); button.on("click", subsequentclicks); } function subsequentclicks(state) { console.log("you clicked '" + state.label + "' again"); } the listener is passed a state object that contains all the button's properties.
...the listener is automatically
removed after the first time the event is emitted.
...
removelistener()
removes an event listener.
...And 2 more matches
ui/button/toggle - Archive of obsolete content
d, or change, the listener afterwards: var { togglebutton } = require("sdk/ui/button/toggle"); var button = togglebutton({ id: "my-button", label: "my button", icon: { "16": "./firefox-16.png", "32": "./firefox-32.png" }, onclick: firstclick, onchange: firstchange }); function firstclick(state) { console.log("you clicked '" + state.label + "'"); button.
removelistener("click", firstclick); button.on("click", subsequentclicks); } function subsequentclicks(state) { console.log("you clicked '" + state.label + "' again"); } function firstchange(state) { console.log("you changed '" + state.label + "'"); button.
removelistener("change", firstchange); button.on("change", subsequentchanges); } function subsequentchanges(state) { console.log("...
...the listener is automatically
removed after the first time the event is emitted.
...
removelistener()
removes an event listener.
...And 2 more matches
cfx to jpm - Archive of obsolete content
however there are a few differences, because old compatibility shims have been
removed.
... there is a known bug in simple options handling which may require the workaround described in https://bug635044.bugzilla.mozilla.org/show_bug.cgi?id=1243467 commands and command options permanently
removed commands jpm has dropped support for all the "internal" cfx commands.
... permanently
removed options jpm has dropped support for: --extra-packages --use-config --package-path --pkgdir --no-strip-xpi --harness-option --manifest-overload --output-file --templatedir --keydir --profiledir --overload-modules --static-args --app --no-run --addons --e10s --logfile --dependencies --force-mobile --test-runner-pkg instead of --profiledir and --overload-modules, use --profile and --overload.
...And 2 more matches
Canvas code snippets - Archive of obsolete content
var reader = new filereader; var blob = yield new promise(accept => canvas.toblob(accept, type, options)); reader.readasarraybuffer(blob); yield new promise(accept => { reader.onloadend = accept }); return yield os.file.writeatomic(path, new uint8array(reader.result), { tmppath: path + '.tmp' }); }); } loading a
remote page onto a canvas element the following class first creates a hidden iframe element and attaches a listener to the frame's load event.
... once the
remote page has loaded, the
remotepageloaded method fires.
...
remotecanvas = function() { this.url = 'http://developer.mozilla.org'; };
remotecanvas.canvas_width = 300;
remotecanvas.canvas_height = 300;
remotecanvas.prototype.load = function() { var windowwidth = window.innerwidth - 25; var iframe; iframe = document.createelement('iframe'); iframe.id = 'test-iframe'; iframe.height = '10px'; iframe.width = windowwidth + 'px'; iframe.style.visibility = 'hidden'; iframe.src = this.url; // here is where the magic happens...
...And 2 more matches
Adding Toolbars and Toolbar Buttons - Archive of obsolete content
now let's look at the css work involved in a toolbar that works on the afo
rementioned systems.
...this will save you a lot of time trying to
remove all the css rules that give the buttons a native look.
...keep in mind that you shouldn't assume anything about the location (or presence!) of any specific buttons;
remember users could have moved them or
removed them altogether.
...And 2 more matches
Custom XUL Elements with XBL - Archive of obsolete content
if you use bindings on toolbar elements,
remember to include the css file in the customize dialog, using the style directive in the chrome.manifest file.
... <content> <xul:hbox> <xul:image class="xulshoolhello-person-image" xbl:inherits="src=image" /> <xul:vbox flex="1"> <xul:label xbl:inherits="value=name" /> <xul:description xbl:inherits="value=greeting" /> </xul:vbox> <xul:vbox> <xul:button label="&xulshoolhello.
remove.label;" accesskey="&xulshoolhello.
remove.accesskey;" oncommand="document.getbindingparent(this).
remove(event);" /> </xul:vbox> </xul:hbox> </content> our element is very simple, displaying an image, a couple of text lines and a button.
...in this case we're calling the
remove method, which we will discuss later on.
...And 2 more matches
Observer Notifications - Archive of obsolete content
this example code shows you what an implementation of the nsiobserver interface looks like: let testobserver = { observe : function(asubject, atopic, adata) { if (atopic == "xulschoolhello-test-topic") { window.alert("data received: " + adata); } } } in order for this observer to work, you need to use the observer service that provides methods for you to add,
remove, notify and enumerate observers.
... to
remove an observer for a specific topic, you use the
removeobserver method.
... observerservice.
removeobserver(testobserver, "xulschoolhello-test-topic"); after you have registered some observers to listen to a notification topic, you can then use the notifyobservers method to send a notification to all of them.
...And 2 more matches
Setting Up a Development Environment - Archive of obsolete content
you can do this by opening the automator application, choosing run shell script and then entering the profile-loading script in the textbox: /applications/firefox.app/contents/macos/firefox-bin -no-
remote -p myprofile > /dev/null & you can change "/dev/null" to a file location, in case you want to see dump output from firefox, or other extensions.
... dom inspector the dom inspector used to be part of firefox as an installer option, but since firefox 3 it has been separated as another add-on you can add and
remove.
...mozilla has proven with time that they take memory usage seriously, improving performance on several critical areas and
removing all kinds of memory leaks.
...And 2 more matches
Performance best practices in extensions - Archive of obsolete content
one of firefox's great advantages is its ext
reme extensibility.
... while javascript modules can be ext
remely useful, and provide significant performance benefits, they should be used wisely.
...
remember that any selector in your rule which might match many different nodes is a source of inefficiency during either selector matching or dynamic update processing.
...And 2 more matches
Updating addons broken by private browsing changes - Archive of obsolete content
nsicontentprefservice: getpref, setpref, haspref, hascachedpref,
removepref,
removegroupedprefs,
removeprefsbyname, getprefs, and getprefsbyname all take a required nsiloadcontext argument to indicate the privacy status of the pref in question.
... nsidownload now has retry, cancel,
remove, pause, and resume methods which should be used instead of deprecated similarly-named nsidownloadmanager methods.
... there is a new download-manager-
remove-download-guid notification, which passes an nsisupportscstring subject for the guid or null.
...And 2 more matches
Using the Stylesheet Service - Archive of obsolete content
the stylesheets registered with this api apply to all documents; firefox 18 extended nsidomwindowutils with loadadditionalstylesheet() and
removeadditionalstylesheet() to manage stylesheets for a specific document (bug 737003).
...le-sheet-service;1"] .getservice(components.interfaces.nsistylesheetservice); var ios = components.classes["@mozilla.org/network/io-service;1"] .getservice(components.interfaces.nsiioservice); var uri = ios.newuri("chrome://myext/content/myext.css", null, null); if(!sss.sheetregistered(uri, sss.user_sheet)) sss.loadandregistersheet(uri, sss.user_sheet);
removing a previously registered stylesheet if you wish to
remove a stylesheet that you previously registered, simply use the unregistersheet method.
...
remember to declare the correct namespace if you want to apply stylesheets to xul documents.
...And 2 more matches
nsIDOMOfflineResourceList
it includes methods for adding resources to and
removing resources from the cache, as well as for enumerating the dynamically managed resource list.
... last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) inherits from: nsisupports method overview void mozadd(in domstring uri); boolean mozhasitem(in domstring uri); domstring mozitem(in unsigned long index); void moz
remove(in domstring uri); void swapcache(); void update(); attributes attribute type description mozitems nsidomofflineresourcelist the list of dynamically-managed entries in the offline resource list.
... moz
remove()
removes an item from the list of dynamically managed entries.
...And 2 more matches
nsIDOMStorage
a storage object stores an arbitrary set of key-value pairs, which may be retrieved, modified and
removed as needed.
...keys are stored in a particular order with the condition that this order not change by merely changing the value associated with a key, but the order may change when a key is added or
removed.
... method overview void clear(); domstring getitem(in domstring key); domstring key(in unsigned long index); void
removeitem(in domstring key); void setitem(in domstring key, in domstring data); attributes attribute type description length unsigned long the number of keys stored in the session store.
...And 2 more matches
nsIDeviceMotion
void
removelistener(in nsidevicemotionlistener alistener); void
removewindowlistener(in nsidomwindow awindow); native code only!
...
removelistener() tells the accelerometer to stop sending updates to the specified nsidevicemotionlistener.
... void
removelistener( in nsidevicemotionlistener alistener ); parameters alistener the nsidevicemotionlistener object to which no further updates should be sent.
...And 2 more matches
nsIEditor
ast 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 asuppresstransaction); void
removeattributeorequivalent(in nsidomelement element, in domstring sourceattrname, in boolean asuppresstransaction); void postcreate(); void predestroy(in boolean adestroyingframes); selected content
removal void deleteselection(in short action, in short stripwrappers); document info and file methods void resetmodificationcount(); long g...
...etmodificationcount(); void inc
rementmodificationcount(in long amodcount); void inc
rementmodificationcount(in long amodcount); transaction methods void dotransaction(in nsitransaction txn); void enableundo(in boolean enable); void undo(in unsigned long count); void canundo(out boolean isenabled, out boolean canundo); void redo(in unsigned long count); void canredo(out boolean isenabled, out boolean canredo); void begintransaction(); void endtransaction(); void beginplaceholdertransaction(in nsiatom name); void endplaceholdertransaction(); boolean shouldtxnsetselection(); void setshouldtxnsetselection(in boolean should); inline spellchecking methods ...
...boolean candrag(in nsidomevent aevent); void dodrag(in nsidomevent aevent); void insertfromdrop(in nsidomevent aevent); node manipulation methods void setattribute(in nsidomelement aelement, in astring attributestr,in astring attvalue); boolean getattributevalue(in nsidomelement aelement, in astring attributestr, out astring resultvalue); void
removeattribute(in nsidomelement aelement, in astring aattribute); void cloneattribute(in astring aattribute, in nsidomnode asourcenode); void cloneattributes(in nsidomnode destnode, in nsidomnode sourcenode); nsidomnode createnode(in astring tag, in nsidomnode parent, in long position); void insertnode(in nsidomnode node, in nsidomnode parent, in long aposition); ...
...And 2 more matches
nsIFocusManager
inherits from: nsisupports last changed in gecko 5.0 (firefox 5.0 / thunderbird 5.0 / seamonkey 2.2) implemented by: @mozilla.org/focus-manager;1 as a service: var focusmanager = components.classes["@mozilla.org/focus-manager;1"] .getservice(components.interfaces.nsifocusmanager); method overview void clearfocus(in nsidomwindow awindow); void content
removed(in nsidocument adocument, in nsicontent aelement); native code only!
... native code only!content
removed obsolete since gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1)this feature is obsolete.
... although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
...And 2 more matches
nsIFrameScriptLoader
methods void loadframescript(in astring aurl, in boolean aallowdelayedload, [optional] in boolean aruninglobalscope) void
removedelayedframescript(in astring aurl); jsval getdelayedframescripts(); loadframescript() load a script in the
remote frame.
...for example data:,dump("foo\n"); aallowdelayedload boolean if true, this flag means that the frame script will be loaded into any new frames opened after the loadframescript() call, until
removedelayedframescript() is called for that script.
...
removedelayedframescript()
removes aurl from the list of scripts which support delayed load.
...And 2 more matches
nsIInstallLocation
s/manager;1"] .getservice(components.interfaces.nsiextensionmanager) .getinstalllocation("add-on id") method overview astring getidforlocation(in nsifile file); nsifile getitemfile(in astring id, in astring path); nsifile getitemlocation(in astring id); nsifile getstagefile(in astring id); boolean itemismanagedindependently(in astring id); void
removefile(in nsifile file); nsifile stagefile(in nsifile file, in astring id); attributes attribute type description canaccess boolean whether or not the user can write to the install location with the current access privileges.
...getstagefile() returns the most recently staged package (for example the last xpi or jar in a directory) for an item and
removes items that do not qualify.
...
removefile()
removes a file from the stage.
...And 2 more matches
nsILoadGroup
inherits from: nsirequest last changed in gecko 1.7 method overview void addrequest(in nsirequest arequest, in nsisupports acontext); void
removerequest(in nsirequest arequest, in nsisupports 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).
... groupobserver nsirequestobserver the group observer is notified when requests are added to and
removed from this load group.
...
removerequest()
removes a request from the group.
...And 2 more matches
nsIMicrosummary
1.0 66 introduced gecko 1.8 obsolete gecko 6.0 inherits from: nsisupports 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 void addobserver(in nsimicrosummaryobserver observer); boolean equals(in nsimicrosummary aother); void
removeobserver(in nsimicrosummaryobserver observer); void update(); attributes attribute type description content astring the content of the microsummar...
...since generators and pages can be
remote resources, and we need them to generate the content, this may not always be available.
... needs
removal boolean used when a site author has indicated that a microsummary (or an associated generator) will no longer be available.
...And 2 more matches
nsINavHistoryContainerResultNode
childrenreadonly boolean false if the node's list of children can be modified (by adding or
removing children, or rearranging them), or true if the user interface should not allow the list of children to be altered.
...if this container is a
remote container, this flag may be redefined by the
remote container provider.
...
remotecontainertype obsolete since gecko 1.9 autf8string a string representing the
remote container service api that is responsible for this container.
...And 2 more matches
nsINavHistoryService
, size_is(aresultcount)] out nsinavhistoryquery aqueries, out unsigned long aresultcount, out nsinavhistoryqueryoptions options); 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 nsisupports aclosure); void importhistory(in nsifile file); astring getcharsetforuri(in nsiuri auri); astring setcharsetforuri(in nsiuri auri, in astring acharset); attributes attribute type description hashistoryentries...
... addvisit() obsolete since gecko 22.0 (firefox 22.0 / thunderbird 22.0 / seamonkey 2.19) note: this method was
removed in gecko 22.0.
...adding a visit will automatically inc
rement the visit count for the visited page and will unhide it and/or mark it typed according to the transition type.
...And 2 more matches
nsISHistory
e: var shistory = components.classes["@mozilla.org/browser/shistory;1"] .createinstance(components.interfaces.nsishistory); method overview void addshistorylistener(in nsishistorylistener alistener); nsishentry getentryatindex(in long index, in boolean modifyindex); void purgehistory(in long numentries); void reloadcurrententry(); void
removeshistorylistener(in nsishistorylistener alistener); attributes attribute type description count long the number of toplevel documents currently available in session history.
...documents can be
removed from session history for various reasons.
...during purge operation, the latest documents are maintained and older numentries documents are
removed from history.
...And 2 more matches
nsISelection
nsidomrange getrangeat(in long index); void modify(in domstring alter, in domstring direction, in domstring granularity); void
removeallranges(); void
removerange(in nsidomrange range); void selectallchildren(in nsidomnode parentnode); void selectionlanguagechange(in boolean langrtl); domstring tostring(); attributes attribute type description anchornode nsidomnode returns the node in which the selection begins.
... direction can be one of { "forward", "backward", "left", "right" } granularity can be one of { "character", "word", "line", "lineboundary" }
removeallranges()
removes all nsidomranges from the current selection.
... void
removeallranges(); parameters none
removerange()
removes a range from the current selection.
...And 2 more matches
nsIWindowWatcher
embedding clients need do nothing special about that requi
rement.
... registernotification() clients of this service can register themselves to be notified when a window is opened or closed (added to or
removed from this service).
... unregisternotification() clients of this service can register themselves to be notified when a window is opened or closed (added to or
removed from this service).
...And 2 more matches
nsIWindowsRegKey
void open(in unsigned long rootkey, in astring relpath, in unsigned long mode); nsiwindowsregkey openchild(in astring relpath, in unsigned long mode); acstring readbinaryvalue(in astring name); unsigned long long readint64value(in astring name); unsigned long readintvalue(in astring name); astring readstringvalue(in astring name); void
removechild(in astring relpath); void
removevalue(in astring name); void startwatching(in boolean recurse); void stopwatching(); void writebinaryvalue(in astring name, in acstring data); void writeint64value(in astring name, in unsigned long long data); void writeintvalue(in astring name, in unsigned long data); void writestringvalue(in a...
...
removechild() this method
removes a child key and all of its values.
...void
removechild( in astring relpath ); parameters relpath the relative path from this key to the key to be
removed.
...And 2 more matches
Web Performance
web performance is the objective measu
rements and the perceived user experience of load time and runtime.
...web performance includes both objective measu
rements like time to load, frames per second, and time to become interactive, and subjective experiences of how long it felt like it took the content to load.
...resource timings are detailed network timing measu
rements regarding the loading of an application's resources.optimizing startup performanceregardless of platform, it's always a good idea to start up as quickly as possible.
...And 2 more matches
Progressive loading - Progressive web apps (PWAs)
loading via javascript the app.js file processes the data-src attributes like so: let imagestoload = document.queryselectorall('img[data-src]'); const loadimages = (image) => { image.setattribute('src', image.getattribute('data-src')); image.onload = () => { image.
removeattribute('data-src'); }; }; the imagestoload variable contains references to all the images, while the loadimages function moves the path from data-src to src.
... when each image is actually loaded, we
remove its data-src attribute as it's not needed anymore.
... we render the images with a blur at the beginning, so a transition to the sharp one can be achieved: article img[data-src] { filter: blur(0.2em); } article img { filter: blur(0em); transition: filter 0.5s; } this will
remove the blur effect within half a second, which looks good enough for the "loading" effect.
...And 2 more matches
fill - SVG: Scalable Vector Graphics
value freeze (keep the state of the last animation frame) |
remove (keep the state of the first animation frame) default value
remove animatable no animatecolor warning: as of svg animation 2 <animatecolor> is deprecated and shouldn't be used.
... value freeze (keep the state of the last animation frame) |
remove (keep the state of the first animation frame) default value
remove animatable no animatemotion for <animatemotion>, fill defines the final state of the animation.
... value freeze (keep the state of the last animation frame) |
remove (keep the state of the first animation frame) default value
remove animatable no animatetransform for <animatetransform>, fill defines the final state of the animation.
...And 2 more matches
selection - Archive of obsolete content
function mylistener() { console.log("a selection has been made."); } var selection = require("sdk/selection"); selection.on('select', mylistener); // you can
remove listeners too.
... selection.
removelistener('select', mylistener); iterating over discontiguous selections discontiguous selections can be accessed by iterating over the selection module itself.
...setting the selection
removes all current selections, inserts the specified text at the location of the first selection, and selects the new text.
...setting the selection
removes all current selections, inserts the specified text at the location of the first selection, and selects the new text.
/loader - Archive of obsolete content
loader } = require('toolkit/loader'); let loader = loader({ paths: { // resolve all modules starting with `toolkit/` as follows: // toolkit/foo -> resource://gre/modules/commonjs/toolkit/foo.js // toolkit/foo/bar -> resource://gre/modules/commonjs/toolkit/foo/bar.js 'toolkit/': 'resource://gre/modules/commonjs/toolkit/', // resolve all other non-relative module requi
rements as follows: // devtools/gcli -> resource:///modules/devtools/gcli.js // panel -> resource:///modules/panel.js '': 'resource:///modules/', } }) all relative url require() statements (those that start with ".") are first resolved relative to the requirer module id and the result of it is then resolved using the paths option.
... loader } = require('toolkit/loader'); let loader = loader({ paths: { // resolve all modules starting with `toolkit/` as follows: // toolkit/foo -> resource://gre/modules/commonjs/toolkit/foo.js // toolkit/foo/bar -> resource://gre/modules/commonjs/toolkit/foo/bar.js 'toolkit/': 'resource://gre/modules/commonjs/toolkit/', // resolev all other non-relative module requi
rements as follows: // devtools/gcli -> resource:///modules/devtools/gcli.js // panel -> resource:///modules/panel.js '': 'resource:///modules/', // allow relative urls and resolve them to add-on root: // ./main -> resource://my-addon/root/main.js './': 'resource://my-addon/root/' } }); the order of keys in paths is irrelevant since they are sorte...
...any attempt to load a module not listed in the manifest is unauthorized and is rejected with an exception: let { loader } = require('toolkit/loader'); let manifest = { './main': { 'requi
rements': { 'panel': 'sdk/panel' } }, 'sdk/panel': { 'requi
rements': { 'chrome': 'chrome' } } 'chrome': { 'requi
rements': {} } }; let loader = loader({ resolve: function(id, requirer) { let requi
rements = manifest[requirer].requi
rements; if (id in manifest) return requi
rements[id]; else throw error('module "' + requirer + '" has no autho...
... paths: { // resolve all non-relative module requi
rements to // `resource:///modules/` base uri.
frame/hidden-frame - Archive of obsolete content
usage the module exports a constructor function, hiddenframe, and two other functions, add and
remove.
...
remove unregisters a frame, unloading any content that was loaded in it.
... parameters hiddenframe : hiddenframe the frame to add
remove(hiddenframe) unregister a hidden frame, unloading any content that was loaded in it.
... parameters hiddenframe : hiddenframe the frame to
remove hiddenframe hiddenframe objects represent hidden frames.
ui/sidebar - Archive of obsolete content
the difference between on and once is that on will continue listening until it is
removed, whereas once is
removed automatically upon the first event it catches.
...
removelistener(type, listener) unregisters/
removes an event listener from the sidebar.
... if you listen to attach, and in the listener take a reference to the worker object that's passed into it, so you can send it messages later on, then you should probably listen to detach, and in its handler,
remove your reference to the worker.
... here's an add-on that adds each worker to an array in the attach handler, and makes sure that its references are cleaned up by listening to detach and
removing workers as they are detached: var workerarray = []; function attachworker(worker) { workerarray.push(worker); } function detachworker(worker) { var index = workerarray.indexof(worker); if(index != -1) { workerarray.splice(index, 1); } } var sidebar = require("sdk/ui/sidebar").sidebar({ id: 'my-sidebar', title: 'my sidebar', url: require("sdk/self").data.url("sidebar.html"), onattach: attachworker, ondetach: detachworker }); show this event is emitted when the sidebar is shown, as a result of any of the following: calling the sidebar's show() method, when the sidebar is not shown in the currently active ...
util/array - Archive of obsolete content
remove(array, element) if the given array contains the given element, this function
removes the element from the array and returns true.
... let {
remove } = require('sdk/util/array'); let a = ['alice', 'bob', 'carol'];
remove(a, 'dave'); // false
remove(a, 'bob'); // true
remove(a, 'bob'); // false console.log(a); // ['alice', 'carol'] parameters array : array the array to
remove the element from.
... element : * the element to
remove from the array if it contains it.
... returns boolean : a boolean indicating whether or not the element was
removed from the array.
Rosetta - Archive of obsolete content
"); if (!odicts.hasownproperty(smimetype)) { alert("rosetta.translatescript() \u2013 unknown mime-type \"" + smimetype + "\": script ignored."); return; } var ocompiled = document.createelement("script"); oscript.parentnode.insertbefore(obaton, oscript); oscript.parentnode.
removechild(oscript); for (var aattrs = oscript.attributes, nattr = 0; nattr < aattrs.length; nattr++) { ocompiled.setattribute(aattrs[nattr].name, aattrs[nattr].value); } ocompiled.type = "text\/ecmascript"; if (oxhr200) { ocompiled.src = "data:text\/javascript," + encodeuricomponent(odicts[smimetype](oxhr200.responsetext)); } ocompiled.text = oxhr200 ?
... accessible."); } function reqsuccess () { createscript(this.refscript, this); } function getsource (oscript) { var oreq = new xmlhttprequest(); oreq.onload = reqsuccess; oreq.onerror = reqerror; oreq.refscript = oscript; oreq.open("get", oscript.src, true); oreq.send(null); } function parsescript (oscript) { if (oscript.hasattribute("type") && !rigno
remimes.test(oscript.getattribute("type").tolowercase())) { oscript.hasattribute("src") ?
... getsource(oscript) : createscript(oscript); } } function parsedocument () { for ( var ascripts = document.getelementsbytagname("script"), nidx = 0; nidx < ascripts.length; parsescript(ascripts[nidx++]) ); } var odicts = {}, rigno
remimes = /^\s*(?:text\/javascript|text\/ecmascript)\s*$/; this.translatescript = parsescript; this.translateall = parsedocument; this.appendcompiler = function (vmimetypes, fcompiler) { if (arguments.length < 2) { throw new typeerror("rosetta.appendcompiler() \u2013 not enough arguments"); } if (typeof fcompiler !== "function") { throw new typeerror("rosetta.appendcompiler() \u2013 second argument must be a function"); } if (!array.isarray(vmimetypes)) { ...
...="content-type" content="text/html; charset=utf-8" /> <title>rosetta c example</title> <script type="text/javascript" src="rosetta.js"></script> <script type="text/javascript" src="rosetta_c.js"></script> <script type="text/x-csrc"> #include <stdio.h> int main () { printf("hello world number 1!\n"); return 0; } </script> <script type="text/x-c" src="example.c"></script> </head> <body> <p>lo
rem ipsum</p> <script type="text/javascript"> rosetta.translateall(); </script> </body> </html> example.c: c example #include <stdio.h> int main () { printf("hello world number 2!\n"); return 0; } if creating a compiler for the c programming language, as in the example above, can really look a huge task, there are many dialects of ecmascript which could be easily translated to standard ecm...
Displaying web content in an extension without security issues - Archive of obsolete content
one of the most common security issues with extensions is execution of
remote code in privileged context.
...but if you really have to do this, you will also have to
remove the frame element from the document and insert it back.
...however, if a "data:" document is the topmost content document, there is no parent document (
remember, content documents have no access to the chrome documents above them) and consequently no privileges.
...for example, your template document might have this code: <style type="text/css"> #entrytemplate { display: none; } </style> <div id="entrytemplate"> <div class="title"></div> <div class="description"></div> </div> now to insert a new entry in the document you would do the following: var template = doc.getelementbyid("entrytemplate"); var entry = template.clonenode(true); entry.
removeattribute("id"); entry.getelementsbyclassname("title")[0].textcontent = title; entry.getelementsbyclassname("description")[0].textcontent = description; template.parentnode.appendchild(entry); the important difference here is that the result will always have the same structure as the template tag.
Install Manifests - Archive of obsolete content
in firefox 3 this has been
removed.
...other versions will ignore the restrictions and install the add-on regardless of the requi
rements.
... see replacement for install.rdf property "requires" discussion for rationale behind
removing this feature and the suggested workaround.
...your extension will be disabled if any of the specified requi
rements fail.
Chapter 3: Introduction to XUL—How to build a more intuitive UI - Archive of obsolete content
so when changing the attribute’s value using a dom function for example, do not use setattribute('disabled', false) — instead, use
removeattribute('disabled').
... var item = document.getelementbyid('menu-item-custom'); function handlecommandevent(aevent) { alert('ok'); item.
removeeventlistener('command', handlecommandevent, false); item.parentnode.
removechild(item); } item.addeventlistener('command', handlecommandevent, false); listing 11: additions and deletions using a dynamic event listener special menu items much like input elements in html, menuitem elements can operate like checkboxes and radio buttons by setting their type attributes.
... figure 8: a button with an image icon attribute value icon attribute value accept close cancel print help add open
remove save refresh find go-forward clear go-back yes properties no select-font apply select-color table 2: values for the icon attribute toolbar buttons the toolbarbutton element is the element used to define toolbar buttons.
...additional attributes that accompany this are min and max to set minimum and maximum values, and inc
rement, which sets the amount by which one click on the spin buttons will change the displayed value.
Adding sidebars - Archive of obsolete content
they are ext
remely useful, and you'll find yourself using them in many situations besides sidebars.
...this way you can still use dtd, and the code
remains simple.
...
remember that you can't have flexibility and absolute positioning at the same time.
...we would use data from a datasource such as a database or a
remote api.
Appendix F: Monitoring DOM changes - Archive of obsolete content
unfortunately, adding listeners for any of these events to a document has a highly deleterious effect on performance, an effect which is not mitigated in the slightest by later
removing those listeners.
...in particular, the ::before and ::after pseudo-elements, and pseudo-classes like :hover and :active can be used to achieve ext
remely complex dynamic behavior.
... style = components.utils.getweakreference(style); return function unwatch() { if (style.get()) { style.get().ownerdocument.
removeeventlistener('animationstart', listener, false); style.get().parentnode.
removechild(style.get()); } }; } watchnodes.namespace = 'mozcsskeyframerule' in window ?
... '-'; watchnodes._i = 0; } else { watchnodes = function watchnodes(selector, callback, doc) { doc = doc || document; doc.addeventlistener('domnodeinserted', listener, false); function listener(event) { if (event.target.mozmatchesselector(selector)) callback.call(this, event); } return function unwatch() { doc.
removeeventlistener('domnodeinserted', listener, false); }; } } xbl xbl is similar in approach to the above animation-based method.
JavaScript Object Management - Archive of obsolete content
javascript has a host of features that make it ext
remely flexible, but it also has some disadvantages, as it is not as strict as other languages, such as java.
...this message has been shown 5 times." keep the counter as a variable in the browseroverlay object, and inc
rement it every time the message is going to be shown.
... once you have this working right, try the following: open the message a few times, so that the number inc
rements.
...common cases include interacting with a local database or a
remote api.
Local Storage - Archive of obsolete content
this is the default behavior when firefox is uninstalled: the profile information
remains intact and it will be there waiting for you if firefox is installed again.
...in the initialization method of your one of your "common" or startup objects, add the following code: let formatter = new log4moz.basicformatter(); let root = log4moz.repository.rootlogger; let logfile = this.getlocaldirectory(); //
remember this?
...adding or
removing columns, or making other changes to your db structure from one version of your extension to the next will probably cause breakage of user data in older versions.
...the rdf api may be
removed at some point in the future because it requires a great deal of code even for the simplest tasks, and it currently sees little maintenance, so we don't recommend using it unless you really have to.
Security best practices in extensions - Archive of obsolete content
remote javascript and content there are a number of ways of
remote scripts being used in extensions.
... non-chrome urls in chrome xul or html such as the following example are not allowed: <script type="text/javascript" src="http://mysite.greatsite.com/js/wow-content.js" /> in general, scripts that are from
remote sources that run in the chrome context are not acceptable, as many times the source of the script can never be 100% guaranteed, and they are vulnerable to man-in-the-middle attacks.
... the only legitimate environment for
remote scripts is to run in a sandbox.
...the usefulness of it and power of how it works is best illustrated by the popular greasemonkey extension, which works on the p
remise of scripts being downloaded and stored locally, to be injected into the web content context via the sandbox.
Signing an XPI - Archive of obsolete content
tree "signed/" signed successfully re-package xpi change to the signed/ folder, create a new zip with the meta-inf/zigbert.rsa file listed first, then add the
remaining files.
...mytestcert u,u,cu certum root ca ct,c,c certum level iii ca ct,c,c the name given to the newly issued certificate in the mozilla firefox keystore is not the easiest key alias in the world to
remember, so i've added an additional step here that lets you rename it (its not just a simple rename operation, unfortunately).
...when the key/certificate pair is imported from mozilla firefox afterwards, the private key will be added but the certificate name will
remain the same.
... copy install.rdf build >> %x%\build.log copy chrome.manifest build >>%x%\build.log signtool.exe -d c:\projects\codesigning -k "code signing (certum)" -p "password" build/ >> %x%\build.log cd build zip "%x%.xpi" meta-inf/zigbert.rsa >> %x%\build.log zip -r -d "%x%.xpi" * -x meta-inf/zigbert.rsa >> %x%\build.log
rem copy "%x%.xpi" ..\..\..\http\fsb.xpi >> %x%\build.log move "%x%.xpi" ..\ >> %x%\build.log cd ..
Promises - Archive of obsolete content
the following examples make use of the task api, which harnesses generator functions to
remove some of the syntactic clutter of raw promises, such that asynchronous promise code more closely resembles synchronous, procedural code.
... 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.
... */ jsonstore.prototype.save = function () { return this.saver.savechanges(); }; example usage: var addon_id = "extension@example.com"; var config_default = { "foo": "bar", }; new jsonstore("config", config_default).then(store => { console.log(store.data); store.data.baz = "quux"; store.save(); }) the following changes will
remove the dependency on aom wrappers: let addon = yield new promise(accept => addonmanager.getaddonbyid(addon_id, accept)); let dir = yield new promise(accept => addon.getdatadirectory(accept)); xmlhttprequest function request(url, options) { return new promise((resolve, reject) => { let xhr = new xmlhttprequest; xhr.onload = event => r...
Index of archived content - Archive of obsolete content
/file io/text-streams lang/functional lang/type loader/cuddlefish loader/sandbox net/url net/xhr places/bookmarks places/favicon places/history platform/xpcom preferences/event-target preferences/service
remote/child
remote/parent stylesheet/style stylesheet/utils system/child_process system/environment system/events system/runtime system/unload system/xul-app tabs/utils test/assert test/harness test/httpd t...
...adding sidebars adding windows and dialogs appendix a: add-on performance appendix b: install and uninstall scripts appendix c: avoiding using eval in add-ons appendix d: loading scripts appendix e: dom building and insertion (html & xul) appendix f: monitoring dom changes connecting to
remote content custom xul elements with xbl getting started with firefox extensions handling preferences intercepting page loads introduction javascript object management local storage mozilla documentation roadmap observer notifications setting up a development ...
... blogposts build bundlelibrary bundles configuration extensions faq hostwindow installer scripting styling proxy ui pydom rdf api rdf datasource how-to reading textual data
remote xul
remote debugging rsyncing the cvs repository running windows debug builds downloaded from tinderbox sxsw 2007 presentations safe browsing safe browsing: design documentation safely loading uris same origin policy for xbl space manager detailed design space manager high level design ...
...fier npn_invalidaterect npn_invalidateregion npn_invoke npn_invokedefault npn_memalloc npn_memflush npn_memfree npn_pluginthreadasynccall npn_posturl npn_posturlnotify npn_releaseobject npn_releasevariantvalue npn_reloadplugins npn_
removeproperty npn_requestread npn_retainobject npn_setexception npn_setproperty npn_setvalue npn_setvalueforurl npn_status npn_utf8fromidentifier npn_useragent npn_version npn_write npobject npp nppvariable npp_destroy ...
Images, Tables, and Mysterious Gaps - Archive of obsolete content
whether you've sliced up a logo so it fits in well with the design, or used tons of single-pixel spacer gifs, the principles (and perils)
remain largely the same.
...the markup of both table and cell
remains unchanged-- it's the rendering mode that's different.
... lo
rem ipsum, dolor sit amet...</p></td></tr></table> as we see in figure 8, that works well in some cases but not so well in others.
...if you're using strict markup, or you need for other reasons to be in "standards" rendering, then
remember these guidelines: any image alone in a table cell (e.g., single-pixel spacer images) should be made block-level.
Space Manager High Level Design - Archive of obsolete content
when a float is inc
rementally reflowed, the space manager is notified if the float's region has changed.
...during the inc
remental reflow of dirty lines the block frame may encounter lines that are not dirty.
...bandrects are a linked list (provided by prcliststr super-class) and also provide some geometry-management methods (splitvertically, splithorizontally) and some methods that query or manipulate the frames associated with the band (isoccupiedby, addframe,
removeframe).
...should be private (compiles fine) nsblockframe::paint is mucking with nsblockbanddata in and #if 0 block -
remove that and the include (compiles fine) nsspacemanger has no way of clearing the float damage interval set - this might be needed if the spacemanager persists beyond a reflow original document information author(s): marc attinasi other contributors: alex savulov, chris waterson, david baron, josh soref last updated date: november 20, 2005 ...
URIs and URLs - Archive of obsolete content
thus, a resource can
remain constant even when its content---the entities to which it currently corresponds---changes over time, provided that the conceptual mapping is not changed in the process.
...for backwards compatibility, an implementation may work around such references by
removing the scheme if it matches that of the base uri and the scheme is known to always use the "hier_part" syntax.
... the parser can then continue with the steps below for the
remainder of the reference components.
...registry-based authoritys as defined in rfc 2396 many uri schemes include a top hierarchical element for a naming authority, such that the namespace defined by the
remainder of the uri is governed by that authority.
Introduction to XUL - Archive of obsolete content
scope this paper makes no attempt to explain requi
rements.
... we don't have a current "requi
rements" document.
...mozilla's xul content models also support nifty features like local/
remote merging; see the xul and rdf document for details.
... <html:script type="application/javascript"> // dialog initialization code function initwindow() { var checkbox = document.getelementbyid("
remember"); if (checkbox) checkbox.checked = true; } </html:script> javascript can be referenced as in html documents: as onclick handlers and the like.
MenuItems - Archive of obsolete content
<script> function changetoolbarstate(event) { if (event.target.getattribute("checked") == "true") hidetoolbar(); event.target.
removeattribute("checked"); } else { if (!showtoolbar()) return; event.target.setattribute("checked", "true"); } } </script> ...
... when clearing the checked state, the checked attribute should be
removed rather than just set to false.
... in the example, this is done by using the
removeattribute method.
... if (gundobuffertype == "typing") menuitem.label = "undo typing"; else if (gundobuffertype == "paste") menuitem.label = "undo paste"; else menuitem.label = "undo"; see modifying a menu for examples of how to add and
remove items from a menu ...
Panels - Archive of obsolete content
for instance, to have the textbox initially focused in the example above: <panel id="search-panel" onpopupshown="document.getelementbyid('search').focus()"> to disable the adjusting of focus when a panel is opened, set the noautofocus attribute to true: <panel noautofocus="true"> this will cause the focus to
remain on the element within the main window that has focus when the panel is opened.
... when a panel is closed, the focus is
removed from the element within the panel which has the focus event, if any, and whatever element was focused before the panel was opened is refocused.
... you can prevent the focus from being
removed by setting the noautofocus attribute to true as above.
... this process of
removing the focus when opening and closing a popup occurs after the popupshowing event or popuphiding event is fired, which means that if those events are cancelled, the focus is not adjusted.
Multiple Rules - Archive of obsolete content
for instance, if the first rule matched all folders, then the
remaining rules can assume that any results that get past the first rule are not folders.
...it also allows a common technique where the last rule in a template has no conditions, allowing all
remaining results that didn't match earlier rules to match this last rule.
...the
remaining two photos do not match the first rule, however they do match the second rule, as the second rule has no where clauses.
... operatordescriptionexample equalsmatch if a value equals anothermatch a specific value lessmatch if a number is less than anothermatch only negative values with one rule, positive values with another greatermatch if a number is greater than anotherdisplay values greater than 1000 differently befo
rematch if a value comes before another alphabetically aftermatch if a value comes after another alphabetically startswithmatch if a value starts with a specific string endswithmatch if a value ends with a specific string containsmatch if a value contains a substringto highlight results that contain a search term here is an example using the 'contains' operator: <vbox datasources="people.xml" ref="...
textbox (Toolkit autocomplete) - Archive of obsolete content
this is done inc
rementally, so typing more letters with select more specific items.
...a scrollbar will appear so the user can scroll through the
remaining items.
...there are several attributes that allow the number textbox to be configured, including decimalplaces, min, max, inc
rement, wraparound, hidespinbuttons, and textbox.value.
...lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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.
Adding Style Sheets - Archive of obsolete content
if your xul file is stored
remotely and accessed via an http url, you can store the style sheet
remotely as well.
... some of the styles in the code above have been
removed.
...this can be done with the code below, allowing you to
remove the import from the xul file: style import from xul: <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> style import from css: @import url(chrome://global/skin/); the second syntax is preferred because it reduces the number of dependencies within the xul file itself.
...
remove the global style sheet import from findfile.xul and add the import to findfile.css.
Focus and Selection - Archive of obsolete content
the blur event is used to respond when the focus is
removed from an element.
...we could extend this example to
remove the text when the blur event occurs.
.../there.is.only.xul"> <script> function init(){ addeventlistener("focus",setfocusedelement,true); } function setfocusedelement(){ var focused = document.commanddispatcher.focusedelement; document.getelementbyid("focused").value = focused.tagname; } </script> <hbox> <label control="username" value="user name:"/> <textbox id="username"/> </hbox> <button label="hello"/> <checkbox label="
remember this decision"/> <label id="focused" value="-no focus-"/> </window> in this example, a focus event handler is attached the window.
...the blur method can be used to
remove the focus from an element.
Scroll Bars - Archive of obsolete content
the syntax of a scroll bar is as follows: <scrollbar id="identifier" orient="horizontal" curpos="20" maxpos="100" inc
rement="1" pageinc
rement="10"/> the attributes are as follows: id the unique identifer of the scroll bar orient this specifies the direction of the scroll bar.
... inc
rement the value here specifies how much the value of curpos changes by when the user clicks on one of the scroll bar arrows.
... pageinc
rement the value here specifies how much the value of curpos changes by when the user clicks pages through the scroll bar, which can be done by clicking on the tray between the box and the arrows.
...when the user clicks the scroll bar arrows, the thumb will move by the amount specified by the value inc
rement.
XUL accessibility guidelines - Archive of obsolete content
if you find nested groupboxes visually unappealing, use css to hide the border of the inner groupbox so that it can
remain in the code to benefit users of assistive technologies.
...for example, the first item in the privacy panel in the firefox option dialog (discussed and shown above) is [checkbox]
remember visited pages for the last [textbox] days.
... the difficulty here arises from the fact that the correct label for the checkbox ("
remember visited pages for the last x days.") includes three different pieces, the second of which is the current value entered into the textbox.
... <checkbox id="
rememberhistorydays" aria-labelledby="historydaysprelabel historybox historydayspostlabel"> <label id="historydaysprelabel">
remember visited pages for the last</label> <textbox id="historydays" aria-labelledby="historydaysprelabel historybox historydayspostlabel"/> <label id="historydayspostlabel" >days.</label> the aria-labelledby attribute comes in handy for controls embedded within control...
arrowscrollbox - Archive of obsolete content
attributes clicktoscroll, disabled, smoothscroll, tabindex properties disabled, scrollboxobject, scrollinc
rement, smoothscroll, tabindex methods ensureelementisvisible, scrollbyindex, scrollbypixels examples <arrowscrollbox orient="vertical" flex="1"> <button label="red"/> <button label="blue"/> <button label="green"/> <button label="yellow"/> <button label="orange"/> <button label="silver"/> <button label="lavender"/> <button label="gold"/> <button label="turquoise"/> <butt...
...lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width clicktoscroll type: boolean clicktoscroll, if true, the arrows must be clicked to scroll the scrollbox content.
... scrollinc
rement type: integer a read only property that lets you retrieve the number of pixels by which scrolling will occur when the arrowscrollbox is clicked.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
iframe - Archive of obsolete content
currently, xul iframes running in
remote processes are not supported.
... if you want to run content in a
remote process, use a xul browser element.
...lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessibletype type: integer a value indicating the type of accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related nsiaccessibleprovider ...
menu - Archive of obsolete content
attributes acceltext, accesskey, allowevents, command, crop, disabled, image, label, menuactive, open, sizetopopup, tabindex, value properties accessibletype, accesskey, command, control, crop, disabled, image, itemcount, label, labelelement, menupopup, open, parentcontainer, selected, tabindex, value methods appenditem, getindexofitem, getitematindex, insertitemat,
removeitemat style classes menu-iconic example <menubar id="sample-menubar"> <menu id="file-menu" label="file"> <menupopup id="file-popup"> <menuitem label="new"/> <menuitem label="open"/> <menuitem label="save"/> <menuseparator/> <menuitem label="exit"/> </menupopup> </menu> <menu id="edit-menu" label="edit"> <menupopup id="edit-popup"> <men...
...lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 it to the end of the existing list of items.
...
removeitemat( index ) return type: element
removes the child item in the element at the specified index.
... the method returns the
removed item.
radiogroup - Archive of obsolete content
attributes disabled, focused, preference, tabindex, value properties accessibletype, disabled, focuseditem, itemcount, selectedindex, selecteditem, tabindex, value methods appenditem, checkadjacentelement, getindexofitem, getitematindex, insertitemat,
removeitemat examples <radiogroup> <radio id="orange" label="red"/> <radio id="violet" label="green" selected="true"/> <radio id="yellow" label="blue"/> </radiogroup> attributes disabled type: boolean indicates whether the element is disabled or not.
...lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 it to the end of the existing list of items.
...
removeitemat( index ) return type: element
removes the child item in the element at the specified index.
... the method returns the
removed item.
scrollbar - Archive of obsolete content
attributes curpos, inc
rement, maxpos, pageinc
rement examples <scrollbar curpos="5" maxpos="50"/> attributes curpos type: integer the current position of the scrollbar, which ranges from 0 to the value of the maxpos attribute.
... inc
rement type: integer the amount by which the curpos (for scroll bars) or value (for number boxes and scale) attribute changes when the arrows are clicked(or scales are dragged).
... pageinc
rement type: integer the amount by which the value of the curpos or value attribute changes when the tray of the scroll bar (the area in which the scroll bar thumb moves) is clicked, or when the page up or page down keys are pressed.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
tabs - Archive of obsolete content
attributes closebutton, disableclose, disabled, onclosetab, onnewtab, onselect, setfocus, selectedindex, tabbox, tabindex, tooltiptextnew, value, properties accessibletype, disabled, itemcount, selectedindex, selecteditem, tabindex, value, methods advanceselectedtab, appenditem, getindexofitem, getitematindex, insertitemat,
removeitemat examples (example needed) attributes closebutton obsolete since gecko 1.9.2 type: boolean if this attribute is set to true, the tabs row will have a "new tab" button and "close" button on the ends.
...lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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, the currently selected tab changes to the next tab.
...
removeitemat( index ) return type: element
removes the child item in the element at the specified index.
... the method returns the
removed item.
timepicker - Archive of obsolete content
attributes disabled, hideseconds, inc
rement, readonly, tabindex, value properties amindicator, datevalue, disabled, hideseconds, hour, hourleadingzero, inc
rement, is24hourclock, ispm, minute, minuteleadingzero, pmindicator, readonly, second, secondleadingzero, tabindex, value examples <timepicker value="12:05"/> attributes disabled type: boolean indicates whether the element is disabled or not.
... inc
rement type: integer indicates the number of minutes to skip each time the arrows are pressed.
... inc
rement type: integer gets and sets the value of the inc
rement attribute.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsidomxulcontrolelement ...
tree - Archive of obsolete content
this is done inc
rementally, so typing more letters with select more specific items.
...the onselect event will be sent for each item added to or
removed from the selection.
...this information will be
remembered for the next time the xul file is opened.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 cell, which is specified by row index number and the nsitreecolumn in which it is located.
XULRunner 1.8.0.1 Release Notes - Archive of obsolete content
system requi
rements before installing, make sure your computer meets the system requi
rements.
... the system requi
rements for xulrunner are the same as the system requi
rements for firefox.
...
remove the xulrunner directory.
... to
remove all installed versions of xulrunner,
remove the /library/frameworks/xul.framework directory.
XULRunner tips - Archive of obsolete content
zapps/content/extensions/extensions.xul?type=extensions"); pref("xpinstall.dialog.progress.type.skin", "extension:manager-themes"); pref("xpinstall.dialog.progress.type.chrome", "extension:manager-extensions"); pref("extensions.update.enabled", true); pref("extensions.update.interval", 86400); pref("extensions.dss.enabled", false); pref("extensions.dss.switchpending", false); pref("extensions.igno
remtimechanges", false); pref("extensions.logging.enabled", false); pref("general.skins.selectedskin", "classic/1.0"); // nb these point at amo pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties"); pref("extensions.getmoreextensionsurl", "chrome://mozapps/locale/extensions/extensions.properties"); pref("extensions.getmorethemesurl", "chrome://mozapps/locale/extens...
...ions/extensions.properties"); if your application is based on gecko 2.0, you need to register a component through the new component registration because the extension manager uses fuel, namely application.restart(), to restart your xulrunner-based application after any change (installation,
removal, enabling, disabling) in the extensions' list: copy files fuelapplication.js and fuelapplication.manifest from browser/fuel/src for instance into your components/ directory tweak the line #include ../../../toolkit/components/exthelper/extapplication.js in your copy of fuelapplication.js as needed make sure to declare the fuel module and the two files in your components/makefile.in as in browser/fuel/src/makefile.in rebuild...
...rval", 2000); pref("browser.download.manager.retention", 2); pref("browser.download.manager.showwhenstarting", true); pref("browser.download.manager.usewindow", true); pref("browser.download.manager.closewhendone", true); pref("browser.download.manager.opendelay", 0); pref("browser.download.manager.focuswhenstarting", false); pref("browser.download.manager.flashcount", 2); // pref("alerts.slideinc
rement", 1); pref("alerts.slideinc
rementtime", 10); pref("alerts.totalopentime", 4000); pref("alerts.height", 50); if you are missing preferences that a dialog requires, you will get the following errors: component returned failure code: 0x8000ffff (ns_error_unexpected) [nsiprefbranch.getboolpref] error: dialog has no properties source file: chrome://mozapps/content/downloads/u...ontenttype.xul l...
... pref("signon.
remembersignons", true); pref("signon.expi
remasterpassword", false); pref("signon.signonfilename", "signons.txt"); you also need to get an instance of the login manager service, which internally initializes the system: components.classes["@mozilla.org/login-manager;1"].getservice(components.interfaces.nsiloginmanager); using firefox to run xulrunner applications firefox 3 and up contain the xulrunner runtime.
Gecko Compatibility Handbook - Archive of obsolete content
- some inline examples were
removed because of technical limitations.
... they are actually replaced by ''-(example
removed)-'' the goal of this handbook is to help you update websites to work with standards-based browsers and properly detect gecko.
... <style type="text/css"> #id1 { text-decoration: line-through; } #id1 { text-decoration: underline; } </style> <div id="id1"> should be line-through </div> <div id="id1"> should be underline </div> -(example
removed)- note that the w3c's html validator will flag html id attributes as duplicates if they only differ due to case.
... css class names should be case-sensitive <style type="text/css"> .class1 { font-size: 1em; } .class1 { font-size: 2em; } </style> <div> <div class="class1"> should be font-size: 1em; </div> <div class="class1"> should be font-size: 2em; </div> -(example
removed)- gecko implements the case sensitivity of class names correctly and will display this example correctly while internet explorer treats all css classnames's as case-insensitive and will not display this example correctly.
Mozilla release FAQ - Archive of obsolete content
if you posted it to the mailing list/newsgroups,
remember that on usenet, people are not always polite to each other.
...go dig through the makefiles in config and
remove the offending portions, and see if that fixes things.
...here are a few representative systems (please send your specs in to me)
removed because the tree has changed enough that we'll probably need new times for all the builds.
...much of the old code cannot be released due to legal concerns, and at the time of mozilla's initial release, that code was
removed from the tree.
Extentsions FAQ - Archive of obsolete content
"); var replaceme = document.getelementbyid("replaceme"); replaceme.parentnode.replacechild(newnode, replaceme); is it possible to place an image in the window that can be moved to anywhere in the window, and always
remain on top of everything else?(similiar to using position:absolute and-index:100000 in html) you can almost do this with a stack: <window ...> <stack flex="1"> <image top="40" left="80"/> <vbox> other content here </vbox> </stack> </window> the only restriction is that your image can't overlap the right or bottom of the window.
... you must
remove updateurl from the install.rdf and use a known to amo minversion/maxversion.
... friday, october 06 - 13, 2006 (↑ top) any suggestions to
remove tool tip appears on the menu it when it should not?
... those will be completely
removed upon next application launch.
NPClass - Archive of obsolete content
syntax struct npclass { uint32_t structversion; npallocatefunctionptr allocate; npdeallocatefunctionptr deallocate; npinvalidatefunctionptr invalidate; nphasmethodfunctionptr hasmethod; npinvokefunctionptr invoke; npinvokedefaultfunctionptr invokedefault; nphaspropertyfunctionptr hasproperty; npgetpropertyfunctionptr getproperty; npsetpropertyfunctionptr setproperty; np
removepropertyfunctionptr
removeproperty; npenumerationfunctionptr enumerate; npconstructfunctionptr construct; }; warning: don't call these routines directly.
...
removeproperty called by npn_
removeproperty() to
remove a given property from a specified npobject.
... returns true if the property was successfully
removed, otherwise returns false.
... npvariant *result); typedef bool (*nphaspropertyfunctionptr)(npobject *npobj, npidentifier name); typedef bool (*npgetpropertyfunctionptr)(npobject *npobj, npidentifier name, npvariant *result); typedef bool (*npsetpropertyfunctionptr)(npobject *npobj, npidentifier name, const npvariant *value); typedef bool (*np
removepropertyfunctionptr)(npobject *npobj, npidentifier name); typedef bool (*npenumerationfunctionptr)(npobject *npobj, npidentifier **value, uint32_t *count); typedef bool (*npconstructfunctionptr)(npobject *npobj, const npvariant *args, ...
NPAPI plugin reference - Archive of obsolete content
npn_releaseobject dec
rements the reference count of the given npobject.
... npn_
removeproperty
removes a property from the specified npobject.
... npn_retainobject inc
rements the reference count of the given npobject.
...(
remark: hence the name "npp_write" is misleading - just think of:"data_arrived") npp_writeready determines maximum number of bytes that the plug-in can consume.
Array.observe() - Archive of obsolete content
however, this api has been deprecated and
removed from browsers.
...
removed: only for the "splice" type.
... an array of the
removed elements.
... examples logging different change types var arr = ['a', 'b', 'c']; array.observe(arr, function(changes) { console.log(changes); }); arr[1] = 'b'; // [{type: 'update', object: <arr>, name: '1', oldvalue: 'b'}] arr[3] = 'd'; // [{type: 'splice', object: <arr>, index: 3,
removed: [], addedcount: 1}] arr.splice(1, 2, 'beta', 'gamma', 'delta'); // [{type: 'splice', object: <arr>, index: 1,
removed: ['b', 'c'], addedcount: 3}] specifications strawman proposal specification.
Array.unobserve() - Archive of obsolete content
the array.unobserve() method was used to
remove observers set by array.observe(), but has been deprecated and
removed from browsers.
... description array.unobserve() should be called after array.observe() in order to
remove an observer from an array.
...it's useless to call array.unobserve() with an anonymous function as callback, it will not
remove any observer.
... examples unobserving an array var arr = [1, 2, 3]; var observer = function(changes) { console.log(changes); } array.observe(arr, observer); arr.push(4); // [{type: "splice", object: <arr>, index: 3,
removed:[], addedcount: 1}] array.unobserve(arr, observer); arr.pop(); // the callback wasn't called using an anonymous function var persons = ['khalid', 'ahmed', 'mohammed']; array.observe(persons, function (changes) { console.log(changes); }); persons.shift(); // [{type: "splice", object: <arr>, index: 0,
removed: [ "khalid" ], addedcount: 0 }] array.unobserve(persons, function (changes) { console.log(changes); }); persons.push('abdullah'); // [{type: "splice", object: <arr>, index: 2,
removed: [], addedcount: 1 }] // the callback will always be called ...
Array comprehensions - Archive of obsolete content
the array comprehensions syntax is non-standard and
removed starting with firefox 58.
...although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
...however, it has been
removed from the standard and the firefox implementation.
...r (i of numbers) for (j of letters) if (i > 1) if(j > 'a') i + j] // ["2b", "2c", "3b", "3c"] [for (i of numbers) if (i > 1) [for (j of letters) if(j > 'a') i + j]] // [["2b", "2c"], ["3b", "3c"]], not the same as below: [for (i of numbers) [for (j of letters) if (i > 1) if(j > 'a') i + j]] // [[], ["2b", "2c"], ["3b", "3c"]] specifications was initially in the ecmascript 2015 draft, but got
removed in revision 27 (august 2014).
New in JavaScript 1.3 - Archive of obsolete content
the most significant change in javascript 1.3 was compliance with ecma-262 and unicode by
removing inconsistencies between javascript 1.2 and the new ecma standard (which was published in june 1997).
... array.prototype.slice(): in javascript 1.2, the splice method returned the element
removed, if only one element was
removed (howmany parameter is 1).
... in javascript 1.3, splice always returns an array containing the
removed elements.
... if one element is
removed, an array of one element is returned.
JSObject - Archive of obsolete content
removemember
removes a property of a javascript object.
... declaration public static jsobject getwindow(applet applet)
removemember method.
...
removes a property of a javascript object.
... declaration public void
removemember(string name) setmember method.
Implementation Status - Archive of obsolete content
7.4.3 expressions in actions and submissions partial 7.4.4 ui expressions partial scenarios exist where controls contained inside other controls inside a repeat won't be bound correctly 333638; 7.4.5 ui binding in other xml vocabularies unsupported not a compliance requi
rement for an xforms processor 7.4.6 binding examples supported 7.5 xforms core function library supported 7.6.1 boolean-from-string() supported 7.6.2 is-card-number() unsupported 7.7.1 avg() ...
...upported 7.10.3 id() unsupported 7.10.4 context() unsupported 7.11.1 choose() unsupported 7.11.2 event() supported 7.12 extension functions unsupported not a compliance requi
rement for an xforms processor 8.
... core form controls section title status notes bugs 8.1 the xforms core form controls module supported 8.1.1 common requi
rements n/a 8.1.2 input supported 8.1.3 secret supported 8.1.4 textarea supported 8.1.5 output supported 8.1.6 upload supported 8.1.7 range partial 316355; 343523; 8.1.8 trigger supported 8.1.9 submit supported ...
...but the user can choose to
remove this restriction on a site by site basis via a preference.
Anatomy of a video game - Game development
this game
removed control from the user in order to keep its calculation time at roughly 16ms (or roughly 60fps).
...always inc
rements by ticklength.
...it should always * inc
rement by ticklength.
... an important thing to
remember for managed platforms, like the web, is that your loop may stop execution for significant periods of time.
HTML: A good basis for accessibility - Learn web development
they can also harm accessibility if their accessible styling is
removed or if javascript causes them to behave in unexpected ways.
...with a minimum contrast requi
rement of 3:1 between link text and surrounding text and between default, visited, and focus/active states and a 4:5 contrast between all those state colors and the background color.
... hand t
remors and the giant-button-problem - axess lab test your skills!
... you've reached the end of this article, but can you
remember the most important information?
HTML: A good basis for accessibility - Learn web development
they can also harm accessibility if their accessible styling is
removed or if javascript causes them to behave in unexpected ways.
...with a minimum contrast requi
rement of 3:1 between link text and surrounding text and between default, visited, and focus/active states and a 4:5 contrast between all those state colors and the background color.
... hand t
remors and the giant-button-problem - axess lab test your skills!
... you've reached the end of this article, but can you
remember the most important information?
Organizing your CSS - Learn web development
you will thank yourself when you come back to this project in a year or so, and can vaguely
remember there was a great tutorial about that thing, but where is it?
...} after this section we could define a few utility classes, for example a class that
removes the default list style for lists we're going to display as flex items or in some other way.
... .comment { display: grid; grid-template-columns: 1fr 3fr; } .comment img { border: 1px solid grey; } .comment .content { font-size: .8
rem; } .list-item { display: grid; grid-template-columns: 1fr 3fr; border-bottom: 1px solid grey; } .list-item .content { font-size: .8
rem; } in oocss, you would create one pattern called media that would have all of the common css for both patterns — a base class for things that are generally the shape of the media object.
... .media { display: grid; grid-template-columns: 1fr 3fr; } .media .content { font-size: .8
rem; } .comment img { border: 1px solid grey; } .list-item { border-bottom: 1px solid grey; } in your html the comment would need both the media and comment classes applied: <div class="media comment"> <img /> <div class="content"></div> </div> the list-item would have media and list-item applied: <ul> <li class="media list-item"> <img /> <div class="content"></div> </li> </ul> the work that nicole sullivan did in describing this approach and promoting it means that even people who are not strictly following an oocss approach today will generally be reu...
Overflowing content - Learn web development
remove some content from the box below.
... notice how the scrollbars
remain, even if there is no need for scrolling.
... in the example below,
remove content until it fits into the box.
...can you
remember the most important information?
Styling tables - Learn web development
some rows
removed for brevity <tr> <th scope="row">the stranglers</th> <td>1974</td> <td>17</td> <td>no more heroes</td> </tr> </tbody> <tfoot> <tr> <th scope="row" colspan="2">total albums</th> <td colspan="2">77</td> </tr> </tfoot> </table> the table is nicely marked up, easily styleable, and accessible, thanks to features such as scope, <caption>, ...
...the formula 2n-1 would select all the odd numbered children (1, 3, 5, etc.) and the formula 2n would select all the even numbered children (2, 4, 6, etc.) we've used the odd and even keywords in our code, which do exactly the same things as the afo
rementioned formulae.
...to do this, add the following to the bottom of your style.css file: /* caption */ caption { font-family: 'rock salt', cursive; padding: 20px; font-style: italic; caption-side: bottom; color: #666; text-align: right; letter-spacing: 1px; } there is nothing
remarkable here, except for the caption-side property, which has been given a value of bottom.
... we have covered a lot in this article, but can you
remember the most important information?
How much does it cost to do something on the Web? - Learn web development
likewise, video-editing software can be free (pitivi, openshot for linux, imovie for mac), less than $100 (adobe p
remiere elements), or several hundred dollars (adobe p
remiere pro, avid media composer, final cut pro).
...however, people often choose dedicated (s)ftp clients to display local or
remote directories side-by-side and store server passwords.
...costs can vary t
remendously, depending on your budget, and where you live.
... you need to upload content to a
remote server (see hosting below), so you need a modem.
Advanced text formatting - Learn web development
a light brown color.</textarea> <div class="playable-buttons"> <input id="reset" type="button" value="reset"> <input id="solution" type="button" value="show solution"> </div> html { font-family: sans-serif; } h2 { font-size: 16px; } .a11y-label { margin: 0; text-align: right; font-size: 0.7
rem; width: 98%; } body { margin: 10px; background: #f5f9fa; } const textarea = document.getelementbyid('code'); const reset = document.getelementbyid('reset'); const solution = document.getelementbyid('solution'); const output = document.queryselector('.output'); const code = textarea.value; const userentry = textarea.value; function updatecode() { output.innerhtml = textarea.value; } re...
...inking, and the need to eliminate negative self talk (as mentioned in affirmations for positive thinking.)</p> </textarea> <div class="playable-buttons"> <input id="reset" type="button" value="reset"> <input id="solution" type="button" value="show solution"> </div> html { font-family: sans-serif; } h2 { font-size: 16px; } .a11y-label { margin: 0; text-align: right; font-size: 0.7
rem; width: 98%; } body { margin: 10px; background: #f5f9fa; } const textarea = document.getelementbyid('code'); const reset = document.getelementbyid('reset'); const solution = document.getelementbyid('solution'); const output = document.queryselector('.output'); const code = textarea.value; const userentry = textarea.value; function updatecode() { output.innerhtml = textarea.value; } re...
...xtarea id="code" class="input" style="min-height: 50px; width: 95%"> <p>nasa sure does some exciting work.</p> </textarea> <div class="playable-buttons"> <input id="reset" type="button" value="reset"> <input id="solution" type="button" value="show solution"> </div> html { font-family: sans-serif; } h2 { font-size: 16px; } .a11y-label { margin: 0; text-align: right; font-size: 0.7
rem; width: 98%; } body { margin: 10px; background: #f5f9fa; } const textarea = document.getelementbyid('code'); const reset = document.getelementbyid('reset'); const solution = document.getelementbyid('solution'); const output = document.queryselector('.output'); const code = textarea.value; const userentry = textarea.value; function updatecode() { output.innerhtml = textarea.value; } re...
... you've reached the end of this article, but can you
remember the most important information?
Choosing the right approach - Learn web development
previous overview: asynchronous to finish this module off, we'll provide a brief discussion of the different coding techniques and features we've discussed throughout, looking at which one you should use when, with recommendations and
reminders of common pitfalls where appropriate.
...for example:
remotedb.alldocs({ include_docs: true, attachments: true }).then(function (result) { let docs = result.rows; docs.foreach(function(element) { localdb.put(element.doc).then(function(response) { alert("pulled doc with id " + element.doc._id + " and added to local db."); }).catch(function (err) { if (err.name == 'conflict') { localdb.get(element.doc._id).then(function...
... (resp) { localdb.
remove(resp._id, resp._rev).then(function (resp) { // et cetera...
... it is better to use the chaining power of promises to go with a flatter, easier to parse structure:
remotedb.alldocs(...).then(function (resultofalldocs) { return localdb.put(...); }).then(function (resultofput) { return localdb.get(...); }).then(function (resultofget) { return localdb.put(...); }).catch(function (err) { console.log(err); }); or even:
remotedb.alldocs(...) .then(resultofalldocs => { return localdb.put(...); }) .then(resultofput => { return localdb.get(...); }) .then(resultofget => { return localdb.put(...); }) .catch(err => console.log(err)); that covers a lot of the basics.
Making decisions in your code — conditionals - Learn web development
ue="show solution"> </div> .output * { box-sizing: border-box; } .output ul { padding-left: 0; } .output li { display: block; float: left; width: 25%; border: 2px solid white; padding: 5px; height: 40px; background-color: #4a2db6; color: white; } html { font-family: sans-serif; } h2 { font-size: 16px; } .a11y-label { margin: 0; text-align: right; font-size: 0.7
rem; width: 98%; } body { margin: 10px; background: #f5f9fa; } const textarea = document.getelementbyid('code'); const reset = document.getelementbyid('reset'); const solution = document.getelementbyid('solution'); let code = textarea.value; let userentry = textarea.value; function updatecode() { eval(textarea.value); } reset.addeventlistener('click', function() { textarea.value = code;...
...
remember that color values are strings, so need to be wrapped in quotes.
...unction update(bgcolor, textcolor) { html.style.backgroundcolor = bgcolor; html.style.color = textcolor; }</textarea> <div class="playable-buttons"> <input id="reset" type="button" value="reset"> <input id="solution" type="button" value="show solution"> </div> html { font-family: sans-serif; } h2 { font-size: 16px; } .a11y-label { margin: 0; text-align: right; font-size: 0.7
rem; width: 98%; } body { margin: 10px; background: #f5f9fa; } const textarea = document.getelementbyid('code'); const reset = document.getelementbyid('reset'); const solution = document.getelementbyid('solution'); let code = textarea.value; let userentry = textarea.value; function updatecode() { eval(textarea.value); } reset.addeventlistener('click', function() { textarea.value = code;...
... you've reached the end of this article, but can you
remember the most important information?
Adding features to our bouncing balls demo - Learn web development
remember to set the ball() constructor's prototype and constructor appropriately.
... you should do this something like shape.call(this, x, y, 20, 20, exists); it should also define its own properties, as follows: color — 'white' size — 10 again,
remember to define your inherited properties as parameters in the constructor, and set the prototype and constructor properties correctly.
... inc
rement the count and display the updated number of balls each time a ball is added to the scene.
... dec
rement the count and display the updated number of balls each time the evil circle eats a ball (causes it not to exist).
What is web performance? - Learn web development
web performance is the objective measu
rement and perceived user experience of a web site or application.
...the measu
rement of how long it takes the site to get to a usable start after it has started loading is called time to interactive.
... performance measu
rements: web performance involves measuring the actual and perceived speeds of an application, optimizing where possible, and then monitoring the performance, to ensure that what you've optimized stays optimized.
... note: web performance includes both objective measu
rements like time to load, frames per second, and time to interactive, and subjective experiences of how long it felt like it took the content to load.
Getting started with Ember - Learn web development
a deeper understanding of modern javascript features (such as classes, modules, etc), will be ext
remely beneficial, as ember makes heavy use of them.
... examples include: p
rember: static website rendering for blogs or marketing content.
... empress-blog: authoring blog posts in markdown while optimizing for seo with p
rember.
...the glimmer vm enables ext
remely fast dom change tracking without the need to manage and diff a cached virtual representation (which is a common approach to mitigating the slow i/o of dom changes).
React interactivity: Editing, filtering, conditional rendering - Learn web development
e it as follows: <input id={props.id} classname="todo-text" type="text" value={newname} onchange={handlechange} /> finally, we need to create a function to handle the edit form’s onsubmit event; add the following just below the previous function you added: function handlesubmit(e) { e.preventdefault(); props.edittask(props.id, newname); setnewname(""); setediting(false); }
remember that our edittask() callback prop needs the id of the task we're editing as well as its new name.
...
remember, we need keys here, too.
...do each of the following, and
remember to use curly braces to read these variables!
... choosing a filter in your browser will now
remove the tasks that do not meet its criteria.
Getting started with Svelte - Learn web development
you can either start from scratch letting svelte drive your ui or you can inc
rementally integrate it into an existing application.
... requi
rements in order to work with svelte you need to have node.js installed.
...if you want to share an idea, ask for help, or report an issue, it's always ext
remely useful to create a repl instance demomstrating the issue.
... the code so far 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/01-getting-started or directly download the folder's content: npx degit opensas/mdn-svelte-tutorial/01-getting-started
remember to run npm install && npm run dev to start your app in development mode.
Handling common JavaScript problems - Learn web development
things have improved significantly since then; modern browsers do a good job of supporting "classic javascript features", and the requi
rement to use such code has diminished as the requi
rement to support older browsers has lessened (although bear in mind that they have not gone away altogether).
...let's fix this problem by running the code once the load event has been fired —
remove the console.log() line, and update this code block: let superheroes = request.response; populateheader(superheroes); showheroes(superheroes); to the following: request.onload = function() { let superheroes = request.response; populateheader(superheroes); showheroes(superheroes); } to summarize, anytime something is not working and a value does not appear to be what it is meant to be ...
...for example, if a prefix was being used on a new shint api object called object: mozilla would use mozobject chrome/opera/safari would use webkitobject microsoft would use msobject here's an example, taken from our violent-the
remin demo (see source code), which uses a combination of the canvas api and the web audio api to create a fun (and noisy) drawing tool: const audiocontext = window.audiocontext || window.webkitaudiocontext; const audioctx = new audiocontext(); in the case of the web audio api, the key entry points to using the api were supported in chrome/opera via webkit prefixed versions (they now support the un...
... again, prefixed features were never supposed to be used in production websites — they are subject to change or
removal without warning, and cause cross browser issues.
Client-side tooling overview - Learn web development
there are some ext
remely well-established tools that have become common "household names" amongst the development community, and new tools are being written and released every day to solve specific problems.
...you then "push" changes to a "master" version of the code inside a
remote repository stored on a server somewhere.
... bundlers/packagers these are tools that get your code ready for production, for example by “tree-shaking” to make sure only the parts of your code libraries that you are actually using are put into your final production code, or "minifying" to
remove all the whitespace in your production code, making it as small as possible before it is uploaded to a server.
...for example, a typical toolchain will wait for you to push changes to a
remote repo, run some tests to see if the changes are ok, and then if the tests pass, automatically deploy your app to a production site.
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.
...o nest browsable rich text content inside interactive content document n/a n/a document document a drop down list, different from combobox droplist n/a n/a listbox for math & chemistry equation n/a n/a math a scrollable list of articles where scrolling may cause articles to be added to or
removed from either end of the list.
... select (abstract role) a line that splits 2 areas from each other separator (either in menu or splits panes) separator (in menu only) separator separator <hr> adjust in inc
rements from min to max values slider slider slider slider <input type=range> a system sound sound n/a n/a n/a no default semantics in html, but semantics and other accessibility features may be provided with aria.
...html attribute also
removes element from tab sequence and 'grays it out'.
What to do and what not to do in Bugzilla
it lists the requi
rements and the email to contact.
...when verifying a bug, you should
remember the following: verifying duplicates is the easiest task, so start with that.
...
remote execution of arbitrary code) get the critical severity.
...when performing bug reassignments, keep the following things in mind: always
remember to check the reassign to default owner and qa contact radio button under the comment textbox.
Commenting IDL for better documentation
happily, following these recommendations will also help ensure your comments are ext
remely human-readable, too.
... @
remarks
remark a
remark paragraph to be included in the
remarks section of the documentation.
... * * @
remarks
remember, this isn't a real interface.
... */ const integer cookie_ext
remely_yummy = 3; /** * omg this is the best cookie evar!1!!1.
SVG Guidelines
on the other hand the size of a raster file of the same image will likely vary t
remendously depending on the dimensions of the image since the larger the dimensions the more pixel data the file needs to store.
... at very small dimensions (the ext
reme case being 1px x 1px) the raster file will likely be much smaller than the svg file since it only needs to store one pixel of data.
...plus, in most of the cases, the filename is quite descriptive so it's recommended to
remove that kind of metadata since it doesn't bring much value.
...however, there are some utilities that cover parts of this document: mostly complete command line tool: https://github.com/svg/svgo alternatives to svgo: https://github.com/razrfalcon/svgcleaner https://github.com/scour-project/scour gui for command line tool (use with "prettify code" and "
remove <title>" options on): https://jakearchibald.github.io/svgomg/ good alternative to svgo/svgomg: https://petercollingridge.appspot.com/svg-editor fixes the excessive number precision: https://simon.html5.org/tools/js/svg-optimizer/ converts inline styles to svg attributes: https://www.w3.org/wiki/svgtidy raphaeljs has a couple of utilities that may be useful: raphael.js ...
Displaying Places information using views
remember that, because xul is xml, any ampersands in query uris must be written as entity reference & and not simply &.
...to disconnect a viewer from its result, call
removeobserver(view) on your result.
...for these objects to be freed during javascript garbage collection, you must clear this cycle by calling result.
removeobserver(view).
...because the object implementing nsitreeview also implements nsinavhistoryresultobserver, the viewer then disconnects itself from the result by calling
removeobserver().) is this still right when using nsinavhistoryresultobserver?
Error codes returned by Mozilla APIs
ns_error_file_dir_not_empty (0x80520014) when calling nsifile.
remove() on a directory and the 'recursive' argument to this method is false, this error will occur if the directory is not empty.
... ns_binding_retargeted (0x804b0004) the asynchronous request has been "retargeted" to a different "handler." this error code is used with load groups to notify the load group observer when a request in the load group is
removed from the load group and added to a different load group.
...xxx currently unused - consider
removing.
...xxx currently unused - consider
removing.
Frame script loading and lifetime
if you use allowdelayedload, you can cancel it by using
removedelayedframescript: var mm = window.messagemanager; mm.
removedelayedframescript("chrome://my-e10s-extension/content/frame-script.js"); this means we will stop loading the script into new tabs.
... note that this function will not
remove any scripts which have been loaded earlier.
... gcontentframemessagemanager) { sendasyncmessage('my-addon-id', 'framescript-died'); // if you did not set third argument of `services.mm.addmessagelistener` to `true`, then this will fail to send a message } }, false); note about unload during uninstallation/upgrade when your add-on is uninstalled, or disabled, you should: cancel it, if you have used allowdelayedload, by calling
removedelayedframescript; ensuring the frame script is not loaded into any new tabs.
...you need to send a message to your frame scripts, telling them to disable themselves; for example, by undoing any changes they've made or
removing any event listeners.
HTML parser threading
(this indeed means that
removing parser-created nodes from the dom during parsing doesn't release memory until the parser stops parsing, which is, in theory, a problem for long polling using html in an iframe e.g.
...the flush timer is disengaged, because it's not useful to make the tree builder flush ops into the queue of the speculation inc
rementally.
...it is possible that the parser thread ends up parsing all
remaining data into speculations before the main thread is ready to receive more tree ops.
...(
remember that reflushing ends up calling nshtml5parser::parseuntilblocked().
Infallible memory allocation
under ext
reme memory conditions, it's possible that the allocation will fail; however, the allocation routine will not, in this scenario, return to your code.
...you should do this for large memory allocations because in ext
remely low memory conditions, as described in how can memory allocation be infallible?, the application may terminate if an infallible allocator can't find the memory you requested.
... explicitly infallible memory allocators the following memory allocators are explicitly infallible, and will
remain so; they are guaranteed to return a valid memory pointer.
... p = moz_xmalloc(); p = moz_xcalloc(); p = moz_xrealloc(); p = moz_xstrdup(); f = new foo(); farray = new foo[]; n = ::operator new(...); narray = ::operator new[](...); explicitly fallible memory allocators these memory allocators are explicitly fallible, and will
remain so.
Downloads.jsm
fetch() downloads data from a
remote network location to a local file.
...the download is stopped and
removed from the list when the message box is closed, regardless of whether it has been completed or not.
...rce://gre/modules/downloads.jsm"); components.utils.import("resource://gre/modules/osfile.jsm") components.utils.import("resource://gre/modules/task.jsm"); task.spawn(function () { let list = yield downloads.getlist(downloads.all); let view = { ondownloadadded: download => console.log("added", download), ondownloadchanged: download => console.log("changed", download), ondownload
removed: download => console.log("
removed", download) }; yield list.addview(view); try { let download = yield downloads.createdownload({ source: "http://www.mozilla.org/", target: os.path.join(os.constants.path.tmpdir, "example-download.html"), }); list.add(download); try { download.start(); alert("now monitoring all downloads.
... close the message to stop."); } finally { yield list.
remove(download); yield download.finalize(true); } } finally { yield list.
removeview(view); } }).then(null, components.utils.reporterror); conversion from nsidownloadmanager starting in firefox for desktop version 26, the nsidownloadmanager and nsidownload interfaces are not available anymore.
Application Translation with Mercurial
other localizers will likely have done changes to the translation, either adding new texts,
removing obsolete ones or improving the current texts.
...the text striked through are texts which have been
removed in the english version and can also be
removed from the locale being worked on.
... opening english files and the target locale side-by-side the localization report shows the ids of added or
removed texts, but the english text itself is still unknown.
... now copy the empty lines below privatebrowsingpage.learnmore and the line <!-- to be
removed post-australis --> to the localized file.
Creating localizable web applications
by adding locale dropdown menu at bottom of page) and
remember this choice for the future visits.
...for example, if not all the pages of your website are going to be localized, you may consider
removing links to the english-only pages from the navigation (headers, footers, sidebars) in the localized versions.
...good: require_once('templates/footer.php'); if it's not possible to
remove the app logic code, you should consider using gettext.
...
remember to use single quotes around the strings containing the formatting symbols.
BloatView
== bloatview: all (cumulative) leak and bloat statistics, tab process 1862 |<----------------class--------------->|<-----bytes------>|<----objects---->| | | per-inst leaked| total
rem| 0 |total | 17 2484|253953338 38| 17 |asynctransactiontrackersholder | 40 40| 10594 1| 78 |compositorchild | 472 472| 1 1| 79 |condvar | 24 48| 3086 2| 279 |messagepump | 8 8| ...
...for nsstring you'll see the size of the header struct, not the size of the string contents!) bytes leaked - the number of bytes per instance times the number of objects leaked: (bytes per-inst) x (objects
rem).
... objects
rem - the number of objects allocated of a given class that weren't deleted.
... the number of objects
remaining might not be equal to the total number of objects.
DMD
"summary": gives measu
rements of the total heap, and the unreported/once-reported/twice-reported portions of it.
... "summary": gives measu
rements of the total heap.
... "summary": gives measu
rements of the total (cumulative) heap.
...in addition, all trailing nulls are
removed from the block contents.
Gecko Profiler FAQ
i think julian seward has done some measu
rements on this, i think.
... when profiling hundred(s) of threads at low intervals, does this distort the measu
rement or operation?
...i want to profile all threads, not just main plus a couple of others) we haven’t done any measu
rements of how frequent sampling distorts measu
rement or operation.
... [jesup] 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 measu
rement if the number of threads monitored is significant (especially at high sample rates).
Profiling with the Firefox Profiler
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.
... set devtools.debugger.
remote-enabled to true in about:config for fennec.
...in the right panel, a visualization of the layer tree (based entirely on the afo
rementioned metrics) is shown.
...cleopatra doesn't currently understand this prefix, so it needs to be
removed before pasting.
Introduction to NSPR
a thread is created by an explicit client request and
remains a valid, independent execution entity until it returns from its root function or the process abnormally terminates.
...this, and the fact that threads share an address space with other threads in the same process, makes it important to
remember that threads are not processes .
...this requi
rement implies that when a thread first enters the monitor, an evaluation of the invariant expression must yield a true.
... note: evaluation of the invariant expression is a conceptual requi
rement and is rarely done in practice.
NSS_3.12.1_release_notes.html
bug 311432: ecc's ecl_use_fp code (for linux x86) fails pairwise consistency 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:...
...ing ocsp cert id [[@ cert_destroyocspcertid ] bug 434099: nss relies on unchecked pkcs#11 object attribute values 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.
... dead function cert_certpackagetype bug 443755: extra semicolon in pkm_tlskeyandmacderive makes conditional code unconditional bug 443760: extra semicolon in seqdatabase makes static analysis tool suspicious bug 448323: certutil -k doesn't report the token and slot names for found keys bug 448324: ocsp checker returns incorrect error code on request with invalid signing cert bug 449146:
remove dead libsec function declarations bug 453227: installation of pem-encoded certificate without trailing newline fails documentation for a list of the primary nss documentation pages on mozilla.org, see nss documentation.
... furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS 3.28 release notes
for the future nss 3.29 release, it is planned that standard builds of nss will support the tls 1.3 protocol (although the maximum tls protocol version enabled by default will
remain at tls 1.2).
... pkcs#11 bypass for tls is no longer supported and has been
removed (bug 1303224).
... support for "export" grade ssl/tls cipher suites has been
removed (bug 1252849).
...furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS 3.53 release notes
algorithms marked as deprecated will ultimately be
removed.
... this attribute provides a more graceful phase-out for certificate authorities than complete
removal from the root certificate builtin store.
... 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?resolut...
...furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
Enc Dec MAC Using Key Wrap CertReq PKCS10 CSR
_header; trailer = ns_sig_trailer; break; default: rv = secfailure; goto cleanup; } rv = filetoitem(&filedata, file); nonbody = (char *)filedata.data; if (!nonbody) { pr_fprintf(pr_stderr, "unable to read data from input file\n"); rv = secfailure; goto cleanup; } /* check for headers and trailers and
remove them */ if ((body = strstr(nonbody, header)) != null) { char *trail = null; nonbody = body; body = port_strchr(body, '\n'); if (!body) body = port_strchr(nonbody, '\r'); /* maybe this is a mac file */ if (body) trail = strstr(++body, trailer); if (trail != null) { *trail = '\0'; } else { ...
...serialnumber, int warpmonths, int validitymonths) { prexplodedtime printabletime; prtime now; prtime after; certvalidity *validity = null; certcertificate *issuercert = null; certcertificate *cert = null; if ( !selfsign ) { issuercert = cert_findcertbynicknameo
remailaddr(handle, issuernickname); if (!issuercert) { pr_fprintf(pr_stderr, "could not find certificate named %s\n", issuernickname); goto cleanup; } } now = pr_now(); pr_explodetime (now, pr_gmtparameters, &printabletime); if ( warpmonths ) { printabletime.tm_month += warpmonths; now = pr_implo...
...{ pr_delete(headerfilename); } headerfile = pr_open(headerfilename, pr_create_file | pr_rdwr | pr_truncate, 00660); if (!headerfile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for writing (%ld, %ld).\n", headerfilename, pr_geterror(), pr_getoserror()); rv = secfailure; goto cleanup; } cert = cert_findcertbynicknameo
remailaddr(certhandle, nicknamestr); if (!cert) { pr_fprintf(pr_stderr, "could not obtain certificate from file\n"); rv = secfailure; goto cleanup; } if (sigverify) { htype = certvfy; } writetoheaderfile(cert->dercert.data, cert->dercert.len, htype, headerfile); cleanup: if (headerfile) { pr_close(headerfile); } if ...
... write padding */ headerfile = pr_open(headerfilename, pr_create_file | pr_rdwr | pr_append, 00660); if (!headerfile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for writing.\n", headerfilename); rv = secfailure; goto cleanup; } /* get the certificate by nick name and write to header file */ cert = cert_findcertbynicknameo
remailaddr(certhandle, nicknamestr); if (!cert) { pr_fprintf(pr_stderr, "could not obtain certificate by name - %s\n", nicknamestr); rv = secfailure; goto cleanup; } writetoheaderfile(cert->dercert.data, cert->dercert.len, certvfy, headerfile); /* find private key from certificate */ privkey = pk11_findkeybyanycert(cert, null); if (privkey =...
sample2
tvfy: header = ns_cert_vfy_header; trailer = ns_cert_vfy_trailer; break; case sig: header = ns_sig_header; trailer = ns_sig_trailer; break; default: rv = secfailure; goto cleanup; } rv = filetoitem(&filedata, file); nonbody = (char *)filedata.data; if (!nonbody) { pr_fprintf(pr_stderr, "unable to read data from input file\n"); rv = secfailure; goto cleanup; } /* check for headers and trailers and
remove them */ if ((body = strstr(nonbody, header)) != null) { char *trail = null; nonbody = body; body = port_strchr(body, '\n'); if (!body) body = port_strchr(nonbody, '\r'); /* maybe this is a mac file */ if (body) trail = strstr(++body, trailer); if (trail != null) { *trail = '\0'; } else { pr_fprintf(pr_stderr, "input has header but no trailer\n"); port_free(filedata.data); rv = secfailure; goto...
...c certcertificate * makev1cert(certcertdbhandle *handle, certcertificaterequest *req, char * issuernickname, prbool selfsign, unsigned int serialnumber, int warpmonths, int validitymonths) { prexplodedtime printabletime; prtime now; prtime after; certvalidity *validity = null; certcertificate *issuercert = null; certcertificate *cert = null; if ( !selfsign ) { issuercert = cert_findcertbynicknameo
remailaddr(handle, issuernickname); if (!issuercert) { pr_fprintf(pr_stderr, "could not find certificate named %s\n", issuernickname); goto cleanup; } } now = pr_now(); pr_explodetime (now, pr_gmtparameters, &printabletime); if ( warpmonths ) { printabletime.tm_month += warpmonths; now = pr_implodetime (&printabletime); pr_explodetime (now, pr_gmtparameters, &printabletime); } printabletime.tm_month ...
...s, delete it */ if (pr_access(headerfilename, pr_access_exists) == pr_success) { pr_delete(headerfilename); } headerfile = pr_open(headerfilename, pr_create_file | pr_rdwr | pr_truncate, 00660); if (!headerfile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for writing (%ld, %ld).\n", headerfilename, pr_geterror(), pr_getoserror()); rv = secfailure; goto cleanup; } cert = cert_findcertbynicknameo
remailaddr(certhandle, nicknamestr); if (!cert) { pr_fprintf(pr_stderr, "could not obtain certificate from file\n"); rv = secfailure; goto cleanup; } if (sigverify) { htype = certvfy; } writetoheaderfile(cert->dercert.data, cert->dercert.len, htype, headerfile); cleanup: if (headerfile) { pr_close(headerfile); } if (cert) { cert_destroycertificate(cert); } return rv; } /* * finds the public key from ...
...= null; secitem sigitem; secoidtag hashoidtag; /* open the header file to write padding */ headerfile = pr_open(headerfilename, pr_create_file | pr_rdwr | pr_append, 00660); if (!headerfile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for writing.\n", headerfilename); rv = secfailure; goto cleanup; } /* get the certificate by nick name and write to header file */ cert = cert_findcertbynicknameo
remailaddr(certhandle, nicknamestr); if (!cert) { pr_fprintf(pr_stderr, "could not obtain certificate by name - %s\n", nicknamestr); rv = secfailure; goto cleanup; } writetoheaderfile(cert->dercert.data, cert->dercert.len, certvfy, headerfile); /* find private key from certificate */ privkey = pk11_findkeybyanycert(cert, null); if (privkey == null) { fprintf(stderr, "couldn't find private key for cer...
Migration to HG
for nspr, "mozilla/nsprpub" has been
removed from the directory hierarchy, all files now live in the top directory of the nspr repository.
... likewise for nss and jss, "mozilla/security" has been
removed and files now live at the top level.
...most parts of the nss build instructions
remain valid, especially the instructions about setting environment variables.
... nspr and nss: mkdir workarea cd workarea hg clone https://hg.mozilla.org/projects/nspr hg clone https://hg.mozilla.org/projects/nss cd nss # set use_64=1 on 64 bit architectures # set build_opt=1 to get an optimized build make nss_build_all note that the jss project has been given a private copy of the former mozilla/security/coreconf directory, allowing it to
remain stable, and only update its build system as necessary.
sslcrt.html
[a-z] matches any character between a and z [^az] matches any character except a or z ~ followed by another shell expression
removes any pattern matching the shell expression from the match list (foo|bar) matches either the substring foo or the substring bar.
... description the cert_dupcertificate function inc
rements the reference count for the certificate passed in the c parameter.
...when an application makes a copy of a particular certificate or key structure that already exists in memory, ssl makes a shallow copy--that is, it inc
rements the reference count for that object rather than making a whole new copy.
... when you call cert_destroycertificate or seckey_destroyprivatekey, the function dec
rements the reference count and, if the reference count reaches zero as a result, both frees the memory and sets all the bits to zero.
NSS_3.12.3_release_notes.html
.h) util_setforkstate (see secoid.h) nss_getalgorithmpolicy (see secoid.h) nss_setalgorithmpolicy (see secoid.h) for the 2 functions above see also (in secoidt.h): nss_use_alg_in_cert_signature nss_use_alg_in_cms_signature nss_use_alg_reserved support for the watcom c compiler is
removed the file watcomfx.h is
removed.
...e signature cert found invalid if issuer is trusted only for ssl bug 479601: wrong type (utf8 string) for email addresses in subject by cert_asciitoname bug 480142: use sizeof on the correct type of ckc_x509 in lib/ckfw bug 480257: ocsp fails when response > 1k byte bug 480280: the cka_ec_point pkcs#11 attribute is encoded in the wrong way: missing encapsulating octet string bug 480442:
remove (empty) watcomfx.h from nss bug 481216: fix specific spelling errors in nss bug 482702: ocsp test with revoked ca cert validated as good.
... bug 485729:
remove lib/freebl/mapfile.solaris bug 485837: vc90.pdb files are output in source directory instead of objdir bug 486060: sec_asn1d_parse_leaf uses argument uninitialized by caller pbe_pk11algidtoparam documentation for a list of the primary nss documentation pages on mozilla.org, see nss documentation.
... furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
Exact Stack Rooting
to that end, we have a special "rooting" mechanism for stack pointers that is very efficiently able to add and
remove gcpointers to the rootedset.
... the downside of this efficiency is that gcpointers must be added to and
removed from this rootedset tracking structure in lifo order.
... because of the lifo restriction, using this interface manually is ext
remely cumbersome.
...gcpointers must be explicitly added to and
removed from the rootset.
JSPRINCIPALS_HOLD
although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
... inc
rement or dec
rement the reference count of a jsprincipals object.
...jsprincipals_hold(cx, principals) inc
rements the reference count of principals by 1.
... jsprincipals_drop(cx, principals) dec
rements the reference count of principals by 1.
JS_DeleteElement
removes a specified element or numeric property from an object.
... description js_deleteelement
removes a specified element or numeric property, index, from an object, obj.
... if an object references an element belonging to a prototype, the element reference is
removed from the object, but the prototype's element is not deleted.
...to
remove all elements and properties from an object, call js_clearscope.
JS_DeleteProperty
removes a specified property from an object.
... description js_deleteproperty
removes a specified property, name, from an object, obj.
...otherwise, the property is
removed.
... to
remove all properties from an object, call js_clearscope.
JS_LockGCThing
although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
...js_unlockgcthing
removes a lock from a specified item, thing, allowing it to be garbage collected when the javascript engine determines it is unreachable.
...use js_addroot and js_
removeroot instead.
... see also bug 734250 -
removed *rt functions bug 706885 ...
JS_updateMallocCounter
this article covers features introduced in spidermonkey 17 dec
rement malloc counter.
... syntax void js_updatemalloccounter(jscontext *cx, size_t nbytes); name type description cx jscontext * pointer to a js context to dec
rement the malloc counter.
... nbytes size_t number of bytes to dec
rement from malloc counter.
... description js_updatemalloccounter dec
rements malloc counter of gc and the zone of the context.
SpiderMonkey 31
xxx list
removed features here spidermonkey 31 is not binary-compatible with previous releases, nor is it source-code compatible.
... the jsbool type has been
removed, along with the corresponding js_true and js_false constants.
... all references to shortid/tinyid have been
removed.
... javascript shell changes detail added/
removed methods here...
Web Replay
for example, inc
remental gcs (a non-deterministic component) work by posting events to the main thread (a deterministic component), so for now inc
remental gcs are disabled.
... many of these behavioral changes should eventually be
removable.
... the middleman can perform actions that would be ext
remely difficult to manage in a replaying process without going out of sync with the recording.
... mprotect is intercepted and nop'ed to avoid interference with the dirty memory mechanism, and munmap is intercepted with no actual unmapping performed, so that memory does not need to be
remapped when restoring a snapshot (a set of free regions is maintained to allow reusing this memory).
Setting up an update server
if you update the installation without moving it, attempts at further inc
remental builds will not work properly, and a clobber will be needed when building next.
...be sure to
remove the commas when you paste this number into the xml file.
...
remember to navigate to the correct directory before starting the server.
...you can use this command with firefox's browser console to determine the update directory: const {fileutils} = chromeutils.import("resource://gre/modules/fileutils.jsm"); fileutils.getdir("updrootd", [], false).path once you have determined the update directory, close firefox, browse to the directory and
remove the subdirectory called updates.
History Service Design
history views should allow to quickly find a page in a certain timeframe
remembering only small details about it.
... finally temporary tables, indexes and triggers are created, this happens at every run since those entities are
removed when closing the connection.
... expiration expiration is an important part of data management for two reasons: privacy: expiring data based on user interaction is important, nothing must be left behind on a page
removal database maintenance: having cleaner and smaller tables helps queries performances expiration is done at certain moments, but in future will most likely be moved to async queries, to be executed on a separate thread.
...visits inside a slushy limit (> than the hard limit) will be
removed only if we are over a maximum number of pages we can retain, for performance issues.
XPCOM changes in Gecko 2.0
documentation will be updated as time allows to
remove references to interfaces being "frozen" or "unfrozen." component registration the way xpcom components are registered changed in gecko 2.
...note that nsigenericfactory.h has been
removed.
...previously, whenever gecko detected that the application version had changed, or one or more extensions was added,
removed, enabled, or disabled, it was necessary to throw away all existing component registrations, then restart the application (what we call the "extension manager restart") during its startup process.
...if, on the other hand, all you're doing with content is accessing dom methods and properties, you've never needed to be using xpcnativewrappers=no in the first place, and should simply
remove it from your manifest.
XPCOM hashtable guide
items are found, added, and
removed from the hashtable by using the key.
... inserting/
removing: o(n): adding and
removing items from a large array can be time-consuming o(1): adding and
removing items from hashtables is a quick operation wasted space: none: arrays are packed structures, so there is no wasted space.
... hashtables are useful for sets of data that need swift random access; with non-integral keys or non-contiguous integral keys; or where items will be frequently added or
removed.
... there are three key methods, get, put, and
remove, which retrieve entries from the hashtable, write entries into the hashtable, and
remove entries from the hashtable respectively.
nsIAccessibleSelectable
inherits from: nsisupports last changed in gecko 1.7 method overview void addchildtoselection(in long index); void clearselection(); nsiarray getselectedchildren(); boolean ischildselected(in long index); nsiaccessible refselection(in long index); void
removechildfromselection(in long index); boolean selectallselection(); attributes attribute type description selectioncount long the number of accessible children currently selected.
... constants constant value description eselection_add 0 eselection_
remove 1 eselection_getstate 2 methods addchildtoselection() adds the specified accessible child of the object to the object's selection.
...
removechildfromselection()
removes the specified child of the object from the object's selection.
...void
removechildfromselection( in long index ); parameters index zero-based accessible child index.
nsIAnnotationObserver
1.0 66 introduced gecko 1.8 inherits from: nsisupports last changed in gecko 1.9 (firefox 3) method overview void onitemannotation
removed(in long long aitemid, in autf8string aname); void onitemannotationset(in long long aitemid, in autf8string aname); void onpageannotation
removed(in nsiuri auri, in autf8string aname); void onpageannotationset(in nsiuri apage, in autf8string aname); methods onitemannotation
removed() this method is called when an annotation is deleted for an item.
...void onitemannotation
removed( in long long aitemid, in autf8string aname ); parameters aitemid the item whose annotation is to be deleted.
... onpageannotation
removed() called when an annotation is deleted for a uri.
...void onpageannotation
removed( in nsiuri auri, in autf8string aname ); parameters auri the uri whose annotation is to be deleted.
nsIAppShellService
ashowwindow obsolete since gecko 1.8 the window
remains invisible if pr_false.
... hidesplashscreen() obsolete since gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0)
remove the splash screen (if visible).
...to get an out of process element you want to communicate with via message manager, then append a browser element with
remote attribute set to true.
... unregistertoplevelwindow()
remove a window from the application's window registry.
nsIBrowserSearchService
nt, [retval, array, size_is(enginecount)] out nsisearchengine engines); void getvisibleengines([optional] out unsigned long enginecount, [retval, array, size_is(enginecount)] out nsisearchengine engines); void init([optional] in nsibrowsersearchinitobserver observer); void moveengine(in nsisearchengine engine, in long newindex); void
removeengine(in nsisearchengine engine); void restoredefaultengines(); attributes attribute type description currentengine nsisearchengine the currently active search engine.
...
removeengine()
removes the search engine.
...if the engine is in the user's profile directory, it will be
removed from disk.
... void
removeengine( in nsisearchengine engine ); parameters engine the engine to
remove.
nsIDOMStorage2
last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) inherits from: nsisupports method overview void clear(); domstring getitem(in domstring key); domstring key(in unsigned long index); void
removeitem(in domstring key); void setitem(in domstring key, in domstring data); attributes attribute type description length unsigned long the number of keys stored in local storage.
... methods clear() clears the contents of this storage context; this
removes all values bound to the domain or origin.
...
removeitem() given a key,
removes the corresponding entry from local storage.
... void
removeitem( in domstring key ); parameters key the key for which data should be
removed from storage.
nsIDOMXULElement
removes the attribute if you set it to false.
...
removes the attribute if you set it to false.
...
removes the attribute if you set it to false.
... methods blur() attempts to
remove focus from the element.
nsIDynamicContainer
method overview void oncontainermoved(in long long aitemid, in long long anewparent, in long anewindex); void oncontainernodeclosed(in nsinavhistorycontainerresultnode acontainer); void oncontainernodeopening(in nsinavhistorycontainerresultnode acontainer, in nsinavhistoryqueryoptions aoptions); void oncontainer
removing(in long long aitemid); methods oncontainermoved() this method is called when the given container has just been moved, in case the service needs to do any bookkeeping.
...the service need not worry about
removing any created nodes, they will be automatically
removed when this call completes.
... oncontainer
removing() this method is called when the given container is about to be deleted from the bookmarks table, so that the service can do any necessary cleanup.
...void oncontainer
removing( in long long aitemid ); parameters aitemid the item-id of the container item.
nsIEventListenerService
venttarget aeventtarget, [optional] out unsigned long acount, [retval, array, size_is(acount)] out nsieventlistenerinfo aoutarray); boolean haslistenersfor(in nsidomeventtarget aeventtarget, in domstring atype); void addsystemeventlistener(in nsidomeventtarget target, in domstring type, in nsidomeventlistener listener, in boolean usecapture); void
removesystemeventlistener(in nsidomeventtarget target, in domstring type, in nsidomeventlistener listener, in boolean usecapture); attributes attribute type description systemeventgroup nsidomeventgroup returns system event group.
...
removesystemeventlistener()
remove a system-group eventlistener from a event target.
... void
removesystemeventlistener( in nsidomeventtarget target, in domstring type, in nsidomeventlistener listener, in boolean usecapture ); parameters target the nsidomeventtarget for the event target listening the event.
...
remarks nsieventlistenerservice was introduced with bug 448602.
nsIJSON
for that reason, it has been
removed in gecko 7.0.
... when the original instance requiring this function is
removed, this method will be
removed.
... when the original instance requiring this function is
removed, this method will be
removed.
... when the original instance requiring this function is
removed, this method will be
removed.
nsIMicrosummaryService
1.0 66 introduced gecko 1.8 obsolete gecko 6.0 inherits from: nsisupports 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...
...bookmarkid); nsimicrosummary getmicrosummary(in long long bookmarkid); boolean hasmicrosummary(in long long bookmarkid); nsimicrosummarygenerator installgenerator(in nsidomdocument xmldefinition); 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.
...
removemicrosummary()
remove the current microsummary for the given bookmark.
... void
removemicrosummary( in long long bookmarkid ); parameters bookmarkid the bookmark for which to
remove the current microsummary.
nsIMsgDBView
selectfoldermsgbykey(in nsimsgfolder afolder, in nsmsgkey akey); void ondeletecompleted(in boolean succeeded); nsmsgviewindex findindexfromkey(in nsmsgkey amsgkey, in boolean aexpand); void expandandselectthreadbyindex(in nsmsgviewindex aindex, in boolean aaugment); void addcolumnhandler(in astring acolumn, in nsimsgcustomcolumnhandler ahandler); void
removecolumnhandler(in astring acolumn); nsimsgcustomcolumnhandler getcolumnhandler(in astring acolumn); attributes attribute type description viewtype nsmsgviewtypevalue readonly: type of view.
...
removerowonmoveordelete boolean readonly: usinglines boolean readonly: use lines for size.
...used by "go to folder" feature and "
remember last selected message" feature.
...
removecolumnhandler()
removes a nsimsgcustomcolumnhandler leaving the column to be handled by the system void
removecolumnhandler(in astring acolumn); parameters acolumn the name of the column to
remove the handler from.
nsIMutableArray
method overview void appendelement(in nsisupports element, in boolean weak); void clear(); void insertelementat(in nsisupports element, in unsigned long index, in boolean weak); void
removeelementat(in unsigned long index); void replaceelementat(in nsisupports element, in unsigned long index, in boolean weak); methods appendelement() append an element at the end of the array.
...
removeelementat()
remove an element at a specific position, moving all elements stored at a higher position down one.
... to
remove a specific element, use nsiarray.indexof() to find the index first, then call
removeelementat.
... void
removeelementat( in unsigned long index ); parameters index the position of the item.
nsINavHistoryResult
method overview void addobserver(in nsinavhistoryresultobserver aobserver, in boolean aownsweak); void
removeobserver(in nsinavhistoryresultobserver aobserver); attributes attribute type description root nsinavhistorycontainerresultnode the root of the results.
... aownsweak if false, the result will keep an owning reference to the observer, which must be
removed by calling
removeobserver().
...
removeobserver()
removes an observer that was added by a previous call to addobserver().
... void
removeobserver( in nsinavhistoryresultobserver aobserver ); parameters aobserver the observer to
remove.
nsIObserver
you should not modify, add,
remove, or enumerate notifications in the implementation of this method.
...
remarks the specific values and meanings of the parameters provided varies widely, though, according to where the observer was registered, and what topic is being observed.
...with this implementation, it's safe (and common practice) for an implementation of nsiobserver to
remove itself as an observer during the observe callback, or to add or
remove other observers.
...s.classes["@mozilla.org/observer-service;1"] .getservice(components.interfaces.nsiobserverservice); observerservice.addobserver(this, "mytopicid", false); }, unregister: function() { var observerservice = components.classes["@mozilla.org/observer-service;1"] .getservice(components.interfaces.nsiobserverservice); observerservice.
removeobserver(this, "mytopicid"); } } instantiation - this should be fired once you're ready to start observing (for example a window's load event).
nsIObserverService
xpcom/ds/nsiobserverservice.idlscriptable this interface provides methods to add,
remove, notify, and enumerate observers of various notifications.
...illa.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 nsisupports 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.
...
removeobserver() this method is called to unregister an observer for a particular topic.
... void
removeobserver( in nsiobserver anobserver, in string atopic ); parameters anobserver the nsiobserver instance to
remove.
nsIPlacesImportExportService
importhtmlfromfile() obsolete since gecko 14.0 (firefox 14.0 / thunderbird 14.0 / seamonkey 2.11) note: this method has been
removed; use the bookmarkhtmlutils.jsm javascript code module instead.
... importhtmlfromfiletofolder() obsolete since gecko 14.0 (firefox 14.0 / thunderbird 14.0 / seamonkey 2.11) note: this method has been
removed; use the bookmarkhtmlutils.jsm javascript code module instead.loads the given bookmarks.html file and puts it in the given folder.
...although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
... note: this method has been
removed; use the bookmarkhtmlutils.jsm javascript code module instead.
nsIPlacesView
method overview nsinavhistoryresultnode[] getdragableselection(); nsinavhistoryresultnode[][] get
removableselectionranges(); nsinavhistoryresult getresult(); nsinavhistorycontainerresultnode getresultnode(); nsinavhistoryresultnode[] getselectionnodes(); void selectall(); attributes attribute type description hasselection boolean whether or not there are selected items.
... get
removableselectionranges() returns an array whose elements are themselves arrays of nsinavhistoryresultnode objects that can be
removed from the view.
... each inner array represents a contiguous range of nodes that can be
removed.
... nsinavhistoryresultnode[][] get
removableselectionranges(); parameters none.
nsIPluginHost
although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
...although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
...if "content-length" string and end of headers is found it substitutes single lf with crlf in the headers, so the end of headers always will be crlfcrlf (single cr in headers, if any,
remain untouched) else it puts "content-length: "+size_of_data+crlfcrlf at the beginning of the output buffer and memcpy data to the output buffer.
...although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
nsIPrivateBrowsingService
1.0 66 introduced gecko 1.9.1 inherits from: nsisupports 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.
...method overview void
removedatafromdomain(in autf8string adomain); attributes attribute type description autostarted boolean indicates whether or not private browsing was started automatically at application launch time.
... methods
removedatafromdomain()
removes all data stored for the specified domain, including its subdomains.
... void
removedatafromdomain( in autf8string adomain ); parameters adomain the domain for which data should be
removed.
nsIProcess
gecko 1.9.1 note this attribute is no longer implemented as of gecko 1.9.1, and is
removed entirely in gecko 1.9.2.
... gecko 1.9.1 note this attribute is no longer implemented as of gecko 1.9.1, and is
removed entirely in gecko 1.9.2.
... gecko 1.9.1 note this attribute is no longer implemented as of gecko 1.9.1, and is
removed entirely in gecko 1.9.2.
... gecko 1.9.1 note this method is no longer implemented as of gecko 1.9.1, and is
removed entirely in gecko 1.9.2.
nsIProcessScriptLoader
methods void loadprocessscript(in astring aurl, in boolean aallowdelayedload) void
removedelayedprocessscript(in astring aurl); jsval getdelayedprocessscripts(); loadprocessscript() load a script in the child process.
... if this flag is true, the process script will be loaded into any new child processes created after the loadprocessscript() call, until
removedelayedprocessscript() is called for that script.
...
removedelayedprocessscript()
removes aurl from the list of scripts which support delayed load.
... parameters name type description aurl string url for the script to
remove.
nsISHistoryListener
inherits from: nsisupports last changed in gecko 1.7 a session history listener is notified when pages are added to,
removed from, and loaded from session history.
... onhistorypurge() called when entries are
removed from session history.
... entries can be
removed from session history for various reasons; for example to control the browser's memory usage, to prevent users from loading documents from history, to erase evidence of prior page loads, etc.
...boolean onhistorypurge( in long anumentries ); parameters anumentries the number of entries to be
removed from session history.
nsITransferable
lavorstransferablecanexport( ); nsisupportsarray flavorstransferablecanimport( ); void getanytransferdata( out string aflavor, out nsisupports adata, out unsigned long adatalen ); void gettransferdata( in string aflavor, out nsisupports adata, out unsigned long adatalen ); void init(in nsiloadcontext acontext); boolean islargedataset( ); void
removedataflavor( in string adataflavor ); void settransferdata( in string aflavor, in nsisupports adata, in unsigned long adatalen ); attributes attribute type description converter nsiformatconverter an nsiformatconverter instance which implements the code needed to convert data into and out of the transferable given the supported flavors.
...
remarks the load context is used to track whether the transferable is storing privacy-sensitive information.
...
removedataflavor()
removes the data flavor matching the given one (as determined by a string comparison), along with the corresponding data.
... void
removedataflavor( in string adataflavor ); parameters adataflavor the data flavor to
remove.
nsIWebBrowser
method overview void addwebbrowserlistener(in nsiweakreference alistener, in nsiidref aiid); void
removewebbrowserlistener(in nsiweakreference alistener, in nsiidref aiid); attributes attribute type description containerwindow nsiwebbrowserchrome the chrome object associated with the browser instance.
... the chrome object may optionally implement nsiwebprogresslistener instead of explicitly calling addwebbrowserlistener() and
removewebbrowserlistener() to register a progress listener object.
...
removewebbrowserlistener()
removes a previously registered listener.
... void
removewebbrowserlistener( in nsiweakreference alistener, in nsiidref aiid ); parameters alistener the listener to be
removed.
nsIWebProgress
the nsiwebprogress interface is used to add or
remove nsiwebprogresslistener instances to observe the loading of asynchronous requests (usually in the context of a dom window).
... last changed in gecko 1.8.0 inherits from: nsisupports method overview void addprogresslistener(in nsiwebprogresslistener alistener, in unsigned long anotifymask); void
removeprogresslistener(in nsiwebprogresslistener alistener); attributes attribute type description domwindow nsidomwindow the dom window associated with this nsiwebprogress instance.
...
removeprogresslistener()
removes a previously registered listener of progress events.
... void
removeprogresslistener( in nsiwebprogresslistener alistener ); parameters alistener the listener interface previously registered with a call to addprogresslistener().
nsIXSLTProcessor
to create an instance, use: var xsltprocessor = components.classes["@mozilla.org/document-transformer;1?type=xslt"] .createinstance(components.interfaces.nsixsltprocessor); method overview void clearparameters(); nsivariant getparameter(in domstring namespaceuri, in domstring localname); void importstylesheet(in nsidomnode style); void
removeparameter(in domstring namespaceuri, in domstring localname); void reset(); void setparameter(in domstring namespaceuri, in domstring localname, in nsivariant value); nsidomdocument transformtodocument(in nsidomnode source); nsidomdocumentfragment transformtofragment(in nsidomnode source, in nsidomdocument output); methods clearparameters()
removes all set parameters from this nsixsl...
...
removeparameter()
removes a parameter, if set.
...void
removeparameter( in domstring namespaceuri, in domstring localname ); parameters namespaceuri the namespaceuri of the xslt parameter.
... reset()
remove all parameters and stylesheets from this nsixsltprocessor.
Troubleshooting XPCOM components registration
if the error appears, you can use nspr logging to see additional information about the failure by running firefox from a command prompt:
rem close all firefox windows!
...
remember to check that the directory the component is in is named correctly i.e.
... the dllmain code that msvc 8 (and probably earlier versions too) generates for you doesn't need to be there, you can
remove it.
... you may be able build your component using use_static_libs=1 in order to
remove c runtime library dependencies.
Getting Started Guide
clients are expected to keep this reference count accurate by inc
rementing it when they acquire a reference to the interface, and dec
rementing it before they let go.
...nscomptr<nsifoo> foo(do_queryinterface(p));
remember, the c++ type system and the xpcom type system are really two independent things.
...
remember: good xpcom getters always |addref| their result.
... nscomptr<nsifoo> myfoo = createfoo(); // oops: leak; nscomptr<nsifoo> myfoo( dont_addref(createfoo()) ); // since |createfoo| already |addref|s its result, we must
remind // our |nscomptr| not to.
Gloda examples
* called when new items are returned by the database query or freshly indexed */ onitemsadded: function _onitemsadded(aitems, acollection) { }, /* called when items that are already in our collection get re-indexed */ onitemsmodified: function _onitemsmodified(aitems, acollection) { }, /* called when items that are in our collection are purged from the system */ onitems
removed: function _onitems
removed(aitems, acollection) { }, /* called when our database query completes */ onquerycompleted: function _onquerycompleted(conversation_coll) { try { for (var conv in conversation_coll) { //do something with the conversation here alert(conv.subject); } } catch (e) {} } } glodamessage.
...* called when new items are returned by the database query or freshly indexed */ onitemsadded: function _onitemsadded(aitems, acollection) { }, /* called when items that are already in our collection get re-indexed */ onitemsmodified: function _onitemsmodified(aitems, acollection) { }, /* called when items that are in our collection are purged from the system */ onitems
removed: function _onitems
removed(aitems, acollection) { }, /* called when our database query completes */ onquerycompleted: function _onquerycompleted(acollection) { var items = acollection.items; for (msg of items) { alert(msg.subject); }; } }; collection = id_q.getcollection(mylistener); show all messages where the from, to and cc values incl...
... an email address and turn it into an identity object id_q = gloda.newquery(gloda.noun_identity); id_q.kind("email"); id_q.value("test@example.com"); id_coll = id_q.getcollection({ onitemsadded: function _onitemsadded(aitems, acollection) { }, onitemsmodified: function _onitemsmodified(aitems, acollection) { }, onitems
removed: function _onitems
removed(aitems, acollection) { }, onquerycompleted: function _onquerycompleted(id_coll) { //woops no identity if (id_coll.items.length <= 0) return; id = id_coll.items[0]; //now we use the identity to find all messages that person was involved with ...
... }, /* called when items that are already in our collection get re-indexed */ onitemsmodified: function _onitemsmodified(aitems, acollection) { }, /* called when items that are in our collection are purged from the system */ onitems
removed: function _onitems
removed(aitems, acollection) { }, /* called when our database query completes */ onquerycompleted: function _onquerycompleted(msg_coll) { try { while(msg = msg_coll.items.pop()) { //do ...
Mail event system
nsifolders each store individual lists of folder listeners which are maintained with addlistener() and
removelistener().
...the nsimsgmailsession interface actually only allows adding and
removal of listeners - the notifications happen through the nsifolderlistener interface as well.
... events at the time this document is being written, these are the current events: nsifolder nsifolderlistener notifyitemadded onitemadded notifyitem
removed onitem
removed notifyitempropertychanged onitempropertychanged notifyitemintpropertychanged onitemintpropertychanged notifyitemboolpropertychanged onitemboolpropertychanged notifyitemunicharpropertychanged onitemunicharpropertychanged notifyitempropertyflagchanged onitempropertyflagchanged notifyitemevent onitemevent ...
...+ " now has " + newvalue + " messages."); } else if (propertystring == "testproperty") { dump("recieved integer test property fired on folder " + folder.prettyname + " with values " + oldvalue + " and " + newvalue + "\n"); } // set up the folder listener to point to the above function var folderlistener = { onitemadded: function(parent, item, viewstring) {}, onitem
removed: function(parent, item, viewstring) {}, onitempropertychanged: function(parent, item, viewstring) {}, onitemintpropertychanged: myonintpropertychanged, onitemboolpropertychanged: function(item, property, oldvalue, newvalue) {}, onitemunicharpropertychanged: function(item, property, oldvalue, newvalue) {}, onitempropertyflagchanged: function(item, property, oldflag, newflag) {}, on...
WebIDL bindings
in addition, for iterable, there are requi
rements for c++ function implementation by the interface developer.
... iterable interfaces have different requi
rements, based on if they are single or pair value iterators.
... note that adding or
removing this extended attribute requires a clobber.
... note that adding or
removing navigatorproperty requires a clobber.
Zombie compartments
minimize memory usage and
remeasure in about:memory.
... if you can identify, by disabling them one at a time, a single add-on that is responsible, that is ext
remely helpful.
... for example, for an add-on that
remembers passwords, visit a site that requires a password; for an add-on that performs an operation involving a specific page element such as an image or a chunk of text, perform that operation.
... return to about:memory and minimize memory and
remeasure, multiple times if necessary.
All keyboard shortcuts - Firefox Developer Tools
return or space enter or space cycle up and down through auto-complete suggestions (rules view only, when a property or value is being edited) up arrow , down arrow up arrow , down arrow up arrow , down arrow choose current auto-complete suggestion (rules view only, when a property or value is being edited) enter or tab return or tab enter or tab inc
rement selected value by 1 up arrow up arrow up arrow dec
rement selected value by 1 down arrow down arrow down arrow inc
rement selected value by 100 shift + page up shift + page up shift + page up dec
rement selected value by 100 shift + page down shift + page down shift + page down inc
rement selected value by 10 shift + up arr...
...ow shift + up arrow shift + up arrow dec
rement selected value by 10 shift + down arrow shift + down arrow shift + down arrow inc
rement selected value by 0.1 alt + up arrow (ctrl + up arrow from firefox 60 onwards.) alt + up arrow alt + up arrow (ctrl + up arrow from firefox 60 onwards.) dec
rement selected value by 0.1 alt + down arrow (ctrl + down arrow from firefox 60 onwards).
...by default, on some macs, the function key is
remapped to use a special feature: for example, to change the screen brightness or the volume.
...to use a
remapped key as a standard function key, hold the function key down as well (so to open the profiler, use shift + function + f5).
Network request list - Firefox Developer Tools
remote ip: the ip address of the server answering the request.
...
remove all deletes all items in the list.
... domain:mozilla.org
remote-ip shows resources coming from a server with the specified ip.
...
remote-ip:63.245.215.53
remote-ip:[2400:cb00:2048:1::6810:2802] cause shows resources matching a specific cause type.
Edit fonts - Firefox Developer Tools
this can be set using em,
rem, %, px, vh, or vw units.
... example: if 1
rem is equivalent to 10 pixels, when you change the unit of measu
rement from
rem to px, 2
rem becomes 20px.
...for non-variable fonts the slider ranges from 100 to 900 in inc
rements of 100.
... all fonts on page the
remaining area, at the bottom of the fonts tab, shows an expandable list of all of the fonts in use on the page.
Web Audio Editor - Firefox Developer Tools
notice: this tool has been deprecated and will soon be
removed from firefox.
...two good demos are: the voice-change-o-matic, which can apply various effects to the microphone input and also provides a visualisation of the result the violent the
remin, which changes the pitch and volume of a sine wave as you move the mouse pointer visualizing the graph the web audio editor will now display the graph for the loaded audio context.
... here's the graph for the violent the
remin demo: you can see that it uses three nodes: an oscillatornode as the source, a gainnode to control the volume, and an gainnode as the destination.
...for example, here's what the oscillatornode looks like: with the violent the
remin demo, the frequency parameter is modified as the user moves the mouse left and right, and you can see this reflected in the node inspector.
about:debugging (before Firefox 68) - Firefox Developer Tools
the "enable add-on debugging" button works by turning on the devtools.chrome.enabled and devtools.debugger.
remote-enabled preferences.
... you can also modify the preferences directly in about:config, or by checking "enable browser chrome and add-on debugging toolboxes" and "enable
remote debugging" in the developer tools settings.
... 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.
... if your history preference is set to "never
remember history" or "always use private browsing mode".
BluetoothDevice - Web APIs
name; readonly attribute bluetooth
remotegattserver?
... bluetoothdevice.gatt read only a reference to the device's bluetooth
remotegattserver.
... non-standard chrome os properties these properties were only implemented on google’s chrome os 45 and
removed from chrome 52.
... bluetoothdevice.connectgatt() a promise that resolves to an instance of bluetoothgatt
remoteserver.
CSSStyleSheet - Web APIs
this is normally used to access individual rules like this: stylesheet.cssrules[i] // where i = 0..cssrules.length-1 to add or
remove items in cssrules, use the cssstylesheet's insertrule() and deleterule() methods.
... legacy properties these properties are legacy properties first introduced by microsoft long ago; they shouldn't be used but are not likely to be
removed anytime soon.
... legacy methods these methods are legacy methods first introduced by microsoft; they should not be used if they can be avoided, but are not in danger of being
removed anytime soon.
...
removerule() functionally identical to deleterule();
removes the rule at the specified index from the stylesheet's rule list.
Content Index API - Web APIs
it's good practice to present an interface for clearing out entries, or periodically
remove older entries.
...this happens when content is
removed by the user agent.
...'); for (const entry of entries) { const listitem = document.createelement('li'); const anchorelem = document.createelement('a'); anchorelem.innertext = entry.title; anchorelem.setattribute('href', entry.url); listelem.append(listitem); } readinglistelem.append(listelem); } } unregistering indexed content below is an asynchronous function, that
removes an item from the content index.
...they are accessible from the workerglobalscope.self property: // service worker script self.registration.index.add(item); self.registration.index.delete(item.id); const contentindexitems = self.registration.index.getall(); contentdelete event when an item is
removed from the user agent interface, a contentdelete event is received by the service worker.
DOMTokenList.toggle() - Web APIs
the toggle() method of the domtokenlist interface
removes a given token from the list and returns false.
...if set to false, then token will only be
removed, but not added.
... if set to true, then token will only be added, but not
removed.
... first, the html: <span class="a b">classlist is 'a b'</span> now the javascript: let span = document.queryselector("span"); let classes = span.classlist; span.addeventlistener('click', function() { let result = classes.toggle("c"); if (result) { span.textcontent = `'c' added; classlist is now "${classes}".`; } else { span.textcontent = `'c'
removed; classlist is now "${classes}".`; } }) the output looks like this: specifications specification status comment domthe definition of 'toggle()' in that specification.
Document.execCommand() - Web APIs
(internet explorer will create a link with a null value.) cut
removes the current selection and copies it to the clipboard.
...the requi
rements for this string are the same as createlink.
...
removeformat
removes all formatting from the current selection.
... unlink
removes the anchor element from a selected hyperlink.
Document.xmlEncoding - Web APIs
although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
... warning: do not use this attribute; it has been
removed from the dom level 4 specification and is no longer supported in gecko 10.0 (firefox 10.0 / thunderbird 10.0 / seamonkey 2.7).
... however, firefox 3.0 includes information on endianness (e.g., utf-16be for big endian encoding), and while this extra information is
removed as of firefox 3.1b3, firefox 3.1b3 is still consulting the file's encoding, rather than the xml declaration as the spec defines it ("an attribute specifying, as part of the xml declaration, the encoding of this document.").
... specification http://www.w3.org/tr/dom-level-3-cor...ment3-encoding this has been
removed from dom core level 4wd ...
Element.setAttribute() - Web APIs
to get the current value of an attribute, use getattribute(); to
remove an attribute, call
removeattribute().
...instead of
removing the attribute or setting its value to be null, it instead sets the attribute's value to the string "null".
... if you wish to
remove an attribute, call
removeattribute().
... methods namespace-aware variants (dom level 2) dom level 1 methods for dealing with attr nodes directly (seldom used) dom level 2 namespace-aware methods for dealing with attr nodes directly (seldom used) setattribute (dom 1) setattributens setattributenode setattributenodens getattribute (dom 1) getattributens getattributenode getattributenodens hasattribute (dom 2) hasattributens - -
removeattribute (dom 1)
removeattributens
removeattributenode - specifications specification status comment domthe definition of 'setattribute()' in that specification.
FileSystemDirectoryEntry - Web APIs
obsolete methods
removerecursively() deletes a directory and all of its contents, including the contents of subdirectories.
... this has been
removed from the spec.
... 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 yes
removerecursively 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...
... 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 support ...
HTMLImageElement.alt - Web APIs
<div class="container"> <div class="left-margin"> <img src="/files/16861/margin-flourish.svg" alt=""> </div> <div class="contents"> <p>lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
...lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
... <div class="container"> <img src="https://udn.realityripple.com/samples/87/eace6b7d6a.svg" alt="new page!" class="pageinfo-badge"> <p class="contents"> lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
...lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
HTMLInputElement - Web APIs
step string: returns / sets the element's step attribute, which works with min and max to limit the inc
rements at which a numeric or date-time value can be set.
... methods blur()
removes focus from the input element; keystrokes will subsequently go nowhere.
... htmlinputelement.stepdown() dec
rements the value by (step * n), where n defaults to 1 if not specified.
... htmlinputelement.stepup() inc
rements the value by (step * n), where n defaults to 1 if not specified.
HTMLMediaElement - Web APIs
the domtokenlist takes one or more of three possible values: nodownload, nofullscreen, and no
remoteplayback.
... htmlmediaelement.disable
remoteplayback a boolean that sets or returns the
remote playback state, indicating whether the media element is allowed to have a
remote playback ui.
...this was firefox-specific, having been implemented for firefox os, and was
removed in firefox 55.
...this was firefox-specific, having been implemented for firefox os, and was
removed in firefox 55.
HTMLTextAreaElement - Web APIs
methods blur()
removes focus from the control; keystrokes will subsequently go nowhere.
...etc. ]</p> <p><textarea name="mytxtarea" rows="10" cols="50">lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
...praesent tristique commodo lo
rem quis fringilla.
...nunc eu mauris eu leo blandit mollis interdum eget lo
rem.
IDBDatabaseException - Web APIs
obsolete: this interface was
removed from the specification and was replaced by usage of domexception.
... data_err 5 data provided to an operation does not meet requi
rements.
...it also occurs if a request is made on a source object that has been deleted or
removed.
... quota_err 11 either there's not enough
remaining storage space or the storage quota was reached and the user declined to give more space to the database.
IDBIndexSync - Web APIs
important: the synchronous version of the indexeddb api was originally intended for use only with web workers, and was eventually
removed from the spec because its need was questionable.
...(in any key) raises (idbdatabaseexception); void opencursor (in optional idbkeyrange range, in optional unsigned short direction) raises (idbdatabaseexception); void openobjectcursor (in optional idbkeyrange range, in optional unsigned short direction) raises (idbdatabaseexception); any put (in any value, in optional any key) raises (idbdatabaseexception); void
remove (in any key) raises (idbdatabaseexception); attributes attribute type description keypath readonly domstring the key path of this index.
...
remove()
removes from this index any records that correspond to the given key.
... void
remove ( in any key ) raises (idbdatabaseexception); parameters key key of the records to be
removed.
Basic concepts - Web APIs
it used to include a synchronous version also, for use in web workers, but this was
removed from the spec due to lack of interest by the web community.
...they have onsuccess and onerror properties, and you can call addeventlistener() and
removeeventlistener() on them.
...old browsers implemented the now deprecated and
removed idbdatabase.setversion() method.
...the scope of transactions, which is defined at creation, determines which object stores the transaction can interact with and
remains constant for the lifetime of the transaction.
Intersection Observer API - Web APIs
the
remaining steps will
remove any portions that don't intersect.
...the snippet thus first checks that the transition is a positive one, then determines whether intersectionratio is above 75%, in which case it inc
rements the counter.
...o", entry.intersectionratio); } else { entry.target.style.backgroundcolor = decreasingcolor.replace("ratio", entry.intersectionratio); } prevratio = entry.intersectionratio; }); } for each intersectionobserverentry in the list entries, we look to see if the entry's intersectionratio is going up; if it is, we set the target's background-color to the string in increasingcolor (
remember, it's "rgba(40, 40, 190, ratio)"), replaces the word "ratio" with the entry's intersectionratio.
... finally, in order to track whether the intersection ratio is going up or down, we
remember the current ratio in the variable prevratio.
Using the MediaStream Recording API - Web APIs
we wanted to give the first two (the header and the controls) fixed heights: header { height: 70px; } .main-controls { padding-bottom: 0.7
rem; height: 170px; } however, we wanted to make the third area (which contains the recorded samples you can play back) take up whatever space is left, regardless of the device height.
...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.7
rem); overflow: scroll; } note: calc() has good support across modern browsers too, even going back to internet explorer 9.
...first of all, we style the <label> how we want it, making sure that it has enough z-index to always sit above the other elements and therefore be focusable/clickable: label { font-family: 'notocolo
remoji'; font-size: 3
rem; position: absolute; top: 2px; right: 3px; z-index: 5; cursor: pointer; } then we hide the actual checkbox, because we don't want it cluttering up our ui: input[type=checkbox] { position: absolute; top: -100px; } next, we style the information screen (wrapped in an <aside> element) how we want it, give it fixed position so that it doesn't appe...
...ld(audio); clipcontainer.appendchild(cliplabel); clipcontainer.appendchild(deletebutton); soundclips.appendchild(clipcontainer); const blob = new blob(chunks, { 'type' : 'audio/ogg; codecs=opus' }); chunks = []; const audiourl = window.url.createobjecturl(blob); audio.src = audiourl; deletebutton.onclick = function(e) { let evttgt = e.target; evttgt.parentnode.parentnode.
removechild(evttgt.parentnode); } } let's go through the above code and look at what's happening.
MutationObserver.MutationObserver() - Web APIs
example this example simply creates a new mutationobserver configured to watch a node and all of its children for additions and
removals of elements to the tree, as well as any changes to attributes on any of the elements in the tree.
... the callback function function callback(mutationlist, observer) { mutationlist.foreach( (mutation) => { switch(mutation.type) { case 'childlist': /* one or more children have been added to and/or
removed from the tree.
... (see mutation.addednodes and mutation.
removednodes.) */ break; case 'attributes': /* an attribute value changed on the element in mutation.target.
... from this point until disconnect() is called, callback() will be called each time an element is added to or
removed from the dom tree rooted at targetnode, or any of those elements' attributes are changed.
MutationRecord - Web APIs
mutationrecord.
removednodes nodelist return the nodes
removed.
... will be an empty nodelist if no nodes were
removed.
... mutationrecord.previoussibling node return the previous sibling of the added or
removed nodes, or null.
... mutationrecord.nextsibling node return the next sibling of the added or
removed nodes, or null.
Notification.close() - Web APIs
the close() method of the notification interface is used to close/
remove a previously displayed notification.
... note: this api shouldn't be used just to have the notification
removed from the screen after a fixed delay since this method will also
remove the notification from any notification tray, preventing users from interacting with it after it was initially shown.
... a valid use for this api would be to
remove a notification that is no longer relevant (e.g.
...at the end of the function, it also calls close() inside a addeventlistener() function to
remove the notification when the relevant content has been read on the webpage.
Performance - Web APIs
performance.timeorigin read only returns the high resolution timestamp of the start time of the performance measu
rement.
... performance.clearmarks()
removes the given mark from the browser's performance entry buffer.
... performance.clearmeasures()
removes the given measure from the browser's performance entry buffer.
... performance.clearresourcetimings()
removes all performance entries with a entrytype of "resource" from the browser's performance data buffer.
Pointer Lock API - Web APIs
it gives you access to raw mouse movement, locks the target of mouse events to a single element, eliminates limits on how far mouse movement can go in a single direction, and
removes the cursor from view.
...when you click the canvas, pointer lock is then used to
remove the mouse pointer and allow you to move the ball directly using the mouse.
...if not, it
removes the event listener again.
... function lockchangealert() { if (document.pointerlockelement === canvas || document.mozpointerlockelement === canvas) { console.log('the pointer lock status is now locked'); document.addeventlistener("mousemove", updateposition, false); } else { console.log('the pointer lock status is now unlocked'); document.
removeeventlistener("mousemove", updateposition, false); } } the updateposition() function updates the position of the ball on the canvas (x and y), and also includes if() statements to check whether the ball has gone off the edges of the canvas.
Using Pointer Events - Web APIs
this property is a unique integer for each pointer event, and
remains consistent for each event during the duration of each finger's contact with the surface.
...its job is to draw the last line segment for the touch that ended and
remove the touch point from the ongoing touch list.
... = colorfortouch(evt); var idx = ongoingtouchindexbyid(evt.pointerid); if (idx >= 0) { ctx.linewidth = 4; ctx.fillstyle = color; ctx.beginpath(); ctx.moveto(ongoingtouches[idx].pagex, ongoingtouches[idx].pagey); ctx.lineto(evt.clientx, evt.clienty); ctx.fillrect(evt.clientx - 4, evt.clienty - 4, 8, 8); // and a square at the end ongoingtouches.splice(idx, 1); //
remove it; we're done } else { log("can't figure out which touch to end"); } } this is very similar to the previous function; the only real differences are that we draw a small square to mark the end and that when we call array.splice(), we simply
remove the old entry from the ongoing touch list, without adding in the updated information.
... function handlecancel(evt) { log("pointercancel: id = " + evt.pointerid); var idx = ongoingtouchindexbyid(evt.pointerid); ongoingtouches.splice(idx, 1); //
remove it; we're done } since the idea is to immediately abort the touch, we simply
remove it from the ongoing touch list without drawing a final line segment.
RTCIceCandidate.address - Web APIs
security notes it's important to note here that although webrtc does not require the two peers on an rtcpeerconnection to know one another's true ip addresses, the address property on rtcicecandidate can expose more information about the source of the
remote peer than the user expects.
... the ip address can be used to derive information about the
remote device's location, network topology, and so forth.
...this can occur without the
remote peer's consent.
...doing so prevents the
remote user's address from being exposed, but reduces the pool of available candidates to choose from.
RTCIceCandidate.priority - Web APIs
the rtcicecandidate interface's read-only priority property specifies the candidate's priority according to the
remote peer; the higher this value is, the better the
remote peer considers the candidate to be.
... syntax var priority = rtcicecandidate.priority; value a long, unsigned integer value indicating the priority of the candidate according to the
remote peer.
... the larger this value is, the more preferable the
remote peer considers this candidate to be.
... example this candidate examines the priority of the candidate and, if it's greater than the priority of a previously-seen candidate,
remembers the candidate for later use.
RTCIceCandidateStats.networkType - Web APIs
the rtcicecandidatestats dictionary's networktype property specifies the type of network used by a local candidate to communicate with a
remote peer.
... note: the networktype property is only included in rtcicecandidatestats objects for local candidates (that is, candidates generated locally and included in an sdp offer or answer that has been sent to the
remote peer).
... note: keep in mind that the specified value only reflects the initial connection between the local peer and the next hop along the network toward reaching the
remote peer.
... window.setinterval(function() { mypeerconnection.getstats(null).then(stats => { let statsoutput = ""; stats.foreach(report => { if ((stats.type === "local-candidate" || stats.type === "
remote.candidate") && stats.networktype === "cellular") { statsoutput += `<h2>report: ${report.type}</h3>\n<strong>id:</strong> ${report.id}<br>\n` + `<strong>timestamp:</strong> ${report.timestamp}<br>\n`; // now the statistics for this report; we intentially drop the ones we // sorted to the top above object.keys(report).foreach(statname => {...
RTCIceTransport.getSelectedCandidatePair() - Web APIs
local describes the configuration of the local end of the connection, while
remote describes the
remote peer's configuration.
...as soon as it finds an acceptable matching pair of candidates, meeting the requi
rements for the connection, a selectedcandidatepairchange event is fired at the rtcicetransport.
... note: it's possible for one of the configurations in the selected candidate pair to
remain unchanged when a new pairing is chosen.
... var icetransport = pc.getsenders()[0].transport.icetransport; var localproto = document.getelementbyid("local-protocol"); var
remoteproto = document.getelementbyid("
remote-protocol"); icetransport.onselectedcandidatepairchange = function(event) { var pair = icetransport.getselectedcandidatepair(); localprotocol.innertext = pair.local.protocol.touppercase();
remoteprotocol.innertext = pair.
remote.protocol.touppercase(); } specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcicetransport.getselectedcandidatep...
RTCIceTransport - Web APIs
these are the same candidates which have already been sent to the
remote peer by sending an icecandidate event to the rtcpeerconnection for transmission.
... get
remotecandidates() returns an array of rtcicecandidate objects, one for each of the
remote device's ice candidates that have been received by the local end of the rtcpeerconnection and delivered to ice by calling addicecandidate().
... get
remoteparameters() returns a rtciceparameters object containing the ice parameters for the
remote device, as set by a call to rtcpeerconnection.set
remotedescription().
... if set
remotedescription() hasn't been called yet, the return value is null.
RTCPeerConnection.getStreamById() - Web APIs
the rtcpeerconnection.getstreambyid() method returns the mediastream with the given id that is associated with local or
remote end of the connection.
... this property has been replaced with the rtcpeerconnection.getlocalstreams and rtcpeerconnection.get
remotestreams properties.
... if you have code that uses stream, you will need to update, since browsers have begun to
remove support for stream.
... // from: https://bugs.chromium.org/p/chromium/issues/detail?id=698163&desc=5#c10 rtcpeerconnection.prototype.getstreambyid = function(id) { try { var localstreams = this.getlocalstreams(); var
remotestreams = this.get
remotestreams(); var i; for (i = 0; i < localstreams.length; i++) { if (localstreams[i].id == id) return localstreams[i]; } for (i = 0; i <
remotestreams.length; i++) { if (
remotestreams[i].id == id) return
remotestreams[i]; } } catch(e) {} return null; } ...
RTCPeerConnection.signalingState - Web APIs
this may mean that the rtcpeerconnection object is new, in which case both the localdescription and
remotedescription are null; it may also mean that negotiation is complete and a connection has been established.
... "have-
remote-offer" the
remote peer has created an offer and used the signaling server to deliver it to the local peer, which has set the offer as the
remote description by calling rtcpeerconnection.set
remotedescription().
... "have-local-pranswer" the offer sent by the
remote peer has been applied and an answer has been created (usually by calling rtcpeerconnection.createanswer()) and applied by calling rtcpeerconnection.setlocaldescription().
... "have-
remote-pranswer" a provisional answer has been received and successfully applied in response to an offer previously sent and established by calling setlocaldescription().
RTCRtpSender - Web APIs
the rtcrtpsender interface provides the ability to control and obtain details about how a particular mediastreamtrack is encoded and sent to a
remote peer.
...you can also obtain access to an rtcdtmfsender which can be used to send dtmf codes (to simulate the user pressing buttons on a telephone's dial pad) to the
remote peer.
... obsolete properties rtcptransport this property has been
removed; the rtp and rtcp transports have been combined into a single transport.
... rtcrtpsender.setparameters() applies changes to parameters which configure how the track is encoded and transmitted to the
remote peer.
Request.cache - Web APIs
if there is a match but it is stale, the browser will make a conditional request to the
remote server.
... no-store — the browser fetches the resource from the
remote server without first looking in the cache, and will not update the cache with the downloaded resource.
... reload — the browser fetches the resource from the
remote server without first looking in the cache, but then will update the cache with the downloaded resource.
... if there is a match, fresh or stale, the browser will make a conditional request to the
remote server.
Using the Resource Timing API - Web APIs
start until response end time = " + t); } } resource size measu
rements the size of an application's resources can affect an application's performance so getting accurate data on resource size can be important (especially for non-hosted resources).
...the encodedbodysize property returns the size (in octets) received from the fetch (http or cache), of the payload body, before
removing any applied content-codings.
... decodedbodysize returns the size (in octets) received from the fetch (http or cache) of the message body, after
removing any applied content-codings.
...the clearresourcetimings() method
removes all "resource" type performance entries from the browser's resource performance entry buffer.
Selection API - Web APIs
once your selection is in a variable, you perform a variety of operations on it, for example copying the selection to a text string using selection.tostring(), adding a range (as represented by a standard range object) to the selection (or
removing one) with selection.addrange()/selection.
removerange(), or changing the selection to be the entire contents of a dom node using selection.selectallchildren().
...e android full support yesfirefox android full support 55opera android full support yessafari ios full support yessamsung internet android full support yesempty() as alias of
removeallranges() experimentalchrome full support yesedge full support 12firefox full support 55ie ?
... yeschrome android full support yesfirefox android full support yesopera android full support yessafari ios full support yessamsung internet android full support yes
removeallranges experimentalchrome full support yesedge full support 12firefox full support yesie full support yesopera full support yessafari full support ...
... yeschrome android full support yesfirefox android full support yesopera android full support yessafari ios full support yessamsung internet android full support yes
removerange experimentalchrome full support 58edge full support 12firefox full support yesie ?
SubtleCrypto.verify() - Web APIs
*/ async function verifymessage(publickey) { const signaturevalue = document.queryselector(".rsassa-pkcs1 .signature-value"); signaturevalue.classlist.
remove("valid", "invalid"); let encoded = getmessageencoding(); let result = await window.crypto.subtle.verify( "rsassa-pkcs1-v1_5", publickey, signature, encoded ); signaturevalue.classlist.add(result ?
...*/ async function verifymessage(publickey) { const signaturevalue = document.queryselector(".rsa-pss .signature-value"); signaturevalue.classlist.
remove("valid", "invalid"); let encoded = getmessageencoding(); let result = await window.crypto.subtle.verify( { name: "rsa-pss", saltlength: 32, }, publickey, signature, encoded ); signaturevalue.classlist.add(result ?
...*/ async function verifymessage(publickey) { const signaturevalue = document.queryselector(".ecdsa .signature-value"); signaturevalue.classlist.
remove("valid", "invalid"); let encoded = getmessageencoding(); let result = await window.crypto.subtle.verify( { name: "ecdsa", hash: {name: "sha-384"}, }, publickey, signature, encoded ); signaturevalue.classlist.add(result ?
...*/ async function verifymessage(key) { const signaturevalue = document.queryselector(".hmac .signature-value"); signaturevalue.classlist.
remove("valid", "invalid"); let encoded = getmessageencoding(); let result = await window.crypto.subtle.verify( "hmac", key, signature, encoded ); signaturevalue.classlist.add(result ?
TrackEvent - Web APIs
the trackevent interface, which is part of the html dom specification, is used for events which represent changes to a set of available tracks on an html media element; these events are addtrack and
removetrack.
... example this example sets up a function, handletrackevent(), which is callled for any addtrack or
removetrack event on the first <video> element found in the document.
... var videoelem = document.queryselector("video"); videoelem.videotracks.addeventlistener("addtrack", handletrackevent, false); videoelem.videotracks.addeventlistener("
removetrack", handletrackevent, false); videoelem.audiotracks.addeventlistener("addtrack", handletrackevent, false); videoelem.audiotracks.addeventlistener("
removetrack", handletrackevent, false); videoelem.texttracks.addeventlistener("addtrack", handletrackevent, false); videoelem.texttracks.addeventlistener("
removetrack", handletrackevent, false); function handletrackevent(event) { var trackkind; if (event.target instanceof(videotracklist)) { trackkind = "video"; } else if (event.target instanceof(audiotracklist)) { trackkind = "audio"; } else if (event.target instanceof(texttracklist)) { trackkind = "t...
...ext"; } else { trackkind = "unknown"; } switch(event.type) { case "addtrack": console.log("added a " + trackkind + " track"); break; case "
removetrack": console.log("
removed a " + trackkind + " track"); break; } } the event handler uses the javascript instanceof operator to determine which type of track the event occurred on, then outputs to console a message indicating what kind of track it is and whether it's being added to or
removed from the element.
User Timing API - Web APIs
removing performance marks to
remove a specific mark from the performance timeline, call performance.clearmarks(name) where name is the name of the mark(s) you want
removed.
... if this method is called with no arguments, all mark type entries will be
removed from the performance timeline.
...
removing performance measures to
remove a specific measure from the performance timeline, call performance.clearmeasures(name) where name is the name of the measure(s) you want
removed.
... if this method is called with no arguments, all measure type entries will be
removed from the performance timeline.
Using WebRTC data channels - Web APIs
creating a data channel the underlying data transport used by the rtcdatachannel can be created in one of two ways: let webrtc create the transport and announce it to the
remote peer for you (by causing it to receive a datachannel event).
...this will automatically trigger the rtcpeerconnection to handle the negotiations for you, causing the
remote peer to create a data channel and linking the two together across the network.
...this process should signal to the
remote peer that it should create its own rtcdatachannel with the negotiated property also set to true, using the same id.
... let datachannel = pc.createdatachannel("myapp channel", { negotiated: true }); datachannel.addeventlistener("open", (event) => { begintransmission(datachannel); }); request
remotechannel(datachannel.id); in this code snippet, the channel is created with negotiated set to true, then a function called request
remotechannel() is used to trigger negotiation, to create a
remote channel with the same id as the local channel.
WebRTC Statistics API - Web APIs
rtcaudioreceiverstats or rtcvideoreceiverstats rtcaudiohandlerstats or rtcvideohandlerstats rtcmediahandlerstats rtcstats
remote-candidate statistics about a
remote ice candidate associated with the connection's rtcicetransports.
... rtcicecandidatestats rtcstats
remote-inbound-rtp statistics describing the state of the inbound data stream from the perspective of the
remote peer.
... rtc
remoteinboundrtpstreamstats rtcreceivedrtpstreamstats rtcrtpstreamstats rtcstats
remote-outbound-rtp statistics describing the state of the outbound data stream from the perpsective of the
remote peer.
... rtc
remoteoutboundrtpstreamstats rtcsentrtpstreamstats rtcrtpstreamstats rtcstats sctp-transport statistics about an rtcsctptransport.
Geometry and reference spaces in WebXR - Web APIs
xrreferencespace unbounded a tracking space which allows the user total freedom of movement, possibly over ext
remely long distances from their origin point.
... xrreferencespace the
remainder of this guide explores how to select the right reference space for your app's needs.
... with the newly-created reference space, the avatar can
remain at the same coordinates yet appear in the world to be located at (and be see the world from the perspective of) its new location.
... <<<--- insert table of reference space requi
rements here --->>> positioning and orienting objects all spatial (position, orientation, and movement) information exchanged between your app and the webxr api is expressed in relation to a specific space at the time the frame is being rendered.
Lighting a WebXR setting - Web APIs
and while this article provides brief
reminders as to how lighting works in general, it is not by any means a tutorial in lighting or a guide to how to create a properly-lit 3d scene.
... flashback: simulating lighting in 3d although this article isn't a comprehensive guide to lighting a 3d scene, it's useful to provide a brief
reminder as to how lighting works in general.
...by simply ensuring that the compass direction and the light directionality aren't identical on every device that's near (or claims to be near) the user's location, the ability to find users based on the state of the lighting around them is
removed.
...this could be done
remotely, or it could be performed by an attacker who's located in the same room but wants to determine if the other person is also in the same room.
Starting up and shutting down a WebXR session - Web APIs
context requi
rements a webxr compatible environment starts with a securely-loaded document.
...the global variable webxrpolyfill is used only to retain a reference to the polyfill in order to ensure that it
remains available until you no longer need it.
... if you use xr input controllers, watch the inputsourceschange event to detect the addition or
removal of xr input controllers, and the various select and squeeze action events.
...you may need different information or have different specific requi
rements that cause you to do things differently, or in a different order.
Advanced techniques: Creating and sequencing audio - Web APIs
playing the audio in time a common problem with digital audio applications is getting the sounds to play in time so that the beat
remains consistent, and things do not slip out of time.
...this is what we shall use for timing within our step sequencer — it's ext
remely accurate, returning a float value accurate to about 15 decimal places.
... let lastnotedrawn = 3; function draw() { let drawnote = lastnotedrawn; let currenttime = audioctx.currenttime; while (notesinqueue.length && notesinqueue[0].time < currenttime) { drawnote = notesinqueue[0].note; notesinqueue.splice(0,1); //
remove note from queue } // we only need to draw if the note has moved.
... // when the sample has loaded allow play let loadingel = document.queryselector('.loading'); const playbutton = document.queryselector('[data-playing]'); let isplaying = false; setupsample() .then((sample) => { loadingel.style.display = 'none'; //
remove loading screen dtmf = sample; // to be used in our playsample function playbutton.addeventlistener('click', function() { isplaying = !isplaying; if (isplaying) { // start playing // check if context is in suspended state (autoplay policy) if (audioctx.state === 'suspended') { audioctx.resume(); ...
Privileged features - Web APIs
the dependent feature is currently under revision to be
removed (bug 214867) in msie 6, the nearest equivalent to this feature is the showmodelessdialog() method.
... dialog the dialog feature
removes all icons (restore, minimize, maximize) from the window's titlebar, leaving only the close button.
...if set to no or 0, this feature
removes the titlebar from the new secondary window.
... close when set to no or 0, this feature
removes the system close command icon and system close menu item.
Window.pageYOffset - Web APIs
example var contenthtml = ` <h2 id="introduction">introduction</h2> <p>lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
...nullam vitae lo
rem non augue mattis cursus.</p> <p>maecenas nec tortor tincidunt, sollicitudin mi eget, fermentum turpis.
...quisque vel turpis justo.</p> <h2 id="overview">overview</h2> <p>lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
... html the html is ext
remely simple and has just two elements: an <iframe> that contains the document we're going to scroll, and a <div> into which we'll output the value of pageyoffset when we've finished the scroll.
Using the aria-hidden attribute - Accessibility
description adding aria-hidden="true" to an element
removes that element and all of its children from the accessibility tree.
... aria-hidden="true" will
remove the entire element from the accessibility api.
... role="presentation" and role="none" will
remove the semantic meaning of an element while still exposing it to assistive technology.
...</p> accessibility concerns best practices aria-hidden="true" should not be added when: the html hidden attribute is present the element or the element's ancestor is hidden with display: none the element or the element's ancestor is hidden with visibility: hidden in all three scenarios, the attribute is unnecessary to add because the element has already been
removed from the accessibility tree.
ARIA: tab role - Accessibility
delete when allowed
removes the currently selected tab from the tab list.
...after that, we find all tabpanel elements in the grandparent element, make them all hidden, and finally select the element whose id is equal to the triggering tab's aria-controls and
removes the hidden attribute, making it visible.
...de === 37) { tabfocus--; // if we're at the start, move to the end if (tabfocus < 0) { tabfocus = tabs.length - 1; } } tabs[tabfocus].setattribute("tabindex", 0); tabs[tabfocus].focus(); } }); }); function changetabs(e) { const target = e.target; const parent = target.parentnode; const grandparent = parent.parentnode; //
remove all current selected tabs parent .queryselectorall('[aria-selected="true"]') .foreach(t => t.setattribute("aria-selected", false)); // set this tab as selected target.setattribute("aria-selected", true); // hide all tab panels grandparent .queryselectorall('[role="tabpanel"]') .foreach(p => p.setattribute("hidden", true)); // show the selected panel grandparent...
....parentnode .queryselector(`#${target.getattribute("aria-controls")}`) .
removeattribute("hidden"); } best practices it is recommended to use a button element with the role tab for their built-in functional and accessible features instead, as opposed to needing to add them yourself.
:scope - CSS: Cascading Style Sheets
safariandroid 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.
... <style scoped> made it possible to explicitly set up element scopes, but ongoing discussions about the design of this feature as well as lack of other implementations resulted in the decision to
remove it.
... 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.
... <style scoped> made it possible to explicitly set up element scopes, but ongoing discussions about the design of this feature as well as lack of other implementations resulted in the decision to
remove it.
Mastering Wrapping of Flex Items - CSS: Cascading Style Sheets
it is this requi
rement that the gap properties, once implemented, will solve for us.
...the specification describes the behaviour as follows: “specifying visibility:collapse on a flex item causes it to become a collapsed flex item, producing an effect similar to visibility:collapse on a table-row or table-column: the collapsed flex item is
removed from rendering entirely, but leaves behind a "strut" that keeps the flex line’s cross-size stable.
...if you
remove visibility: collapse from the css or change the value to visible, you will see the item disappear and the space redistribute between non-collapsed items; the height of the flex container should not change.
... the difference between visibility: hidden and display: none when you set an item to display: none in order to hide it, the item is
removed from the formatting structure of the page.
Typical use cases of Flexbox - CSS: Cascading Style Sheets
also in this example we are using margins on the flex items to create a gap between items, and a negative margin on the container in order that the items still
remain flush with the right and left edges.
...if you
remove the flex property from the live example you will see how the footer then moves up to sit directly under the content.
...with flexbox we can allow the part of the media object containing the image to take its sizing information from the image, and then the body of the media object flexes to take up the
remaining space.
...this means you can see how the display changes by
removing that class from the html.
CSS Grid Layout and Accessibility - CSS: Cascading Style Sheets
those of us who have been doing web development for more years than we care to
remember might consider that css grid is a little bit like using “tables for layout”.
...however the onus is on us as developers to
remember to go back to our source and update it to maintain logical order.
... 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.
...starting out with a well-structured document is a very good way to avoid the problem, as you will be aware that you are
removing semantic elements in order to make the layout work if you actually have to go into the document and do so!
CSS Grid Layout and Progressive Enhancement - CSS: Cascading Style Sheets
the internet explorer and edge situation it should be
remembered that the original implementation of css grid layout happened in internet explorer 10.
...i need to be able to define the width for older browsers, and
remove the width for grid supporting browsers.
...inside the feature query, we can then write any css we need to apply our modern layout, and
remove anything required for the older layout.
...i also
remove the margins and negative margins, and replace the spacing with the grid-gap property.
Using CSS counters - CSS: Cascading Style Sheets
counters are, in essence, variables maintained by css whose values may be inc
remented by css rules to track how many times they're used.
...once initialized, a counter's value can be increased or decreased with counter-inc
rement.
...*/ } h3::before { counter-inc
rement: section; /* inc
rement the value of section counter by 1 */ content: "section " counter(section) ": "; /* display the word 'section ', the value of section counter, and a colon before the content of each h3 */ } html <h3>introduction</h3> <h3>body</h3> <h3>conclusion<...
... example of a nested counter css ol { counter-reset: section; /* creates a new instance of the section counter with each ol element */ list-style-type: none; } li::before { counter-inc
rement: section; /* inc
rements only this instance of the section counter */ content: counters(section, ".") " "; /* combines the values of all instances of the section counter, separated by a period */ } html <ol> <li>item</li> <!-- 1 -->...
CSS values and units - CSS: Cascading Style Sheets
if unquoted, it is parsed as a <url-token>, which has extra requi
rements including the escaping of certain characters.
...
rem font size of the root element.
...this quantity can be a value of another property of the same element, the value of a property of an ancestor element, a measu
rement of a containing block, or something else.
... adds the min(), max() and clamp() functional notation adds toggle() css values and units module level 3 candidate recommendation adds calc(), ch,
rem, vw, vw, vmin, vmax, q css color module level 4 working draft adds commaless syntaxes for the rgb(), rgba(), hsl(), and hsla() functions.
Grid wrapper - CSS: Cascading Style Sheets
requi
rements items placed on the grid should be able to align to a horizontally-centered max-width wrapper and/or the outer edges of the grid.
...using a numeric unit (pixels, ems,
rems) will create a fixed maximum size for the central wrapper, whereas using percentage values or viewport units will mean this wrapper grows or shrinks in response to its context.
... the outer two columns have a maximum size of 1fr, meaning that they will each expand to fill the
remaining available space in the grid container.
... useful fallbacks or alternative methods when using this recipe at page level it can be useful to set a max-width along with left and right auto margins to center the content horizontally: .grid { max-width: 1200px; margin: 0 auto; // horizontally centers the container } /*
remove the max-width and margins if the browser supports grid */ @supports (display: grid) { .grid { display: grid; /* other grid code goes here */ max-width: none; margin: 0; } } to “break out” a full-width item to the edge of the viewport you can then use this trick (courtesy of una kravets): .item { width: 100vw; margin-left: 50%; transform: translate3d(-50%, 0, 0); } this gives a good approximation of the layout, only without the benefit of being able to align items easily on an...
clear - CSS: Cascading Style Sheets
formal definition initial valuenoneapplies toblock-level elementsinheritednocomputed valueas specifiedanimation typediscrete formal syntax none | left | right | both | inline-start | inline-end examples clear: left html <div class="wrapper"> <p class="black">lo
rem ipsum dolor sit amet, consectetuer adipiscing elit.
...suspendisse eget dolor.</p> <p class="red">lo
rem ipsum dolor sit amet, consectetuer adipiscing elit.</p> <p class="left">this paragraph clears left.</p> </div> css .wrapper{ border:1px solid black; padding:10px; } .left { border: 1px solid black; clear: left; } .black { float: left; margin: 0; background-color: black; color: #fff; width: 20%; } .red { float: left; margin: 0; background-color: pink; width:20%; } p { width: 50%; } clear: right html <div class="wrapper"> <p class="black">lo
rem ipsum dolor sit amet, consectetuer adipiscing elit.
...suspendisse eget dolor.</p> <p class="red">lo
rem ipsum dolor sit amet, consectetuer adipiscing elit.</p> <p class="right">this paragraph clears right.</p> </div> css .wrapper{ border:1px solid black; padding:10px; } .right { border: 1px solid black; clear: right; } .black { float: right; margin: 0; background-color: black; color: #fff; width:20%; } .red { float: right; margin: 0; background-color: pink; width:20%; } p { width: 50%; } clear: both html <div class="wrapper"> <p class="black">lo
rem ipsum dolor sit amet, consectetuer adipiscing elit.
...fusce pulvinar lacus ac dui.</p> <p class="red">lo
rem ipsum dolor sit amet, consectetuer adipiscing elit.
display - CSS: Cascading Style Sheets
due to a bug in browsers this will currently
remove the element from the accessibility tree — screen readers will not look at what's inside.
... layout methods line-based placement grid template areas layout using named grid lines auto-placement in grid layout box alignment in grid layout grids, logical values and writing modes css grid layout and accessibility css grid layout and progressive enhancement realizing common layouts using grids accessibility concerns display: none using a display value of none on an element will
remove it from the accessibility tree.
... if you want to visually hide the element, a more accessible alternative is to use a combination of properties to
remove it visually from the screen but keep it parseable by assistive technology such as screen readers.
... display: contents current implementations in most browsers will
remove from the accessibility tree any element with a display value of contents (but descendants will
remain).
float - CSS: Cascading Style Sheets
the element is
removed from the normal flow of the page, though still
remaining a part of the flow (in contrast to absolute positioning).
... formal definition initial valuenoneapplies toall elements, but has no effect if the value of display is none.inheritednocomputed valueas specifiedanimation typediscrete formal syntax left | right | none | inline-start | inline-end examples how floated elements are positioned as mentioned above, when an element is floated, it is taken out of the normal flow of the document (though still
remaining part of it).
... html <section> <div class="left">1</div> <div class="left">2</div> <div class="right">3</div> <p>lo
rem ipsum dolor sit amet, consectetur adipiscing elit.
...for instance, you may want paragraphs to
remain adjacent to floats, but force headings to be on their own line.
overflow-block - CSS: Cascading Style Sheets
lex containers, and grid containersinheritednocomputed valueas specified, except with visible/clip computing to auto/hidden respectively if one of overflow-x or overflow-y is neither visible nor clipanimation typediscrete formal syntax visible | hidden | clip | scroll | auto examples html <ul> <li><code>overflow-block:hidden</code> — hides the text outside the box <div id="div1"> lo
rem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
... </div> </li> <li><code>overflow-block:scroll</code> — always adds a scrollbar <div id="div2"> lo
rem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
... </div> </li> <li><code>overflow-block:visible</code> — displays the text outside the box if needed <div id="div3"> lo
rem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
... </div> </li> <li><code>overflow-block:auto</code> — on most browser, equivalent to <code>scroll</code> <div id="div4"> lo
rem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
overflow-y - CSS: Cascading Style Sheets
containersinheritednocomputed valueas specified, except with visible/clip computing to auto/hidden respectively if one of overflow-x or overflow-y is neither visible nor clipanimation typediscrete formal syntax visible | hidden | clip | scroll | auto examples setting overflow-y behavior html <ul> <li><code>overflow-y:hidden</code> — hides the text outside the box <div id="div1"> lo
rem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
... </div> </li> <li><code>overflow-y:scroll</code> — always adds a scrollbar <div id="div2"> lo
rem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
... </div> </li> <li><code>overflow-y:visible</code> — displays the text outside the box if needed <div id="div3"> lo
rem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
... </div> </li> <li><code>overflow-y:auto</code> — on most browser, equivalent to <code>scroll</code> <div id="div4"> lo
rem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
overflow - CSS: Cascading Style Sheets
overflow-x or overflow-y is neither visible nor clipanimation typediscrete formal syntax [ visible | hidden | clip | scroll | auto ]{1,2} examples setting different overflow values for text p { width: 12em; height: 6em; border: dotted; overflow: visible; /* content is not clipped */ } visible (default) sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium dolo
remque laudantium.
... p { overflow: hidden; /* no scrollbars are provided */ } overflow: hidden sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium dolo
remque laudantium.
... p { overflow: scroll; /* always show scrollbars */ } overflow: scroll sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium dolo
remque laudantium.
... p { overflow: auto; /* append scrollbars if necessary */ } overflow: auto sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium dolo
remque laudantium.
transition-duration - CSS: Cascading Style Sheets
formal definition initial value0sapplies toall elements, ::before and ::after pseudo-elementsinheritednocomputed valueas specifiedanimation typediscrete formal syntax <time># examples transition-duration: 0.5s <div class="parent"> <div class="box">lo
rem</div> </div> .parent { width: 250px; height:125px;} .box { width: 100px; height: 100px; background-color: red; font-size: 20px; left: 0px; top: 0px; position:absolute; -webkit-transition-property: width height background-color font-size left top transform -webkit-transform color; -webkit-transition-duration:0.5s; -webkit-transition-timing-function: ease...
...ransition-timing-function: ease-in-out; } function updatetransition() { var el = document.queryselector("div.box"); if (el) { el.classname = "box1"; } else { el = document.queryselector("div.box1"); el.classname = "box"; } return el; } var intervalid = window.setinterval(updatetransition, 7000); transition-duration: 1s <div class="parent"> <div class="box">lo
rem</div> </div> .parent { width: 250px; height:125px;} .box { width: 100px; height: 100px; background-color: red; font-size: 20px; left: 0px; top: 0px; position:absolute; -webkit-transition-property: width height background-color font-size left top -webkit-transform color; -webkit-transition-duration:1s; -webkit-transition-timing-function: ease-in-out; ...
...ransition-timing-function: ease-in-out; } function updatetransition() { var el = document.queryselector("div.box"); if (el) { el.classname = "box1"; } else { el = document.queryselector("div.box1"); el.classname = "box"; } return el; } var intervalid = window.setinterval(updatetransition, 7000); transition-duration: 2s <div class="parent"> <div class="box">lo
rem</div> </div> .parent { width: 250px; height:125px;} .box { width: 100px; height: 100px; background-color: red; font-size: 20px; left: 0px; top: 0px; position:absolute; -webkit-transition-property: width height background-color font-size left top transform -webkit-transform color; -webkit-transition-duration:2s; -webkit-transition-timing-function: ease-i...
...ransition-timing-function: ease-in-out; } function updatetransition() { var el = document.queryselector("div.box"); if (el) { el.classname = "box1"; } else { el = document.queryselector("div.box1"); el.classname = "box"; } return el; } var intervalid = window.setinterval(updatetransition, 7000); transition-duration: 4s <div class="parent"> <div class="box">lo
rem</div> </div> .parent { width: 250px; height:125px;} .box { width: 100px; height: 100px; background-color: red; font-size: 20px; left: 0px; top: 0px; position:absolute; -webkit-transition-property: width height background-color font-size left top transform -webkit-transform color; -webkit-transition-duration:4s; -webkit-transition-timing-function: ease-i...
WAI ARIA Live Regions/API Support - Developer guides
atk/at-spi event iaccessible2 event object about to be hidden or
removed children_changed::
remove (fired on the parent, with event data pointing to the child index of the accessible object to be
removed) event_object_hide* (fired on the actual accessible object about to go away) object shown or inserted children_changed::add (fired on the parent, with event data pointing to the child index of the inserted accessible object) event_object_show* ...
...(fired on the actual new accessible object) object replaced with different object (this happens especially if an object's interfaces or role changes) children_changed::
remove followed immediately by children_change::add event_object_hide followed immediately by event_object_show text
removed text_changed::delete ia2_event_text_
removed (use iaccessibletext::get_oldtext to retrieve the offsets and
removed text) text inserted text_changed::insert ia2_event_text_inserted (use iaccessibletext::get_newtext to retrieve the offsets and inserted text) text replaced text_changed::delete followed immediately by text_changed::insert ia2_event_text_
removed followed immediately by ia2_event_text_inserted * we do not use msaa's create/destroy...
...bject 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" | "assertive" "off" interruption policy aria-live on ancestor element container-relevant "[additions] [
removals] [text]" | "all" "additions text" what types of mutations are possibly relevant?
...this information is available only for event_show, event_hide, ia2_event_text_inserted and ia2_event_text_
removed.
Writing forward-compatible websites - Developer guides
as browsers converge behavior, they both add features and
remove them.
...if you are following the advice given above so that you have a single code path for all current and unknown browsers, testing that this single code path works in all the major engines makes it ext
remely probable that your code won't break in the future.
...and once the feature is standardized, the prefixed version is likely to be
removed.
... don't leave experiments that didn't work in your code if you try using a css property to do something you want, but it has no effect,
remove it.
<input type="month"> - HTML: Hypertext Markup Language
list the id of the <datalist> element that contains the optional pre-defined autocomplete options max the latest year and month to accept as a valid input min the earliest year and month to accept as a valid input readonly a boolean which, if present, indicates that the input's value can't be edited step a stepping interval to use when inc
rementing and dec
rementing the value of the input field list the values of the list attribute is the id of a <datalist> element located in the same document.
...the values provided are suggestions, not requi
rements: users can select from this predefined list or provide a different value.
... it's far too easy for someone to make adjustments to the html that allow them to bypass the validation, or to
remove it entirely.
...oded) populateyears(); } function populateyears() { // get the current year as a number var date = new date(); var year = date.getfullyear(); // make this year, and the 100 years before it available in the year <select> for(var i = 0; i <= 100; i++) { var option = document.createelement('option'); option.textcontent = year-i; yearselect.appendchild(option); } } note:
remember that some years have 53 weeks in them (see weeks per year)!
<input type="tel"> - HTML: Hypertext Markup Language
the values provided are suggestions, not requi
rements: users can select from this predefined list or provide a different value.
... tip: use the title attribute to specify text that most browsers will display as a tooltip to explain what the requi
rements are to match the pattern.
... fortunately, you can consider the requi
rements of your own site and implement an appropriate level of validation yourself.
... it's far too easy for someone to make adjustments to the html that allow them to bypass the validation, or to
remove it entirely.
<input type="text"> - HTML: Hypertext Markup Language
the values provided are suggestions, not requi
rements: users can select from this predefined list or provide a different value.
... tip: use the title attribute to specify text that most browsers will display as a tooltip to explain what the requi
rements are to match the pattern.
...you must
remember to include name attribute on the <input> element, otherwise the text field's value won't be included with the submitted data.
...it's far too easy for someone to make adjustments to the html that allow them to bypass the validation, or to
remove it entirely.
Using the application cache - HTML: Hypertext Markup Language
using this application cache feature is highly discouraged; it’s in the process of being
removed from the web platform.
...the offline cache can be cleared for each site separately using the "
remove..." button in tools -> options -> advanced -> network -> offline data.
...if an application's manifest file is
removed from the server, the browser
removes all application caches that use that manifest, and sends an "obsoleted" event to the applicationcache object.
... the
remainder of the cache manifest must be comprised of zero or more of the following lines: blank line you may use blank lines comprised of zero or more space and tab characters.
Browser detection using the user agent - HTTP
also, rethink your design: can you use progressive enhancement or fluid layouts to help
remove the need to do this?
...the agent might be an older version of chrome, from before support was added, or (because the feature was experimental at the time) it could be a later version of chrome that
removed it.
... problems like these can be avoided by testing for support of the feature itself instead: var islookbehindsupported = false; try { new regexp("(?<=)"); islookbehindsupported = true; } catch (err) { // if the agent doesn't support lookbehinds, the attempted // creation of a regexp object using that syntax throws and // islookbehindsupported
remains false.
...function(mq) { for (var i=0,len=mql.length|0; i<len; i=i+1|0) if (mql[i][0] === mq) mql.splice(i, 1); mq.
removelistener(whenmediachanges); } : listentomediaquery; var orientationchanged = false; addeventlistener("orientationchange", function(){ orientationchanged = true; }, passive_listener_option); addeventlistener("resize", settimeout.bind(0,function(){ if (orientationchanged && !mediaqueryupdated) for (var i=0,len=mql.length|0; i<len; i=i+1|0) mql[i][1]( mql[i][0] ); ...
Clear-Site-Data - HTTP
"cache" indicates that the server wishes to
remove locally cached data (i.e.
... "cookies" indicates that the server wishes to
remove all cookies for the origin of the response url.
... "storage" indicates that the server wishes to
remove all dom storage for the origin of the response url.
... examples sign out of web site if a user signs out of your website or service, you might want to
remove locally stored data.
Proxy Auto-Configuration (PAC) file - HTTP
there are four (4) proxy servers; one of them is a hot stand-by for all of the other ones, so if any of the
remaining three goes down the fourth one will take over.
... furthermore, the three
remaining proxy servers share the load based on url patterns, which makes their caching more effective (there is only one copy of any document on the three servers - as opposed to one copy on each of them).
...all proxy servers run on the port 8080 (they don't need to, you can just change your port but
remember to modify your configuations on both side).
...this is useful, for example, when making the autoconfig file act differently based on the client ip address (the
remote_addr environment variable in cgi).
JavaScript data types and data structures - JavaScript
it may be necessary to use such techniques in very constrained environments, like when trying to cope with the limitations of local storage, or in ext
reme cases (such as when each bit over the network counts).
... you can obtain the safest value that can be inc
remented with numbers by using the constant number.max_safe_integer.
... this example demonstrates, where inc
rementing the number.max_safe_integer returns the expected result: > const x = 2n ** 53n; 9007199254740992n > const y = x + 1n; 9007199254740993n you can use the operators +, *, -, **, and % with bigints—just like with numbers.
...with the object literal syntax, a limited set of properties are initialized; then properties can be added and
removed.
Grammar and types - JavaScript
note : trailing commas can create errors in older browser versions and it is a best practice to
remove them.
...for example: var quote = "he read \"the c
remation of sam mcgee\" by r.w.
... service."; console.log(quote); the result of this would be: he read "the c
remation of sam mcgee" by r.w.
...the backslash and line break are both
removed from the value of the string.
Working with objects - JavaScript
listing accessible properties only can easily be done by
removing duplicates in the array.
... deleting properties you can
remove a non-inherited property by using the delete operator.
... the following code shows how to
remove a property.
...var myobj = new object; myobj.a = 5; myobj.b = 12; //
removes the a property, leaving myobj with only the b property.
Intl.Locale.prototype.minimize() - JavaScript
the intl.locale.prototype.minimize() method attempts to
remove information about the locale that would be added by calling locale.maximize().
... syntax locale.minimize() return value a locale instance whose basename property returns the result of the
remove likely subtags algorithm executed against locale.basename.
... description this method carries out the reverse of maximize(),
removing any language, script, or region subtags from the locale language identifier (essentially the contents of basename).
...// note that the extension tags (after "-u")
remain unchanged.
Map.prototype.delete() - JavaScript
the delete() method
removes the specified element from a map object by key.
... syntax mymap.delete(key); parameters key the key of the element to
remove from the map object.
... return value true if an element in the map object existed and has been
removed, or false if the element does not exist.
...successfully
removed.
Set.prototype.delete() - JavaScript
the delete() method
removes the specified element from a set object.
... syntax myset.delete(value); parameters value the value to
remove from myset.
... return value returns true if value was successfully
removed from myset; otherwise false.
... successfully
removed.
Set - JavaScript
set.prototype.clear()
removes all elements from the set object.
... set.prototype.delete(value)
removes the element associated to the value and returns the value that set.prototype.has(value) would have previously returned.
... b: 2} myset.add(o) myset.add({a: 1, b: 2}) // o is referencing a different object, so this is okay myset.has(1) // true myset.has(3) // false, since 3 has not been added to the set myset.has(5) // true myset.has(math.sqrt(25)) // true myset.has('some text'.tolowercase()) // true myset.has(o) // true myset.size // 5 myset.delete(5) //
removes 5 from the set myset.has(5) // false, 5 has been
removed myset.size // 4, since we just
removed one value console.log(myset) // logs set(4) [ 1, "some text", {…}, {…} ] in firefox // logs set(4) { 1, "some text", {…}, {…} } in chrome iterating sets // iterate over items in set // logs the items in the order: 1, "some text", {"a": 1, "b": 2}, {"a": 1, "b": 2} for (le...
...console.log([...myset]) // will show you exactly the same array as myarray
remove duplicate elements from the array // use to
remove duplicate elements from the array const numbers = [2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5] console.log([...new set(numbers)]) // [2, 3, 4, 5, 6, 7, 32] relation with strings let text = 'india' let myset = new set(text) // set ['i', 'n', 'd', 'i', 'a'] myset.size // 5 //case sensitive & duplicate ommision new set("firefox") // set(7)...
WeakMap.prototype.delete() - JavaScript
the delete() method
removes the specified element from a weakmap object.
... syntax wm.delete(key); parameters key the key of the element to
remove from the weakmap object.
... return value true if an element in the weakmap object has been
removed successfully.
...successfully
removed.
WeakSet.prototype.delete() - JavaScript
the delete() method
removes the specified element from a weakset object.
...the object
remove from the weakset object.
... return value true if an element in the weakmap object has been
removed successfully.
... successfully
removed.
Strict mode - JavaScript
strict mode code and non-strict mode code can coexist, so scripts can opt into strict mode inc
rementally.
...those previous arguments
remain available through arguments[i], so they're not completely inaccessible.
...strict mode
removes most cases where this happens, so the compiler can better optimize strict mode code.
...both involve a considerable amount of magical behavior in normal code: eval to add or
remove bindings and to change binding values, and arguments by its indexed properties aliasing named arguments.
<mfrac> - MathML
this attribute is deprecated and will be
removed in the future.
... this attribute is deprecated and will be
removed in the future.
... the values medium, thin, and thick are deprecated and will be
removed in the future.
... this attribute is deprecated and will be
removed in the future.
begin - SVG: Scalable Vector Graphics
the behavior is the same as if node.
removechild() were called on the parent of the target element with the target element as parameter.
... after
removal of the target element, the <discard> element is no longer useful, therefore it is also discarded after the target element's
removal.
...the target element did not exist), the <discard> element itself is still
removed after the activation.
... the <discard> element itself can be discarded prior to its activation, in which case it will never trigger the
removal of its own target element.
dx - SVG: Scalable Vector Graphics
if there are less values than glyphs, the
remaining glyphs use a value of 0.
...if there are less values than glyphs, the
remaining glyphs use a value of 0.
...if there are less values than glyphes, the
remaining glyphes use a value of 0.
...if there are less values than glyphs, the
remaining glyphs use a value of 0.
dy - SVG: Scalable Vector Graphics
if there are less values than glyphes, the
remaining glyphes use a value of 0.
...if there are less values than glyphes, the
remaining glyphes use a value of 0.
...if there are less values than glyphes, the
remaining glyphes use a value of 0.
...if there are less values than glyphes, the
remaining glyphes use a value of 0.
SVG documentation index - SVG: Scalable Vector Graphics
282 positions beginner, coordinate systems, coordinates, drawing, graphics, needsbeginnerupdate, svg, svg:tutorial in this article, we examine how scalable vector graphics (svg) represents the positions and sizes of objects within a drawing context, including coordinate system and what a "pixel" measu
rement means in a scalable context.
... 312 <fecomponenttransfer> element, svg, svg filter th <fecomponenttransfer> svg filter primitive performs color-component-wise
remapping of data for each pixel.
...it serves as container for <font-face-name>, pointing to locally installed copies of this font, and <font-face-uri>, utilizing
remotely defined fonts.
... 339 <font-face-uri> deprecated, element, needsexample, reference, svg, svg font the <font-face-uri> svg element points to a
remote definition of the current font.
Referer header: privacy and security concerns - Web security
a sensible application would
remove such risks by making password reset urls only usable for a single use, or when combined with a unique user token, and transmitting sensitive data in different ways.
... in addition, you should consider
removing any third party content (e.g.
... policy and requi
rements it would make sense to write a set of security and privacy requi
rements for your project team(s) that specify usage of such features to mitigate the associated risks.
... you should enlist the help of a web security expert to write these requi
rements, and consider both user needs and welfare, as well as other issues like policy and regulation enforced by legislation such as the eu general data protection regulation (gdpr).
Transport Layer Security - Web security
https
remains an important use case for tls.
...the goals of tls 1.3 are:
remove unused and unsafe features of tls 1.2.
... the
removal of renegotiation in tls 1.3 might affect some web servers that rely on client authentication using certificates.
... retiring old tls versions to help with working towards a more modern, more secure web, tls 1.0 and 1.1 support will be
removed from all major browsers in q1 2020.
Using custom elements - Web Components
for example, connectedcallback is invoked each time the custom element is appended into a document-connected element, while attributechangedcallback is invoked when one of the custom element's attributes is added,
removed, or changed.
... attributechangedcallback: invoked each time one of the custom element's attributes is added,
removed, or changed.
...allback() runs each time the element is added to the dom — here we run the updatestyle() function to make sure the square is styled as defined in its attributes: connectedcallback() { console.log('custom square element added to page.'); updatestyle(this); } the disconnectedcallback() and adoptedcallback() callbacks log simple messages to the console to inform us when the element is either
removed from the dom, or moved to a different page: disconnectedcallback() { console.log('custom square element
removed from page.'); } adoptedcallback() { console.log('custom square element moved to new page.'); } the attributechangedcallback() callback is run whenever one of the element's attributes is changed in some way.
... if you need a constructor and a mandatory super call,
remember to pass along optional arguments and return the result of such a super call operation.
Working with Events - Archive of obsolete content
e("sdk/tabs").open("https://developer.mozilla.org/"); } }); this is exactly equivalent to constructing 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.
...one of the handler functions
removes the listener again.
... var tabs = require("sdk/tabs"); function listener1() { console.log("listener 1"); tabs.
removelistener("ready", listener1); } function listener2() { console.log("listener 2"); } tabs.on("ready", listener1); tabs.on("ready", listener2); tabs.open("https://www.mozilla.org"); tabs.open("https://www.mozilla.org"); we should see output like this: info: tabevents: listener 1 info: tabevents: listener 2 info: tabevents: listener 2 listeners will be
removed automatically when the add-on is unloaded.
XUL Migration Guide - Archive of obsolete content
ween: add-on scripts, which can use the sdk apis, but are not able to interact with web pages content scripts, which can access web pages, but do not have access to the sdk's apis content scripts and add-on scripts communicate by sending each other json messages: in fact, the ability to communicate with the add-on scripts is the only extra privilege a content script is granted over a normal
remote web page script.
...here's a really simple example add-on that modifies the browser chrome using window/utils: function
removeforwardbutton() { var window = require("sdk/window/utils").getmostrecentbrowserwindow(); var forward = window.document.getelementbyid('forward-button'); var parent = window.document.getelementbyid('urlbar-container'); parent.
removechild(forward); } require("sdk/ui/button/action").actionbutton({ id: "
remove-forward-button", label: "
remove forward button", icon: "./icon-16.png", ...
...onclick:
removeforwardbutton }); there are more useful examples of this technique in the jetpack wiki's collection of third party modules.
simple-storage - Archive of obsolete content
function myonoverquotalistener() { console.log("uh oh."); } ss.on("overquota", myonoverquotalistener); listeners can also be
removed: ss.
removelistener("overquota", myonoverquotalistener); to find out how much of your quota you're using, check the module's quotausage property.
... therefore, when you're notified that you're over quota, you should respond by
removing data from the storage space until your quotausage is less than or equal to 1.
... which particular data you
remove is up to you.
Release notes - Archive of obsolete content
removed isprivatebrowsing from browserwindow.
... content scripts in page-mod get detach events when the add-on is disabled or
removed.
...
removed tab-browser, app-strings and api-utils.publicconstructor details github commits made between firefox 28 and firefox 29.
Creating annotations - Archive of obsolete content
deprecated in firefox 29 and
removed in firefox 38.
... warning: this tutorial relies on the since-
removed widget api and no longer works with firefox.
...if the message is detach we
remove the worker from the selectors array.
Storing annotations - Archive of obsolete content
deprecated in firefox 29 and
removed in firefox 38.
... warning: this tutorial relies on the since-
removed widget api and no longer works with firefox.
...add the following to your add-on's main function: simplestorage.on("overquota", function () { notifications.notify({ title: 'storage space exceeded', text: '
removing recent annotations'}); while (simplestorage.quotausage > 1) simplestorage.storage.annotations.pop(); }); because we use a notification to alert the user, we need to import the notifications module: var notifications = require("sdk/notifications"); (it should be obvious that this is an incredibly unhelpful way to deal with the problem.
Bookmarks - Archive of obsolete content
var parentfolderid = bmsvc.getfolderidforitem(newbkmkid); observing changes to bookmarks and tags to set up an observer to listen for changes related to bookmarks, you will need to create an nsinavbookmarkobserver object and use the nsinavbookmarksservice.addobserver() and nsinavbookmarksservice.
removeobserver() methods.
... // an nsinavbookmarkobserver var myext_bookmarklistener = { onbeginupdatebatch: function() {}, onendupdatebatch: function() {}, onitemadded: function(aitemid, afolder, aindex) {}, onitem
removed: function(aitemid, afolder, aindex) {}, onitemchanged: function(abookmarkid, aproperty, aisannotationproperty, avalue) { myextension.dosomething(); }, onitemvisited: function(abookmarkid, avisitid, time) {}, onitemmoved: function(aitemid, aoldparent, aoldindex, anewparent, anewindex) {}, queryinterface: xpcomutils.generateqi([components.interfaces.nsinavbookmarkobserver]) }; // an extension var myextension = { // this function is called when my add-on is loaded onload: ...
...function() { bmsvc.addobserver(myext_bookmarklistener, false); }, // this function is called when my add-on is unloaded onunload: function() { bmsvc.
removeobserver(myext_bookmarklistener); }, dosomething: function() { alert("did something."); } }; see also nsinavbookmarksservice nsinavbookmarkobserver places using xpcom without chrome - bookmark observer ...
Box Objects - Archive of obsolete content
the layout object associated with an element can be
removed and a completely different type of object created just by changing the css display property, among others.
...this may be a bit confusing, but, the key is to
remember that the width and height properties on an element return the size that was set in the xul while the width and height properties of the box object return the current size.
...when an element is hidden, it is
removed from the display and the layout objects are
removed for it.
Templates - Archive of obsolete content
essentially, you provide only the first element and the
remaining elements are constructed based on the first one.
...the
remainder of the value refers to the name property in the datasource.
... you should be able to guess what would happen if the second rule was
removed.
Using Spacers - Archive of obsolete content
in addition, different platforms may have special requi
rements on the user interface.
... if you change the size of the find files window, you can see that the elements have
remained where they started.
...once the default sizes of the children of a box are determined, the flexibility values are used to divide up the
remaining empty space in the box.
XPCOM Interfaces - Archive of obsolete content
remove(recursive) deletes a file.
...next, we call the
remove() function.
...the code below demonstrates these two steps: var afile = components.classes["@mozilla.org/file/local;1"].createinstance(); if (afile instanceof components.interfaces.nsilocalfile){ afile.initwithpath("/mozilla/testfile.txt"); afile.
remove(false); } this code will take the file at /mozilla/testfile.txt and delete it.
browser - Archive of obsolete content
ontentdocument, contentprincipal, contenttitle, contentvieweredit, contentviewerfile, contentwindow, currenturi, docshell, documentcharsetinfo, homepage, markupdocumentviewer, messagemanager, preferences, securityui, sessionhistory, webbrowserfind, webnavigation, webprogress methods addprogresslistener, goback, goforward, gohome, gotoindex, loaduri, loaduriwithflags, reload, reloadwithflags,
removeprogresslistener, stop, swapdocshells examples <!-- shows mozilla homepage inside a groupbox --> <groupbox flex="1"> <caption label="mozilla homepage"/> <browser type="content" src="http://www.mozilla.org" flex="1"/> </groupbox> attributes autocompleteenabled type: boolean set to true to enable autocomplete of fields.
...lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 listener to the browser which will monitor loaded documents.
...
removeprogresslistener( listener ) return type: no return value
remove a nsiwebprogresslistener from the browser.
promptBox - Archive of obsolete content
method overview nsidomelement appendprompt(args, onclosecallback); void
removeprompt(nsidomelement aprompt); nodelist listprompts(nsidomelement aprompt); methods appendprompt() creates a new prompt, adding it to the tab.
...
removeprompt()
removes an existing prompt.
... void
removeprompt( nsidomelement aprompt ); parameters aprompt the prompt to dispose of.
tab - Archive of obsolete content
once the tab is restored, this attribute is
removed.
...this would be useful if the images are stored
remotely or you plan on swapping the image frequently.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 events.
toolbar - Archive of obsolete content
a permanent child is one that is not customizable and
remains on the toolbar.
...a permanent child is one that is not customizable and
remains on the toolbar.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 hidden when a window is opened by setting the toolbar option to no in the window.open method.
toolbarbutton - Archive of obsolete content
this does not affect the button's label when it is in a toolbar, which
remains determined by the label attribute.
...this would be useful if the images are stored
remotely or you plan on swapping the image frequently.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbargrippy, toolbaritem, toolbarpalette, toolbarseparator, toolbarset, toolbarspacer, toolbarspring, toolbox interfaces nsiaccessibleprovider, nsi...
toolbaritem - Archive of obsolete content
it is also used to group buttons together so they can be added and
removed all at once like firefox's unified-back-forward-button.
...lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbarpalette, toolbarseparator, toolbarset, toolbarspacer, toolbarspring, toolbox ...
window - Archive of obsolete content
blechrome, disablefastfind, drawintitlebar, fullscreenbutton, height, hidechrome, id, lightweightthemes, lightweightthemesfooter, screenx, screeny, sizemode, title, width, windowtype examples <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <!-- run this example using copy & paste in this live xul editor: https://github.com/km-200/xul --> <!-- ext
remely recommended to keep this css include!!
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata see also: dom window object methods note the error message "xml parsing error: undefined entity...<window" can be caused by a missing or unreachable dtd file referenced in the xul file.
... <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"> <!-- icon from chrome --> <html:link rel="icon" href="chrome://myextension/content/path/to/favicon.png"/> <!-- from a
remote site --> <html:link rel="icon" href="http://www.mozilla.org/favicon.ico"/> since firefox 3.6 the above listed code does not work correctly - it produces the following message: "warning: xul box for box element contained an inline link child, forcing all its children to be wrapped in a block".
2006-10-06 - Archive of obsolete content
extension compatibility for firefox 2 chris hofmann
reminds about the push to have extensions work with ff2.
... simon paquet asked for an update of the road map and either update or
removal of the planning blog.
...
reminder - ff2 rc2 code freeze 9/29/2006 at 9am pdt schrep started a discussion of bugs that need to be fixed for the ff2 rc2 code freeze to go ahead.
2006-12-01 - Archive of obsolete content
windows dde shell integration
removal robert strong announces that a long standing bug in firefox's use of the windows dde shell integration code has been uncovered during vist os integration testing.
... firefox's use of this code has been
removed but the windows dde shell integration code has been kept so that 3rd party apps depending on this code can stay working.
... bon echo project status:
remaining "to-do" items beltzner starts a discussion on when to offer 1.5.0.8+ users the chance to upgrade to ff2.x (now or when ff2.0.0.1 is released).
RSS - Archive of obsolete content
(some being based on rdf, but most only being based on xml.) nonetheless, rss is an ext
remely popular format that is used for syndicating news, blog posts, ipradio, and iptv, with an amazing amount of momentum.
... documentation why rss slash is popular - counting your comments charles iliya k
rempeaux talks about the rss slash module, why it is popular among some, and how it is used to give a count for your comments.
... why well-formed web rss module is popular - syndicating your comments charles iliya k
rempeaux talks about the rss well-formed web module, why it is popular among some, and how it is used to link to your comments.
Security Controls - Archive of obsolete content
for example, if a system has a known vulnerability that attackers could exploit, the system should be patched so that the vulnerability is
removed or mitigated.
...for example, a security policy is a management control, but its security requi
rements are implemented by people (operational controls) and systems (technical controls).
...department of commerce title: federal information processing standard publication 200, minimum security requi
rements for federal information and information systems last updated date: march 2006 copyright information: this document is not subject to copyright.
Building a Theme - Archive of obsolete content
the
remaining directories will be extracted from the default theme.
...windows users should retain the os' slash direction, and everyone should
remember to include a closing slash and
remove any trailing spaces.
...s or linux, you can use the command-line zip tool: zip -r my_theme.xpi install.rdf chrome.manifest browser communicator global mozapps or, if you have 7-zip installed, you can use that for zipping it up: 7z a -tzip my_theme.xpi chrome chrome.manifest note: the command-line tool will update an existing zip file, not replace it - so if you have files you've deleted from your theme, be sure to
remove the .xpi file before running the zip command again.
Theme changes in Firefox 3 - Archive of obsolete content
as a result, the 'display' property should be
removed from .tab-drop-indicator-bar (including for dragging="true").
... mac os x file description of change browser/themes/pinstripe/browser/tabbrowser/tabdragindicator.png
removed superfluous blank pixels from the edges, so that the image is smaller.
... images to
remove the following images were
removed: chrome://mozapps/skin/extensions/question.png no longer used.
Browser Feature Detection - Archive of obsolete content
this test takes that idea to the ext
reme 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.
...e true true true borderrightstyle true true true borderbottomstyle true true true borderleftstyle true true true bottom true true true captionside true false true clear true true true clip true true true content true false true counterinc
rement true false true counterreset true false true cue true false false cueafter true false false cuebefore true false false cursor true true true direction true true true elevation true false false emptycells true false true fontsizeadjust...
...yle', 'supported': false}, {name: 'borderrightstyle', 'supported': false}, {name: 'borderbottomstyle', 'supported': false}, {name: 'borderleftstyle', 'supported': false}, {name: 'bottom', 'supported': false}, {name: 'captionside', 'supported': false}, {name: 'clear', 'supported': false}, {name: 'clip', 'supported': false}, {name: 'content', 'supported': false}, {name: 'counterinc
rement', 'supported': false}, {name: 'counterreset', 'supported': false}, {name: 'cue', 'supported': false}, {name: 'cueafter', 'supported': false}, {name: 'cuebefore', 'supported': false}, {name: 'cursor', 'supported': false}, {name: 'direction', 'supported': false}, {name: 'elevation', 'supported': false}, {name: 'emptycells', 'supported': false}, {name: 'fontsizeadjust', 'support...
Generator comprehensions - Archive of obsolete content
the generator comprehensions syntax is non-standard and
removed starting with firefox 58.
...however, it has been
removed from the standard and the firefox implementation.
... var numbers = [1, 2, 3]; // generator function (function*() { for (let i of numbers) { if (i < 3) { yield i * 1; } } })(); // generator comprehension (for (i of numbers) if (i < 3) i); // result: both return a generator which yields [1, 2] specifications generator comprehensions were initially in the ecmascript 2015 draft, but got
removed in revision 27 (august 2014).
ActiveXObject - Archive of obsolete content
remarks automation servers provide at least one type of object.
...excelsheet.application.quit(); requi
rements 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.
... 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.
Object.unobserve() - Archive of obsolete content
the object.unobserve() method was used to
remove observers set by object.observe(), but has been deprecated and
removed from browsers.
... description object.unobserve() should be called after object.observe() in order to
remove an observer from an object.
...it's useless to call object.unobserve() with an anonymous function as callback, it will not
remove any observer.
Back to the Server: Server-Side JavaScript On The Rise - Archive of obsolete content
armed with some basic java knowledge, you can extend javascript to include some of the most desired capability such as database access,
remote web requests, and xml processing.
... importpackage( java.net ); // connect to the
remote resource var u = new url( "http://www.mozilla.org/news.rdf" ); var c = u.openconnection(); c.connect(); // read in the raw data var s = new java.io.inputstreamreader( c.getinputstream() ); var b = new java.io.bufferedreader( s ); var l, str = ""; while( ( l = b.readline() ) != null ) { // skip if( l != "" ) { str = str + l + "\n"; } } // define the namespaces, first the default, // then ...
... 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_inc
rement, " + "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 ( ?, ?, ?
Reference - Archive of obsolete content
sevenspade 13:19, 2 july 2006 (pdt) after some thought, i
removed the references to using language="javascript1.2", and all references are merely presented as information detailing past behavior.
... otherwise, i think we should just
remove the "behavior in other versions" sections, and rename the "javascript 1.2" section headings to something like "differences with javascript 1.2," as well as include a link to the yet-to-be-written javascript 1.2 page documenting the various oddities and deviations made in that version, something which i think we should do anyway.
...did this operator get
removed/deprecated, or is it missing from the documentation?
Writing JavaScript for XHTML - Archive of obsolete content
this article shows some of the reasons alongside with strategies to
remedy the problems.
... problem: i want to
remain forward compatible!
...the regular xml dom provides sufficient methods via the element interface for getting/setting/
removing attributes.
XForms Custom Controls - Archive of obsolete content
it is possible to re-enable this by following the steps on using
remote xul.
...as mentioned in the spec, the appearance attribute can be used to influence the look and feel of a control even when all other conditions
remain constant.
...the current value of a control could differ from the value of the bound node in cases where @inc
remental='false'.
RFE to the XForms API - Archive of obsolete content
xforms dom put here your requi
rements how to improve xforms dom api.
... reflect attributes to properties for the elements that can contain the inc
remental or selection attributes, it makes sense to expose analogous properties.
... xforms functional interfaces put here your requi
rements to improve existing xforms interfaces or to add a new one.
Requests For Enhancement - Archive of obsolete content
if you find that you can't create a custom control due to limitations in our interfaces or the functionality of our controls, then this is the right place to pass along your requi
rements.
...therefore the control set may need to be more extensive to address the wider spectrum of requi
rements that a xul application will have on its controls.
... enhancements of xforms elements if you find that none of the elements proposed by the xforms spec address your requi
rements, please post your usecase here.
XForms Range Element - Archive of obsolete content
single-node binding special inc
remental - supported, default value is false start - lower bound of possible values end - upper bound of possible values step - is used for inc
rementing/dec
rementing 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.
...step specifies the step of inc
rementing/dec
rementing values.
...characteristics analogous widget is <xul:scale/>, which is available in fx 3.0 only if the inc
remental attribute has the value true, the value of the bound node will be updated upon each movement of the slider's thumb.
XForms Select Element - Archive of obsolete content
inc
remental - supported, default value is true properties selection - see corresponding attribute inc
remental - see corresponding attribute type restrictions the select element can be bound to a node containing simple content capable of holding a sequence.
...characteristics analogous widgets are <html:select size="5" multiple="true"/> and <xul:listbox seltype="multiple"/> visual grouping by choices element isn't implemented if inc
remental attribute value is false, the bound node is updated when the select control is blurred (i.e.
...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 inc
remental 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:value> </xf:item> <xf:item> <xf:label>green</xf:label> <xf:value>g</xf:value> </xf:item> ...
The Business Benefits of Web Standards - Archive of obsolete content
following standards-compliance in requi
rements documents is a very effective way to ensure measurable quality of the final product, the w3c being an impartial judge.
...fo
remost among the goals of standards led development to improve that user experience are the great twins usability and accessibility.
... today, it means more audience, lower cost to produce new content, and becoming compliant with accessibility requi
rements.
Audio for Web games - Game development
concurrent audio playback a requi
rement of many games is the need to play more than one piece of audio at the same time; for example, there might be background music playing along with sound effects for various things happening in the game.
...this is often the way that musicians compose music anyway, and the web audio api is ext
remely good at keeping these parts in sync.
...note the second parameter (where to start playing from in the new track) is relative: if (offset == 0) { source.start(); offset = context.currenttime; } else { var relativetime = context.currenttime - offset; var beats = relativetime / tempo; var
remainder = beats - math.floor(beats); var delay = tempo - (
remainder*tempo); source.start(context.currenttime+delay, relativetime+delay); } note: you can try our wait calculator code here, on jsfiddle (i've synched to the bar in this case).
Desktop mouse and keyboard controls - Game development
there are no helpers so you have to
remember what the given codes are (or look them up); 37 is the left arrow: function keydownhandler(event) { if(event.keycode == 39) { rightpressed = true; } else if(event.keycode == 37) { leftpressed = true; } if(event.keycode == 40) { downpressed = true; } else if(event.keycode == 38) { uppressed = true; } } the keyuphandler looks almost ex...
... we could write our own keycode object containing the key codes, for example: var keyboardhelper = { left: 37, up: 38, right: 39, down: 40 }; that way instead of using the codes to compare the input in the handler functions we could do something like this, which is arguably easier to
remember: if(event.keycode == keyboardhelper.left) { leftpressed = true; } note: you can also find a list if the different keycodes and what keys they relate to in the keycode reference page.
...
remember: it's a secret, so don't tell anyone!
Collision detection - Game development
inside the function we
remove the brick in question from the screen simply by running the kill() method on it.
... compare your code you can check the finished code for this lesson in the live demo below, and play with it to understand better how it works: next steps we can hit the bricks and
remove them, which is a nice addition to the gameplay already.
... it would be even better to count the destroyed bricks inc
rement the score as a result.
2D maze game with device orientation - Game development
without the framework, to add the canvas element to the page, you would have to write something like this inside the <body> tag: <canvas id='game' width='320' height='480'></canvas> the important thing to
remember is that the framework is setting up helpful methods to speed up a lot of things like image manipulation or assets management, which would be a lot harder to do manually.
...this is how the complete updatecounter function looks: updatecounter: function() { this.timer++; this.timertext.settext("time: "+this.timer); this.totaltimetext.settext("total time: "+(this.totaltimer+this.timer)); }, as you can see we’re inc
rementing the this.timer variable and updating the content of the text objects with the current values on each iteration, so the player sees the elapsed time.
...in this tutorial we used phaser, but there are a number of other frameworks worth considering too like impactjs, construct 2 or playcanvas — it depends on your preferences, coding skills (or lack thereof), project scale, requi
rements and other aspects.
WCAG - MDN Web Docs Glossary: Definitions of Web-related terms
wcag uses three levels of conformance: priority 1: web developers must satisfy these requi
rements, otherwise it will be impossible for one or more groups to access the web content.
... priority 2: web developers should satisfy these requi
rements, otherwise some groups will find it difficult to access the web content.
... priority 3: web developers may satisfy these requi
rements, in order to make it easier for some groups to access the web content.
Mobile accessibility - Learn web development
user input — make user input requi
rements as painless as possible on mobile (e.g., in forms, keep typing to a minimum).
... you can also navigate the items on the screen by swiping left and right to move between them, or by sliding your finger around on the screen to move between different items (when you find the item you want, you can
remove your finger to select it).
...in addition, many image requi
rements can be fulfilled using the svg vector images format, which is well-supported across browsers today.
What is accessibility? - Learn web development
the way this usually affects web development work is the requi
rement that controls be accessible by the keyboard — we'll discuss keyboard accessibility in later articles in the module, but it is a good idea to try out some websites using just the keyboard to see how you get on.
... people with cognitive impairments cognitive impairment refers to a broad range of disabilities, from people with intellectual disabilities who have the most-limited capabilities, to all of us as we age and have difficulty thinking and
remembering.
...these include difficulty with understanding content,
remembering how to complete tasks, and confusion caused by inconsistent webpage layouts.
Backgrounds and borders - Learn web development
remove the length units and see what happens when you use background-size: cover or background-size: contain.
...it will always
remain in the same position on the screen.
... we have covered a lot in this article, but can you
remember the most important information?
Flexbox - Learn web development
the following simple layout requi
rements are either difficult or impossible to achieve with such tools, in any kind of convenient, flexible way: vertically centering a block of content inside its parent.
...for example, try adding the following to your css: button:first-child { align-self: flex-end; } have a look at what effect this has, and
remove it again when you've finished.
... we have covered a lot in this article, but can you
remember the most important information?
Beginner's guide to media queries - Learn web development
we then need to
remove the margin-bottom on the article in order that the two sidebars align with each other, and we'll add a border to the top of the footer.
... to
remedy this, including a viewport meta tag like the one above on your page tells the browser "don't render the content with a 960 pixel viewport — render it using the real device width instead, and set a default initial scale level for better consistency." the media queries will then kick in as expected.
... you've reached the end of this article, but can you
remember the most important information?
Styling lists - Learn web development
heir surrounding elements (such as paragraphs and images; sometimes called vertical rhythm), and the same horizontal spacing as each other (you can see the finished styled example on github, and find the source code too.) the css used for the text styling and spacing is as follows: /* general styles */ html { font-family: helvetica, arial, sans-serif; font-size: 10px; } h2 { font-size: 2
rem; } ul,ol,dl,p { font-size: 1.5
rem; } li, p { line-height: 1.5; } /* description list styles */ dd, dt { line-height: 1.5; } dt { font-weight: bold; } the first rule sets a sitewide font and a baseline font size of 10px.
... in our finished example, we have styled the unordered list like so (on top of what you've already seen above): ul { padding-left: 2
rem; list-style-type: none; } ul li { padding-left: 2
rem; background-image: url(star.svg); background-position: 0 0; background-size: 1.6
rem 1.6
rem; background-repeat: no-repeat; } here we've done the following: set the padding-left of the <ul> down from the default 40px to 20px, then set the same amount on the list items.
...we are using a size of 1.6
rem (16px), which fits very nicely with the 20px padding we've allowed for the bullet to sit inside — 16px plus 4px of space between the bullet and the list item text works well.
Web fonts - Learn web development
for each font, follow these steps: make sure you have satisfied any licensing requi
rement, if you are going to use this in a commercial and/or web project.
...inside the unzipped directory you'll see three useful items: multiple versions of each font: (for example .ttf, .woff, .woff2, etc.; the exact fonts provided will be updated over time as browser support requi
rements change).
... you've reached the end of this article, and already did some skill testing in our active learning sections, but can you
remember the most important information going forward?
What is a web server? - Learn web development
stateless neither the server nor the client
remember previous communications.
... for example, relying on http alone, a server can't
remember a password you typed or
remember your progress on an incomplete transaction.
...
remember that the term static means "served as-is".
Example 5 - Learn web development
ers // // ------- // nodelist.prototype.foreach = function (callback) { array.prototype.foreach.call(this, callback); } // -------------------- // // function definitions // // -------------------- // function deactivateselect(select) { if (!select.classlist.contains('active')) return; var optlist = select.queryselector('.optlist'); optlist.classlist.add('hidden'); select.classlist.
remove('active'); } function activeselect(select, selectlist) { if (select.classlist.contains('active')) return; selectlist.foreach(deactivateselect); select.classlist.add('active'); }; function toggleoptlist(select, show) { var optlist = select.queryselector('.optlist'); optlist.classlist.toggle('hidden'); } function highlightoption(select, option) { var optionlist = select.querysel...
...ectorall('.option'); optionlist.foreach(function (other) { other.classlist.
remove('highlight'); }); option.classlist.add('highlight'); }; function updatevalue(select, index) { var nativewidget = select.previouselementsibling; var value = select.queryselector('.value'); var optionlist = select.queryselectorall('.option'); optionlist.foreach(function (other) { other.setattribute('aria-selected', 'false'); }); optionlist[index].setattribute('aria-selected', 'true'); nativewidget.selectedindex = index; value.innerhtml = optionlist[index].innerhtml; highlightoption(select, optionlist[index]); }; function getindex(select) { var nativewidget = select.previouselementsibling; return nativewidget.selectedindex; }; // ------------- // // event binding // // -...
...------------ // window.addeventlistener("load", function () { var form = document.queryselector('form'); form.classlist.
remove("no-widget"); form.classlist.add("widget"); }); window.addeventlistener('load', function () { var selectlist = document.queryselectorall('.select'); selectlist.foreach(function (select) { var optionlist = select.queryselectorall('.option'), selectedindex = getindex(select); select.tabindex = 0; select.previouselementsibling.tabindex = -1; updatevalue(select, selectedindex); optionlist.foreach(function (option, index) { option.addeventlistener('mouseover', function () { highlightoption(select, option); }); option.addeventlistener('click', function (event) { updatevalue(select, index); ...
Performance
oat blood rains from the sky sendasyncmessage('my-addon:paragraph-count', {num: content.document.queryselectorall('p').length}) } addmessagelistener("my-addon:request-from-parent", onlyonceinabluemoon) better: // addon.js function ontoolbarbutton(event) { let tabmm = gbrowser.mcurrentbrowser.frameloader.messagemanager; let button = event.target; let callback = (message) => { tabmm.
removemessagelistener("my-addon:paragraph-count", callback) decoratebutton(button, message.data.num) } tabmm.addmessagelistener("my-addon:paragraph-count", callback); tabmm.loadframescript("data:,sendasyncmessage('my-addon:paragraph-count', {num: content.document.queryselectorall('p').length})", false) } function decoratebutton(button, count) { // do stuff with result } this executes t...
... better: // addon.js function onunload() { services.mm.
removedelayedframescript("resources://my-addon/framescript.js"); services.ppmm.
removedelayedprocessscript("resources://my-addon/processcript.js"); services.mm.broadcastasyncmessage("my-addon:unload"); services.ppmm.broadcastasyncmessage("my-addon:unload"); } in the frame/process scripts:
remove all kinds of listeners
remove observer notifications
remove custom categories and services nu...
...
remove interactive ui elements that would be inert with the addon ...
Using the Browser API
the html an <iframe> is turned into a browser iframe by setting the mozbrowser attribute on it: <iframe src="http://mozilla.org" mozbrowser> in addition, the <iframe> can be loaded in its own child process — separate to the page embedding this frame — by including the
remote attribute.
... <iframe src="http://hostname.tld" mozbrowser
remote> warning: this last attribute is necessary for security reasons if you plan to load content from an untrusted/unknown origin.
...there are many others covering a variety of functions and edge case requi
rements: for the full list of methods, check out the htmliframeelement page.
MozBeforePaint
this allows multiple animations to
remain in sync with one another within the context of a given window.
...ml> <html> <body> <div id="d" style="width:100px; height:100px; background:lime; position:relative;"></div> <script> var d = document.getelementbyid("d"); var start = window.mozanimationstarttime; function step(event) { var progress = event.timestamp - start; d.style.left = math.min(progress/10, 200) + "px"; if (progress < 2000) { window.mozrequestanimationframe(); } else { window.
removeeventlistener("mozbeforepaint", step, false); } } window.addeventlistener("mozbeforepaint", step, false); window.mozrequestanimationframe(); </script> </body> </html> as you can see, each time the mozbeforepaint event fires, our step() method is called.
...when the animation sequence completes,
removes the event listener.
AddonInstall
method overview void install() void cancel() void addlistener(in installlistener listener) void
removelistener(in installlistener listener) properties attribute type description name string the name of the add-on being installed.
...
removelistener()
removes an installlistener if the listener is registered for monitoring this specific addoninstall.
... void
removelistener( in installlistener listener ) parameters listener the installlistener to
remove ...
TypeListener
method overview void ontypeadded(in addontype type) void ontype
removed(in addontype type) methods ontypeadded() called when an add-on type has been added.
... void ontypeadded( in addontype type ) parameters type the addontype that is being added needsrestart true if an application restart is necessary for the change to take effect ontype
removed() called when an add-on type has been
removed.
... void ontype
removed( in addontype type, ) parameters type the addontype that has been
removed ...
API-provided widgets
tooltiptext string to use for the tooltip of the widget label string to use for the label of the widget
removable whether the widget is
removable (optional, default: true).
... overflows whether widget can overflow when in an overflowable toolbar (optional, default: true) defaultarea default area to add the widget to (optional, default: none; required if non-
removable) shortcutid id of an element that has a shortcut for this widget (optional, default: null).
... ondestroyed(adoc) attached to all non-custom widgets; a function that will be invoked after the widget has a dom node destroyed, passing the document from which it was
removed.
Webapps.jsm
nction notifyappsregistrystart() notifyappsregistryready: function notifyappsregistryready() sanitizeredirects: function sanitizeredirects(asource) _savewidgetsfullpath: function(amanifest, adestapp) appkind: function(aapp, amanifest) updatepermissionsforapp: function(aid, aispreinstalled) updateofflinecacheforapp: function(aid) installpreinstalledapp: function installpreinstalledapp(aid)
removeifhttpsduplicate: function(aid) installsystemapps: function() loadandupdateapps: function() updatedatastore: function(aid, aorigin, amanifesturl, amanifest) _registersystemmessagesforentrypoint: function(amanifest, aapp, aentrypoint) _registerinterappconnectionsforentrypoint: function(amanifest, aapp,) _registersystemmessages: function(amanifest, aapp) _registerinterappconnections: funct...
...runupdate) _registeractivities: function(amanifest, aapp, arunupdate) _createactivitiestounregister: function(amanifest, aapp, aentrypoint) _unregisteractivitiesforapps: function(aappstounregister) _unregisteractivities: function(amanifest, aapp) _processmanifestforids: function(aids, arunupdate) observe: function(asubject, atopic, adata) addmessagelistener: function(amsgnames, aapp, amm)
removemessagelistener: function(amsgnames, amm) formatmessage: function(adata) receivemessage: function(amessage) getappinfo: function getappinfo(aappid) broadcastmessage: function broadcastmessage(amsgname, acontent) registerupdatehandler: function(ahandler) unregisterupdatehandler: function(ahandler) notifyupdatehandlers: function(aapp, amanifest, azippath) _getappdir: function(aid) _write...
...ptforuninstall: 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) getdefaultcspbylocalid: function(alocalid) getapplocalidbystoreid: function(astoreid) ...
Index
you've setup up your local and
remote environments, you've selected your l10n tools and projects, done some localization and even some testing!
...mercurial allows localizers to work locally (on their machines) and then push (an hg term) changes to a
remote repository, which usually is hosted on the mozilla servers (hg.mozilla.org).
...you are free to add, edit,
remove, and localize everything in this section according to how the localization team for your language agrees.
tools/power/rapl
otherwise, it will fail with an error message explaining this requi
rement.
... all measu
rements are in watts.
... combining with powermetrics on mac, you can use the mach power command to run rapl in combination with powermetrics in a way that gives the most useful summary measu
rements for each of firefox, chrome and safari.
turbostat
turbostat is a linux command-line utility that prints various measu
rements, including numerous per-cpu measu
rements.
...the various "watt" measu
rements come from the intel rapl msrs.
... if you run with the -s option you get a smaller range of measu
rements that fit on a single line, like the following: avg_mhz %busy bzy_mhz tsc_mhz smi cpu%c1 cpu%c3 cpu%c6 cpu%c7 coretmp pkgtmp pkg%pc2 pkg%pc3 pkg%pc6 pkg%pc7 pkgwatt corwatt gfxwatt 3614 97.83 3694 3399 0 2.17 0.00 0.00 0.00 77 77 0.00 0.00 0.00 0.00 67.50 57.77 0.46 ...
A brief guide to Mozilla preferences
any use of this technique by software such as firefox extension to override normal user preference will result in being added to the firefox blocklist or the preferences being forcibly
removed.
... note: because of abuse of user.js preferences, support for user.js may be
removed in a future version of firefox.
...sticky preferences are generally used for preferences that have a different default value in different channels with the intent being that once the user sets the preference in one channel, the preference will
remain with that value when using a different channel with different defaults.
Profile Manager
system requi
rements: mac: an intel processor, i386 or x86_64 linux: any version capable of running firefox 4.0 windows: xp or later source code you can download the source as well: hg clone http://hg.mozilla.org/automation/profilemanager/ instructions for building can be found in build.txt.
... launch option command line argument run firefox in offline mode -offline run firefox in safe mode -safe-mode start firefox with a console -console start new instance -no-
remote note: it isn't possible to start a second instance of firefox without passing it the -no-
remote command line argument.
... for this reason, if you attempt to launch firefox using profile manager, and it detects that another instance of firefox is already running, it will automatically add the -no-
remote argument for you, regardless of whether this launch option was checked.
L20n Javascript API
ctx.localize(['hello', 'new'], function(l10n) { var node = document.queryselector('[data-l10n-id=hello]'); node.textcontent = l10n.entities.hello.value; node.classlist.
remove('hidden'); }); ctx.registerlocales(defaultlocale: string?, availablelocales: array<string>?) register the default locale of the context instance, as well as all other locales available to the context instance before the language negotiation.
... ctx.
removeeventlistener(event: string, callback: function)
remove an event listener previously registered with addeventlistener.
... ctx.localize(['hello', 'about'], function(l10n) { var node = document.queryselector('[data-l10n-id=hello]'); node.textcontent = l10n.entities.hello.value; node.classlist.
remove('hidden'); }); the callback becomes bound to the entities on the ids list.
AsyncTestUtils extended framework
age: (strictly inc
rementing from arbitrary origin) the default starts at jan 1, 2000 and adds an hour for every message.
... age_incr: (no inc
rement) takes an object of the same style taken by age.
...
removetag(atagkey)
removes the given tag from all the messages in the set.
About NSPR
nspr went beyond that requi
rement in some areas and since it was also the platform independent layer for most of the servers produced by netscape.
...the first generation of nspr was originally conceived just to satisfy the requi
rements of porting java to various host environments.
...the basic api is stable and expected to
remain that way.
Linked Lists
the api is a set of macros for initializing a circular (doubly linked) list, inserting and
removing elements from the list.
...the caller must provide for mutually-exclusive access to the list, and for the nodes being added and
removed from the list.
... linked list macros macros that create and operate on linked lists are: pr_init_clist pr_init_static_clist pr_append_link pr_insert_link pr_next_link pr_prev_link pr_
remove_link pr_
remove_and_init_link pr_insert_before pr_insert_after pr_clist_is_empty pr_list_head pr_list_tail ...
Monitors
the first time the thread enters a monitor, it acquires the monitor's lock and the thread's entry count is inc
remented to 1.
... each subsequent time the thread successfully enters the same monitor, the thread's entry count is inc
remented again, and each time the thread exits the monitor, the thread's entry count is dec
remented.
... pr_exitmonitor dec
rements the entry count associated with a specified monitor.
PLHashEnumerator
syntax #include <plhash.h> typedef printn (pr_callback *plhashenumerator)(plhashentry *he, printn index, void *arg); /* return value */ #define ht_enumerate_next 0 /* continue enumerating entries */ #define ht_enumerate_stop 1 /* stop enumerating entries */ #define ht_enumerate_
remove 2 /*
remove and free the current entry */ #define ht_enumerate_unhash 4 /* just unhash the current entry */ description plhashenumerator is a function type used in the enumerating a hash table.
...
remark the meaning of ht_enumerate_unhash is not clear.
...the entries are unlinked from the table, they are not freed, but the entry count (the nentries field of the plhashtable structure) is not dec
remented.
PR_CEnterMonitor
this reference must
remain valid as long as there are monitoring operations being performed.
...if no match is found, an available monitor is associated with the address and the monitor's entry count is inc
remented (so it has a value of one).
...in the former case, the entry count is simply inc
remented and the function returns.
PR_CExitMonitor
dec
rement the entry count associated with a cached monitor.
... description using the value specified in the address parameter to find a monitor in the monitor cache, pr_cexitmonitor dec
rements the entry count associated with the monitor.
... if the dec
remented entry count is zero, the monitor is exited.
PR_RmDir
removes a directory with a specified name.
... syntax #include <prio.h> prstatus pr_rmdir(const char *name); parameter the function has the following parameter: name the name of the directory to be
removed.
... description pr_rmdir
removes the directory specified by the pathname name.
PR_WaitSemaphore
if the value of the semaphore is > 0, the value of the semaphore is dec
remented and the function returns.
... if the value of the semaphore is 0, the function blocks until the value becomes > 0, then the semaphore is dec
remented and the function returns.
... the "test and dec
rement" operation is performed atomically.
NSPR release process
make a dummy change (add or
remove a blank line) to mozilla/nsprpub/config/prdepend.h.
...
remove "beta" from the nspr version number for the final release.
... make a dummy change (add or
remove a blank line) to mozilla/nsprpub/config/prdepend.h.
Encrypt Decrypt MAC Keys As Session Objects
c_trailer); break; case pad: strcpy(header, pad_header); strcpy(trailer, pad_trailer); break; } rv = filetoitem(&filedata, file); nonbody = (char *)filedata.data; if (!nonbody) { pr_fprintf(pr_stderr, "unable to read data from input file\n"); rv = secfailure; goto cleanup; } /* check for headers and trailers and
remove them */ if ((body = strstr(nonbody, header)) != null) { char *trail = null; nonbody = body; body = port_strchr(body, '\n'); if (!body) body = port_strchr(nonbody, '\r'); /* maybe this is a mac file */ if (body) trail = strstr(++body, trailer); if (trail != null) { *trail = '\0'; } else { ...
...only and we have authenticated to it * open input file, read in header, get iv and cka_ids of two keys from it * find those keys in the db token * open output file * loop until eof(input): * read a buffer of ciphertext from input file, * save last block of ciphertext * decrypt ciphertext buffer using cbc and iv, * compute and check mac, then
remove mac from plaintext * replace iv with saved last block of ciphertext * write the plain text to output file * close files * report success */ secstatus rv; secitem ivitem; secitem enckeyitem; secitem mackeyitem; secitem cipheritem; secitem macitem; secitem ...
... pr_fprintf(pr_stderr, "mac has data has 0 length\n"); /*rv = secfailure; goto cleanup;*/ } rv = readfromheaderfile(headerfilename, pad, &paditem, pr_true); if (rv != secsuccess) { pr_fprintf(pr_stderr, "could not retrieve pad detail from header file\n"); goto cleanup; } if (rv == secsuccess) { /* decrypt and
remove mac */ rv = decryptandverifymac(outfilename, encryptedfilename, &cipheritem, &macitem, enckey, mackey, &ivitem, &paditem); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed while decrypting and
removing mac\n"); } } cleanup: if (slot) { pk11_freeslot(slot); } if (enckey) { pk11_freesymkey(enckey); } ...
Encrypt and decrypt MAC using token
c_trailer); break; case pad: strcpy(header, pad_header); strcpy(trailer, pad_trailer); break; } rv = filetoitem(&filedata, file); nonbody = (char *)filedata.data; if (!nonbody) { pr_fprintf(pr_stderr, "unable to read data from input file\n"); rv = secfailure; goto cleanup; } /* check for headers and trailers and
remove them */ if ((body = strstr(nonbody, header)) != null) { char *trail = null; nonbody = body; body = port_strchr(body, '\n'); if (!body) body = port_strchr(nonbody, '\r'); /* maybe this is a mac file */ if (body) trail = strstr(++body, trailer); if (trail != null) { *trail = '\0'; } else { ...
...only and we have authenticated to it * open input file, read in header, get iv and cka_ids of two keys from it * find those keys in the db token * open output file * loop until eof(input): * read a buffer of ciphertext from input file, * save last block of ciphertext * decrypt ciphertext buffer using cbc and iv, * compute and check mac, then
remove mac from plaintext * replace iv with saved last block of ciphertext * write the plain text to output file * close files * report success */ secstatus rv; secitem ivitem; secitem enckeyitem; secitem mackeyitem; secitem cipheritem; secitem macitem; secitem ...
... pr_fprintf(pr_stderr, "mac has data has 0 length\n"); /*rv = secfailure; goto cleanup;*/ } rv = readfromheaderfile(headerfilename, pad, &paditem, pr_true); if (rv != secsuccess) { pr_fprintf(pr_stderr, "could not retrieve pad detail from header file\n"); goto cleanup; } if (rv == secsuccess) { /* decrypt and
remove mac */ rv = decryptandverifymac(outfilename, encryptedfilename, &cipheritem, &macitem, enckey, mackey, &ivitem, &paditem); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed while decrypting and
removing mac\n"); } } cleanup: if (slot) { pk11_freeslot(slot); } if (enckey) { pk11_freesymkey(enckey); } ...
NSS 3.12.5 release_notes
see the following struct in nss.h for details: nssinitparametersstr other new functions in secmod.h: secmod_getskipfirstflag secmod_getdefaultmoddbflag in prlink.h nss_secu
rememcmp port_loadlibraryfromorigin modified functions sgn_update (see cryptohi.h) the parameter "input" of this function is changed from unsigned char * to const unsigned char *.
... bug 510435:
remove unused make variable dso_ldflags bug 510436: add macros for build numbers (4th component of version number) to nssutil.h bug 511227: firefox 3.0.13 fails to compile on freebsd/powerpc bug 511312: nss fails to load softoken, looking for sqlite3.dll bug 511781: add new tls 1.2 cipher suites implemented in windows 7 to ssltap bug 516101: if pk11_importcert fails, it leaves the certificate un...
... furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS 3.12.6 release notes
alizedtimetotime 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: nssinit.c doesn't need to include ssl.h and sslproto.h.
... bug 542538: nss: add function for recording ocsp stapled replies bug 544191: use system zlib on mac os x bug 544584: segmentation fault when enumerating the nss database bug 544586: various nss-sys-init patches from fedora bug 545273:
remove unused function sec_init bug 546389: nsssysinit binary built inside source tree documentation for a list of the primary nss documentation pages on mozilla.org, see nss documentation.
... furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS 3.12.9 release notes
new in nss 3.12.9
removed functions new ssl options new error codes bugs fixed the following bugs have been fixed in nss 3.12.9.
... bug 596798: win_rand.c (among others) uses unsafe _snwprintf bug 597622: do not use the sec_error_bad_info_access_location error code for bad crl distribution point urls bug 619268: memory leaks in cert_changecerttrust and cert_savesmimeprofile bug 585518: addtrust qualified ca root serial wrong in certdata.txt trust entry bug 337433: need cert_findcertbynicknameo
remailaddrbyusage bug 592939: expired cas in certdata.txt documentation <for a="" class="new " documentation="" href="/en/index.html#documentation" list="" nss="" of="" pages="" primary="" rel="internal" see="" the="" title="en/index.html#documentation">nss documentation.
... furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS 3.16.4 release notes
it was
removed in nss 3.16.3, but discussion in the mozilla.dev.security.policy forum led to the decision to keep this root included longer in order to give website administrators more time to update their web servers.
... cn = gte cybertrust global root sha1 fingerprint: 97:81:79:50:d8:1c:96:70:cc:34:d8:09:cf:79:44:31:36:7e:f4:74 in nss 3.16.3, the 1024-bit "entrust.net secure server certification authority" root ca certificate (sha1 fingerprint: 99:a6:9b:e6:1a:fe:88:6b:4d:2b:82:00:7c:b8:54:fc:31:7e:15:39) was
removed.
...the intention is to mitigate the effects of the previous
removal of the 1024-bit entrust.net root certificate, because many public internet sites still use the "usertrust legacy secure server ca" intermediate certificate that is signed by the 1024-bit entrust.net root certificate.
NSS 3.21 release notes
in ssl.h ssl_getpreliminarychannelinfo - obtains information about a tls channel prior to the handshake being completed, for use with the callbacks that are invoked during the handshake ssl_signatureprefset - configures the enabled signature and hash algorithms for tls ssl_signatureprefget - retrieves the currently configured signature and hash algorithms ssl_signatu
remaxcount - obtains the maximum number signature algorithms that can be configured with ssl_signatureprefset in utilpars.h nssutil_argparsemodulespecex - takes a module spec and breaks it into shared library string, module name string, module parameters string, nss specific parameters string, and nss configuration parameter strings.
... sslpreliminarychannelinfo to indicate that a tls cipher suite has been selected ssl_preinfo_all - used with sslpreliminarychannelinfo to indicate that all preliminary information has been set notable changes in nss 3.21 nss now builds with elliptic curve ciphers enabled by default (bug 1205688) nss now builds with warnings as errors (bug 1182667) the following ca certificates were
removed cn = verisign class 4 public primary certification authority - g3 sha1 fingerprint: c8:ec:8c:87:92:69:cb:4b:ab:39:e9:8d:7e:57:67:f3:14:95:73:9d cn = utn-userfirst-network applications sha1 fingerprint: 5d:98:9c:db:15:96:11:36:51:65:64:1b:56:0f:db:ea:2a:c2:3e:f1 cn = tc trustcenter universal ca iii sha1 fingerprint: 96:56:cd:7b:57:96:...
...furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS 3.25 release notes
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.
... the following ca certificate was
removed cn = sonera class1 ca sha-256 fingerprint: cd:80:82:84:cf:74:6f:f2:fd:6e:b5:8a:a1:d5:9c:4a:d4:b3:ca:56:fd:c6:27:4a:89:26:a7:83:5f:32:31:3d the following ca certificates were added cn = hellenic academic and research institutions rootca 2015 sha-256 fingerprint: a0:40:92:9a:02:ce:53:b4:ac:f4:f2:ff:c6:98:1c:e4:49:6f:75:5e:6d:45:fe:0b:2a:69:2b:cd:52...
...furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS 3.28.1 release notes
notable changes in nss 3.28.1 the following ca certificates were
removed cn = buypass class 2 ca 1 sha-256 fingerprint: 0f:4e:9c:dd:26:4b:02:55:50:d1:70:80:63:40:21:4f:e9:44:34:c9:b0:2f:69:7e:c7:10:fc:5f:ea:fb:5e:38 cn = root ca generalitat valenciana sha-256 fingerprint: 8c:4e:df:d0:43:48:f3:22:96:9e:7e:29:a4:cd:4d:ca:00:46:55:06:1c:16:e1:b0:76:42:2e:f3:42:ad:63:0e ou = rsa security 2048 v3 sha-256 fing...
...:53:fa:48:4d:59:24:e8:75:65:6d:3d:c9:fb:58:77:1f:6f:61:6f:9d:57:1b:c5:92 cn = symantec class 2 public primary certification authority - g6 sha-256 fingerprint: cb:62:7d:18:b5:8a:d5:6d:de:33:1a:30:45:6b:c6:5c:60:1a:4e:9b:18:de:dc:ea:08:e7:da:aa:07:81:5f:f0 the version number of the updated root ca list has been set to 2.11 a misleading assertion/alert has been
removed, when nss tries to flush data to the peer but the connection was already reset.
...furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS 3.34.1 release notes
it was previously
removed in nss 3.34, but now re-added with only the email trust bit set.
... sha-256 fingerprint: d8:e0:fe:bc:1d:b2:e3:8d:00:94:0f:37:d2:7d:41:34:4d:99:3e:73:4b:99:d5:65:6d:97:78:d4:d8:14:36:24
removed entries from certdata.txt for actively distrusted certificates that have expired (bug 1409872).
...furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
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.
... the following ca certificates were
removed: cn = s-trust universal root ca sha-256 fingerprint: d8:0f:ef:91:0a:e3:f1:04:72:3b:04:5c:ec:2d:01:9f:44:1c:e6:21:3a:df:15:67:91:e7:0c:17:90:11:0a:31 cn = tc trustcenter class 3 ca ii sha-256 fingerprint: 8d:a0:84:fc:f9:9c:e0:77:22:f8:9b:32:05:93:98:06:fa:5c:b8:11:e1:c8:13:f6:a1:08:c7:d3:36:b3:40:8e cn = tÜrktrust elektronik sertifika hizmet s...
...furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS 3.39 release notes
the tstclnt and selfserv test utilities no longer accept the -z parameter, as support for tls compression was
removed in a previous nss version.
... the following ca certificates were added: ou = globalsign root ca - r6 sha-256 fingerprint: 2cabeafe37d06ca22aba7391c0033d25982952c453647349763a3ab5ad6ccf69 cn = oiste wisekey global root gc ca sha-256 fingerprint: 8560f91c3624daba9570b5fea0dbe36ff11a8323be9486854fb3f34a5571198d the following ca certificate was
removed: cn = comsign sha-256 fingerprint: ae4457b40d9eda96677b0d3c92d57b5177abd7ac1037958356d1e094518be5f2 the following ca certificates had the websites trust bit disabled: cn = certplus root ca g1 sha-256 fingerprint: 152a402bfcdf2cd548054d2275b39c7fca3ec0978078b0f0ea76e561a6c7433e cn = certplus root ca g2 sha-256 fingerprint: 6c...
...furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS 3.48 release notes
g 1599545 - fix assertion and add test for early key update bug 1597799 - fix a crash in nssckfwobject_getattributesize bug 1591178 - add entrust root certification authority - g4 certificate to nss bug 1590001 - prevent negotiation of versions lower than 1.3 after helloretryrequest bug 1596450 - added a simplified and unified mac implementation for hmac and cmac behind pkcs#11 bug 1522203 -
remove an old pentium pro performance workaround bug 1592557 - fix prng known-answer-test scripts bug 1586176 - encryptupdate should use maxout not block size (cve-2019-11745) bug 1593141 - add `notbefore` or similar "beginning-of-validity-period" parameter to mozilla::pkix::trustdomain::checkrevocation bug 1591363 - fix a pbkdf2 memory leak in nsc_generatekey if key length > max_key_len (256) b...
...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 uninitialized variable warnings from certdata.perl bug 1573118 - enable tls 1.3 by default in nss this bugzilla query returns all the bugs fixed in nss...
...furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS 3.55 release notes
bug 1631573 (cve-2020-12401) -
remove unnecessary scalar padding.
... bug 1637222 - consistently enforce iv requi
rements for des and 3des.
...furthermore, applications that restrict their use of nss apis to the functions listed in nss public functions will
remain compatible with future versions of the nss shared libraries.
NSS Developer Tutorial
the proper use of tabs has often been confusing for new nss developers, so in nss/lib/ssl, we're gradually
removing the use of tabs.
... nss c abi backward compatibility functions exported functions cannot be
removed.
... types structs members of an exported struct, cannot be reordered or
removed.
Enc Dec MAC Output Public Key as CSR
eader = lab_header; trailer = lab_trailer; break; default: pr_close(file); return secfailure; } rv = filetoitem(&filedata, file); nonbody = (char *)filedata.data; if (!nonbody) { pr_fprintf(pr_stderr, "unable to read data from input file\n"); rv = secfailure; goto cleanup; } /* check for headers and trailers and
remove them */ char *trail = null; if ((body = strstr(nonbody, header)) != null) { char *trail = null; nonbody = body; body = port_strchr(body, '\n'); if (!body) body = port_strchr(nonbody, '\r'); /* maybe this is a mac file */ if (body) trail = strstr(++body, trailer); if (trail != null) { *trail = '\0'; ...
... * the db is open read only and we have authenticated to it * open input file, read in header, get iv and wrapped keys and * public key * unwrap the wrapped keys * loop until eof(input): * read a buffer of ciphertext from input file, * save last block of ciphertext * decrypt ciphertext buffer using cbc and iv, * compute and check mac, then
remove mac from plaintext * replace iv with saved last block of ciphertext * write the plain text to output file * close files * report success */ secstatus rv; secitem ivitem; secitem wrappedenckeyitem; secitem wrappedmackeyitem; secitem cipheritem; secitem macitem; sec...
... */ outfile = pr_open(outfilename, pr_create_file | pr_truncate | pr_rdwr , 00660); if (!outfile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for writing.\n", outfilename); return secfailure; } infilelength = filesize(encryptedfilename); if (rv == secsuccess) { /* decrypt and
remove mac */ rv = decryptandverifymac(outfile, infile, infilelength, &cipheritem, &macitem, enckey, mackey, &ivitem, &paditem); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed while decrypting and
removing mac\n"); } } cleanup: if (enckey) { pk11_freesymkey(enckey); } if (mackey) { pk11_freesymkey(mackey); ...
Encrypt Decrypt_MAC_Using Token
c_trailer); break; case pad: strcpy(header, pad_header); strcpy(trailer, pad_trailer); break; } rv = filetoitem(&filedata, file); nonbody = (char *)filedata.data; if (!nonbody) { pr_fprintf(pr_stderr, "unable to read data from input file\n"); rv = secfailure; goto cleanup; } /* check for headers and trailers and
remove them.
... * compute and check mac, then
remove mac from plaintext.
... pr_fprintf(pr_stderr, "mac has data has 0 length\n"); /*rv = secfailure; goto cleanup;*/ } rv = readfromheaderfile(headerfilename, pad, &paditem, pr_true); if (rv != secsuccess) { pr_fprintf(pr_stderr, "could not retrieve pad detail from header file\n"); goto cleanup; } if (rv == secsuccess) { /* decrypt and
remove mac */ rv = decryptandverifymac(outfilename, encryptedfilename, &cipheritem, &macitem, enckey, mackey, &ivitem, &paditem); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed while decrypting and
removing mac\n"); } } cleanup: if (slot) { pk11_freeslot(slot); } if (enckey) { pk11_freesymkey(enckey); } ...
NSS Sample Code Sample_3_Basic Encryption and MACing
c_trailer); break; case pad: strcpy(header, pad_header); strcpy(trailer, pad_trailer); break; } rv = filetoitem(&filedata, file); nonbody = (char *)filedata.data; if (!nonbody) { pr_fprintf(pr_stderr, "unable to read data from input file\n"); rv = secfailure; goto cleanup; } /* check for headers and trailers and
remove them */ if ((body = strstr(nonbody, header)) != null) { char *trail = null; nonbody = body; body = port_strchr(body, '\n'); if (!body) body = port_strchr(nonbody, '\r'); /* maybe this is a mac file */ if (body) trail = strstr(++body, trailer); if (trail != null) { *trail = '\0'; } else { ...
...d only and we have authenticated to it * open input file, read in header, get iv and cka_ids of two keys from it * find those keys in the db token * open output file * loop until eof(input): * read a buffer of ciphertext from input file * save last block of ciphertext * decrypt ciphertext buffer using cbc and iv * compute and check mac, then
remove mac from plaintext * replace iv with saved last block of ciphertext * write the plain text to output file * close files * report success */ secstatus rv; secitem ivitem; secitem enckeyitem; secitem mackeyitem; secitem cipheritem; secitem macitem; secitem ...
... pr_fprintf(pr_stderr, "mac has data has 0 length\n"); /*rv = secfailure; goto cleanup;*/ } rv = readfromheaderfile(headerfilename, pad, &paditem, pr_true); if (rv != secsuccess) { pr_fprintf(pr_stderr, "could not retrieve pad detail from header file\n"); goto cleanup; } if (rv == secsuccess) { /* decrypt and
remove mac */ rv = decryptandverifymac(outfilename, encryptedfilename, &cipheritem, &macitem, enckey, mackey, &ivitem, &paditem); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed while decrypting and
removing mac\n"); } } cleanup: if (slot) { pk11_freeslot(slot); } if (enckey) { pk11_freesymkey(enckey); } ...
EncDecMAC using token object - sample 3
(trailer, iv_trailer); break; case mac: strcpy(header, mac_header); strcpy(trailer, mac_trailer); break; case pad: strcpy(header, pad_header); strcpy(trailer, pad_trailer); break; } rv = filetoitem(&filedata, file); nonbody = (char *)filedata.data; if (!nonbody) { pr_fprintf(pr_stderr, "unable to read data from input file\n"); rv = secfailure; goto cleanup; } /* check for headers and trailers and
remove them */ if ((body = strstr(nonbody, header)) != null) { char *trail = null; nonbody = body; body = port_strchr(body, '\n'); if (!body) body = port_strchr(nonbody, '\r'); /* maybe this is a mac file */ if (body) trail = strstr(++body, trailer); if (trail != null) { *trail = '\0'; } else { pr_fprintf(pr_stderr, "input has header but no trailer\n"); port_free(filedata.data); return secfailure; } ...
...wdata *pwdata, prbool ascii) { /* * the db is open read only and we have authenticated to it * open input file, read in header, get iv and cka_ids of two keys from it * find those keys in the db token * open output file * loop until eof(input): * read a buffer of ciphertext from input file, * save last block of ciphertext * decrypt ciphertext buffer using cbc and iv, * compute and check mac, then
remove mac from plaintext * replace iv with saved last block of ciphertext * write the plain text to output file * close files * report success */ secstatus rv; secitem ivitem; secitem enckeyitem; secitem mackeyitem; secitem cipheritem; secitem macitem; secitem paditem; pk11symkey *enckey = null; pk11symkey *mackey = null; /* open intermediate file, read in header, get iv and cka_ids of two keys * fr...
..._stderr, "mac has null data\n"); rv = secfailure; goto cleanup; } if (macitem.len == 0) { pr_fprintf(pr_stderr, "mac has data has 0 length\n"); /*rv = secfailure; goto cleanup;*/ } rv = readfromheaderfile(headerfilename, pad, &paditem, pr_true); if (rv != secsuccess) { pr_fprintf(pr_stderr, "could not retrieve pad detail from header file\n"); goto cleanup; } if (rv == secsuccess) { /* decrypt and
remove mac */ rv = decryptandverifymac(outfilename, encryptedfilename, &cipheritem, &macitem, enckey, mackey, &ivitem, &paditem); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed while decrypting and
removing mac\n"); } } cleanup: if (slot) { pk11_freeslot(slot); } if (enckey) { pk11_freesymkey(enckey); } if (mackey) { pk11_freesymkey(mackey); } return rv; } /* * encryptfile */ secstatus encrypt...
Rhino scopes and contexts
that context will be returned and an internal counter inc
remented.
...
remember to put the exit() call in a finally block if you're executing code that could throw an exception.
...such bugs are hard to debug and to
remove a possibility for them to occur one can seal the shared scope and all its objects.
64-bit Compatibility
remember to use argsize_p where appropriate - on pointers or natively sized integers (including jsvals).
... similarly, when adding types to jsbuiltins.h,
remember to use _js_ptr for pointer-width values.
...if you make a mistake, there's an ext
remely good chance the sanityfilter in nanojit will catch it while generating code.
Statistics API
noninc
remental_reason: string - a string representing the reason that an inc
remental gc was aborted or forced to finish in a single slice.
... if the inc
remental gc completed normally, this will be "none".
... additionally, an inc
remental gc is divided into a series of slices (the division into slices is completely separate from the division into phases; neither one is a refinment of the other).
BatteryManager - Web APIs
batterymanager.chargingtime read only a number representing the
remaining time in seconds until the battery is fully charged, or 0 if the battery is already fully charged.
... batterymanager.dischargingtime read only a number representing the
remaining time in seconds until the battery is completely discharged and the system will suspend.
... eventtarget.
removeeventlistener()
removes an event listener from the eventtarget.
BluetoothCharacteristicProperties - Web APIs
the bluetoothcharacteristicproperties interface of the the web bluetooth api provides the operations that are valid on the given bluetooth
remotegattcharacteristic.
... this interface is returned by calling bluetooth
remotegattcharacteristic.properties.
... let device = await navigator.bluetooth.requestdevice({ filters: [{services: ['heart_rate']}] }); let gatt = await device.gatt.connect(); let service = await gatt.getprimaryservice('heart_rate'); let characteristic = await service.getcharacteristic('heart_rate_measu
rement'); if (characteristic.properties.notify) { characteristics.addeventlistener('characteristicvaluechanged', function(event) { console.log(`received heart rate measu
rement: ${event.target.value}`); } await characteristic.startnotifications(); } specifications specification status comment web bluetooththe definition of 'bluetoothcharacteristicproperties' ...
connectGATT() - Web APIs
the bluetoothdevice.connectgatt() method returns a promise that resolves to an instance of bluetoothgatt
remoteserver.
... syntax instanceofbluetoothdevice.connectgatt().then(function(bluetoothgatt
remoteserver) { ...
... }) returns a promise that resolves to an instance of bluetoothgatt
remoteserver.
BroadcastChannel: message event - Web APIs
sender <h1>sender</h1> <label for="message">type a message to broadcast:</label><br/> <textarea id="message" name="message" rows="1" cols="40">hello</textarea> <button id="broadcast-message" type="button">broadcast message</button> body { border: 1px solid black; padding: .5
rem; height: 150px; font-family: "fira sans", sans-serif; } h1 { font: 1.6em "fira sans", sans-serif; margin-bottom: 1
rem; } textarea { padding: .2
rem; } label, br { margin: .5
rem 0; } button { vertical-align: top; height: 1.5
rem; } const channel = new broadcastchannel('example-channel'); const messagecontrol = document.queryselector('#message'); const broadcas...
...tmessagebutton = document.queryselector('#broadcast-message'); broadcastmessagebutton.addeventlistener('click', () => { channel.postmessage(messagecontrol.value); }) receiver 1 <h1>receiver 1</h1> <div id="received"></div> body { border: 1px solid black; padding: .5
rem; height: 100px; font-family: "fira sans", sans-serif; } h1 { font: 1.6em "fira sans", sans-serif; margin-bottom: 1
rem; } const channel = new broadcastchannel('example-channel'); channel.addeventlistener('message', (event) => { received.textcontent = event.data; }); receiver 2 <h1>receiver 2</h1> <div id="received"></div> body { border: 1px solid black; padding: .5
rem; height: 100px; font-family: "fira sans", sans-serif; } h1 { font: 1.6em "fira sans", sans-serif; ...
... margin-bottom: 1
rem; } const channel = new broadcastchannel('example-channel'); channel.addeventlistener('message', (event) => { received.textcontent = event.data; }); result specifications specification status html living standard living standard ...
CSSStyleSheet.deleteRule() - Web APIs
the cssstylesheet method deleterule()
removes a rule from the stylesheet object.
... syntax cssstylesheet.deleterule(index) parameters index the index into the stylesheet's cssrulelist indicating the rule to be
removed.
... return value undefined example this example
removes the first rule from the stylesheet mystyles.
DOMTokenList - Web APIs
domtokenlist.
remove(token1[, token2[, ...tokenn]])
removes the specified token(s) from the list.
... domtokenlist.toggle(token [, force])
removes token from the list if it exists, or adds token to the list if it doesn't.
... first, the html: <p class="a b c"></p> now the javascript: let para = document.queryselector("p"); let classes = para.classlist; para.classlist.add("d"); para.textcontent = `paragraph classlist is "${classes}"`; the output looks like this: trimming of whitespace and
removal of duplicates methods that modify the domtokenlist (such as domtokenlist.add()) automatically trim any excess whitespace and
remove duplicate values from the list.
Document.open() - Web APIs
for example: all event listeners currently registered on the document, nodes inside the document, or the document's window are
removed.
... all existing nodes are
removed from the document.
... for years firefox and internet explorer additionally erased all javascript variables, etc., in addition to
removing all nodes.
Document.xmlVersion - Web APIs
although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
... this attribute was never really useful, since it always returned 1.0, and has been
removed in dom level 4.
...to detect this, you can create an element with its name in lower case, then check to see if it gets converted into all upper case (in which case the document is in the non-xml html mode): if (document.createelement("foo").tagname == "foo") { /* document is not xml */ } specifications http://www.w3.org/tr/dom-level-3-cor...ument3-version this has been
removed from dom core level 4wd ...
Document - Web APIs
touchend fired when one or more touch points are
removed from the touch surface.
... mozilla also define some non-standard methods: document.execcommandshowhelp()obsolete since gecko 14 this method never did anything and always threw an exception, so it was
removed in gecko 14.0 (firefox 14.0 / thunderbird 14.0 / seamonkey 2.11).
... document.querycommandtext()obsolete since gecko 14 this method never did anything but throw an exception, and was
removed in gecko 14 (firefox 14 / thunderbird 14 / seamonkey 2.11).
Element: cut event - Web APIs
bubbles yes cancelable yes interface clipboardevent event handler property oncut the event's default action is to copy the current selection (if any) to the system clipboard and
remove it from the document.
...so an event handler which wants to emulate the default action for "cut" while modifying the clipboard must also manually
remove the selection from the document.
... examples live example html <div class="source" contenteditable="true">try cutting text from this box...</div> <div class="target" contenteditable="true">...and pasting it into this one</div> css div.source, div.target { border: 1px solid gray; margin: .5
rem; padding: .5
rem; height: 1
rem; background-color: #e9eef1; } js const source = document.queryselector('div.source'); source.addeventlistener('cut', (event) => { const selection = document.getselection(); event.clipboarddata.setdata('text/plain', selection.tostring().touppercase()); selection.deletefromdocument(); event.preventdefault(); }); result specificatio...
Element.getElementsByClassName() - Web APIs
the opposite is also true; as elements no longer match the set of names, they are immediately
removed from the collection.
...however the following code will not work as one might expect because "matches" will change as soon as any "colorbox" class is
removed.
... var matches = element.getelementsbyclassname('colorbox'); for (var i=0; i<matches.length; i++) { matches[i].classlist.
remove('colorbox'); matches.item(i).classlist.add('hueframe'); } instead, use another method, such as: var matches = element.getelementsbyclassname('colorbox'); while (matches.length > 0) { matches.item(0).classlist.add('hueframe'); matches[0].classlist.
remove('colorbox'); } this code finds descendant elements with the "colorbox" class, adds the class "hueframe", by calling item(0), then
removes "colorbox" (using array notation).
Element.toggleAttribute() - Web APIs
the toggleattribute() method of the element interface toggles a boolean attribute (
removing it if it is present and adding it if it is not present) on the given element.
... force optional a boolean value to determine whether the attribute should be added or
removed, no matter whether the attribute is present or not at the moment.
... methods namespace-aware variants (dom level 2) dom level 1 methods for dealing with attr nodes directly (seldom used) dom level 2 namespace-aware methods for dealing with attr nodes directly (seldom used) setattribute (dom 1) setattributens setattributenode setattributenodens getattribute (dom 1) getattributens getattributenode getattributenodens hasattribute (dom 2) hasattributens - -
removeattribute (dom 1)
removeattributens
removeattributenode - polyfill if (!element.prototype.toggleattribute) { element.prototype.toggleattribute = function(name, force) { if(force !== void 0) force = !!force if (this.hasattribute(name)) { if (force) return true; this.
removeattribute(name); return false; } if (force === false) return false; this.seta...
Fullscreen API - Web APIs
this makes it possible to present desired content—such as an online game—using the user's entire screen,
removing all browser user interface elements and other applications from the screen until full-screen mode is shut off.
... methods on the element interface element.requestfullscreen() asks the user agent to place the specified element (and, by extension, its descendants) into full-screen mode,
removing all of the browser's ui elements as well as all other applications from the screen.
... event handlers on elements element.onfullscreenchange an event handler which is called when the fullscreenchange event is sent to the element, indicating that the element has been placed into, or
removed from, full-screen mode.
HTMLElement: animationcancel event - Web APIs
this might happen when the animation-name is changed such that the animation is
removed, or when the animating node is hidden using css.
...cel = () => { console.log('animation canceled'); }; animated.style.display = 'none'; live example html <div class="animation-example"> <div class="container"> <p class="animation">you chose a cold night to visit our planet.</p> </div> <button class="activate" type="button">activate animation</button> <div class="event-log"></div> </div> css .container { height: 3
rem; } .event-log { width: 25
rem; height: 2
rem; border: 1px solid black; margin: 0.2
rem; padding: 0.2
rem; } .animation.active { animation-duration: 2s; animation-name: slidein; animation-iteration-count: 2; } @keyframes slidein { from { transform: translatex(100%) scalex(3); } to { transform: translatex(0) scalex(1); } } js const animation = document.queryselecto...
...ntlog.textcontent}'animation started' `; }); animation.addeventlistener('animationiteration', () => { iterationcount++; animationeventlog.textcontent = `${animationeventlog.textcontent}'animation iterations: ${iterationcount}' `; }); animation.addeventlistener('animationend', () => { animationeventlog.textcontent = `${animationeventlog.textcontent}'animation ended'`; animation.classlist.
remove('active'); applyanimation.textcontent = "activate animation"; }); animation.addeventlistener('animationcancel', () => { animationeventlog.textcontent = `${animationeventlog.textcontent}'animation canceled'`; }); applyanimation.addeventlistener('click', () => { animation.classlist.toggle('active'); animationeventlog.textcontent = ''; iterationcount = 0; let active = animation.clas...
HTMLElement: animationend event - Web APIs
if the animation aborts before reaching completion, such as if the element is
removed from the dom or the animation is
removed from the element, the animationend event is not fired.
...r('.animated'); animated.onanimationend = () => { console.log('animation ended'); }; live example html <div class="animation-example"> <div class="container"> <p class="animation">you chose a cold night to visit our planet.</p> </div> <button class="activate" type="button">activate animation</button> <div class="event-log"></div> </div> css .container { height: 3
rem; } .event-log { width: 25
rem; height: 2
rem; border: 1px solid black; margin: .2
rem; padding: .2
rem; } .animation.active { animation-duration: 2s; animation-name: slidein; animation-iteration-count: 2; } @keyframes slidein { from { margin-left: 100%; width: 300%; } to { margin-left: 0%; width: 100%; } } js const animation = document.queryselector('p.a...
...ntlog.textcontent}'animation started' `; }); animation.addeventlistener('animationiteration', () => { iterationcount++; animationeventlog.textcontent = `${animationeventlog.textcontent}'animation iterations: ${iterationcount}' `; }); animation.addeventlistener('animationend', () => { animationeventlog.textcontent = `${animationeventlog.textcontent}'animation ended'`; animation.classlist.
remove('active'); applyanimation.textcontent = "activate animation"; }); animation.addeventlistener('animationcancel', () => { animationeventlog.textcontent = `${animationeventlog.textcontent}'animation canceled'`; }); applyanimation.addeventlistener('click', () => { animation.classlist.toggle('active'); animationeventlog.textcontent = ''; iterationcount = 0; let active = animation.clas...
HTMLMediaElement.textTracks - Web APIs
you can detect when tracks are added to and
removed from an <audio> or <video> element using the addtrack and
removetrack events.
...instead, they're sent to the track list object of the htmlmediaelement that corresponds to the type of track that was added to the element the returned list is live; that is, as tracks are added to and
removed from the media element, the list's contents change dynamically.
... once you have a reference to the list, you can monitor it for changes to detect when new text tracks are added or existing ones
removed.
Dragging and Dropping Multiple Items - Web APIs
these are methods that mirror the types property as well as the getdata(), setdata() and cleardata() methods, however, they take an additional argument that specifies the index of the item to retrieve, modify or
remove.
... event.datatransfer.mozcleardataat("text/plain", 1); caution:
removing the last format for a particular index will
remove that item entirely, shifting the
remaining items down, so the later items will have different indices.
...taat("text/uri-list", "url2", 1); dt.mozsetdataat("text/plain", "url2", 1); dt.mozsetdataat("text/uri-list", "url3", 2); dt.mozsetdataat("text/plain", "url3", 2); // [item1] data=url1, index=0 // [item2] data=url2, index=1 // [item3] data=url3, index=2 after you added three items in two different formats, dt.mozcleardataat("text/uri-list", 1); dt.mozcleardataat("text/plain", 1); you've
removed the second item clearing all types, then the old third item becomes new second item, and its index decreases.
IDBCursorSync - Web APIs
important: the synchronous version of the indexeddb api was originally intended for use only with web workers, and was eventually
removed from the spec because its need was questionable.
... method overview bool continue (in optional any key); void
remove () raises (idbdatabaseexception); attributes attribute type description count readonly unsigned long long the total number of objects that share the current key.
...
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.createObjectStore() - Web APIs
autoinc
rement if true, the object store has a key generator.
...has been deleted or
removed.) in firefox previous to version 41, an invalidstateerror was raised in this case as well, which was misleading; this has now been fixed (see bug 1176165.) constrainterror an object store with the given name (based on case-sensitive comparison) already exists in the connected database.
... invalidaccesserror if autoinc
rement is set to true and keypath is either an empty string or an array containing an empty string.
IDBObjectStore.put() - Web APIs
this is only needed for object stores that have an autoinc
rement primary key, therefore the key is not in a field on the record object.
... invalidstateerror the idbobjectstore has been deleted or
removed.
...autoinc
rement) the key of the object must be passed in to update the object.
IndexedDB API - Web APIs
the synchronous api was intended for use only with web workers but was
removed from the spec because it was unclear whether it was needed.
... obsolete interfaces an early version of the specification also defined the following, now
removed, interfaces.
...the way to change the version of the database has since changed (by calling idbfactory.open without also calling idbdatabase.setversion), and the interface idbopendbrequest now has the functionality of the
removed idbversionchangerequest.
KeyboardEvent.key - Web APIs
sage(`key "${e.data}" about to be input [event: beforeinput]`); }); textarea.addeventlistener('input', (e) => { logmessage(`key "${e.data}" input [event: input]`); }); textarea.addeventlistener('keyup', (e) => { logmessage(`key "${e.key}" released [event: keyup]`); }); btnclearconsole.addeventlistener('click', (e) => { let child = consolelog.firstchild; while (child) { consolelog.
removechild(child); child = consolelog.firstchild; } }); result note: on browsers that don't fully implement the inputevent interface which is used for the beforeinput and input events, you may get incorrect output on those lines of the log output.
... as we finally release the shift key, another keyup event is fired for it, and the key attribute value
remains shift.
... as we release the shift key, a keyup event is fired for it, and the key attribute value
remains shift.
LockedFile.truncate() - Web APIs
summary the truncate method is used to
remove some data within the file.
... if the method is called with no argument, the operation
removes all the bytes starting at the index set in lockedfile.location.
... if the method is called with an argument, the operation
removes all the bytes starting at the index corresponding to the parameter and regardless of the value of lockedfile.location.
MediaStreamTrackEvent() - Web APIs
the mediastreamtrackevent() constructor returns a newly created mediastreamtrackevent object, which represents an event announcing that a mediastreamtrack has been added to or
removed from a mediastream.
...it is case-sensitive and can be "addtrack" or "
removetrack".
... track a mediastreamtrack object representing the track which was added to or
removed from the stream.
NamedNodeMap - Web APIs
namednodemap.
removenameditem()
removes the attr identified by the given map.
... namednodemap.
removenameditemns()
removes the attr identified by the given namespace and related local name.
... obsolete added getnameditemns(), setnameditemns() and
removenameditemns() document object model (dom) level 1 specificationthe definition of 'namednodemap' in that specification.
PasswordCredential - Web APIs
the data in the objects will be added to the request body and sent to the
remote endpoint with the credentials.
... passwordcredential.idname secure context a usvstring containing the name that will be used for the id field when submitting the current object to a
remote endpoint via fetch.
... passwordcredential.passwordname secure context a usvstring representing the name that will be used for the password field when submitting the current object to a
remote endpoint via fetch.
PayerErrors.email - Web APIs
the email property is included in a payererrors object if the paymentresponse.paye
remail property failed validation; in this case, the property should contain a string describing how to correct the problem.
... syntax paye
remail = payererrors.email; value if validation of the payer's email address (paymentresponse.paye
remail) found problems, this property should be set to a domstring that explains the validation problem and how to correct it.
... example function validatepayment(response) { const correctionpromises let paymenterrors = {}; let payererrors = {}; // check payer details if (!validemail(response.paye
remail)) { payererrors.email = "please make sure you enter a valid email address." } if (!validname(response.payername)) { payererrors.email = "please enter a valid name, using only <appropriate characters>." } if (!validphone(response.payerphone)) { payererrors.phone = "please enter a valid phone number in the form ###-###-####." } // check everything else too...
PaymentResponse.onpayerdetailchange - Web APIs
const options = { requestshipping: true, requestpaye
remail: true, requestpayername: true, requestpayerphone: true, }; const request = new paymentrequest(methods, details, options); const response = request.show(); // get the data from the response let { payername: oldpayername, paye
remail: oldpaye
remail, payerphone: oldpayerphone, } = response; // set up a handler for payerdetailchange events, to // request corrections as needed.
... response.onpayerdetailchange = async ev => { const promisestovalidate = []; const { payername, paye
remail, payerphone } = response; // validate each value which changed by calling a function // that validates each type of data, returning a promise which // resolves if the data is valid.
... if (oldpayername !== payername) { promisestovalidate.push(validatename(payername)); oldpayername = payername; } if (oldpaye
remail !== paye
remail) { promisestovalidate.push(validateemail(paye
remail)); oldpaye
remail = paye
remail; } if (oldpayerphone !== payerphone) { promisestovalidate.push(validatephone(payerphone)); oldpayerphone = payerphone; } // as each validation promise resolves, add the results of the // validation to the errors list const errors = await promise.all(promisestovalidate).then(results => results.reduce((errors, result), object.assign(errors, result)) ); // if we found any errors, wait for them to be corrected if (object.getownpropertynames(errors).length) { await response.retry(errors); } else { // we have...
PaymentResponse: payerdetailchange event - Web APIs
const options = { requestshipping: true, requestpaye
remail: true, requestpayername: true, requestpayerphone: true, }; const request = new paymentrequest(methods, details, options); const response = request.show(); // get the data from the response let { payername: oldpayername, paye
remail: oldpaye
remail, payerphone: oldpayerphone, } = response; // set up a handler for payerdetailchange events, to // request corrections as needed.
... response.onpayerdetailchange = async ev => { const promisestovalidate = []; const { payername, paye
remail, payerphone } = response; // validate each value which changed by calling a function // that validates each type of data, returning a promise which // resolves if the data is valid.
... if (oldpayername !== payername) { promisestovalidate.push(validatename(payername)); oldpayername = payername; } if (oldpaye
remail !== paye
remail) { promisestovalidate.push(validateemail(paye
remail)); oldpaye
remail = paye
remail; } if (oldpayerphone !== payerphone) { promisestovalidate.push(validatephone(payerphone)); oldpayerphone = payerphone; } // as each validation promise resolves, add the results of the // validation to the errors list const errors = await promise.all(promisestovalidate).then(results => results.reduce((errors, result), object.assign(errors, result)) ); // if we found any errors, wait for them to be corrected if (object.getownpropertynames(errors).length) { await response.retry(errors); } else { // we have...
Hello GLSL - Web APIs
if the canvas
remains blank, you can check the output of the next example, which draws exactly the same thing.
... but
remember to read through the explanations and code on this page, before moving on to the next.
...x-shader"> #version 100 void main() { gl_position = vec4(0.0, 0.0, 0.0, 1.0); gl_pointsize = 64.0; } </script> <script type="x-shader/x-fragment" id="fragment-shader"> #version 100 void main() { gl_fragcolor = vec4(0.18, 0.54, 0.34, 1.0); } </script> ;(function(){ "use strict" window.addeventlistener("load", setupwebgl, false); var gl, program; function setupwebgl (evt) { window.
removeeventlistener(evt.type, setupwebgl, false); if (!(gl = getrenderingcontext())) return; var source = document.queryselector("#vertex-shader").innerhtml; var vertexshader = gl.createshader(gl.vertex_shader); gl.shadersource(vertexshader,source); gl.compileshader(vertexshader); source = document.queryselector("#fragment-shader").innerhtml var fragmentshader = gl.createshader(gl.
Raining rectangles - Web APIs
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, timer, rainingrect, scoredisplay, missesdisplay; function setupanimation (evt) { window.
removeeventlistener(evt.type, setupanimation, false); if (!(gl = getrenderingcontext())) return; gl.enable(gl.scissor_test); rainingrect = new rectangle(); timer = settimeout(drawanimation, 17); document.queryselector("canvas") .addeventlistener("click", playerclick, false); var displays = document.queryselectorall("strong"); scoredisplay = displays[0]; missesdisplay = disp...
...// in addition we need to
remember that vertical position in // webgl increases from bottom to top, unlike in the browser // window.
... // inc
rement score and create a new rectangle.
Scissor animation - Web APIs
the clear color state of webgl
remains at the set value, until we change it again when a new square is created.
...var gl, color = getrandomcolor(), position; function setupanimation (evt) { window.
removeeventlistener(evt.type, setupanimation, false); if (!(gl = getrenderingcontext())) return; gl.enable(gl.scissor_test); gl.clearcolor(color[0], color[1], color[2], 1.0); // unlike the browser window, vertical position in webgl is // measured from bottom to top.
... position = [0, gl.drawingbufferheight]; var button = document.queryselector("button"); var timer; function startanimation(evt) { button.
removeeventlistener(evt.type, startanimation, false); button.addeventlistener("click", stopanimation, false); document.queryselector("strong").innerhtml = "stop"; timer = setinterval(drawanimation, 17); drawanimation(); } function stopanimation(evt) { button.
removeeventlistener(evt.type, stopanimation, false); button.addeventlistener("click", startanimation, false); document.queryselector("strong").innerhtml = "start"; clearinterval(timer); } stopanimation({type: "click"}); } // variables to hol...
Simple color animation - Web APIs
e]</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 : 0.6em; } window.addeventlistener("load", function setupanimation (evt) { "use strict" window.
removeeventlistener(evt.type, setupanimation, false); // a variable to hold a timer that drives the animation.
... var button = document.queryselector("#animation-onoff"); var verb = document.queryselector("strong"); function startanimation(evt) { button.
removeeventlistener(evt.type, startanimation, false); button.addeventlistener("click", stopanimation, false); verb.innerhtml="stop"; // setup animation loop by redrawing every second.
... drawanimation(); } function stopanimation(evt) { button.
removeeventlistener(evt.type, stopanimation, false); button.addeventlistener("click", startanimation, false); verb.innerhtml="start"; // stop animation by clearing the timer.
Using bounded reference spaces - Web APIs
requi
rements because a bounded reference space establishes a limited area in which the user can move, it naturally imposes a limit on how large the simulated environment can be.
... the requi
rements, then, for a bounded reference space are: xr hardware that can track the user's movement in the real world, such as a camera-based system.
...by their very nature, bounded reference spaces have special hardware requi
rements, since they need to allow for the user to physically move around in space while their movements are tracked.
Fundamentals of WebXR - Web APIs
the rotational degrees of freedom are: pitch: looking up and down yaw: looking left and right roll: tilting left and right in all of these cases, the viewer
remains in the same location in space while pivoting on one or more of the three axes to alter the direction in which they're looking.
... important health and safety
reminders because the entire act of creating a virtual 3d world is, in essence, a trick which takes advantage of our understanding of how eyes collect light and how the brain interprets the collected data, it is important to keep in mind that as such, software designers and developers have a responsibility to be even more careful than usual to ensure that the results are correct.
...likewise, it's worth
reminding users to
remain seated if possible, and to be cautious about moving around while wearing a headset if the experience is fully-immersive virtual reality.
Movement, orientation, and motion: A WebXR example - Web APIs
remember that, as always, the world's objects are moved and reoriented, not the viewer.
...the
remainder of the function is identical or essentially identical to the older webgl sample from which this code is derived.
...
remember: as you wander around, if you get lost, just hit the r key to reset yourself to the beginning.
Using the Web Audio API - Web APIs
these special requi
rements are in place essentially because unexpected sounds can be annoying and intrusive, and can cause accessibility problems.
... another application developed specifically to demonstrate the web audio api is the violent the
remin, a simple web application that allows you to change pitch and volume by moving your mouse pointer.
... it also provides a psychedelic lightshow (see violent the
remin source code).
Web Storage API - Web APIs
sms 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 hang off) — invoking one of these will create an instance of the storage object, through which data items can be set, retrieved and
removed.
... web storage interfaces storage allows you to set, retrieve and
remove data for a specific domain and storage type (session or local.) window the web storage api extends the window object with two new properties — window.sessionstorage and window.localstorage — which provide access to the current domain's session and local storage objects respectively, and a window.onstorage event handler that fires when a storage area changes (e.g.
...when you choose different options, the page is instantly updated; in addition your choices are stored in localstorage, so that when you leave the page then load it again later on your choices are
remembered.
Using Web Workers - Web APIs
er, onerror) { var instance = this, worker = new worker(url), listeners = {}; this.defaultlistener = defaultlistener || function() {}; if (onerror) {worker.onerror = onerror;} this.postmessage = function(message) { worker.postmessage(message); } this.terminate = function() { worker.terminate(); } } then we add the methods of adding/
removing listeners: this.addlisteners = function(name, listener) { listeners[name] = listener; } this.
removelisteners = function(name) { delete listeners[name]; } here we let the worker handle two simple operations for illustration: getting the difference of two numbers and making an alert after three seconds.
...etc): calls a worker's queryable function * postmessage(string or json data): see worker.prototype.postmessage() * terminate(): terminates the worker * addlistener(name, function): adds a listener *
removelistener(name):
removes a listener queryableworker instances properties: * defaultlistener: the default listener executed only when the worker calls the postmessage() function directly */ function queryableworker(url, defaultlistener, onerror) { var instance = this, worker = new worker(url), listeners = {}; this.defaultlistener = defaultlistener |...
...| function() {}; if (onerror) {worker.onerror = onerror;} this.postmessage = function(message) { worker.postmessage(message); } this.terminate = function() { worker.terminate(); } this.addlistener = function(name, listener) { listeners[name] = listener; } this.
removelistener = function(name) { delete listeners[name]; } /* this functions takes at least one argument, the method name we want to query.
Window.mozAnimationStartTime - Web APIs
although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
...this value should be used instead of, for example, date.now(), because this value will be the same for all animations started in this window during this refresh interval, allowing them to
remain in sync with one another.
... this also allows javascript-based animations to
remain synchronized with css transitions and smil animations triggered during the same refresh interval.
Window.pkcs11 - Web APIs
although it may still work in some browsers, its use is discouraged since it could be
removed at any time.
... note: this property has been returned null since gecko 1.9.0.14 (firefox 3.0.14) and
removed in gecko 29.0 (firefox 29 / thunderbird 29 / seamonkey 2.26)) for security reasons.
...see bug 326628 for details on why the property was
removed.
Window.showModalDialog() - Web APIs
this feature has been
removed.
... this method was
removed in chrome 43 and firefox 56.
... 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 andr...
Window - Web APIs
window.orientation read only returns the orientation in degrees (in 90 degree inc
rements) of the viewport relative to the device's natural orientation.
... window.pkcs11 formerly provided access to install and
remove pkcs11 modules.
... eventtarget.
removeeventlistener
removes an event listener from the window.
XRInputSourcesChangeEvent.added - Web APIs
examples the example below creates a handler for the inputsourceschange event that processes the lists of added and
removed from the webxr system.
... it looks for new and
removed devices whose targetraymode is tracked-pointer.
... xrsession.oninputsourcescchange = event => { for (let input of event.added) { if (input.targetraymode == "tracked-pointer") { addedpointerdevice(input); } } for (let input of event.
removed) { if (input.targetraymode == "tracked-pointer") {
removedpointerdevice(input); } } }; specifications specification status comment webxr device apithe definition of 'xrinputsourceschangeevent.added' in that specification.
XSLTProcessor - Web APIs
[throws] void xsltprocessor.
removeparameter(string namespaceuri, string localname)
removes the parameter if it was previously set.
... void xsltprocessor.clearparameters()
removes all set parameters from the xsltprocessor.
... void xsltprocessor.reset()
removes all parameters and stylesheets from the xsltprocessor.
Web APIs
udioworkletnodeoptions audioworkletprocessor authenticatorassertionresponse authenticatorattestationresponse authenticatorresponse b baseaudiocontext basiccardrequest basiccardresponse batterymanager beforeinstallpromptevent beforeunloadevent biquadfilternode blob blobbuilder blobevent bluetooth bluetoothadvertisingdata bluetoothcharacteristicproperties bluetoothdevice bluetooth
remotegattcharacteristic bluetooth
remotegattdescriptor bluetooth
remotegattserver bluetooth
remotegattservice body broadcastchannel budgetservice budgetstate buffersource bytelengthqueuingstrategy bytestring c cdatasection css cssconditionrule csscounterstylerule cssgroupingrule cssimagevalue csskeyframerule csskeyframesrule csskeywordvalue cssmathproduct cssmathsum cssmathva...
...lue cssmediarule cssnamespacerule cssnumericvalue cssomstring csspagerule csspositionvalue cssprimitivevalue csspseudoelement cssrule cssrulelist cssstyledeclaration cssstylerule cssstylesheet cssstylevalue csssupportsrule cssunitvalue cssunparsedvalue cssvalue cssvaluelist cssvariablereferencevalue cache cachestorage canvascaptu
remediastreamtrack canvasgradient canvasimagesource canvaspattern canvasrenderingcontext2d caretposition channelmergernode channelsplitternode characterdata childnode client clients clipboard clipboardevent clipboarditem closeevent comment compositionevent constantsourcenode constrainboolean constraindomstring constraindouble constrainulong contentindex contentindexevent convolvernode countqueuingstrategy crashreportbody crede...
...dentialtype rtcicegathererstate rtciceparameters rtciceprotocol rtcicerole rtciceserver rtcicetcpcandidatetype rtcicetransport rtcicetransportstate rtcidentityassertion rtcidentityerrorevent rtcidentityevent rtcinboundrtpstreamstats rtcnetworktype rtcofferansweroptions rtcofferoptions rtcoutboundrtpstreamstats rtcpeerconnection rtcpeerconnectioniceerrorevent rtcpeerconnectioniceevent rtc
remoteoutboundrtpstreamstats rtcrtcpparameters rtcrtpcapabilities rtcrtpcodeccapability rtcrtpcodecparameters rtcrtpcontributingsource rtcrtpencodingparameters rtcrtpparameters rtcrtpreceiveparameters rtcrtpreceiver rtcrtpsendparameters rtcrtpsender rtcrtpstreamstats rtcrtpsynchronizationsource rtcrtptransceiver rtcrtptransceiverdirection rtcrtptransceiverinit rtcsctptransport rtcsessiondescription...
ARIA: gridcell role - Accessibility
instead use the native html td element in conjunction with the and contenteditable attribute: <td>potato</td> <td>cabbage</td> <td>onion</td> description gridcells with dynamically added, hidden, or
removed rows and columns any element with a role="gridcell" applied to it should use aria to describe its order in the table-style grouping, provided the table, grid, or treegrid has the ability to have rows and/or columns dynamically added, hidden, or
removed.
... this sample code demonstrates a table-style grouping of information where the third and fourth columns have been
removed.
... aria-colindex is being used to describe the rows' position and allows a person using assistive technology to infer that certain rows have been
removed: <div role="grid" aria-colcount="6"> <div role="rowgroup"> <div role="row"> <div role="columnheader" aria-colindex="1">first name</div> <div role="columnheader" aria-colindex="2">last name</div> <div role="columnheader" aria-colindex="5">city</div> <div role="columnheader" aria-colindex="6">zip</div> </div> </div> <div role="rowgroup"> <div role="row"> <div role="gridcell" aria-colindex="1">debra</div> <div role="gridcell" aria-colindex="2">burks</div> <div role="gridcell" aria-colindex="5">new york</div> <div role="gridcell" aria-colindex="6">14127</div> </div> </div> ...
ARIA: switch role - Accessibility
text in these elements
remains visible to the user agent and may be read or otherwise delivered to the user, unless it's expressly hidden using display: none or aria-hidden="true".
...the button is styled with an appearance
reminiscent of an on/off power switch.
...reach(function(theswitch) { theswitch.addeventlistener("click", handleclickevent, false); }); function handleclickevent(evt) { let el = evt.target; if (el.getattribute("aria-checked") == "true") { el.setattribute("aria-checked", "false"); } else { el.setattribute("aria-checked", "true"); } } css the purpose of the css is to establish a look and feel for the switch that's
reminiscent of the power switch paradigm.
ARIA: button role - Accessibility
in our example the label
remains "mute" with a screen reader reading "mute toggle button pressed" or "mute toggle button not pressed" depending on the value of aria-pressed.
...if the button alters the current context, then focus typically
remains on the button, such as muting and unmuting an audio file.
... 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 requi
rements by default, without need for additional customization.
ARIA: checkbox role - Accessibility
<span role="checkbox" aria-checked="false" tabindex="0" aria-labelledby="chk1-label"> </span> <label id="chk1-label">
remember my preferences</label> the first rule of aria is if a native html element or attribute has the semantics and behavior you require, use it instead of re-purposing an element and adding aria.
... instead use the native html checkbox of <input type="checkbox">, which natively provides all the functionality required: <input type="checkbox" id="chk1-label"> <label for="chk1-label">
remember my preferences</label> description the native html checkbox form control can only have two checked states ("checked" or "not checked"), with an indeterminate state settable via javascript.
... html <span role="checkbox" id="chkpref" aria-checked="false" onclick="changecheckbox()" onkeypress="changecheckbox()" tabindex="0" aria-labelledby="chk1-label"></span> <label id="chk1-label" onclick="changecheckbox()" onkeypress="changecheckbox()">
remember my preferences</label> css [role="checkbox"] { padding:5px; } [aria-checked="true"]::before { content: "[x]"; } [aria-checked="false"]::before { content: "[ ]"; } javascript function changecheckbox(event) { let item = document.getelementbyid('chkpref'); switch(item.getattribute('aria-checked')) { case "true": item.setattribute('aria-checked', "fa...
WAI-ARIA Roles - Accessibility
legenerally used in complex composite widgets or applications, the document role can inform assistive technologies to switch context to a reading mode: the document role tells assistive technologies with reading or browse modes to use the document mode to read the content contained within this element.aria: feed rolea feed is a dynamic scrollable list of articles in which articles are added to or
removed from either end of the list as the user scrolls.
...aria: timer rolethe timer role indicates to assistive technologies that an element is a numerical counter the amount of elapsed time from a starting point or the
remaining time until an end point.
...ones for which the first draft is completed have been
removed from the below list.
An overview of accessible web applications and widgets - Accessibility
note that the script only updates the aria-hidden attribute (line 2); it does not need to also add or
remove a custom classname.
...instead,
remove the original element and replace it with an element with the new role.
...a developer might be tempted to implement the "view" mode using a read-only text <input> element and setting its aria role to button, then switching to "edit" mode by making the element writable and
removing the role attribute in "edit" mode (since <input> elements have their own role semantics).
Accessibility documentation index - Accessibility
61 aria: feed role aria, aria role, reference, feed a feed is a dynamic scrollable list of articles in which articles are added to or
removed from either end of the list as the user scrolls.
... 77 aria: timer role aria, aria role, aria widget, reference, role timer the timer role indicates to assistive technologies that an element is a numerical counter the amount of elapsed time from a starting point or the
remaining time until an end point.
... 94 mobile accessibility checklist accessibility, firefox os, guidelines, mobile, checklist this document provides a concise checklist of accessibility requi
rements for mobile app developers.
Keyboard-navigable JavaScript widgets - Accessibility
grouping controls for grouping widgets such as menus, tablists, grids, or tree views, the parent element should be in the tab order (tabindex="0"), and each descendent choice/tab/cell/row should be
removed from the tab order (tabindex="-1").
...> </li> <li id="mb1_menu3" tabindex="-1"> justification <ul id="justificationmenu" title="justication" tabindex="-1"> <li id="left" tabindex="-1">left</li> <li id="center" tabindex="-1">centered</li> <li id="right" tabindex="-1">right</li> <li id="justify" tabindex="-1">justify</li> </ul> </li> </ul> disabled controls when a custom control becomes disabled,
remove it from the tab order by setting tabindex="-1".
... note that disabled items within a grouped widget (such as menu items in a menu) should
remain navigable using arrow keys.
-webkit-mask-composite - CSS: Cascading Style Sheets
source-out overlapping pixels in the source mask image and the destination mask image are cleared; all
remaining pixels of the source mask image are rendered.
... destination-in overlapping pixels in the source mask image and the destination mask image
remain the pixels of the destination mask image; all other pixels are cleared.
... destination-out overlapping pixels in the source mask image and the destination mask image are cleared; all
remaining pixels of the source mask image are rendered.
font-display - CSS: Cascading Style Sheets
swap gives the font face an ext
remely small block period and an infinite swap period.
... fallback gives the font face an ext
remely small block period and a short swap period.
... optional gives the font face an ext
remely small block period and no swap period.
Line-based placement with CSS Grid - CSS: Cascading Style Sheets
browsers are updating their rendering engines to
remove this prefix, however the prefixed versions will be maintained as aliases, making them safe to use.
...
remember that if you do not place all of the items, any leftover items will be placed according to auto-placement rules.
... also,
remember that items on the grid can overlap each other when you place them explicitly like this.
Relationship of grid layout to other layout methods - CSS: Cascading Style Sheets
once the browser has worked out how many times 200 pixels will fit into the container–also taking account of grid gaps–it will treat the 1fr maximum as an instruction to share out the
remaining space between the items.
... if we
remove position: absolute from the rules for .box3 you can see how it would display without the positioning.
...in our case, if we
remove position: relative from the wrapper above, positioning context is from the viewport, as shown in this image.
Consistent list indentation - CSS: Cascading Style Sheets
remember that, at this point, the list item has no padding or borders.
... as we can see, the markers
remain attached to the <li> elements, no matter where they are.
...if you want to reset lists to have no indentation, then you still have to zero out both padding and margin: ul {margin-left: 0; padding-left: 0;}
remember, though, that in so doing, you'll have the bullets hanging outside the list and its parent element.
Column layouts - CSS: Cascading Style Sheets
requi
rements there are a number of design patterns you might want to achieve with your columns: a continuous thread of content broken up into newspaper-style columns.
... the recipes you need to choose different layout methods in order to achieve your requi
rements.
... a continuous thread of content — multi-column layout if you create columns using multi-column layout your text will
remain as a continuous stream filling each column in turn.
Viewport concepts - CSS: Cascading Style Sheets
this is because the outerheight includes the browser chrome: measu
rements were taken on a browser with an address bar and bookmarks bar totalling 100px in height, but no chrome on the left or right of the window.
... body > header { position: fixed; top: 0; } body > footer { position: fixed; bottom: 0; } we got the 800 x 533 measu
rement when we zoomed in using the keyboard.
... sticky headers or footers, as discussed above, stick to the top and bottom of the layout viewport, and therefore
remain in view when we zoom in with the keyboard.
border-image-outset - CSS: Cascading Style Sheets
syntax /* <length> value */ border-image-outset: 1
rem; /* <number> value */ border-image-outset: 1.5; /* vertical | horizontal */ border-image-outset: 1 1.2; /* top | horizontal | bottom */ border-image-outset: 30px 2 45px; /* top | right | bottom | left */ border-image-outset: 7px 12px 14px 5px; /* global values */ border-image-outset: inherit; border-image-outset: initial; border-image-outset: unset; the border-image-outset property may be ...
...for example, if an element has border-width: 1em 2px 0 1.5
rem, and border-image-outset: 2, the final border-image-outset would be calculated as 2em 4px 0 3
rem.
...it also applies to ::first-letter.inheritednocomputed valueas specified, but with relative lengths converted into absolute lengthsanimation typeby computed value type formal syntax [ <length> | <number> ]{1,4} examples outsetting a border image html <div id="outset">this element has an outset border image!</div> css #outset { width: 10
rem; background: #cef; border: 1.4
rem solid; border-image: radial-gradient(#ff2, #55f) 40; border-image-outset: 1.5; /* 1.5 × 1.4
rem = 2.1
rem */ margin: 2.1
rem; } result specifications specification status comment css backgrounds and borders module level 3the definition of 'border-image-outset' in that specification.
border-image-width - CSS: Cascading Style Sheets
syntax /* keyword value */ border-image-width: auto; /* <length> value */ border-image-width: 1
rem; /* <percentage> value */ border-image-width: 25%; /* <number> value */ border-image-width: 3; /* vertical | horizontal */ border-image-width: 2em 3em; /* top | horizontal | bottom */ border-image-width: 5% 15% 10%; /* top | right | bottom | left */ border-image-width: 5% 2em 10% auto; /* global values */ border-image-width: inherit; border-image-width: initial; border-image-width: unset; ...
... html <p>lo
rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
...stet clita kasd gubergren, no sea takimata sanctus est lo
rem ipsum dolor sit amet.</p> css p { border: 20px solid; border-image: url("/static/external/21/214842819586a8dd293c17b38d0fd0e26430146a86dd04294a53ecaeeea7d0e2.png") 30 round; border-image-width: 16px; padding: 40px; } result specifications specification status comment css backgrounds and borders module level 3the definition of 'border-image-width' in that specification.
box-flex-group - CSS: Cascading Style Sheets
once there are no more flex groups, and there is still space
remaining, the extra space is divided within the containing box according to the box-pack property.
... if the box would overflow after the preferred space of the children has been computed, then space is
removed from flexible elements in a manner similar to that used when adding extra space.
... each flex group is examined in turn and space is
removed according to the ratio of the flexibility of each element.
color-adjust - CSS: Cascading Style Sheets
removing the background color would decrease the legibility of the content.
... if the output device is a printer, and to save ink, dark or ext
remely dense background images might be
removed.
... css .my-box { background-color: black; background-image: linear-gradient(rgba(0, 0, 180, 0.5), rgba(70, 140, 220, 0.5)); color: #900; width: 15
rem; height: 6
rem; text-align: center; font: 24px "helvetica", sans-serif; display: flex; align-items: center; justify-content: center; color-adjust: exact; } html <div class="my-box"> <p>need more contrast!</p> </div> result specifications specification status comment css color adjustment module level 1the definition of 'color-adjust' in that speci...
counters() - CSS: Cascading Style Sheets
syntax values <custom-ident> a name identifying the counters, which is the same case-sensitive name used for the counter-reset and counter-inc
rement.
...red to upper roman html <ol> <li> <ol> <li></li> <li></li> <li></li> </ol> </li> <li></li> <li></li> <li> <ol> <li></li> <li> <ol> <li></li> <li></li> <li></li> </ol> </li> </ol> </li> </ol> css ol { counter-reset: listcounter; } li { counter-inc
rement: listcounter; } li::marker { content: counters(listcounter, '.', upper-roman) ') '; } li::before { content: counters(listcounter, ".") " == " counters(listcounter, ".", lower-roman) ; } result decimal-leading-zero compared to lower-alpha html <ol> <li> <ol> <li></li> <li></li> <li></li> </ol> </li> <li></li> <li></li> <li> <ol> ...
... <li></li> <li> <ol> <li></li> <li></li> <li></li> </ol> </li> </ol> </li> </ol> css ol { counter-reset: count; } li { counter-inc
rement: count; } li::marker { content: counters(count, '.', upper-alpha) ') '; } li::before { content: counters(count, ".", decimal-leading-zero) " == " counters(count, ".", lower-alpha); } result specifications specification status comment css lists module level 3the definition of 'css counters' in that specification.
flex-grow - CSS: Cascading Style Sheets
description this property specifies how much of the
remaining space in the flex container should be assigned to the item (the flex grow factor).
... the
remaining space is the size of the flex container minus the size of all flex items' sizes together.
... if all sibling items have the same flex grow factor, then all items will receive the same share of
remaining space, otherwise it is distributed according to the ratio defined by the different flex grow factors.
revert - CSS: Cascading Style Sheets
this
removes from the cascade all of the styles that have been overridden until the style being rolled back to is reached.
... revert will not affect rules applied to children of an element you reset (but will
remove effects of a parent rule on a child).
... h3 { font-weight: normal; color: blue; border-bottom: 1px solid grey; } <h3>this will have custom styles</h3> <p>just some text</p> <h3 style="all: revert">this should be reverted to browser/user defaults</h3> <p>just some text</p> revert on a parent reverting effectively
removes the value for the element you select with some rule and only for that element.
scroll-margin - CSS: Cascading Style Sheets
the value specified for scroll-margin determines how much of the page that's primarily outside the snapport should
remain visible.
... last of all we specify the scroll margin-values, a different one for the second and third child elements: .scroller > div:nth-child(2) { scroll-margin: 1
rem; } .scroller > div:nth-child(3) { scroll-margin: 2
rem; } this means that when scrolling past the middle child elements, the scrolling will snap to 1
rem outside the left edge of the second <div>, and 2
rems outside the left edge of the third <div>.
...it would work just as well here to only set a scroll margin on that one edge, for example with scroll-margin-inline-start: 1
rem, or scroll-margin: 0 0 0 1
rem.
text-overflow - CSS: Cascading Style Sheets
ng 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">lo
rem ipsum dolor sit amet, consectetur adipisicing elit.</p> <p class="overflow-clip">lo
rem ipsum dolor sit amet, consectetur adipisicing elit.</p> <p class="overflow-ellipsis">lo
rem ipsum dolor sit amet, consectetur adipisicing elit.</p> <p class="overflow-string">lo
rem ipsum dolor sit amet, consectetur adipisicing elit.</p> result note: live results in the following table may be shown incorrect...
...ly due to a limitation of the mdn editor which
removes the all contents of style attributes which have text-overflow properties with string value.
...as some not-listed-at-risk features needed to be
removed, the spec was demoted to the working draft level, explaining why browsers implemented this property unprefixed, though not at the cr state.
translate - CSS: Cascading Style Sheets
this maps better to typical user interface usage, and saves having to
remember the exact order of transform functions to specify in the transform value.
... syntax /* keyword values */ translate: none; /* single values */ translate: 100px; translate: 50%; /* two values */ translate: 100px 200px; translate: 50% 105px; /* three values */ translate: 50% 105px 5
rem; values single <length-percentage> value a <length> or <percentage> that specifies a 2d translation, with the same translation along both the x and y axes.
...]?where <length-percentage> = <length> | <percentage> examples html <div> <p class="translate">translation</p> </div> css * { box-sizing: border-box; } html { font-family: sans-serif; } div { width: 150px; margin: 0 auto; } p { padding: 10px 5px; border: 3px solid black; border-radius: 20px; width: 150px; font-size: 1.2
rem; text-align: center; } .translate { transition: translate 1s; } div:hover .translate { translate: 200px 50px; } result specifications specification status comment css transforms level 2the definition of 'individual transforms' in that specification.
white-space - CSS: Cascading Style Sheets
the following table summarizes the behavior of the various white-space values: new lines spaces and tabs text wrapping end-of-line spaces normal collapse collapse wrap
remove nowrap collapse collapse no wrap
remove pre preserve preserve no wrap preserve pre-wrap preserve preserve wrap hang pre-line preserve collapse wrap
remove break-spaces preserve preserve wrap wrap formal definition initial valuenormalapplies toall elementsinheritedyescomputed valueas...
...-word; /* ie 5.5-7 */ white-space: pre-wrap; /* modern browsers */ } in action html <div id="css-code" class="box"> p { white-space: <select> <option>normal</option> <option>nowrap</option> <option>pre</option> <option>pre-wrap</option> <option>pre-line</option> <option>break-spaces</option> </select> } </div> <div id="results" class="box"> <p> lo
rem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
...t { font-family: inherit; } #results { background-color: rgb(230, 230, 230); overflow-x: scroll; height: 400px; white-space: normal; font-size: 14px; } var select = document.queryselector("#css-code select"); var results = document.queryselector("#results p"); select.addeventlistener("change", function(e) { results.setattribute("style", "white-space: "+e.target.value); }) <p> lo
rem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
will-change - CSS: Cascading Style Sheets
the normal behavior for optimizations that the browser make is to
remove the optimizations as soon as it can and revert back to normal.
... don't apply will-change to elements to perform p
remature optimization.
... var el = document.getelementbyid('element'); // set will-change when the element is hovered el.addeventlistener('mouseenter', hintbrowser); el.addeventlistener('animationend',
removehint); function hintbrowser() { // the optimizable properties that are going to change // in the animation's keyframes block this.style.willchange = 'transform, opacity'; } function
removehint() { this.style.willchange = 'auto'; } specifications specification status comment css will change module level 1the definition of 'will-change' in that specificatio...
Mutation events - Developer guides
moreover,
removing the listeners does not reverse the damage.
... mutation events list the following is a list of all mutation events, as defined in dom level 3 events specification: domattrmodified domattributenamechanged domcharacterdatamodified domelementnamechanged domnodeinserted domnodeinsertedintodocument domnode
removed domnode
removedfromdocument domsubtreemodified mutation observers alternatives examples domnode
removedfromdocument var isdescendant = function (desc, root) { return !!desc && (desc === root || isdescendant(desc.parentnode, root)); }; var on
remove = function (element, callback) { var observer = new mutationobserver(function (mutations) { _.foreach(mutations, function (mut...
...ation) { _.foreach(mutation.
removednodes, function (
removed) { if (isdescendant(element,
removed)) { callback(); // allow garbage collection observer.disconnect(); observer = undefined; } }); }); }); observer.observe(document, { childlist: true, subtree: true }); }; usage you can register a listener for mutation events using element.addeventlistener as follows: element.addeventlistener("domnodeinserted", function (event) { // ...
Skinning XUL Files by Hand - Archive of obsolete content
d element.class { attribute: value; } element#id { attribute: value; } menu.baseline { border: 0px; font-size: 9pt; } menu#edit { color: red; } other style subgroups contextualsubgroups -- elements appearing within other elements, such as italicized text anywhere within a <p> element or a <div> -- can be grouped in css, but this is an ext
remely inefficient way to style xul, and is frowned upon in the mozilla development community (again, refer to the skinning guidelines in writing skinnable xul and css for more info); css2 also provides some new ways to group elements for styling, which we summarize briefly here, because they appear in mozilla with some frequency, but reserve for another article: pseudo-class parent-chil...
... the parent-child relationship is more economical than the afo
rementioned contextual subgrouping, which searches the entire subtree of an element for the subelement.
Splitters - Archive of obsolete content
the collapse has been set to a value of before, meaning that if the splitter grippy is clicked on, the first frame would disappear and the splitter and the
remaining frames would shuffle to the left.
...we don't need the spacer after the tabbox any more so we can
remove it.
XBL Example - Archive of obsolete content
the 'page' property is inc
remented or dec
remented.
... this will call the onget script to get the value, inc
rement or dec
rement the value by one, and then call the onset handler to set the value.
XPCOM Examples - Archive of obsolete content
<script> function getcookies() { var menu = document.getelementbyid("cookiemenu"); menu.
removeallitems(); var cookiemanager = components.classes["@mozilla.org/cookiemanager;1"] .getservice(components.interfaces.nsicookiemanager); var iter = cookiemanager.enumerator; while (iter.hasmoreelements()){ var cookie = iter.getnext(); if (cookie instanceof components.interfaces.nsicookie){ if (cookie.host == "www.mozillazine.org") menu.append...
...the first two lines of getcookies() get the menulist and
remove all of the existing items in the menu.
XUL Changes for Firefox 1.5 - Archive of obsolete content
this is used typically on gnome systems where possible values are: accept, cancel, help, open, save, find, clear, yes, no, apply, close, print, add,
remove, refresh, go-forward, go-back, properties, select-font, select-color, network.
... <listbox> the
removeitemat method was sometime non zero-based due to a bug (bug 236068).
action - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidt...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
assign - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
bbox - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
binding - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties object type: string the object of the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related tbd ...
bindings - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width object type: string the object of the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related tbd ...
box - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
broadcasterset - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
button - Archive of obsolete content
possible values include: accept, cancel, help, open, save, find, clear, yes, no, apply, close, print, add,
remove, refresh, go-forward, go-back, properties, select-font, select-color, network.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsiaccessibleprovider, nsidomxulbuttonelement ...
column - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements grid, column, rows, row.
conditions - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
content - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width propiedades tag type: tag name this may be set to a tag name.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata relacionados tbd ...
deck - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties selectedindex type: integer returns the index of the currently selected item.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related stack ...
dropmarker - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessibletype type: integer a value indicating the type of accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
grid - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements columns, column, rows, row.
grippy - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
groupbox - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessibletype type: integer a value indicating the type of accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsiaccessibleprovider ...
hbox - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
this would be useful if the images are stored
remotely or you plan on swapping the image frequently.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width disabled type: boolean indicates whether the element is disabled or not.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
label - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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.
... the caption is in the "value" attribute
remember that the label element has a "value" attribute, unlike value in html whereas buttons, checkboxes use label="foo" as the attribute <label label="a caption"/> <!-- wrong --> <label value="a caption"/> <label value="click the button"/> <button label="a button"/> <checkbox label="a decision" value="1"/> wrapping by default, label text does not wrap.
listcol - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessibletype type: integer a value indicating the type of accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessibletype type: integer a value indicating the type of accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements listbox, listcell, listcol, listcols, listhead, listitem ...
member - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties child type: ?
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
notification - Archive of obsolete content
persistence type: integer the persistence may be set to a non-zero value so that the notificationbox's
removetransientnotifications method does not
remove them.
...lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 its enclosing notificationbox or findbar.
observes - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
page - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
popupset - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements popup, menupopup ...
preferences - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related preferences system documentation: introduction: getting started | examples | troubleshooting reference: prefwindow | prefpane | preferences | preference | xul attributes ...
prefpane - Archive of obsolete content
for example, if you are using a listbox and the user changes the contents of the listbox (such as adding or
removing an item) and you want to sync the changes back to a preference, you must write an onsynctopreference handler for your listbox that returns the value to be written to the preference element, and then call the userchangedvalue function every time you edit the list in a way that should cause the preference's value to change.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 loaded (e.g.
progressmeter - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessibletype type: integer a value indicating the type of accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsiaccessibleprovider ...
query - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
queryset - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
resizer - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
row - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements grid, columns, column, row.
script - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
scrollbox - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
scrollcorner - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
separator - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
stack - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related deck ...
statusbar - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessibletype type: integer a value indicating the type of accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
« xul reference home [ examples | attributes | properties | methods | related ] firefox 4 note the status bar has been
removed.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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.
stringbundle - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties applocale obsolete since gecko 1.9.1 type: nsilocale returns the xpcom object which holds information about the user's locale.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related xul property files ...
stringbundleset - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
tabpanel - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessible type: nsiaccessible returns the accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements tabbox, tabs, tab, tabpanel.
template - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
textnode - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
titlebar - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width note: the allowevents attribute did not work for title bars prior to firefox 3.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
toolbargrippy - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessible type: nsiaccessible returns the accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbaritem, toolbarpalette, toolbarseparator, toolbarset, toolbarspacer, toolbarspring, toolbox interfaces nsiaccessibleprovider ...
toolbarpalette - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarseparator, toolbarset, toolbarspacer, toolbarspring, toolbox ...
toolbarseparator - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessibletype type: integer a value indicating the type of accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarpalette, toolbarset, toolbarspacer, toolbarspring, toolbox ...
toolbarset - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarpalette, toolbarseparator, toolbarspacer, toolbox ...
toolbarspacer - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessibletype type: integer a value indicating the type of accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarpalette, toolbarseparator, toolbarset, toolbarspring, toolbox interfaces nsiaccessibleprovider ...
toolbarspring - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessibletype type: integer a value indicating the type of accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarpalette, toolbarseparator, toolbarset, toolbarspacer, toolbox interfaces nsiaccessiblep...
toolbox - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessible type: nsiaccessible returns the accessibility object for the element.
...lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 toolbar to the toolbox with the given name.
treechildren - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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"/> <treecol id="subject" label="subject" flex="2"/> </treecols> <treechildren> <treeitem> ...
treecols - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties accessibletype type: integer a value indicating the type of accessibility object for the element.
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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.
treerow - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
vbox - Archive of obsolete content
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
lement align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref,
removeelement, sortdirection, sortresource, sortresource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width properties inherited properties align, , allowevents, , boxobject, builder, , , , classname, , , , , collapsed, contextmenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwid...
... getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
XUL accessibility tool - Archive of obsolete content
it is designed to test (insofar as automated testing is possible) the guidelines and requi
rement for creating accessible xul as set forth in the xul accessibility guidelines, and to report on any problems found in tested documents.
caption - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 attribute type is set to "button".
command - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
datepicker - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsidomxulcontrolelement ...
description - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata style classes header a class used for headings.
dialog - Archive of obsolete content
lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 to pressing the ok button.
dialogheader - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements dialog, window ...
editor - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsiaccessibleprovider ...
key - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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: <key key="r" modifiers="shift"/> this key will only match when the shift key is pressed as well as...
listcell - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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.
listitem - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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.
menubar - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements menu, menuitem, menulist, menupopup, menuseparator interfaces nsiaccessibleprovider ...
menupopup - Archive of obsolete content
lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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.
menuseparator - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements menu, menubar, menuitem, menulist, menupopup interfaces nsiaccessibleprovider, nsidomxulcontaineritemelement, nsidomxulselectcontrolitemelement ...
panel - Archive of obsolete content
lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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.
param - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
preference - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 <preference> element.
prefwindow - Archive of obsolete content
lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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 to pressing the ok button.
radio - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements radiogroup, checkbox interfaces nsiaccessibleprovider, nsidomxulselectcontrolitemelement, nsidomxullabeledcontrolelement ...
richlistitem - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related interfaces nsiaccessibleprovider, nsidomxulselectcontrolitemelement ...
rule - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata ...
splitter - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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.
tabbox - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(),
removeattribute(),
removeattributenode(),
removeattributens(),
removechild(),
removeeventlistener(), replacechild(), setattribute(), setattributenode(), setattributenodens(), setattributens(), setuserdata related elements tabs, tab, tabpanels, tabpanel.
tooltip - Archive of obsolete content
lientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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.
treecell - Archive of obsolete content
getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), 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.