Search completed in 1.28 seconds.
47 results for "207":
Your results are loading. Please wait...
Index - Web APIs
Web › API › Index
along with other nodes. It has an associated AudioWorkletProcessor, which does the actual audio processing in a Web Audio rendering thread. 206 AudioWorkletNode() API, AudioWorkletNode, Constructor, Reference, Web Audio API The AudioWorkletNode() constructor creates a new AudioWorkletNode object, which represents an AudioNode with custom audio processing capabilities. 207 AudioWorkletNode.onprocessorerror API, Audio, AudioWorkletNode, AudioWorkletProcessor, Event Handler, Property, Reference, Web Audio API, onprocessorerror The onprocessorerror property of the AudioWorkletNode interface defines an event handler function to be called when the processorerror event fires. This occurs when the underlying AudioWorkletProcessor behind the node throws an ex...
...p event DOM, Element, Reference, events, keyup The keyup event is fired when a key is released. 1206 Element: mousedown event API, DOM, Down, Element, Event, Interface, MouseEvent, Press, Reference, UI, button, events, mouse, mousedown The mousedown event is fired at an Element when a pointing device button is pressed while the pointer is inside the element. 1207 Element: mouseenter event API, Cursor, DOM, Element, Event, Interface, MouseEvent, Reference, events, mouse, mouseenter, pointer The mouseenter event is fired at an Element when a pointing device (usually a mouse) is initially moved so that its hotspot is within the element at which the event was fired. 1208 Element: mouseleave event API, DOM, Element, MouseEvent, Ref...
...cifies an event listener to receive error events. These events occur when something goes wrong. 2068 FileHandle.open() API, Files, Method, Reference, Reference(2) The open method returns a LockedFile object that allows to safely write in the file. 2069 FileHandle.type API, Files, Property, Reference, Reference(2) Provides the mime type of the file. 2070 IDBObjectStore API, IDBObjectStore, IndexedDB, Interface, Reference This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our To-do Notifications app (view example live.) ...
...And 12 more matches
Index - Archive of obsolete content
nt No summary! 203 Preferences Add-ons, Code snippets, Extensions, Guide, Mozilla, Preferences No summary! 204 Progress Listeners Add-ons, Extensions No summary! 205 QuerySelector DOM No summary! 206 Rosetta C, DOM, HTML, HTMLScriptElement, JavaScript, Non-JavaScript, Programming Languages No summary! 207 Running applications Add-ons, Code snippets, Extensions No summary! 208 SVG Animation NeedsContent No summary! 209 SVG General Code snippets No summary! 210 Scrollbar Code snippets No summary! 211 Sidebar Add-ons, Code snippets, Extensions No summary! 212 StringView As web appli...
...! 1202 ensureSelectedElementIsVisible XUL Methods, XUL Reference No summary! 1203 expandToolbar XUL Methods, XUL Reference No summary! 1204 extra1 XUL Methods, XUL Reference No summary! 1205 extra2 XUL Methods, XUL Reference No summary! 1206 focus XUL Methods, XUL Reference No summary! 1207 getBrowserAtIndex XUL Methods, XUL Reference No summary! 1208 getBrowserForDocument Method, Mozilla, Reference, XUL, XUL Methods, XUL Reference No summary! 1209 getBrowserForTab XUL Methods, XUL Reference No summary! 1210 getBrowserIndexForDocument XUL Methods, XUL Reference No summary! 1211 getButton XUL ...
...rty, Prototype The __noSuchMethod__ property used to reference a function to be executed when a non-existent method is called on an object, but this function is no longer available. 2069 Object.prototype.__parent__ JavaScript, Non-standard, Object, Obsolete, Property, Prototype The __parent__ property used to point to an object's context, but it has been removed. ...
...And 9 more matches
Floats - Learn web development
ociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p> Now apply the following CSS to your HTML (using a <style> element or a <link> to a separate .css file -- your choice): body { width: 90%; max-width: 900px; margin: 0 auto; font: .9em/1.2 Arial, Helvetica, sans-serif } .box { width: 150px; height: 100px; border-radius: 5px; background-color: rgb(207,232,220); padding: 1em; } If you save and refresh now, you'll see something much like what you'd expect -- the box is sitting above the text, in normal flow. To float the text around it add the float and margin-right properties to the .box rule: .box { float: left; margin-right: 15px; width: 150px; height: 100px; border-radius: 5px; background-color: rgb(207,232,220); padding: 1...
...ursus viverra quis vestibulum sem. Aliquam tincidunt eget purus in interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p> body { width: 90%; max-width: 900px; margin: 0 auto; font: .9em/1.2 Arial, Helvetica, sans-serif } .box { float: left; margin-right: 15px; width: 150px; height: 150px; border-radius: 5px; background-color: rgb(207,232,220); padding: 1em; } So let's think about how the float works -- the element with the float set on it (the <div> element in this case) is taken out of the normal layout flow of the document and stuck to the left-hand side of its parent container (<body>, in this case). Any content that comes below the floated element in the normal layout flow will now wrap around it, filling up the s...
...t cursus viverra quis vestibulum sem. Aliquam tincidunt eget purus in interdum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p> body { width: 90%; max-width: 900px; margin: 0 auto; font: .9em/1.2 Arial, Helvetica, sans-serif } .box { float: left; margin: 15px; width: 150px; height: 150px; border-radius: 5px; background-color: rgb(207,232,220); padding: 1em; } .special { background-color: rgb(79,185,227); padding: 10px; color: #fff; } The line boxes of our following element have been shortened so the text runs around the float, but due to the float being removed from normal flow the box around the paragraph still remains full width. Clearing floats We have seen that the float is removed from normal flow and th...
...And 5 more matches
Grids - Learn web development
x 200px 200px; } Add the 2nd declaration to your CSS rule, then reload the page, and you should see that the items have rearranged themselves one into each cell of the created grid. ...
...ce needed for the fixed tracks is taken away before the space is distributed to the other tracks. Simple Grid Example with fr units body { width: 90%; max-width: 900px; margin: 2em auto; font: .9em/1.2 Arial, Helvetica, sans-serif; } .container { display: grid; grid-template-columns: 2fr 1fr 1fr; } .container > div { border-radius: 5px; padding: 10px; background-color: rgb(207,232,220); border: 2px solid rgb(79,185,227); } <div class="container"> <div>One</div> <div>Two</div> <div>Three</div> <div>Four</div> <div>Five</div> <div>Six</div> <div>Seven</div> </div> Note: The fr unit distributes available space, not all space. Therefore if one of your tracks has something large inside it there will be less fre...
...20px; } These gaps can be any length unit or a percentage, but not an fr unit. Simple Grid Example with fr units body { width: 90%; max-width: 900px; margin: 2em auto; font: .9em/1.2 Arial, Helvetica, sans-serif; } .container { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-gap: 20px; } .container > div { border-radius: 5px; padding: 10px; background-color: rgb(207,232,220); border: 2px solid rgb(79,185,227); } <div class="container"> <div>One</div> <div>Two</div> <div>Three</div> <div>Four</div> <div>Five</div> <div>Six</div> <div>Seven</div> </div> Note: The *gap properties used to be prefixed by grid-, but this has been changed in the spec, as the intention is to make them usable in multiple layout methods. The pr...
...And 5 more matches
Introduction to CSS layout - Learn web development
of the align-items property set on their parent is stretch. This means that the items stretch to the height of the flex container, which in this case is defined by the tallest item. The items all line up at the start of the container, leaving any extra space at the end of the row. Flexbox Example 1 * {box-sizing: border-box;} .wrapper > div { border-radius: 5px; background-color: rgb(207,232,220); padding: 1em; } .wrapper { display: flex; } <div class="wrapper"> <div class="box1">One</div> <div class="box2">Two</div> <div class="box3">Three</div> </div> In addition to the above properties that can be applied to the flex container, there are properties that can be applied to the flex items. These properties, among other things, can change the way that the...
...e items will become wider; if there is less space they will become narrower. In addition, if you add another element to the markup the items will all become smaller to make space for it -- they will adjust size to take up the same amount of space, whatever that is. Flexbox Example 2 * {box-sizing: border-box;} .wrapper > div { border-radius: 5px; background-color: rgb(207,232,220); padding: 1em; } .wrapper { display: flex; } .wrapper > div { flex: 1; } <div class="wrapper"> <div class="box1">One</div> <div class="box2">Two</div> <div class="box3">Three</div> </div> Note: This has been a very short introduction to what is possible in Flexbox, to find out more, see our Flexbox article. Grid Layout While flexbox is d...
...arent using the grid-template-rows and grid-template-columns properties respectively. We've defined three columns each of 1fr and two rows of 100px. I don't need to put any rules on the child elements; they are automatically placed into the cells our grid has created. ...
...And 5 more matches
SubtleCrypto.unwrapKey() - Web APIs
the key-wrapping key, alongside the password the user supplies. This must match the salt value that was originally used to derive the key. */ const saltBytes = [89,113,135,234,168,204,21,36,55,93,1,132,242,242,192,156]; /* The wrapped key itself. */ const wrappedKeyBytes = [171,223,14,36,201,233,233,120,164,68,217,192,226,80, 224,39,199,235,239,60,212,169,100,23,61,54,244,197,160,80,109,230,207, 225,57,197,175,71,80,209]; /* Convert an array of byte values to an ArrayBuffer. */ function bytesToArrayBuffer(bytes) { const bytesAsArrayBuffer = new ArrayBuffer(bytes.length); const bytesUint8 = new Uint8Array(bytesAsArrayBuffer); bytesUint8.set(bytes); return bytesAsArrayBuffer; } /* Get some key material to use as input to the deriveKey method. The key material is a password s...
...4,250,49,223,185,5,48,241,17,1,253,59,185,181,209,255,42,223,175,90,159, 174,169,205,156,120,195,1,135,165,226,46,119,27,97,183,23,197,227,85,138, 235,79,158,167,59,62,194,34,210,214,240,215,101,233,63,138,53,87,253,189, 27,66,150,76,242,76,102,174,179,163,184,205,11,161,224,19,110,34,175,192, 101,117,169,86,66,56,241,128,13,156,165,125,139,110,138,50,108,129,251,137, 26,186,110,117,113,207,179,59,213,18,175,14,203,192,2,97,131,125,167,227, 182,87,72,123,54,156,60,195,88,224,96,46,126,245,251,247,147,110,147,173, 82,106,93,210,55,71,127,133,41,37,181,17,106,16,158,220,136,43,75,133,96, 240,151,116,40,44,254,2,32,74,226,193,172,48,211,71,109,163,143,30,92,28, 30,183,25,16,176,207,77,93,139,242,114,91,218,126,123,234,18,9,245,53,46, 172,215,62,92,249,191,17,27,0,58,151,33,23...
...,249,191,17,27,0,58,151,33,23,169,93,177,253,152,147,198,196, 226,42,202,166,99,250,127,40,221,196,121,195,198,235,30,159,159,95,182,107, 175,137,177,49,72,63,131,162,198,186,22,255,230,237,195,56,147,177,101,52, 227,125,32,180,242,47,92,212,6,148,218,107,125,137,123,15,51,107,159,228, 238,212,60,54,184,48,110,248,252,208,46,23,149,78,169,201,68,242,193,251, 156,227,42,90,109,102,172,61,207,124,96,98,79,37,218,16,212,139,162,0,183, 235,171,75,18,84,160,120,173,156,187,99,24,58,88,213,148,24,193,111,75,169, 10,158,207,148,84,249,156,248,19,221,2,175,1,8,74,221,212,244,123,34,223, 175,54,166,101,51,175,141,80,87,9,146,72,223,46,251,199,192,2,22,125,16,15, 99,26,159,165,133,172,169,26,236,44,86,182,162,81,143,249,15,207,12,232,15, 205,199,78,133,199,19,232,183,33,183,72,117,7...
...0,83,251,40,105,223,50,0,115,240,146,23, 122,80,204,169,38,198,154,31,29,23,236,39,35,131,147,242,163,138,158,236, 117,7,108,33,132,98,50,111,46,146,251,82,34,85,5,130,237,67,40,170,235,124, 92,66,71,239,12,97,136,251,1,206,13,51,232,92,46,35,95,5,123,24,183,99,243, 124,75,155,89,66,54,72,17,255,99,137,199,232,204,9,248,78,35,218,136,117, 239,102,240,187,40,89,244,140,109,229,120,116,54,207,171,11,248,190,199,81, 53,109,8,188,51,93,165,34,255,165,191,198,130,220,41,192,166,194,69,104, 124,158,122,236,176,24,60,87,240,42,158,143,37,143,208,155,249,230,21,4, 230,56,194,62,235,132,14,50,180,216,134,28,25,159,64,199,161,236,60,233, 160,172,68,169,2,5,252,190,20,54,115,248,63,93,107,156,8,96,85,32,189,118, 66,114,126,64,203,97,235,13,18,102,192,51,59,5,122,171,96,129,40,32,154,...
Beginner's guide to media queries - Learn web development
ing point is an HTML document with some CSS applied to add background colors to the various parts of the layout. ...
...This is an important ...
...This is an important first step and one which ensures that if the content were to be read out by a screen reader, it would be understandable. ...
Multiple-column layout - Learn web development
vulputate. Duis felis orci, pulvinar id metus ut, rutrum luctus orci. Cras porttitor imperdiet nunc, at ultricies tellus laoreet sit amet. Sed auctor cursus massa at porta. Integer ligula ipsum, tristique sit amet orci vel, viverra egestas ligula.</p> </div> </div> .container { column-width: 250px; column-gap: 20px; } .card { background-color: rgb(207, 232, 220); border: 2px solid rgb(79, 185, 227); padding: 10px; margin: 0 0 1em 0; } To control this behavior we can use properties from the CSS Fragmentation specification. This specification gives us properties to control breaking of content in multicol and in paged media. For example, add the property break-inside with a value of avoid to the rules for .card. This is the container of...
... paged media. For example, add the property break-inside with a value of avoid to the rules for .card. This is the container of the heading and text, and therefore we do not want to fragment this box. At the present time it is also worth adding the older property page-break-inside: avoid for best browser support. .card { break-inside: avoid; page-break-inside: avoid; background-color: rgb(207,232,220); border: 2px solid rgb(79,185,227); padding: 10px; margin: 0 0 1em 0; } Reload the page and your boxes should stay in one piece. Multicol Fragmentation body { width: 90%; max-width: 900px; margin: 2em auto; font: .9em/1.2 Arial, Helvetica, sans-serif; } <div class="container"> <div class="card"> <h2>I am the heading</h2> <p> Lorem ipsum ...
..., rutrum luctus orci. Cras porttitor imperdiet nunc, at ultricies tellus laoreet sit amet. Sed auctor cursus massa at porta. Integer ligula ipsum, tristique sit amet orci vel, viverra egestas ligula.</p> </div> </div> .container { column-width: 250px; column-gap: 20px; } .card { break-inside: avoid; page-break-inside: avoid; background-color: rgb(207, 232, 220); border: 2px solid rgb(79, 185, 227); padding: 10px; margin: 0 0 1em 0; } Test your skills! You've reached the end of this article, but can you remember the most important information? You can find some further tests to verify that you've retained this information before you move on -- see Test your skills: Multiple-column Layout. Summary You now know how to use the basic ...
Supporting older browsers - Learn web development
f the browser supports Grid Layout it will display the grid view, if not it ignores the display: grid and related properties and the floated layout is used. * {box-sizing: border-box;} .wrapper { background-color: rgb(79,185,227); padding: 10px; max-width: 400px; display: grid; grid-template-columns: 1fr 1fr 1fr; } .item { float: left; border-radius: 5px; background-color: rgb(207,232,220); padding: 1em; } <div class="wrapper"> <div class="item">Item One</div> <div class="item">Item Two</div> <div class="item">Item Three</div> </div> Note: The clear property also has no effect once the cleared item becomes a grid item, so you could have a layout with a cleared footer, which is then turned into a Grid Layout. Fallback Methods There are a number of layout ...
... that 33.333% is calculated from the grid area the item is placed in, so it actually becomes a third of the size we want once the Grid Layout is introduced. * {box-sizing: border-box;} .wrapper { background-color: rgb(79,185,227); padding: 10px; max-width: 400px; display: grid; grid-template-columns: 1fr 1fr 1fr; } .item { float: left; border-radius: 5px; background-color: rgb(207,232,220); padding: 1em; width: 33.333%; } <div class="wrapper"> <div class="item">Item One</div> <div class="item">Item Two</div> <div class="item">Item Three</div> </div> To deal with this issue we need to have a way to detect if Grid is supported and therefore if it will override the width. CSS has a solution for us here. Feature queries Feature queries allow you to test whet...
...cy layout. If we add a feature query to the above example, we can use it to set the widths of our items back to auto if we know that we have grid support. ...
Localization and Plurals
, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, ... Plural rule #5 (3 forms) Families: Romanic (Romanian) is 1: 1 is 0 or ends in 01-19, excluding 1: 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, ... everything else: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ... Plural rule #6 (3 forms) Families: Baltic (Lithuanian) ends in 1, excluding 11: 1, 21, 31, 41, 51, 61, 71, 81, 91, 101, 121, 131, 141, 151, 161,...
..., 10 everything else: 0, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ... Plural rule #12 (6 forms) Families: Semitic (Arabic) is 1: 1 is 2: 2 ends in 03-10: 3, 4, 5, 6, 7, 8, 9, 10, 103, 104, 105, 106, 107, 108, 109, 110, 203, 204, 205, 206, 207, 208, 209, 210, ... everything else but is 0 and ends in 00-02, excluding 0-2: 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, ... ends in 00-02, excluding 0-2: 100, 101, 102, 200, 201, 202, ... is 0: 0 Plural rule #13 (4 forms) Families: Se...
...34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, ... ends in 00-02, excluding 0-2: 100, 101, 102, 200, 201, 202, ... is 0: 0 Plural rule #13 (4 forms) Families: Semitic (Maltese) is 1: 1 is 0 or ends in 01-10, excluding 1: 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, ... ends in 11-19: 11, 12, 13, 14, 15, 16, 17, 18, 19, 111, 112, 113, 114, 115, 116, 117, 118, 119, 211, 212, 213, 214, 215, 216, 217, 218, 219, ... everything else: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ... Plural rul...
Index
Mozilla › Tech › XPCOM › Index
s used to bind values to parameters prior to calling mozIStorageStatement.executeAsync(). 206 mozIStorageBindingParamsArray Interfaces, Interfaces:Scriptable, Storage The mozIStorageBindingParamsArray interface is a container for mozIStorageBindingParams objects, and is used to store sets of bound parameters that will be used by the mozIStorageStatement.executeAsync(). 207 mozIStorageCompletionCallback This interface should be implemented to handle callbacks from asynchronous Storage API routines. 208 mozIStorageConnection Interfaces, Storage, XPCOM, XPCOM API Reference For a general overview on how to use this interface, see Storage. 209 mozIStorageError Interfaces, Storage The mozIStorageError interface rep...
...or the inherited nsACString::Assign family of functions. 1205 nsEmbedString XPCOM, XPCOM API Reference The nsEmbedString concrete class provides a way to construct a nsAString object that allocates null-terminated storage. 1206 get XPCOM, XPCOM API Reference The get function returns a const pointer to the string's null-terminated, internal buffer. 1207 nsEmbedString XPCOM, XPCOM API Reference Constructors for nsEmbedString. 1208 operator= XPCOM, XPCOM API Reference This operator is a shortcut for the inherited nsAString::Assign family of functions. 1209 nsFixedCString Class Declaration 1210 nsFixedString Class Declaration 1211 nsLiteralCString (External) ...
...ts to shrink the size of the heap. 1219 Realloc XPCOM, XPCOM API Reference The Realloc function reallocates a block of memory to a new size. 1220 nsPromiseFlatCString Class Declaration 1221 nsPromiseFlatString Class Declaration 1222 nsRefPtr RefPtr, nsCOMPtr, nsRefPtr RefPtr (formerly known as nsRefPtr, see bug 1207245) is a general class to implement reference counting pointers for objects. It is similar to nsCOMPtr, but does not require that the type be an XPCOM interface. Like with nsCOMPtr, it is the responsibility of the object itself to implement reference counting. This is done using the functions AddRef() and Release(), which respectively modify a variable of type nsAutoRefCnt, which basically is a ...
Index - Archive of obsolete content
Archive › Mozilla › XUL › Index
No summary! 202 multiline XUL Attributes, XUL Reference No summary! 203 multiple XUL Attributes, XUL Reference No summary! 204 name XUL Attributes, XUL Reference No summary! 205 negate XUL Attributes, XUL Reference No summary! 206 newlines XUL Attributes, XUL Reference No summary! 207 next XUL Attributes, XUL Reference No summary! 208 noautofocus XUL Attributes, XUL Reference No summary! 209 noautohide XUL Attributes, XUL Reference No summary! 210 noinitialfocus XUL, XUL Attribute, XUL Reference No summary! 211 nomatch XUL Attributes, XUL Reference No summary! 212 nores...
...everal ways in which trees are used, as listed below. The second column lists the interfaces available via the tree's view property. The third column indicates whether treeitem element are used. 1206 treecell XUL Elements, XUL Reference A single cell in a tree. This element should be placed inside a treerow. You can set the text for the cell using the label attribute. 1207 treechildren XUL Elements, XUL Reference This element is the body of the tree. For content trees, the content will be placed inside this element. This element is also used to define container rows in the tree. 1208 treecol XUL Elements, XUL Reference A column of a tree. It displays the column header and holds the size and other information about the column. You ...
DMD
either by tapping on the icon as usual, or from the command line (as before, be sure to replace org.mozilla.fennec_$USERNAME with the app identifier as appropriate). adb shell am start -n org.mozilla.fennec_$USERNAME/.App Trigger Use the existing memory-report dumping hook: adb shell am broadcast -a org.mozilla.gecko.MEMORY_DUMP In logcat, you should see output similar to this: I/DMD (20731): opened /storage/emulated/0/Download/memory-reports/dmd-default-20731.json.gz for writing ... I/GeckoConsole(20731): nsIMemoryInfoDumper dumped reports to /storage/emulated/0/Download/memory-reports/unified-memory-report-default-20731.json.gz The path is where the memory reports and DMD reports get dumped to. You can pull them like so: adb pull /sdcard/Download/memory-reports/dmd-default-20...
...You can analyze these files (either gzipped or not) using dmd.py. On Nightly Firefox, dmd.py is included in the distribution. For instance on OS X, it is located in the directory /Applications/Firefox Nightly.app/Contents/Resources/. ...
nsIHttpChannelInternal
tring(). This may be either an IPv4 or IPv6 address. Note: If Network Address Translation (NAT) is in effect, this may not be the same address the remote host thinks it is talking to. This may throw an NS_ERROR_NOT_AVAILABLE exception if accessed when the channel's endpoints haven't been determined yet, or any time the nsIHttpActivityObserver.isActive attribute is false. See bug 534698 and bug 526207. Read only. localPort PRInt32 The local port number to which the channel is bound. This may throw an NS_ERROR_NOT_AVAILABLE exception if accessed when the channel's endpoints haven't been determined yet, or any time the nsIHttpActivityObserver.isActive attribute is false. See bug 534698 and bug 526207. Read only. proxyInfo nsIProxyInfo Get the proxy info in use by the channel. Read only. ...
...ead only. Obsolete since Gecko 1.9 remoteAddress AUTF8String The IP address of the remote host to which this channel is bound, in the same format produced by PR_NetAddrToString(). This may throw an NS_ERROR_NOT_AVAILABLE exception if accessed when the channel's endpoints haven't been determined yet, or any time the nsIHttpActivityObserver.isActive attribute is false. See bug 534698 and bug 526207. Read only. remotePort PRInt32 The remote port number to which the channel is bound. This may throw an NS_ERROR_NOT_AVAILABLE exception if accessed when the channel's endpoints haven't been determined yet, or any time the nsIHttpActivityObserver.isActive attribute is false. See bug 534698 and bug 526207. Read only. Methods getRequestVersion() Gets the request's major and minor version num...
Window.event - Web APIs
Web › API › Window › event
To change preferences in Firefox, visit about:config.IE Full support 4Opera Full support 7Safari Full support 1.1WebView Android ...
...To change preferences in Firefox, visit about:config.Opera Android Full support 10.1Safari iOS Full support 1Samsung Internet Android Full support ...
Document Loading - From Load Start to Finding a Handler - Archive of obsolete content
rds="637,121,709,121,709,96,783,96,783,58,637,58" href="#AsyncOpen" shape="poly"> <area alt="(5) Open()" coords="311,306,432,371" href="#Open"> <area alt="(4)" coords="90,384,127,417" href="#openURI-innards"> <area alt="(0) RegisterContentListener()" coords="37,474,346,474,346,505,88,505,88,535,37,535" href="#RegisterContentListener" shape="poly"> <area alt="(3) openURI() (nsURILoader)" coords="5,207,312,269" href="#openURI"> <area alt="(2)" coords="102,114,139,148" href="#InternalLoad"> <area alt="(1) loadURI/onLinkClick" coords="77,5,449,59" href="#loadURI"> <area alt="nsIExternalHelperAppService" coords="527,305,839,339" href="#nsIExternalHelperAppService"> <area alt="Category Manager" coords="683,467,807,527" href="#nsCategoryManager"> <area alt="nsDocumentOpenInfo" coords="371,71,635,185...
Return Codes - Archive of obsolete content
NO_INSTALL_SCRIPT -204 Installation script was not signed NO_CERTIFICATE -205 Extracted file is not signed or the file (and, therefore, its certificate) could not be found. ...
Browser Detection and Cross Browser Support - Archive of obsolete content
e6') != -1) { // Netscape 6 code } Note how this type of detection misses any other Gecko based browser. Unfortunately, the Netscape 6 user agent string was not sufficiently generalizable due to it's use of the string Netscape6 as a description of the vendor. Netscape 7 corrects this error and introduces another chance for user agent string based detection to fail. Mozilla/5.0 (...) Gecko/200207XX Netscape/7.0 Note how Netscape 7 no longer uses the string Netscape6 as the Vendor. Any user agent string detection strategy for Gecko based upon the existence of the string Netscape6 will fail to detect Netscape 7. Using JavaScript Objects to Determine vendor/version As we already discussed, a common approach in the past was to use objects to classify browsers by vendor/version. A common t...
Index - MDN Web Docs Glossary: Definitions of Web-related terms
onnected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails. 206 Hotlink Glossary, WebMechanics A hotlink (also known as an inline link) is an object (typically an image) directly linked to from another site. For example, an image hosted on site1.com is shown directly on site2.com. 207 Houdini CSS, CSS API, Glossary, Houdini, Reference Houdini is a set of low level APIs that give developers the power to extend CSS, providing the ability to hook into the styling and layout process of a browser's rendering engine. Houdini gives developers access to the CSS Object Model (CSSOM), enabling developers to write code the browser can parse as CSS. 208 Hyperlink...
What’s in the head? Metadata in HTML - Learn web development
Here is an example of a favicon in a bookmarks panel: There are lots of other icon types to consider these days as well. ...
Working with Svelte stores - Learn web development
Then we create an onMessageChange() function that will take care of controlling whether the Alert is visible or not. With $: onMessageChange($alert, ms) we tell Svelte to run this function whenever the $alert store or the ms prop change...
Mozilla DOM Hacking Guide
_BEGIN(_class, &NS_GET_IID(_interface), PR_FALSE) This macro should be used for DOM classes that have no "leaf" interface. For example, there is no HTMLSpanElement in the W3C DOM specification. Therefore, the first interface in the prototype chain for the span element is HTMLElement. However we do want to be able to access HTMLSpanElement to modify it. This macro allows you to do that. See bug 92071 for more information. Let's now see how to specify the interfaces available from JavaScript for a particular DOM class. #define DOM_CLASSINFO_MAP_ENTRY(_if) &NS_GET_IID(_if), The array of pointers interface_list is filled with the addresses of the IID's of all the interfaces passed as arguments to the macro. In our Window example, the interfaces are nsIDOMWindow, nsIDOMJSWindow, nsIDOMEventRe...
Index
the tool to add and delete PKCS #11 modules, change passwords, set defaults, list module contents, enable or disable slots, enable or disable FIPS 140-2 compliance, and assign default providers for cryptographic operations. This tool can also create key3.db, cert8.db, and secmod.db security database files. 206 NSS Tools modutil-tasks Newsgroup: mozilla.dev.tech.crypto 207 NSS Tools pk12util The PKCS #12 utility makes sharing of certificates among Enterprise server 3.x and any server (Netscape products or non-Netscape products) that supports PKCS#12 possible. The tool allows you to import certificates and keys from pkcs #12 files into NSS or export them and also list certificates and keys in such files. 208 NSS Tools pk12util-tasks ...
NSS_3.12_release_notes.html
tificate. Bug 287061: CRL number should be a big integer, not ulong Bug 301213: Combine internal libpkix function tests into a single statically linked program Bug 324740: add generation of SIA and AIA extensions to certutil Bug 339737: LIBPKIX OCSP checking calls CERT_VerifyCert Bug 358785: Merge NSS_LIBPKIX_BRANCH back to trunk Bug 365966: infinite recursive call in VFY_VerifyDigestDirect Bug 382078: pkix default http client returns error when try to get an ocsp response. Bug 384926: libpkix build problems Bug 389411: Mingw build error - undefined reference to `_imp__PKIX_ERRORNAMES' Bug 389904: avoid multiple decoding/encoding while creating and using PKIX_PL_X500Name Bug 390209: pkix AIA manager tries to get certs using AIA url with OCSP access method Bug 390233: umbrella bug for libPKIX ...
NSS 3.45 release notes
ng NSS Bug 1553443 - Send session ticket only after handshake is marked as finished Bug 1550708 - Fix gyp scripts on Solaris SPARC so that libfreebl_64fpu_3.so builds Bug 1554336 - Optimize away unneeded loop in mpi.c Bug 1559906 - fipstest: use CKM_TLS12_MASTER_KEY_DERIVE instead of vendor specific mechanism Bug 1558126 - TLS_AES_256_GCM_SHA384 should be marked as FIPS compatible Bug 1555207 - HelloRetryRequestCallback return code for rejecting 0-RTT Bug 1556591 - Eliminate races in uses of PK11_SetWrapKey Bug 1558681 - Stop using a global for anti-replay of TLS 1.3 early data Bug 1561510 - Fix a bug where removing -arch XXX args from CC didn't work Bug 1561523 - Add a string for the new-ish error SSL_ERROR_MISSING_POST_HANDSHAKE_AUTH_EXTENSION This Bugzilla query returns all t...
NSS 3.46 release notes
unnecessarily free session in NSC_WrapKey Bug 1574220 - Improve controls after errors in tstcln, selfserv and vfyserv cmds Bug 1550636 - Upgrade SQLite in NSS to a 2019 version Bug 1572593 - Reset advertised extensions in ssl_ConstructExtensions Bug 1415118 - NSS build with ./build.sh --enable-libpkix fails Bug 1539788 - Add length checks for cryptographic primitives (CVE-2019-17006) Bug 1542077 - mp_set_ulong and mp_set_int should return errors on bad values Bug 1572791 - Read out-of-bounds in DER_DecodeTimeChoice_Util from SSLExp_DelegateCredential Bug 1560593 - Cleanup.sh script does not set error exit code for tests that "Failed with core" Bug 1566601 - Add Wycheproof test vectors for AES-KW Bug 1571316 - curve25519_32.c:280: undefined reference to `PR_Assert' when building NSS ...
NSS 3.47 release notes
grep expression in test scripts Bug 1234830 - [CID 1242894][CID 1242852] unused values Bug 1580126 - Fix build failure on aarch64_be while building freebl/gcm Bug 1385039 - Build NSPR tests as part of NSS continuous integration Bug 1581391 - Fix build on OpenBSD/arm64 after bug #1559012 Bug 1581041 - mach-commands -> mach-completion Bug 1558313 - Code bugs found by clang scanners. ...
NSS 3.52 release notes
tures. Bug 1624402 - Fix compilation error in Firefox Android. Bug 1624130 - Require CK_FUNCTION_LIST structs to be packed. Bug 1624377 - Fix clang warning for unknown argument '-msse4'. Bug 1623374 - Support new PKCS #11 v3.0 Message Interface for AES-GCM and ChaChaPoly. Bug 1623184 - Fix freebl_cpuid for querying Extended Features. Bug 1622555 - Fix argument parsing in lowhashtest. Bug 1620799 - Introduce NSS_DISABLE_GCM_ARM32_NEON to build on arm32 without NEON support. Bug 1619102 - Add workaround option to include both DTLS and TLS versions in DTLS supported_versions. Bug 1619056 - Update README: TLS 1.3 is not experimental anymore. Bug 1618915 - Fix UBSAN issue in ssl_ParseSessionTicket. Bug 1618739 - Don't assert fuzzer behavior in SSL_ParseSessionTicket. Bug 1617968 - Upda...
sslerr.html
On a server socket, indicates a failure of one of the following: (a) to unwrap the pre-master secret from the ClientKeyExchange message, (b) to derive the master secret from the premaster secret, (c) to derive the MAC secrets, cryptographic keys, and initi...
Index
o use as if it were enclosed by a newly-created global object. 206 JS_CompareStrings JSAPI Reference, SpiderMonkey JS_CompareStrings compares two JS strings, str1 and str2. If the strings are identical in content and length, JS_CompareStrings stores 0 in *result. If str1 is less than str2, *result is less than 0. If str1 is greater than str2, *result is greater than 0. 207 JS_CompileFileHandleForPrincipals JSAPI Reference, NeedsContent, Obsolete, SpiderMonkey Please provide a description of this function. 208 JS_CompileFileHandleForPrincipalsVersion JSAPI Reference, NeedsContent, Obsolete, SpiderMonkey Please provide a description for this function. 209 JS_CompileFunction JSAPI Reference, SpiderMonkey JS_Compi...
RefPtr
It is similar to nsCOMPtr, but does not require that the type be an XPCOM interface. Like with nsCOMPtr, it is the responsibility of the object itself to implement reference counting. This is done using the functions AddRef() and Release(), which respectively modify a variable of type nsAutoRefCnt, which basically is a wrapper around a count of the number of references refering to the class. ...
XPCOM glue classes
l)Class DeclarationnsLiteralString (External)Class DeclarationnsMemoryThe nsMemory class provides static helper routines to manage memory. These routines allow easy access to XPCOM's global nsIMemory implementation without having to go through the service manager to get it.nsPromiseFlatCStringClass DeclarationnsPromiseFlatStringClass DeclarationnsRefPtrRefPtr (formerly known as nsRefPtr, see bug 1207245) is a general class to implement reference counting pointers for objects. It is similar to nsCOMPtr, but does not require that the type be an XPCOM interface. Like with nsCOMPtr, it is the responsibility of the object itself to implement reference counting. This is done using the functions AddRef() and Release(), which respectively modify a variable of type nsAutoRefCnt, which basically is a ...
Tutorial: Show Allocations Per Call Path - Firefox Developer Tools
the handler code.) The onclick handler calls doDivsAndSpans, which calls divsAndSpans, which invokes closures of factory to do all the actual allocation. (It is unclear why spanFactory allocated thirteen objects, despite being called only ten times.) Source Metadata Generated from file: js/src/doc/Debugger/Tutorial-Alloc-Log-Tree.md Watermark: sha256:b56f6df61c39dbe19ca1f49752aea42207c804355513f4fea8249bdeb4cb056d Changeset: 251fccc1f62b ...
Element.clientTop - Web APIs
Web › API › Element › clientTop
Style() value for "border-top-width". (Actually might be Math.round(parseFloat()).) For example, if the computed "border-top-width" is zero, then clientTop is also zero. Note: This property will round the value to an integer. If you need a fractional value, use element.getBoundingClientRect(). Gecko-based applications support clientTop starting with Gecko 1.9 (Firefox 3, implemented in bug 111207). This property is not supported in Firefox 2 and earlier. Syntax var top = element.clientTop; Example In the following illustration, the client area is show in white. (The segments labeled "Top", "Right", etc. have no significance regarding the client area.) The clientTop value is the distance from where the margin (yellow) area ends and the padding and content areas (white) begin. paddi...
Ajax navigation example - Web APIs
assignments/http-status-codes/http-status-codes.xml */ { 100: "Continue", 101: "Switching Protocols", 102: "Processing", 200: "OK", 201: "Created", 202: "Accepted", 203: "Non-Authoritative Information", 204: "No Content", 205: "Reset Content", 206: "Partial Content", 207: "Multi-Status", 208: "Already Reported", 226: "IM Used", 300: "Multiple Choices", 301: "Moved Permanently", 302: "Found", 303: "See Other", 304: "Not Modified", 305: "Use Proxy", 306: "Reserved", 307: "Temporary Redirect", 308: "Permanent Redirect", 400:...
Key Values - Web APIs
NCH_APP2). APPCOMMAND_LAUNCH_APP2 GDK_KEY_Calculator (0x1008FF1D) Qt::Key_Calculator (0x010000CB) KEYCODE_CALCULATOR (210) "LaunchCalendar" [5] The Calendar key. Often labeled with an icon. GDK_KEY_Calendar (0x1008FF20) Qt::Key_Calendar (0x010000E4) KEYCODE_CALENDAR (208) "LaunchContacts" The Contacts key. KEYCODE_CONTACTS (207) "LaunchMail" The Mail key. Often labeled with an icon. VK_LAUNCH_MAIL (0xB4) APPCOMMAND_LAUNCH_MAIL GDK_KEY_Mail (0x1008FF19) Qt::Key_LaunchMail (0x010000A0) KEYCODE_ENVELOPE (65) "LaunchMediaPlayer" [1] The Media Player key. VK_LAUNCH_MEDIA_SELECT (0xB5) APPCOMMAND_LAUNCH_MEDIA_SELECT GDK_KEY_CD (0x1008FF53) GDK_KEY_Video (0x1008FF8...
TextDecoder - Web APIs
sole.log(utf8decoder.decode(i16arr)); console.log(utf8decoder.decode(i32arr)); Handling non-UTF8 text In this example, we decode the Russian text "??????, ???!", which means "Hello, world." In our TextDecoder() constructor, we specify the Windows-1251 character encoding, which is appropriate for Cyrillic script. let win1251decoder = new TextDecoder('windows-1251'); let bytes = new Uint8Array([207, 240, 232, 226, 229, 242, 44, 32, 236, 232, 240, 33]); console.log(win1251decoder.decode(bytes)); // ??????, ???! Constructor TextDecoder() Returns a newly constructed TextDecoder that will generate a code point stream with the decoding method specified in parameters. Properties The TextDecoder interface doesn't inherit any properties. TextDecoder.prototype.encodingRead only Is a DO...
WebGL constants - Web APIs
the stored value. NOTEQUAL 0x0205 Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is not equal to the stored value. GEQUAL 0x0206 Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is greater than or equal to the stored value. ALWAYS 0x0207 Passed to depthFunction or stencilFunction to specify depth or stencil tests will always pass. i.e. Pixels will be drawn in the order they are drawn. Stencil actions Constants passed to WebGLRenderingContext.stencilOp(). Constant name Value Description KEEP 0x1E00 REPLACE 0x1E01 INCR 0x1E02 DECR 0x1E03 ...
Example and tutorial: Simple synth keyboard - Web APIs
teFreq[2]["B"] = 123.470825314031027; noteFreq[3]["C"] = 130.812782650299317; noteFreq[3]["C#"] = 138.591315488436048; noteFreq[3]["D"] = 146.832383958703780; noteFreq[3]["D#"] = 155.563491861040455; noteFreq[3]["E"] = 164.813778456434964; noteFreq[3]["F"] = 174.614115716501942; noteFreq[3]["F#"] = 184.997211355817199; noteFreq[3]["G"] = 195.997717990874647; noteFreq[3]["G#"] = 207.652348789972569; noteFreq[3]["A"] = 220.000000000000000; noteFreq[3]["A#"] = 233.081880759044958; noteFreq[3]["B"] = 246.941650628062055; noteFreq[4]["C"] = 261.625565300598634; noteFreq[4]["C#"] = 277.182630976872096; noteFreq[4]["D"] = 293.664767917407560; noteFreq[4]["D#"] = 311.126983722080910; noteFreq[4]["E"] = 329.627556912869929; noteFreq[4]["F"] = 349.228231433003884; ...
Web Accessibility: Understanding Colors and Luminance - Accessibility
type faces need space to "breathe" for human perception. In general, for accessibility purposes, the more contrast the better. That changes with animation. "Safer" animation means images with less contrast, not more. For more on color contrast in animation, see Three Flashes or Below Threshold Understanding SC 2.3.1 Icons also need sufficient contrast for perception. See WCAG 2.1 technique G207 Luminance It is the difference in the luminance of a color that enables us to see contrast. Here is the definition of Relative luminance as defined by the W3C: "the relative brightness of any point in a colorspace, normalized to 0 for darkest black and 1 for lightest white" This statement is of course accurate, but may be confusing when used in reference to the RGB color space, which is an i...
prefers-reduced-data - CSS: Cascading Style Sheets
reference) { @font-face { font-family: Montserrat; font-style: normal; font-weight: 400; font-display: swap; /* latin */ src: local('Montserrat Regular'), local('Montserrat-Regular'), url('fonts/montserrat-regular.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } } body { font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Microsoft YaHei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } Result Specifications Specification Status Comment Media Queries Level 5The definition of 'r...
HTML documentation index - HTML: Hypertext Markup Language
Web › HTML › Index
age is loaded but may be instantiated subsequently during runtime using JavaScript. 206 <textarea> Element, Forms, HTML, HTML forms, Reference, Web, textarea The HTML <textarea> element represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form. 207 <tfoot>: The Table Foot element Element, HTML, HTML tabular data, Reference, Tables, Web The HTML <tfoot> element defines a set of rows summarizing the columns of the table. 208 <th> Element, HTML, HTML tabular data, Heading Cell, Reference, Table Cell, Table Head, Table Header, Table Heading, Table Heading Cell, Tables, Web, cell The HTML <th> element defines a...
HTTP Index - HTTP
Web › HTTP › Index
TTP, Methods, Reference HTTP defines a set of request methods to indicate the desired action to be performed for a given resource. Although they can also be nouns, these request methods are sometimes referred as HTTP verbs. Each of them implements a different semantic, but some common features are shared by a group of them: e.g. a request method can be safe, idempotent, or cacheable. 207 CONNECT HTTP, Reference, Request method The HTTP CONNECT method starts two-way communications with the requested resource. It can be used to open a tunnel. 208 DELETE HTTP, HTTP method, Reference, Request method The HTTP DELETE request method deletes the specified resource. 209 GET HTTP, Reference, Request method The HTTP GET method requests...
HTTP response status codes - HTTP
Web › HTTP › Status
us. 204 No Content There is no content to send for this request, but the headers may be useful. The user-agent may update its cached headers for this resource with the new ones. 205 Reset Content Tells the user-agent to reset the document which sent this request. 206 Partial Content This response code is used when the Range header is sent from the client to request only part of a resource. 207 Multi-Status (WebDAV) Conveys information about multiple resources, for situations where multiple status codes might be appropriate. 208 Already Reported (WebDAV) Used inside a <dav:propstat> response element to avoid repeatedly enumerating the internal members of multiple bindings to the same collection. 226 IM Used (HTTP Delta encoding) The server has fulfilled a GET request for the resour...
RangeError: radix must be an integer - JavaScript
an't be larger than 36, since the Latin alphabet (used by English and many other languages) only has 26 characters. ...
Object.assign() - JavaScript
= { c: 3 }; const obj = Object.assign({}, o1, o2, o3); console.log(obj); // { a: 1, b: 2, c: 3 } The properties are overwritten by other objects that have the same properties later in the parameters order. Copying symbol-typed properties const o1 = { a: 1 }; const o2 = { [Symbol('foo')]: 2 }; const obj = Object.assign({}, o1, o2); console.log(obj); // { a : 1, [Symbol("foo")]: 2 } (cf. bug 1207182 on Firefox) Object.getOwnPropertySymbols(obj); // [Symbol(foo)] Properties on the prototype chain and non-enumerable properties cannot be copied const obj = Object.create({ foo: 1 }, { // foo is on obj's prototype chain. bar: { value: 2 // bar is a non-enumerable property. }, baz: { value: 3, enumerable: true // baz is an own enumerable property. } }); const copy = Ob...
SVG documentation index - SVG: Scalable Vector Graphics
Web › SVG › Index
ap SVG, SVG Attribute The stroke-linecap attribute is a presentation attribute defining the shape to be used at the end of open subpaths when they are stroked. 206 stroke-linejoin Reference, SVG, SVG Attribute, stroke-linejoin The stroke-linejoin attribute is a presentation attribute defining the shape to be used at the corners of paths when they are stroked. 207 stroke-miterlimit SVG, SVG Attribute The stroke-miterlimit attribute is a presentation attribute defining a limit on the ratio of the miter length to the stroke-width used to draw a miter join. When the limit is exceeded, the join is converted from a miter to a bevel. 208 stroke-opacity SVG, SVG Attribute The stroke-opacity attribute is a presentation attribute ...