Search completed in 1.95 seconds.
131 results for "discard":
Your results are loading. Please wait...
RTCInboundRtpStreamStats.fecPacketsDiscarded - Web APIs
the fecpacketsdiscarded property of the rtcinboundrtpstreamstats dictionary is a numeric value indicating the number of rtp forward error correction (fec) packets that have been discarded.
... syntax var fecpacketsdiscarded = rtcinboundrtpstreamstats.fecpacketsdiscarded; value an unsigned integer value indicating how many fec packets have been received whose error correction payload has been discarded.
...the value of fecpacketsreceived includes these discarded packets.
... specifications specification status comment identifiers for webrtc's statistics apithe definition of 'rtcinboundrtpstreamstats.fecpacketsdiscarded' in that specification.
<discard> - SVG: Scalable Vector Graphics
WebSVGElementdiscard
the <discard> svg element allows authors to specify the time at which particular elements are to be discarded, thereby reducing the resources required by an svg user agent.
... the <discard> element may occur wherever the <animate> element may.
... usage context categoriesanimation elementpermitted contentany number of the following elements, in any order:descriptive elements<script> attributes global attributes conditional processing attributes core attributes aria attributes specific attributes begin href (but note that <discard> has never supported xlink:href) specifications specification status comment svg animations level 2the definition of '<discard>' in that specification.
begin - SVG: Scalable Vector Graphics
WebSVGAttributebegin
the begin attribute defines when an animation should begin or when an element should be discarded.
... six elements are using this attribute: <animate>, <animatecolor>, <animatemotion>, <animatetransform>, <discard>, and <set> animate, animatecolor, animatemotion, animatetransform, set for <animate>, <animatecolor>, <animatemotion>, <animatetransform>, and <set>, begin defines when the element should begin, i.e.
... discard for <discard>, begin defines when the target element will be discarded.
...And 9 more matches
imgIContainer
tframe(); 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!
... obsolete since gecko 2.0 void setdiscardable(in string amimetype); native code only!
...an image will not be discarded as long as the lock count is nonzero.
...And 6 more matches
Index - Web APIs
WebAPIIndex
815 dedicatedworkerglobalscope.close() api, dom, dedicatedworkerglobalscope, method, reference, web workers, close the close() method of the dedicatedworkerglobalscope interface discards any tasks queued in the dedicatedworkerglobalscope's event loop, effectively closing this particular scope.
... 3372 rtcinboundrtpstreamstats.fecpacketsdiscarded api, errors, fec, packets, property, rtcinboundrtpstreamstats, rtp, reference, statistics, stats, webrtc, webrtc api, fecpacketsdiscarded the fecpacketsdiscarded property of the rtcinboundrtpstreamstats dictionary is a numeric value indicating the number of rtp forward error correction (fec) packets that have been discarded.
... 3378 rtcinboundrtpstreamstats.packetsduplicated api, duplicate, packets, property, rtcinboundrtpstreamstats, rtp, reference, repeat, statistics, stats, webrtc, webrtc api, packetsduplicated, stream the packetsduplicated property of the rtcinboundrtpstreamstats dictionary indicates the total number of packets discarded because they were duplicates of previously-received packets.
...And 4 more matches
Expressions and operators - JavaScript
sign-propagating right shift a >> b shifts a in binary representation b bits to the right, discarding bits shifted off.
... zero-fill right shift a >>> b shifts a in binary representation b bits to the right, discarding bits shifted off, and shifting in zeros from the left.
...numbers with more than 32 bits get their most significant bits discarded.
...And 3 more matches
href - SVG: Scalable Vector Graphics
WebSVGAttributehref
fifteen elements are using this attribute: <a>, <animate>, <animatemotion>, <animatetransform>, <discard>, <feimage>, <image>, <lineargradient>, <mpath>, <pattern>, <radialgradient>, <script>, <set>, <textpath>, and <use> html, body, svg { height: 100%; } <svg viewbox="0 0 160 40" xmlns="http://www.w3.org/2000/svg"> <a href="https://developer.mozilla.org/"><text x="10" y="25">mdn web docs</text></a> </svg> in svg a for <a>, href defines the location of the referenced object, expressed as a url reference.
... value <url> default value none animatable no discard for <discard>, href defines a url referring the target element to discard.
... note: unlike other animation elements, the <discard> element does not support the deprecated xlink:href attribute.
...And 3 more matches
The Implementation of the Application Object Model - Archive of obsolete content
preventing the persistence of attributes: the discardable attribute individual attributes can be specified as non-persistent (i.e.,discardable) through the use of the discardable attribute.
...the discardable attribute takes as its value the attribute name that should be non-persistent.
... within the subtree at which the discardable attribute occurs, the attribute in question will be considered to be non-persistent.
...And 2 more matches
imgIDecoderObserver
if an image is decoded on load and not visibly discarded, decode notifications are nested logically inside load notifications as one might expect.
... however, with decode-on-draw, the set of decode notifications can come completely after the load notifications, and can come multiple times if the image is discardable.
... void ondiscard(in imgirequest arequest); void onimageisanimated(in imgirequest arequest); void onstartcontainer(in imgirequest arequest, in imgicontainer acontainer); void onstartdecode(in imgirequest arequest); void onstartframe(in imgirequest arequest, in unsigned long aframe); void onstartrequest(in imgirequest arequest); void onstopcontainer(in imgire...
...And 2 more matches
Bytecode Descriptions
expressions unary operators void stack: val ⇒ undefined pop the top value on the stack, discard it, and push undefined.
...format: jof_jump case operands: (int32_t forwardoffset) stack: val, cond ⇒ val (if !cond) like jsop::ifne ("jump if true"), but if the branch is taken, pop and discard an additional stack value.
...format: jof_jump default operands: (int32_t forwardoffset) stack: lval ⇒ like jsop::goto, but pop and discard an additional stack value.
... stack operations pop stack: v ⇒ pop the top value from the stack and discard it.
RTCInboundRtpStreamStats - Web APIs
fecpacketsdiscarded an integer value indicating the number of rtp forward error correction (fec) packets which have been received for this source, for which the error correction payload was discarded.
... packetsduplicated an integer value indicating the total number of packets that have been discarded because they were duplicates.
... these packets are not counted by packetsdiscarded.
...these packets are not counted by packetsdiscarded.
Digital audio concepts - Web media technologies
the audio bandwidth is also affected by the codec, if it chooses to discard any frequency bands while encoding the sound.
... when a compression algorithm designed to compress general audio analyzes an audio waveform, it can discard anything outside the range of human hearing (or possibly even more, depending on how willing the algorithm is willing to risk losing detail at the high and/or low end of the frequency band.
... that means that the codec can discard audio whose frequency is lower than about 20 hz or higher than about 20,000 hz (20 khz).
...this suggests that the higher frequencies can often be discarded without overly affecting comprehensibility of the sound, so you can substantially reduce how much of the audio space you need to retain, thereby making your sound simpler and easier to compress.
Sqlite.jsm
discardcachedstatements() this function is used to discard cached statement instances, freeing memory in the process.
... active cached statements will not be discarded.
... this returns an integer count of the number of cached statements that were discarded.
Shell global objects
adjacent duplicate backtraces are discarded.
... setdiscardsource(bool) explicitly enable source discarding in the current compartment.
... the default is that source discarding is not explicitly enabled.
nsIApplicationCache
method overview void activate(); void addnamespaces(in nsiarray namespaces); void discard(); void gatherentries(in pruint32 typebits, out unsigned long count, [array, size_is(count)] out string keys); nsiapplicationcachenamespace getmatchingnamespace(in acstring key); unsigned long gettypes(in acstring key); void initashandle(in acstring groupid, in acstring clientid); void markentry(in acstring key, in unsigned long typebits); void unmarkentry(in acstring key, in unsigne...
... discard() discards this application cache.
...void discard(); parameters none.
nsIVariant
if the value was utf8 then it is converted to utf16 and the high bits are discarded.
...if the value was utf8 then it is converted to utf16 and the high bits are discarded.
...if the value was utf8 then it is converted to utf16 and the high bits are discarded.
Web Console remoting - Firefox Developer Tools
examples: { "from": "conn0.netevent14", "type": "networkeventupdate", "updatetype": "requestheaders", "headers": 10, "headerssize": 425 }, { "from": "conn0.netevent14", "type": "networkeventupdate", "updatetype": "requestcookies", "cookies": 0 }, { "from": "conn0.netevent14", "type": "networkeventupdate", "updatetype": "requestpostdata", "datasize": 1024, "discardrequestbody": false }, { "from": "conn0.netevent14", "type": "networkeventupdate", "updatetype": "responsestart", "response": { "httpversion": "http/1.1", "status": "304", "statustext": "not modified", "headerssize": 194, "discardresponsebody": true } }, { "from": "conn0.netevent14", "type": "networkeventupdate", "updatetype": "eventtimings", "totaltime": 1 },...
..."from": "conn0.netevent14", "type": "networkeventupdate", "updatetype": "responseheaders", "headers": 6, "headerssize": 194 }, { "from": "conn0.netevent14", "type": "networkeventupdate", "updatetype": "responsecookies", "cookies": 0 }, { "from": "conn0.netevent14", "type": "networkeventupdate", "updatetype": "responsecontent", "mimetype": "text/css", "contentsize": 0, "discardresponsebody": true } actual headers, cookies, and bodies are not sent.
... the getrequestpostdata packet: { "to": "conn0.netevent15", "type": "getrequestpostdata" } { "from": "conn0.netevent15", "postdata": { text: "foobar" }, "postdatadiscarded": false } the getresponsecontent packet: { "to": "conn0.netevent15", "type": "getresponsecontent" } { "from": "conn0.netevent15", "content": { "mimetype": "text/css", "text": "\n@import \"test.css\";\n\n.foobar { color: green }\n\n" }, "contentdiscarded": false } the request and response content text value is most commonly sent using a longstringactor grip.
RTCInboundRtpStreamStats.packetsDuplicated - Web APIs
the packetsduplicated property of the rtcinboundrtpstreamstats dictionary indicates the total number of packets discarded because they were duplicates of previously-received packets.
... these packets are not counted by the packetsdiscarded property.
...these duplicate packets are not included in the packetsdiscarded property.
NPP_Destroy - Archive of obsolete content
the browser can and will discard this data based on arbitrary criteria such as its size and the user's page history.
... to ensure that the browser does not crash or leak memory when the saved data is discarded, npsaveddata's buf field should be a flat structure (a simple structure with no allocated substructures) allocated with npn_memalloc.
HTML text fundamentals - Learn web development
if it starts to become fizzy, you should definitely discard it.
...if it starts to become fizzy, you should definitely discard it.</p>\n\n<p>hummus is suitable for freezing; you should thaw it and use it within a couple of months.</p>'; var solutionentry = htmlsolution; textarea.addeventlistener('input', updatecode); window.addeventlistener('load', updatecode); // stop tab key tabbing out of textarea and // make it write a tab at the caret position instead textarea.onkeydown = function(e){ if (e.keycode === 9) { ...
Index
MozillaTechXPCOMIndex
if an image is decoded on load and not visibly discarded, decode notifications are nested logically inside load notifications as one might expect.
... however, with decode-on-draw, the set of decode notifications can come completely after the load notifications, and can come multiple times if the image is discardable.
RTCInboundRtpStreamStats.fecPacketsReceived - Web APIs
usage notes it's possible that a subset of the fec packets which have been received were discarded instead of being used.
... if you wish to know how many of the received packets were discarded, you can examine the value of fecpacketsdiscarded.
SharedWorkerGlobalScope - Web APIs
sharedworkerglobalscope.close() discards any tasks queued in the sharedworkerglobalscope's event loop, effectively closing this particular scope.
... inherited from workerglobalscope workerglobalscope.close() discards any tasks queued in the workerglobalscope's event loop, effectively closing this particular scope.
WebGL2RenderingContext.texImage3D() - Web APIs
possible values: gl.alpha: discards the red, green and blue components and reads the alpha component.
... gl.rgb: discards the alpha components and reads the red, green and blue components.
WebGL2RenderingContext.texSubImage3D() - Web APIs
possible values: gl.alpha: discards the red, green and blue components and reads the alpha component.
... gl.rgb: discards the alpha components and reads the red, green and blue components.
WebGLRenderingContext.copyTexImage2D() - Web APIs
possible values: gl.alpha: discards the red, green and blue components and reads the alpha component.
... gl.rgb: discards the alpha components and reads the red, green and blue components.
WebGLRenderingContext.disable() - Web APIs
gl.scissor_test deactivates the scissor test that discards fragments that are outside of the scissor rectangle.
... when using a webgl 2 context, the following values are available additionally: constant description gl.rasterizer_discard deactivates that primitives are discarded immediately before the rasterization stage, but after the optional transform feedback stage.
WebGLRenderingContext.enable() - Web APIs
gl.scissor_test activates the scissor test that discards fragments that are outside of the scissor rectangle.
... when using a webgl 2 context, the following values are available additionally: constant description gl.rasterizer_discard primitives are discarded immediately before the rasterization stage, but after the optional transform feedback stage.
WebGLRenderingContext.isEnabled() - Web APIs
gl.scissor_test scissor test that discards fragments that are outside of the scissor rectangle.
... when using a webgl 2 context, the following values are available additionally: constant description gl.rasterizer_discard primitives are discarded immediately before the rasterization stage, but after the optional transform feedback stage.
WebGLRenderingContext.readPixels() - Web APIs
possible values: gl.alpha: discards the red, green and blue components and reads the alpha component.
... gl.rgb: discards the alpha components and reads the red, green and blue components.
WebGLRenderingContext.texImage2D() - Web APIs
rgba16ui rgba ui16 ui16 ui16 ui16 ● rgba32i rgba i32 i32 i32 i32 ● rgba32ui rgba ui32 ui32 ui32 ui32 ● possible values in webgl2 for the versions of teximage2d that take a texture an htmlimageelement, htmlcanvaselement, htmlvideoelement, imagebitmap, or imagedata gl.alpha: discards the red, green and blue components and reads the alpha component.
... gl.rgb: discards the alpha components and reads the red, green and blue components.
WebGLRenderingContext.texSubImage2D() - Web APIs
possible values: gl.alpha: discards the red, green and blue components and reads the alpha component.
... gl.rgb: discards the alpha components and reads the red, green and blue components.
Basic scissoring - Web APIs
in other cases, the fragments may be discarded altogether (so the pixel value is not updated), or it may interact with the already existing pixel value (such as when doing color blending for non-opaque elements in the scene).
...if they fail the test, they are immediately discarded, no further processing occurs, and pixels are not updated.
Establishing a connection: The WebRTC perfect negotiation pattern - Web APIs
if an error occurs here and we didn't just discard an offer due to being the impolite peer during a collision, we throw the error so the caller can handle it.
...errors are, as before, ignored if we have just discarded an offer.
Grammar and types - JavaScript
(spaces, tabs, and newline characters are considered whitespace.) comments the syntax of comments is the same as in c++ and in many other languages: // a one line comment /* this is a longer, * multi-line comment */ /* you can't, however, /* nest comments */ syntaxerror */ comments behave like whitespace, and are discarded during script execution.
...javascript automatically converts the string literal to a temporary string object, calls the method, then discards the temporary string object.
Left shift (<<) - JavaScript
excess bits shifted off to the left are discarded.
...excess bits shifted off to the left are discarded.
Right shift (>>) - JavaScript
excess bits shifted off to the right are discarded.
...excess bits shifted off to the right are discarded.
Unsigned right shift (>>>) - JavaScript
excess bits shifted off to the right are discarded.
...excess bits shifted off to the right are discarded.
SVG element reference - SVG: Scalable Vector Graphics
WebSVGElement
svg elements a to z a <a> <animate> <animatemotion> <animatetransform> c <circle> <clippath> <color-profile> d <defs> <desc> <discard> e <ellipse> f <feblend> <fecolormatrix> <fecomponenttransfer> <fecomposite> <feconvolvematrix> <fediffuselighting> <fedisplacementmap> <fedistantlight> <fedropshadow> <feflood> <fefunca> <fefuncb> <fefuncg> <fefuncr> <fegaussianblur> <feimage> <femerge> <femergenode> <femorphology> <feoffset> <fepointlight> <fespecularlighting> <fespotlight> <fetile> <feturbulen...
...meshpatch> <meshrow> <metadata> <mpath> p <path> <pattern> <polygon> <polyline> r <radialgradient> <rect> s <script> <set> <solidcolor> <stop> <style> <svg> <switch> <symbol> t <text> <textpath> <title> <tspan> u <unknown> <use> v <view> svg elements by category animation elements <animate>, <animatecolor>, <animatemotion>, <animatetransform>, <discard>, <mpath>, <set> basic shapes <circle>, <ellipse>, <line>, <polygon>, <polyline>, <rect> container elements <a>, <defs>, <g>, <marker>, <mask>, <missing-glyph>, <pattern>, <svg>, <switch>, <symbol>, <unknown> descriptive elements <desc>, <metadata>, <title> filter primitive elements <feblend>, <fecolormatrix>, <fecomponenttransfer>, <fecomposite>, <feconvolvematrix>, <fediffuselighting>, ...
SVG documentation index - SVG: Scalable Vector Graphics
WebSVGIndex
34 begin needscompattable, svg, svg attribute the begin attribute defines when an animation should begin or when an element should be discarded.
... 308 <discard> element, needsexample, reference, svg, svg animation the <discard> svg element allows authors to specify the time at which particular elements are to be discarded, thereby reducing the resources required by an svg user agent.
Understanding WebAssembly text format - WebAssembly
the new operations are: data.drop: discard the data in an data segment.
... elem.drop: discard the data in an element segment.
console - Archive of obsolete content
but if the logging level is "warn" then only calls to warn() and error() have any effect, and calls to info() and log() are simply discarded.
Chapter 5: Let's build a Firefox extension - Archive of obsolete content
this just discards the variable _dir that was created by the init method.
Handling Preferences - Archive of obsolete content
this way the user is urged to apply or discard any changes instead of being able to ignore the preferences window.
Proxy UI - Archive of obsolete content
click "cancel" to discard changes.
Binding Attachment and Detachment - Archive of obsolete content
note: some older papers mentioned dom methods document.addbinding and document.removebinding; these were subsequently discarded as redundant and not implemented.
patch - Archive of obsolete content
if the checksums do not match, the original version of the file is preserved, the patched version of the file is discarded, and an error code is returned.
Index - MDN Web Docs Glossary: Definitions of Web-related terms
522 lossy compression beginner, composing, glossary, images, jpeg, lossy, web performance, compression lossy compression, or irreversible compression, is a data-compression method that uses inexact approximations and partial-data discarding to represent content.
Lossless compression - MDN Web Docs Glossary: Definitions of Web-related terms
examples of lossless compression include gzip, brotli, webp, and png, lossy compression, on the other hand, uses inexact approximations by discarding some data from the original file, making it an irreversible compression method.
Packet - MDN Web Docs Glossary: Definitions of Web-related terms
it is a field that is decreases by one each time a packet goes through, once it reaches 0 it has failed and the packet is discarded.
lossy compression - MDN Web Docs Glossary: Definitions of Web-related terms
lossy compression, or irreversible compression, is a data-compression method that uses inexact approximations and partial-data discarding to represent content.
Accessibility/LiveRegionDevGuide
if one is present, the text changed event should be discarded because an object changed event will follow.
Application cache implementation overview
all files downloaded are deleted and the new cache version is discarded.) an md5 hash is then calculated from the manifest content we download from the server to be compared to existing md5 (in case of an “update”).
Download
note: if this property is set to true, care should be taken that partial data is removed before the reference to the download is discarded.
PromiseWorker.jsm
promiseworker.abstractworker() worker.dispatch = function(method, args = []) { // dispatch a call to method `method` with args `args` return self[method](...args); }; worker.postmessage = function(...args) { // post a message to the main thread self.postmessage(...args); }; worker.close = function() { // close the worker self.close(); }; worker.log = function(...args) { // log (or discard) messages (optional) dump('worker: ' + args.join(' ') + '\n'); }; // connect it to message port.
Mozilla Port Blocking
enabling ports user_pref("network.security.ports.banned.override, "port1,port2"); disabling ports user_pref("network.security.ports.banned", "port3,port4"); blocked ports ports blocked by default in mozilla: port service 1 tcpmux 7 echo 9 discard 11 systat 13 daytime 15 netstat 17 qotd 19 chargen 20 ftp data 21 ftp control 22 ssh 23 telnet 25 smtp 37 time 42 name 43 nicname 53 domain 77 priv-rjs 79 finger 87 ttylink 95 supdup ...
Reporting a Performance Problem
when it runs out of space in its buffer, it discards old entries so you may want to increase the buffer size if you find you are unable to capture the profile quickly enough after you notice a performance problem.
about:memory
don't click "measure..." repeatedly, because that will cause the memory usage of about:memory itself to rise, due to it discarding and regenerating large numbers of dom nodes.
Named Shared Memory
depending on platform, the shared memory may be mapped onto system paging space and be discarded at process termination.
PRLinger
if polarity is set to pr_true and linger is set to 0 (pr_interval_no_wait), the runtime aborts the connection when it is closed and discards any data remaining in the socket send buffer.
NSS 3.12.4 release notes
bug 497217: the first random value ever generated by the rng should be discarded bug 498163: assert if profile path contains cyrillic chars.
NSS 3.16.2 release notes
on linux, nss is built with the -ffunction-sections -fdata-sections compiler flags and the --gc-sections linker flag to allow unused functions to be discarded.
NSS 3.35 release notes
if the server sends a helloretryrequest, it is possible to discard the server socket, and make a new socket to handle any subsequent clienthello.
Proxies in Necko
otherwise, the proxy info is discarded.
SpiderMonkey compartments
objects that are found to be disconnected from the graph are discarded.
Index
that object may then be used to restore again the context using js_restoreexceptionstate, or discarded using js_dropexceptionstate.
Tracing JIT
aborting a recording is always an option in tracemonkey, and on abort the monitor simply discards the recorder and its fragment and returns to monitoring mode.
JSAPI Cookbook
*/ js::autosaveexceptionstate savedstate(cx); if (!js_callfunctionname(cx, global, "cleanup", 0, null, &r)) { /* the new error replaces the previous one, so discard the saved exception state.
JS_SaveExceptionState
that object may then be used to restore again the context using js_restoreexceptionstate, or discarded using js_dropexceptionstate.
Animated PNG graphics
MozillaTechAPNG
it is strongly recommended that when any error is encountered decoders should discard all subsequent frames, stop the animation, and revert to displaying the default image.
Components.utils.Sandbox
this helps to improve memory usage by allowing sandboxes to be discarded when that zone goes away.
Observer Notifications
browsing-context-discarded browsingcontext called while a browsingcontext is being discarded.
nsIAnnotationService
g 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.
nsIDocShell
an active docshell is one that is currently visible, which means it's not a good candidate for optimizations such as image frame discarding.
nsIProfile
shutdown_cleanse 0x00000002 when shutting down the profile, discard changes.
nsITransferable
the transferable maintains its own copy of the data, so you can safely discard the original after making this call, if you wish.
nsIWebBrowser
active means that it's visible enough that we want to avoid certain optimizations like discarding decoded image data and throttling the refresh driver.
Initialization and Destruction - Plugins
to ensure that the browser does not crash or leak memory when the saved data is discarded, the buf field should be a flat structure (a simple structure with no allocated substructures) allocated with npn_memalloc, as in this example: char* mydata = "here is some saved data.\n"; int32 mylength = strlen(mydata) + 1; *save = (npsaveddata*) npn_memalloc(sizeof(npsaveddata)); (*save)->len = mylength; (*save)->buf = (void*) npn_memalloc(mylength); strcpy((*save)->buf, mydata); if ...
Streams - Plugins
the open stream is converted from normal mode to seek mode in an effort to pass the plug-in data that was already on the way, rather than just discarding it.
Debugger - Firefox Developer Tools
in those cases the old exception does not continue to propagate; it is discarded.) this handler is not called when unwinding a frame due to an over-recursion or out-of-memory exception.
DevTools API - Firefox Developer Tools
if the event contains multiple payload arguments, the rest are discarded and can only be received by providing the listener function to this method.
Basic operations - Firefox Developer Tools
on the left, you'll see an entry for the new snapshot, including its timestamp, size, and controls to save or clear this snapshot: clearing a snapshot to remove a snapshot, click the "x" icon: saving and loading snapshots if you close the memory tool, all unsaved snapshots will be discarded.
DedicatedWorkerGlobalScope.close() - Web APIs
the close() method of the dedicatedworkerglobalscope interface discards any tasks queued in the dedicatedworkerglobalscope's event loop, effectively closing this particular scope.
DedicatedWorkerGlobalScope - Web APIs
dedicatedworkerglobalscope.close() discards any tasks queued in the workerglobalscope's event loop, effectively closing this particular scope.
Document.createTreeWalker() - Web APIs
entityreferenceexpansion optional a boolean flag indicating if when discarding an entityreference its whole sub-tree must be discarded at the same time.
EventTarget.addEventListener() - Web APIs
multiple identical event listeners if multiple identical eventlisteners are registered on the same eventtarget with the same parameters, the duplicate instances are discarded.
ExtendableEvent.waitUntil() - Web APIs
if the promise passed to waituntil() rejects, the install is considered a failure, and the installing service worker is discarded.
MediaDevices.getUserMedia() - Web APIs
if you've muted your camera (so-called "facemuting"), your camera's activity light goes out to indicate that the camera is not actively recording you, without discarding the permission to resume using the camera once muting is over.
MutationObserver.disconnect() - Web APIs
note: all notifications of mutations that have already been detected, but not yet reported to the observer, are discarded.
NodeIterator - Web APIs
nodeiterator.expandentityreferences read only is a boolean indicating if, when discarding an entityreference its whole sub-tree must be discarded at the same time.
RTCDataChannel.close() - Web APIs
the transport layer deals with any buffered messages; the protocol layer decides whether to send them or discard them.
ReadableStreamDefaultController.close() - Web APIs
if you want to completely get rid of the stream and discard any enqueued chunks, you'd use readablestream.cancel() or readablestreamdefaultreader.cancel().
ServiceWorkerState - Web APIs
redundant a new service worker is replacing the current service worker, or the current service worker is being discarded due to an install failure.
SharedWorkerGlobalScope.close() - Web APIs
the close() method of the sharedworkerglobalscope interface discards any tasks queued in the sharedworkerglobalscope's event loop, effectively closing this particular scope.
Using readable streams - Web APIs
if you wanted to completely get rid of the stream and discard any enqueued chunks, you'd use readablestream.cancel() or readablestreamdefaultreader.cancel().
TreeWalker - Web APIs
treewalker.expandentityreferences read only is a boolean indicating, when discarding an entityreference its whole sub-tree must be discarded at the same time.
WebGLRenderingContext.getParameter() - Web APIs
gl.rasterizer_discard glboolean gl.read_buffer glenum gl.read_framebuffer_binding webglframebuffer or null null corresponds to a binding to the default framebuffer.
WebGLRenderingContext.makeXRCompatible() - Web APIs
this is why the webglcontextlost and webglcontextrestored events are used: the first gives you the opportunity to discard anything you won't need anymore, while the second gives you the opportunity to load resources and prepare to render the scene in its new context.
WebGL constants - Web APIs
bias 0x84fd max_fragment_uniform_components 0x8b49 max_vertex_uniform_components 0x8b4a max_array_texture_layers 0x88ff min_program_texel_offset 0x8904 max_program_texel_offset 0x8905 max_varying_components 0x8b4b fragment_shader_derivative_hint 0x8b8b rasterizer_discard 0x8c89 vertex_array_binding 0x85b5 max_vertex_output_components 0x9122 max_fragment_input_components 0x9125 max_server_wait_timeout 0x9111 max_element_index 0x8d6b textures constants passed to webglrenderingcontext.texparameteri(), webglrenderingcontext.texparameterf(), webglrenderingcontext.bindt...
WebGL best practices - Web APIs
when you're done with the contents of a framebuffer attachment, use invalidateframebuffer to discard the data, instead of leaving the driver to waste time storing the data for later use.
Writing WebSocket servers - Web APIs
any further data received after closing of connection is then discarded.
Window: pagehide event - Web APIs
window.addeventlistener("pagehide", event => { if (event.persisted) { /* the page isn't being discarded, so it can be reused later */ } }, false); this can also be written using the onpagehide event handler property on the window: window.onpagehide = event => { if (event.persisted) { /* the page isn't being discarded, so it can be reused later */ } } specifications specification status comment html living standardthe definition of 'pagehide' in that spe...
WorkerGlobalScope.close() - Web APIs
the close() method of the workerglobalscope interface discards any tasks queued in the workerglobalscope's event loop, effectively closing this particular scope.
WorkerGlobalScope - Web APIs
deprecated methods workerglobalscope.close() discards any tasks queued in the workerglobalscope's event loop, effectively closing this particular scope.
WritableStream.abort() - Web APIs
the abort() method of the writablestream interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
WritableStream - Web APIs
methods writablestream.abort() aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
WritableStreamDefaultWriter.abort() - Web APIs
the abort() method of the writablestreamdefaultwriter interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
WritableStreamDefaultWriter - Web APIs
methods writablestreamdefaultwriter.abort() aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
XRReferenceSpaceEvent.transform - Web APIs
alternatively, you can just discard any cached positional information and recompute from scratch.
Using the alert role - Accessibility
if an alert also provides interactive controls (such as form controls that allow the user to rectify a problem, or an "ok" button that discards the alert) the alertdialog role should be used instead.
Using the aria-describedby attribute - Accessibility
<div id="descriptionclose">closing this window will discard any information entered and return you back to the main page</div> working examples: checkbox example uses aria-describedby tooltip example uses aria-describedby notes the aria-describedby attributed is not designed to reference descriptions on an external resource—since it is an id, it must reference an element in the same dom document.
border-image-slice - CSS: Cascading Style Sheets
it is discarded by default, but is used like a background image if the keyword fill is set.
mask-border-slice - CSS: Cascading Style Sheets
it is discarded by default, but is used like a background image if the keyword fill is set.
HTTP conditional requests - HTTP
what happens next is very unfortunate: when they commit back to the server, the modifications from the first client are discarded by the next client push, as this second client is unaware of the first client's changes to the resource.
Set-Cookie2 - HTTP
header type response header forbidden header name no syntax set-cookie2: <cookie-name>=<cookie-value> set-cookie2: <cookie-name>=<cookie-value>; comment=<value> set-cookie2: <cookie-name>=<cookie-value>; commenturl=<http-url> set-cookie2: <cookie-name>=<cookie-value>; discard set-cookie2: <cookie-name>=<cookie-value>; domain=<domain-value> set-cookie2: <cookie-name>=<cookie-value>; max-age=<non-zero-digit> set-cookie2: <cookie-name>=<cookie-value>; path=<path-value> set-cookie2: <cookie-name>=<cookie-value>; port=<port-number> set-cookie2: <cookie-name>=<cookie-value>; secure set-cookie2: <cookie-name>=<cookie-value>; version=<version-number> // multiple directives a...
Link prefetching FAQ - HTTP
when the user clicks on a link, or initiates any kind of page load, link prefetching will stop and any prefetch hints will be discarded.
Text formatting - JavaScript
const foo = new string('foo'); // creates a string object console.log(foo); // displays: [string: 'foo'] typeof foo; // returns 'object' you can call any of the methods of the string object on a string literal value—javascript automatically converts the string literal to a temporary string object, calls the method, then discards the temporary string object.
Using Promises - JavaScript
ideally, of course, you should examine the rejected promises to make sure none of them are actual code bugs before just discarding these events.
parseFloat() - JavaScript
this happens because the trailing n character is discarded.
parseInt() - JavaScript
this is because trailing non-numeric values, including "n", are discarded.
Bitwise AND (&) - JavaScript
numbers with more than 32 bits get their most significant bits discarded.
Bitwise NOT (~) - JavaScript
numbers with more than 32 bits get their most significant bits discarded.
Bitwise OR (|) - JavaScript
numbers with more than 32 bits get their most significant bits discarded.
Bitwise XOR (^) - JavaScript
numbers with more than 32 bits get their most significant bits discarded.
this - JavaScript
* } */ function c() { this.a = 37; } var o = new c(); console.log(o.a); // 37 function c2() { this.a = 37; return {a: 38}; } o = new c2(); console.log(o.a); // 38 in the last example (c2), because an object was returned during construction, the new object that this was bound to simply gets discarded.
Expressions and operators - JavaScript
void the void operator discards an expression's return value.
for - JavaScript
the result of this expression is discarded.
icons - Web app manifests
the color information in the icon is discarded and only the alpha data is used.
The "codecs" parameter in common media types - Web media technologies
7a 00 high 4:4:4 predictive profile (hi444pp) in addition to the capabilities included in hi422p, hi444pp adds support for 4:4:4 chroma subsampling (in which no color information is discarded).
Performance fundamentals - Web Performance
applications that drop as many loaded resources as possible when sent to the background use less memory and are less likely discarded, in the case of firefox os (see the note below).
systemLanguage - SVG: Scalable Vector Graphics
35 elements are using this attribute: <a>, <altglyph>, <animate>, <animatecolor>, <animatemotion>, <animatetransform>, <audio>, <canvas>, <circle>, <clippath>, <cursor>, <defs>, <discard>, <ellipse>, <foreignobject>, <g>, <iframe>, <image>, <line>, <mask>, <path>, <pattern>, <polygon>, <polyline>, <rect>, <set>, <svg>, <switch>, <text>, <textpath>, <tref>, <tspan>, <unknown>, <use>, and <video> usage notes value <language-tags> default value none animatable no <language-tags> the value is a set of comma-separated tokens, each of which must be a language-tag value, as defined in bcp 47.