Search completed in 0.97 seconds.
280 results for "answer":
Your results are loading. Please wait...
RTCPeerConnection.createAnswer() - Web APIs
the createanswer() method on the rtcpeerconnection interface creates an sdp answer to an offer received from a remote peer during the offer/answer negotiation of a webrtc connection.
... the answer contains information about any media already attached to the session, codecs and options supported by the browser, and any ice candidates already gathered.
... the answer is delivered to the returned promise, and should then be sent to the source of the offer to continue the negotiation process.
...And 14 more matches
RTCOfferAnswerOptions - Web APIs
the webrtc api's rtcofferansweroptions dictionary is used to specify options that configure and control the process of creating webrtc offers or answers.
... it's used as the base type for the options parameter when calling createoffer() or createanswer() on an rtcpeerconnection.
... each of createoffer() and createanswer() use rtcofferansweroptions as the base type for their options parameter's dictionary.
...And 2 more matches
RTCAnswerOptions - Web APIs
the rtcansweroptions dictionary is used to provide optional settings when creating an sdp answer using rtcpeerconnection.createoffer() after receiving an offer from a remote peer.
... properties this dictionary inherits properties from the rtcofferansweroptions dictionary, on which it's based.
... note: at this time, rtcansweroptions does not have any additional properties defined beyond those included in rtcofferansweroptions.
... specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcansweroptions' in that specification.
XUL Questions and Answers - Archive of obsolete content
return to mozilla-dev-tech-xul summaries the frequently asked questions should be moved to xul faq (make sure they have a clear answer.) where can i get more information about creating mozsearch plugins?
... too specific questions or unclear answers how do i remove the file location header included in the default printing setting?
RTCOfferAnswerOptions.voiceActivityDetection - Web APIs
the voiceactivitydetection property of the rtcofferansweroptions dictionary is used to specify whether or not to use automatic voice detection for the audio on an rtcpeerconnection.
Index - Web APIs
WebAPIIndex
the specification allows browsers to always return the empty string, so don't rely on this property to get a reliable answer.
... 3217 rtcansweroptions api, dictionary, rtcansweroptions, rtcpeerconnection, reference, sdp, webrtc, webrtc api, answer, createanswer, rtc the rtcansweroptions dictionary is used to provide optional settings when creating an sdp answer using rtcpeerconnection.createoffer() after receiving an offer from a remote peer.
... 3388 rtcofferansweroptions configuration, dictionary, options, rtcofferansweroptions, reference, settings, webrtc, webrtc api, createanswer, createoffer the webrtc api's rtcofferansweroptions dictionary is used to specify options that configure and control the process of creating webrtc offers or answers.
...And 12 more matches
RTCPeerConnection - Web APIs
also included is a list of any ice candidates that may already have been generated by the ice agent since the offer or answer represented by the description was first instantiated.currentremotedescription read only the read-only property rtcpeerconnection.currentremotedescription returns an rtcsessiondescription object describing the remote end of the connection as it was most recently successfully negotiated since the last time the rtcpeerconnection finished negotiating and connecting to a remote peer.
... also included is a list of any ice candidates that may already have been generated by the ice agent since the offer or answer represented by the description was first instantiated.getdefaulticeservers() the getdefaulticeservers() method of the rtcpeerconnection interface returns an array of objects based on the rtciceserver dictionary, which indicates what, if any, ice servers the browser will use by default if none are provided to the rtcpeerconnection in its rtcconfiguration.
...such an event is sent when an identity assertion is generated, via getidentityassertion() or during the creation of an offer or an answer.onidpassertionerror the rtcpeerconnection.onidpassertionerror event handler is a property containing the code to execute whent the idpassertionerror event, of type rtcidentityerrorevent, is received by this rtcpeerconnection.
...And 10 more matches
WebRTC connectivity - Web APIs
the information we need to exchange is the offer and answer which just contains the sdp mentioned below.
...peer b will receive the offer from the signal channel and create an answer.
...the recipient then responds with an answer, which is a description of their end of the call.
...And 10 more matches
Establishing a connection: The WebRTC perfect negotiation pattern - Web APIs
the set description is either an answer to the most recent offer from the remote peer or a freshly-created offer if there's no negotiation underway.
...if the incoming message has a description, it's either an offer or an answer sent by the other peer.
... on receiving a description if we received a description, we prepare to respond to the incoming offer or answer.
...And 8 more matches
Signaling and video calling - Web APIs
the callee responds to the offer with an answer message, also containing an sdp description.
... our signaling server will use websocket to transmit offer messages with the type "video-offer", and answer messages with the type "video-answer".
... these messages have the following fields: type the message type; either "video-offer" or "video-answer".
...And 6 more matches
RTCPeerConnection.setRemoteDescription() - Web APIs
the rtcpeerconnection method setremotedescription() sets the specified session description as the remote peer's current offer or answer.
... this is typically called after receiving an offer or answer from another peer over the signaling server.
... syntax apromise = rtcpeerconnection.setremotedescription(sessiondescription); parameters sessiondescription an rtcsessiondescriptioninit or rtcsessiondescription which specifies the remote peer's current offer or answer.
...And 5 more matches
Index - Archive of obsolete content
435 extension frequently asked questions this is quick set of answers to the most common issues with extension development.
...if you know the answer, please pass it along to me so i can update the document.
... 476 force rtl (this is a temporary placeholder/stub for the force rtl page) 477 frequently asked questions needsupdate, svg, svg faq we currently maintain two documents to help answer this question: a status page for svg in firefox 1.5+ and a status page for svg in the development trunk.
...And 4 more matches
IPDL Tutorial
ncinit(asyncinitresolver&& aresolve) = 0; virtual mozilla::ipc::ipcresult recvotherfunction(otherfunctionresolver&& aresolver) = 0 }; to make the blocking nature more noticeable to programmers, the c++ method names for synchronous and rpc messages are different: sender receiver async/sync sendmessagename recvmessagename rpc callmessagename answermessagename message semantics strength ipdl protocols also have "semantics specifiers" as messages do.
...a quick summary of the difference between rpc and sync semantics is that rpc allows "re-entrant" message handlers: while an actor is blocked waiting for an "answer" to an rpc "call", it can be unblocked to handle a new, incoming rpc call.
...recv/answer__delete__).
...And 4 more matches
Mozilla Documentation Roadmap - Archive of obsolete content
this is a great place to ask questions and have them answered by experienced developers.
...there are several help and development channels where you can discuss problems and other topics in real time with the people that have the answers.
...problems using irc include: finding help when you have a big timezone difference with the united states, and no records of previously asked questions and their answers.
...And 3 more matches
How do I start to design my website? - Learn web development
so when you get an idea and want to turn it into a website, there are a few questions you should answer before anything else: what exactly do i want to accomplish?
...to do this, you need only pen and paper and some time to answer at least the following questions.
... this is the most important question to answer, since it drives everything else.
...And 3 more matches
Aprender y obtener ayuda - Learn web development
it is also why you can sometimes get really stuck on a problem, but then figure out the answer when you go for a coffee break (or a walk).
...there is no right and wrong answer here.
... note: stack overflow is a really useful website — it is basically a huge database of curated questions and answers on various technologies and related techniques.
...And 3 more matches
Mail and RDF
datasources we have a few primary datasources used in mail: nsmsgaccountdatasource - answers queries about arcs coming out of msgaccounts:/.
... nsmsgfolderdatasource - answer queries about any mail folders, including toplevel server folders.
...it also answers queries about various properties of folders such as the total number of messages, whether or not this folder is actually a root server, and so forth.
...And 3 more matches
RTCPeerConnection.signalingState - Web APIs
for example, if you receive an answer while the signalingstate isn't "have-local-offer", you know that something is wrong, since you should only receive answers after creating an offer but before an answer has been received and passed into rtcpeerconnection.setlocaldescription().
... rtcsignalingstate enum the rtcsignalingstate enum specifies the possible values of rtcpeerconnection.signalingstate, which indicates where in the process of signaling the exchange of offer and answer the connection currently is.
... constant description "stable" there is no ongoing exchange of offer and answer underway.
...And 3 more matches
RTCSessionDescription - Web APIs
each rtcsessiondescription consists of a description type indicating which part of the offer/answer negotiation process it describes and of the sdp descriptor of the session.
... value description answer the sdp contained in the sdp property is the definitive choice in the exchange.
... offer the session description object describes the initial proposal in an offer/answer exchange.
...And 2 more matches
Interaction between privileged and non-privileged pages - Archive of obsolete content
document.addeventlistener("message", function(e) { yourfunction(e); }, false, true); sending data from chrome to unprivileged document to "answer" the web page (e.g., return code), your extension can set an attribute or attach child elements on the event target element (<myextensiondataelement/> in this example).
... the code containing the callback could look like this: in the extension: var myextension = { mylistener: function(evt) { alert("received from web page: " + evt.target.getattribute("attribute1") + "/" + evt.target.getattribute("attribute2")); /* the extension answers the page*/ evt.target.setattribute("attribute3", "the extension"); var doc = evt.target.ownerdocument; var answerevt = doc.createelement("myextensionanswer"); answerevt.setattribute("part1", "answers this."); doc.documentelement.appendchild(answerevt); var event = doc.createevent("htmlevents"); event.initevent("myanswerevent", true, false); answerevt.dispatche...
... in the web page: document.addeventlistener("myanswerevent",function(e) { extensionanswer(e); },false); var element; function callextension() { var element = document.createelement("myextensiondataelement"); element.setattribute("attribute1", "foobar"); element.setattribute("attribute2", "hello world"); document.documentelement.appendchild(element); var evt = document.createevent("events"); evt.initevent("myextensionevent", true, false); element.dispatchevent(evt); } function extensionanswer(evtanswer) { alert(element.getattribute("attribute3") +...
... " " + evtanswer.target.getattribute("part1")); } basic example of similar idea, extension passes information via attributes and fires event on div in page, here.
The Implementation of the Application Object Model - Archive of obsolete content
to implement some sort of pluggable system that could do local/remote merging and mimic the functionality of rdf would require a month or two of engineering time that we can't afford to spend." that answer was the incorrect counter to the question.
... the answer itself implied a concession that some newly-architected system that connected directly into the dom apis would be preferable to rdf if only there were time to engineer it.
..."couldn't you just perform a tree transformation on whatever representation you have in memory?" the answer is "yes, provided there is one single common intermediate representation of the collected and aggregated data to use as the basis for the translation." "why?" you ask.
...why do you even need to change the intermediate representation of the data?" the answer is simple: persistence.
Introduction to SSL - Archive of obsolete content
to authenticate the binding between a public key and the server identified by the certificate that contains the public key, an ssl-enabled client must receive a "yes" answer to the four questions shown in figure 2.
...if the distinguished name (dn) of the issuing ca matches the dn of a ca on the client's list of trusted cas, the answer to this question is yes, and the client goes on to step 3.
... to authenticate the binding between the public key and the person or other entity identified by the certificate that contains the public key, an ssl-enabled server must receive a "yes" answer to the first four questions shown in figure 3.
...if the dn of the issuing ca matches the dn of a ca on the server's list of trusted cas, the answer to this question is yes, and the server goes on to step 4.
Getting started with HTML - Learn web development
if you get really stuck, press the show solution button to see the answer.
...if you get really stuck, press the show solution button to see the answer.
...if you get really stuck, press the show solution button to see the answer.
...the answer is readability.
Index - Learn web development
14 common questions codingscripting, infrastructure, learn, web, webmechanics this section of the learning area is designed to provide answers to common questions that may come up, which are not necessarily part of the structured core learning pathways (e.g.
... 75 javascript first steps arrays, article, assessment, beginner, codingscripting, guide, javascript, landing, module, numbers, operators, variables, l10n:priority, maths, strings in our first javascript module, we first answer some fundamental questions such as "what is javascript?", "what does it look like?", and "what can it do?", before moving on to taking you through your first practical experience of writing javascript.
... 167 css faq css, example, faq, guide, web, questions in this article, you'll find some frequently-asked questions (faqs) about css, along with answers that may help you on your quest to become a web developer.
... 219 server-side website programming first steps beginner, codingscripting, guide, intro, landing, learn, server-side programming we answer a few fundamental questions about server-side programming — "what is it?", "how does it differ from client-side programming?", and "why is it so useful?".
Gecko Profiler FAQ
mstange and ehsan tried to respond to some of the questions in advance in writing, and you can find the answers below.
... [ehsan] this is similar to the previous question to some extent, but the specific answer really depends on what kind of compiler flag we’re talking about and what performance impact we’re interested to study.
... but the short answer is picking up real browser workloads, and finding ways to split out the overall cost contributed by the thing that your change is going to affect and compare things before and after.
...i wish i had a better answer to this question.
Index
MozillaTechXPCOMIndex
if you have a question about nscomptr, and this document doesn't answer it, there probably isn't a document that answers it.
... you'll have to turn to the xpcom newsgroup or another experienced nscomptr user, or find the answer by experimentation.
...this faq usually just refers back directly to the appropriate answer, there.
...if you're trying to fix a broken build, the faq might lead you to the answer more quickly.
RTCSessionDescription.type - Web APIs
the allowed values are those of an enum of type rtcsdptype: "offer", the description is the initial proposal in an offer/answer exchange.
... "answer", the description is the definitive choice in an offer/answer exchange.
... "pranswer", the description is a provisional answer and may be changed when the definitive choice will be given.
... "rollback", the description rolls back to offer/answer state to the last stable state.
Using DTMF with WebRTC - Web APIs
g..."); callerpc.createoffer(offeroptions) .then(function(offer) { log("setting caller's local description: " + offer.sdp); return callerpc.setlocaldescription(offer); }) .then(function() { log("setting receiver's remote description to the same as caller's local"); return receiverpc.setremotedescription(callerpc.localdescription) }) .then(function() { log("creating answer"); return receiverpc.createanswer(); }) .then(function(answer) { log("setting receiver's local description to " + answer.sdp); return receiverpc.setlocaldescription(answer); }) .then(function() { log("setting caller's remote description to match"); return callerpc.setremotedescription(receiverpc.localdescription); }) .catch(err => log("error during negotiation: " +...
... then the receiver creates an answer by calling receiverpc.createanswer().
... then the receiver sets its local description to match the newly-created answer by calling receiverpc.setlocaldescription().
... then the answer is "transmitted" to the caller by calling callerpc.setremotedescription().
WebRTC API - Web APIs
each rtcsessiondescription consists of a description type indicating which part of the offer/answer negotiation process it describes and of the sdp descriptor of the session.
... rtcsessiondescriptioncallback the rtcsessiondescriptioncallback is passed into the rtcpeerconnection object when requesting it to create offers or answers.
... establishing a connection: the perfect negotiation pattern perfect negotiation is a design pattern which is recommended for your signaling process to follow, which provides transparency in negotiation while allowing both sides to be either the offerer or the answerer, without significant coding needed to differentiate the two.
...web real-time communications webrtc audio codec and processing requirements rtcweb data channels rtcweb data channel protocol web real-time communication (webrtc): media transport and use of rtp webrtc security architecture transports for rtcweb related supporting protocols interactive connectivity establishment (ice): a protocol for network address translator (nat) traversal for offer/answer protocol session traversal utilities for nat (stun) uri scheme for the session traversal utilities for nat (stun) protocol traversal using relays around nat (turn) uniform resource identifiers an offer/answer model with session description protocol (sdp) session traversal utilities for nat (stun) extension for third party authorization webrtc statistics webrtc statistics api specifica...
Math.log1p() - JavaScript
when you calculate log(1 + x), you should get an answer very close to x, if x is small (that's why these are called 'natural' logarithms).
... if you calculate math.log(1 + 1.1111111111e-15) you should get an answer close to 1.1111111111e-15.
... instead, you will end up taking the logarithm of 1.00000000000000111022 (the roundoff is in binary so sometimes it gets ugly), so you get the answer 1.11022...e-15, with only 3 correct digits.
... if, instead, you calculate math.log1p(1.1111111111e-15) you will get a much more accurate answer 1.1111111110999995e-15 with 15 correct digits of precision (actually 16 in this case).
Understanding WebAssembly text format - WebAssembly
for example, the following module contains two functions — one just returns the value 42, the other returns the result of calling the first plus one: (module (func $getanswer (result i32) i32.const 42) (func (export "getanswerplus1") (result i32) call $getanswer i32.const 1 i32.add)) note: i32.const just defines a 32-bit integer and pushes it onto the stack.
... in this example you’ll notice an (export "getanswerplus1") section, declared just after the func statement in the second function — this is a shorthand way of declaring that we want to export this function, and defining the name we want to export it as.
... this is functionally equivalent to including a separate function statement outside the function, elsewhere in the module in the same manner as we did before, e.g.: (export "getanswerplus1" (func $functionname)) the javascript code to call our above module looks like so: webassembly.instantiatestreaming(fetch('call.wasm')) .then(obj => { console.log(obj.instance.exports.getanswerplus1()); // "43" }); importing functions from javascript we have already seen javascript calling webassembly functions, but what about webassembly calling javascript functions?
...the answer is that there is only one table allowed right now per module instance, and that is what call_indirect is implicitly calling.
Frequently Asked Questions - Archive of obsolete content
we currently maintain two documents to help answer this question: a status page for svg in firefox 1.5+ and a status page for svg in the development trunk.
...however, we might as well answer this question to save you searching for this information elsewhere.
...david continues to create svg enabled nightlies and answer build related questions as he has done for some time.
Extentsions FAQ - Archive of obsolete content
no confirmation that the answer given worked yet.
... not the best answer but a good starting point for the question asker to do some research towards the answer.
... no confirmation from the question asker on whether this answer was helpful in solving their problem.
Advanced text formatting - Learn web development
the purpose of these lists is to mark up a set of items and their associated descriptions, such as terms and definitions, or questions and answers.
...if you get really stuck, press the show solution button to see the answer.
...if you get really stuck, press the show solution button to see the answer.
Test your skills: Conditionals - Learn web development
note: in the examples below, if there is an error in your code it will be outputted into the results panel on the page, to help you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
... conditionals 2 for this task you are given three variables: machineactive — contains an indicator of whether the answer machine is switched on or not (true/false) score — contains your score in an imaginary game.
... this score is fed into the answer machine, which provides a response to indicate how well you did.
Handling common HTML and CSS problems - Learn web development
finding help there are many other issues you'll encounter with html and css, making knowledge of how to find answers online invaluable.
...you are advised to look and see if there is an answer to your question already, before posting a new question.
... aside from that, try searching your favorite search engine for an answer to your problem.
nsIEffectiveTLDService
this is the right answer for e.g.
... cookie setting and domain highlighting, but you should check whether it's the right answer for your application.
...that question is unanswerable with 100% accuracy using the psl, because what is a domain name is a property of the dns, which is different for different people.
Index
90 thunderbird howtos add-ons, extensions, thunderbird please add questions or answers to this page so that other people can benefit from your work.
... also, you will see that there are many topics for which there is a question, but no answer.
... please help by adding an answer!
RTCPeerConnection.setLocalDescription() - Web APIs
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.
... otherwise, setlocaldescription() creates an answer, which becomes the new local description.
... providing your own offer or answer the example below shows the implementation of a handler for the negotiationneeded event that explicitly creates an offer, rather than letting setlocaldescription() do it.
RTCRtpTransceiver - Web APIs
properties currentdirection read only a string from the enum rtcrtptransceiverdirection which indicates the transceiver's current directionality, or null if the transceiver is stopped or has never participated in an exchange of offers and answers.
...this field is null if neither a local or remote description has been applied, or if its associated m-line is rejected by either a remote offer or any answer.
... stopped indicates whether or not sending and receiving using the paired rtcrtpsender and rtcrtpreceiver has been permanently disabled, either due to sdp offer/answer, or due to a call to stop().
RTCSessionDescription() - Web APIs
value description answer the sdp contained in the sdp property is the definitive choice in the exchange.
... offer the session description object describes the initial proposal in an offer/answer exchange.
... pranswer the session description object describes a provisional answer; that is, a response to a previous offer that is not the final answer.
Introduction to the Real-time Transport Protocol (RTP) - Web APIs
async function holdrequested(offer) { try { await peerconnection.setremotedescription(offer); await audiotransceiver.sender.replacetrack(null); audiotransceiver.direction = "recvonly"; await sendanswer(); } catch(err) { /* handle the error */ } } the steps taken here are: set the remote description to the specified offer by calling rtcpeerconnection.setremotedescription().
... the sdp answer is generated and sent using a method called sendanswer(), which generates the answer using createanswer() then sends the resulting sdp to the other peer over the signaling service.
... remote peer when the "sendrecv" offer is received by the remote peer, it calls its holdended() method: async function holdended(offer, micstream) { try { await peerconnection.setremotedescription(offer); await audiotransceiver.sender.replacetrack(micstream.getaudiotracks()[0]); audiotransceiver.direction = "sendrecv"; await sendanswer(); } catch(err) { /* handle the error */ } } the steps taken inside the try block here are: the received offer is stored as the remote description by calling setremotedescription().
A simple RTCDataChannel sample - Web APIs
localconnection.createoffer() .then(offer => localconnection.setlocaldescription(offer)) .then(() => remoteconnection.setremotedescription(localconnection.localdescription)) .then(() => remoteconnection.createanswer()) .then(answer => remoteconnection.setlocaldescription(answer)) .then(() => localconnection.setremotedescription(remoteconnection.localdescription)) .catch(handlecreatedescriptionerror); let's go through this line by line and decipher what it means.
...it does so by calling its createanswer() method.
... once the answer has been created, it's passed into the remoteconnection by calling rtcpeerconnection.setlocaldescription().
Connection management in HTTP/1.x - HTTP
these connections were short-lived: a new one created each time a request needed sending, and closed once the answer had been received.
...the http pipelining model goes one step further, by sending several successive requests without even waiting for an answer, reducing much of the latency in the network.
... pipelining is the process to send successive requests, over the same persistent connection, without waiting for the answer.
HTTP Index - HTTP
WebHTTPIndex
there are two types of messages: requests sent by the client to trigger an action on the server, and responses, the answer from the server.
... 159 if-range condtional requests, http, http header, range requests, reference, request header the if-range http request header makes a range request conditional: if the condition is fulfilled, the range request will be issued and the server sends back a 206 partial content answer with the appropriate body.
...this is useful when you want to give an answer to a put method that is not the uploaded resources, but a confirmation message (like "you successfully uploaded xyz").
An overview of HTTP - HTTP
WebHTTPOverview
the messages sent by the client, usually a web browser, are called requests and the messages sent by the server as an answer are called responses.
... each individual request is sent to a server, which handles it and provides an answer, called the response.
... http flow when a client wants to communicate with a server, either the final server or an intermediate proxy, it performs the following steps: open a tcp connection: the tcp connection is used to send a request, or several, and receive an answer.
A typical HTTP session - HTTP
WebHTTPSession
the client sends its request, and waits for the answer.
... the server processes the request, sending back its answer, providing a status code and appropriate data.
...an absolute url without the protocol or domain name the http protocol version subsequent lines represent an http header, giving the server information about what type of data is appropriate (e.g., what language, what mime types), or other data altering its behavior (e.g., not sending an answer if it is already cached).
Tutorials
we'll answer questions like: how do i make my text black or red?
... common css questions common questions and answers for beginners.
... javascript tutorials introductory level javascript first steps in our first javascript module, we first answer some fundamental questions such as "what is javascript?", "what does it look like?", and "what can it do?", before moving on to taking you through your first practical experience of writing javascript.
core/promise - Archive of obsolete content
hings in sequence hard: widget.on('click', function onclick() { promptuserfortwitterhandle(function continuewith(error, handle) { if (error) return ui.displayerror(error); twitter.gettweetsfor(handle, funtion continuewith(error, tweets) { if (error) return ui.displayerror(error); ui.showtweets(tweets); }); }); }); doing things in parallel is even harder: var tweets, answers, checkins; twitter.gettweetsfor(user, function continuewith(result) { tweets = result; somethingfinished(); }); stackoverflow.getanswersfor(question, function continuewith(result) { answers = result; somethingfinished(); }); foursquare.getcheckinsby(user, function continuewith(result) { checkins=result; somethingfinished(); }); var finished = 0; function somethingfinished() { if...
... (++finished === 3) ui.show(tweets, answers, checkins); } this also makes error handling quite an adventure.
How to convert an overlay extension to restartless - Archive of obsolete content
the answer to that question is to load your file from a chrome:// uri using xmlhttprequest.
...the answer to that question is, of course, nothing.
Index - Archive of obsolete content
ArchiveMozillaXULIndex
993 xul faq xul this document contains answers to frequently asked questions about xul, mozilla's markup language for describing application's user interface.
... 995 xul questions and answers return to mozilla-dev-tech-xul summaries 996 xul reference xul, xul reference no summary!
Namespaces - Archive of obsolete content
<foo/> the answer is that it's in no namespace, or alternately, it's in the namespace denoted by the empty string: <foo xmlns=""/> this second example is semantically equivalent to the first.
...the answer is that they aren't in a namespace either.
XUL FAQ - Archive of obsolete content
this document contains answers to frequently asked questions about xul, mozilla's markup language for describing application's user interface.
... if your question is not answered here, you can try looking for the answer in the xul documentation or ask in the xul newsgroup.
Archived Mozilla and build documentation - Archive of obsolete content
extension frequently asked questions this is quick set of answers to the most common issues with extension development.
... mozilla application framework the mozilla application framework: for powerful, easy to develop cross-platform applications mozilla crypto faq in this document i try to answer some frequently asked questions about the mozilla web browser and mail/news client and its support for ssl, s/mime, and related features based on cryptographic technology.
Mozilla release FAQ - Archive of obsolete content
it might slightly reflect the opinions of pat gunn, and if you're really angry about this, drop him an email at qc@apk.net i'll try to keep this section with only debates that are frequent that seem to have a right answer.
... os has that are likely to use mozilla does the os support multitasking well enough for mozilla does the os have a sufficiently evolved gui for mozilla to work does the os have sufficient networking support for mozilla is the os typically run on systems that have the resources to run mozilla does gcc or some other easily available compiler exist for the target platform if many of these answers are no, then there will be large issues that will hamper the port.
2006-10-20 - Archive of obsolete content
jeff provided this link as an answer to christopher finkes' question.
...paul reed previous post: boris zbarsky answered j.
2006-10-27 - Archive of obsolete content
summary: mozilla.dev.builds - october 21st to october 27th 2006 fx 1.5.0.x (linux) not building since 20-oct-2006 17:45 pdt october 22nd: gavin sharp answered a question that was posted by tony mechelynck.
... discussions final ff release already announced october 23rd: axel hecht posted an answer to cédric corazza posting.
2006-11-10 - Archive of obsolete content
on the same day he posted the answer to his posting that he found in last weeks posting.
... click here to see the answer to the problem.
mozilla-dev-extensions - Archive of obsolete content
weekly summaries 2006-09-29 2006-10-06 2006-10-13 2006-10-20 2006-10-27 2006-11-03 2006-11-10 2006-11-17 2006-11-24 2006-12-01 2006-12-08 weekly faq week 2006-09-29 questions and answers from the newsgroup week 2006-10-06 questions and answers from the newsgroup week 2006-10-13 questions and answers from the newsgroup week 2006-10-20 questions and answers from the newsgroup week 2006-10-27 questions and answers from the newsgroup week 2006-11-03 questions and answers from the newsgroup week 2006-11-10 questions and answers from the newsgroup week 2006-11-17 questions and answers from the newsgroup week 2006-11-24 questions and answers from the newsgroup week 2006-12-01 questions and answers from the newsgroup week 2006-12-08 questions and ...
...answers from the newsgroup ...
Game promotion - Game development
share your gamedev news and answer questions, so people will value what you're doing and will know that you're ok.
... press you can try and reach the press about your game, but bear in mind that they get a tonne of requests like this every single day, so be humble and patient if they don't answer right away, and be polite when talking to them.
Index - MDN Web Docs Glossary: Definitions of Web-related terms
it is when the answer to "is it useful?" becomes "yes", upon first meaningful paint completion.
...request headers, like accept, accept-*, or if-* allow to perform conditional requests; others like cookie, user-agent, or referer precise the context so that the server can tailor the answer.
Backgrounds and borders - Learn web development
from adding gradients, background images, and rounded corners, backgrounds and borders are the answer to a lot of styling questions in css.
...the answer is that the smaller numbers of values will cycle — in the above example there are four background images but only two background-position values.
What is a web server? - Learn web development
the web server must answer every http request, at least with an error message.
... on a web server, the http server is responsible for processing and answering incoming requests.
How to build custom form controls - Learn web development
the answer is...
...if you consider that the active state and the open state are completely different, the answer is again "nothing will happen" because we did not define any keyboard interactions for the opened state.
Test your skills: Form validation - Learn web development
form validation 2 now we want you to take the same form you saw in the previous task (use your previous answer if you want to), and add some more specific pattern validation to the first three fields using regular expressions.
...you can find everything you need to answer these questions at our regular expression reference, and by searching on stack overflow.
HTML text fundamentals - Learn web development
to answer this question, let's take a look at text-start.html—the starting point of our running example for this article (a nice hummus recipe).
...if you get stuck, press the show solution button to see the answer.
Images in HTML - Learn web development
if you get really stuck, press the show solution button to see an answer: playable code <h2>live output</h2> <div class="output" style="min-height: 50px;"> </div> <h2>editable code</h2> <p class="a11y-label">press esc to move focus away from the code area (tab inserts a tab character).</p> <textarea id="code" class="input" style="min-height: 100px; width: 95%"> <img> </textarea> <div class="playable-buttons"> <input id="reset" type="button" value="reset"> <...
...if you get really stuck, press the show solution button to see an answer: playable code 2 <h2>live output</h2> <div class="output" style="min-height: 50px;"> </div> <h2>editable code</h2> <p class="a11y-label">press esc to move focus away from the code area (tab inserts a tab character).</p> <textarea id="code" class="input" style="min-height: 100px; width: 95%"> </textarea> <div class="playable-buttons"> <input id="reset" type="button" value="reset"> <inpu...
HTML table basics - Learn web development
LearnHTMLTablesBasics
you can find the answer by associating the relevant row and column headers.
... we have already partially answered this question — it is easier to find the data you are looking for when the headers clearly stand out, and the design just generally looks better.
Introducing asynchronous JavaScript - Learn web development
in essence, it's the browser's way of saying "i promise to get back to you with the answer as soon as i can," hence the name "promise." this concept can take practice to get used to; it feels a little like schrödinger's cat in action.
... note: if you get stuck, you can find an answer here (see it running live also).
Test your skills: Events - Learn web development
note: in the examples below, if there is an error in your code it will be outputted into the results panel on the page, to help you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
... we haven't explicitly taught this yet in the course, but you'll have seen some examples that make use of it, and we'd like you to do some research into what dom apis you need to successfully answer the questions.
Test your skills: Functions - Learn web development
note: in the examples below, if there is an error in your code it will be outputted into the results panel on the page, to help you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
... we haven't explicitly taught this yet in the course, but you'll have seen some examples that make use of it, and we'd like you to do some research into what dom apis you need to successfully answer the questions.
A first splash into JavaScript - Learn web development
in this case we tell them they are wrong, then we perform another conditional test to check whether the guess was higher or lower than the answer, displaying a further message as appropriate to tell them higher or lower.
...the only problem now is that if you guess the correct answer or run out of guesses, the game will break because we've not yet defined the setgameover() function that is supposed to be run once the game is over.
Basic math in JavaScript — numbers and operators - Learn web development
for example: let num1 = 10; let num2 = 50; 9 * num1; num1 ** 3; num2 / num1; last for this section, try entering some more complex expressions, such as: 5 + 10 * 3; num2 % 9 * num1; num2 + num1 / 8 + 2; some of this last set of calculations might not give you quite the result you were expecting; the section below might well give the answer as to why.
...after you've answered all the above questions correctly, feel free to play with the code some more or create your own challenges.
JavaScript First Steps - Learn web development
in our first javascript module, we first answer some fundamental questions such as "what is javascript?", "what does it look like?", and "what can it do?", before moving on to taking you through your first practical experience of writing javascript.
...in this first article we will look at javascript from a high level, answering questions such as "what is it?", and "what is it doing?", and making sure you are comfortable with javascript's purpose.
Test your skills: JSON - Learn web development
note: in the example below, if there is an error in your code it will be outputted into the results panel on the page, to help you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
... try updating the live code below to recreate the finished example: warning: to answer this question, you'll need to write your code into the live code window above.
Server-side website programming first steps - Learn web development
in this module we answer a few fundamental questions about server-side programming — "what is it?", "how does it differ from client-side programming?", and "why is it so useful?".
...in this first article, we look at server-side programming from a high level, answering questions such as "what is it?", "how does it differ from client-side programming?", and "why it is so useful?".
Debugging
debugging the mozilla platform using debuggers with mozilla debugging mozilla on windows faq questions (and answers) about debugging mozilla on windows.
... debugging mozilla on os x questions (and answers) about debugging mozilla on os x.
The Firefox codebase: CSS Guidelines
(either from javascript or overriden by another css file) if the answer is no, consider using a preprocessor variable or simply inlining the value.
... if the answer is no and the value isn't changed at runtime, then you likely don't need a css variable.
Performance best practices for Firefox front-end engineers
since everything is pending a reflow, the answer isn't available, so everything stalls until the reflow is complete and the script can be given an answer.
...this means that gecko needs to synchronously calculate layout (and styles) using an uninterruptible reflow in order to answer the question that javascript is asking (“what is the clientheight of div1?”).
Embedding the editor
possible answer the embedder provides open and save dialogs if they want to.
...possible answer dialogs use the available editor apis to get and set data, so can do all their work through existing apis.
Mozilla Web Developer FAQ
this document answers questions that web authors ask frequently specifically in connection with firefox and other gecko-based browsers.
... i didn’t find the answer i was looking for.
PR_strtod
if the answer would overflow, a properly signed huge_val (infinity) is returned.
... if the answer would underflow, a properly signed 0 is returned.
PKCS11 FAQ
MozillaProjectsNSSPKCS11FAQ
pkcs11 faq questions and answers general questions after plugging in an external pkcs #11 module, how do you use the certificate available on the token?
...as stated in the answer to the preceding question, when nss does a keygen it uses c_generatekeypair if the token supports the keygen method.
The Necko HTTP module
pipelining faq this document gives an overview of http/1.1 pipelining by answering some frequently asked questions.
...it answers some of the common questions concerning what is cached and for how long.
Rhino community
have a question that you can't find answer to in the rhino documentation?
... the mozilla.dev.tech.js-engine newsgroup answers questions about the c implementation of javascript, and was also used for answering questions about rhino until september 27, 2007.
Rhino scopes and contexts
the answer to 1 determines which scope should be the ultimate parent scope: rhino follows the parent chain up to the top and places the variable there.
... after you've constructed your parent scope chain, the answer to question 2 may indicate that there are additional scopes that need to be searched that are not in your parent scope chain.
nsIRadioInterfaceLayer
to create an instance, use: var radiointerfacelayer = components.classes["@mozilla.org/telephony/system-worker-manager;1"] .getservice(components.interfaces.nsiinterfacerequestor) .createinstance(components.interfaces.nsiradiointerfacelayer); method overview void answercall(in unsigned long callindex); void deactivatedatacall(in domstring cid, in domstring reason); void dial(in domstring number); void enumeratecalls(in nsiriltelephonycallback callback); void getdatacalllist(); unsigned short getnumberofmessagesfortext(in domstring text); void hangup(in unsigned long callindex); void registercallback(in nsiriltelephonycallback callback); void regi...
...te_connected 5 call_state_holding 6 call_state_held 7 call_state_resuming 8 call_state_disconnecting 9 call_state_disconnected 10 call_state_incoming 11 datacall_state_unknown 0 datacall_state_connecting 1 datacall_state_connected 2 datacall_state_disconnecting 3 datacall_state_disconnected 4 call_state_ringing 2 obsolete since gecko 14.0 methods answercall() void answercall( in unsigned long callindex ); parameters callindex missing description exceptions thrown missing exception missing description deactivatedatacall() void deactivatedatacall( in domstring cid, in domstring reason ); parameters cid missing description reason missing description exceptions thrown missing exception missing description dial() functionality for mak...
Frequently Asked Questions
this faq usually just refers back directly to the appropriate answer, there.
...in most cases, the answer will just refer back into the reference manual, above.
Using nsCOMPtr
if you have a question about nscomptr, and this document doesn't answer it, there probably isn't a document that answers it.
... you'll have to turn to the xpcom newsgroup or another experienced nscomptr user, or find the answer by experimentation.
XPCOM
if you have a question about nscomptr, and this document doesn't answer it, there probably isn't a document that answers it.
... you'll have to turn to the xpcom newsgroup or another experienced nscomptr user, or find the answer by experimentation.using nsiclassinfoif you use a c++ class which implements nsiclassinfo from javascript, then you don't have to explicitly call queryinterface on the javascript object to access the object's interfaces.using nsidirectoryservicensdirectoryservice implements the nsiproperties interface.
Using the Geolocation API - Web APIs
note: by default, getcurrentposition() tries to answer as fast as possible with a low accuracy result.
... it is useful if you need a quick answer regardless of the accuracy.
Web Push API Notifications best practices - Web APIs
has the customer switched tabs to answer an email?
... there are some basic questions you can answer to determine if a push notification is needed: is there someone waiting in real-time for a response?
RTCPeerConnection.canTrickleIceCandidates - Web APIs
ice trickling is the process of continuing to send candidates after the initial offer or answer has already been sent to the other peer.
...pc.setremotedescription(remoteoffer) .then(_ => pc.createanswer()) .then(answer => pc.setlocaldescription(answer)) .then(_ => if (pc.cantrickleicecandidates) { return pc.localdescription; } return new promise(r => { pc.addeventlistener('icegatheringstatechange', e => { if (e.target.icegatheringstate === 'complete') { r(pc.localdescription); } }); }); }) .then(answer => sendanswertopeer(answer...
RTCPeerConnection.onsignalingstatechange - Web APIs
r the signalingstatechange event using addeventlistener(): myrtcpeerconnection.addeventlistener("signalingstatechange", mysignalingstatechangehandler); or, using an anonymous (inline) handler: myrtcpeerconnection.addeventlistener("signalingstatechange", event => { /* handle the event here */ }); example this snippet shows a handler for signalingstatechange that looks for the "have-local-pranswer" signaling state—indicating that a remote offer has been received and a local description of type "pranswer" has been applied in response.
... pc.onsignalingstatechange = function(event) { if (pc.signalingstate === "have-local-pranswer") { // setlocaldescription() has been called with an answer } }; specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcpeerconnection.onsignalingstatechange' in that specification.
RTCSessionDescriptionCallback - Web APIs
the rtcsessiondescriptioncallback type is used to represent the callback function passed into the deprecated callback-based version of createoffer() or createanswer() when using them to create offers or answers.
... because this function type is part of the legacy webrtc api, you should avoid using it (and the callback-based forms of createoffer() and createanswer() that make use of it).
Lifetime of a WebRTC session - Web APIs
the answer is simple: since the two devices have no way to directly contact each other, and the specification can’t predict every possible use case for webrtc, it makes more sense to let the developer select an appropriate networking technology and messaging protocol.
... the answerer side of the connection will automatically begin ice restart when new values are detected for the ice ufrag and ice password.
Web APIs
WebAPI
performancetiming periodicwave permissionstatus permissions photocapabilities plugin pluginarray point pointerevent popstateevent positionoptions processinginstruction progressevent promiserejectionevent publickeycredential publickeycredentialcreationoptions publickeycredentialrequestoptions pushevent pushmanager pushmessagedata pushregistrationmanager pushsubscription r rtcansweroptions rtccertificate rtcconfiguration rtcdtmfsender rtcdtmftonechangeevent rtcdatachannel rtcdatachannelevent rtcdtlstransport rtcerror rtcerrorevent rtcicecandidate rtcicecandidateinit rtcicecandidatepair rtcicecandidatepairstats rtcicecandidatestats rtcicecandidatetype rtcicecomponent rtcicecredentialtype rtcicegathererstate rtciceparameters rtciceprotocol rtcicerole rtciceserver rtcic...
...etcpcandidatetype rtcicetransport rtcicetransportstate rtcidentityassertion rtcidentityerrorevent rtcidentityevent rtcinboundrtpstreamstats rtcnetworktype rtcofferansweroptions rtcofferoptions rtcoutboundrtpstreamstats rtcpeerconnection rtcpeerconnectioniceerrorevent rtcpeerconnectioniceevent rtcremoteoutboundrtpstreamstats rtcrtcpparameters rtcrtpcapabilities rtcrtpcodeccapability rtcrtpcodecparameters rtcrtpcontributingsource rtcrtpencodingparameters rtcrtpparameters rtcrtpreceiveparameters rtcrtpreceiver rtcrtpsendparameters rtcrtpsender rtcrtpstreamstats rtcrtpsynchronizationsource rtcrtptransceiver rtcrtptransceiverdirection rtcrtptransceiverinit rtcsctptransport rtcsessiondescription rtcsessiondescriptioncallback rtcstats rtcstatsicecandidatepairstate rtcstatsreport rtcstatst...
Relationship of flexbox to other layout methods - CSS: Cascading Style Sheets
the most straightforward answer to this question is defined in the specifications themselves.
...there is rarely a right or wrong answer.
Choosing between www and non-www URLs - HTTP
or, one server can be handled by several machines, cooperating to produce the answer or balancing the load of the requests between them.
... example: a server receives a request for http://www.example.org/whaddup (when the canonical domain is example.org) the server answers with a code 301 with the header location: http://example.org/whaddup.
HTTP Messages - HTTP
WebHTTPMessages
there are two types of messages: requests sent by the client to trigger an action on the server, and responses, the answer from the server.
...not all responses have one: responses with a status code that sufficiently answers the request without the need for corresponding payload (like 201 created or 204 no content) usually don't.
Grammar and types - JavaScript
so, for example, you could define a variable as follows: var answer = 42; and later, you could assign the same variable a string value, for example: answer = 'thanks for all the fish...'; because javascript is dynamically typed, this assignment does not cause an error message.
...for example, consider the following statements: x = 'the answer is ' + 42 // "the answer is 42" y = 42 + ' is the answer' // "42 is the answer" with all other operators, javascript does not convert numeric values to strings.
Namespaces crash course - SVG: Scalable Vector Graphics
contrary to popular opinion, the answer to this question is not "it can tell from the doctype declaration".
... the real answer to the question is that xml content tells the user agent which dialect the element names belong to by giving them explicit "namespace declarations".
XPath - Archive of obsolete content
lement,null, xpathresult.any_type, null); var tmp = tobj.iteratenext(); while(tmp) { fields.push(tmp.textcontent); tmp = tobj.iteratenext(); } } alert(fields); } //here is the demo xml file for xpath <?xml version="1.0"?> <root> <field> <item>art_id</item> <item>psection</item> <item>qkind</item> <item>qtitle</item> <item>question</item> <item>pic</item> <item>answer1</item> <item>answer2</item> <item>answer3</item> <item>answer4</item> </field> </root> //add by mooring 2008-11-15 16:16 china ...
Appendix: What you should know about open-source software licenses - Archive of obsolete content
this can be briefly answered by the open source definition, which was determined by the open source initiative (osi).
Chapter 5: Let's build a Firefox extension - Archive of obsolete content
figure 2: invoking a cross-package overlay (fixme: not really explicit and not a figure) conclusion this has been a brief introduction to chrome that probably leaves a lot of unanswered questions.
Adding windows and dialogs - Archive of obsolete content
confirm confirmation dialogs display a text with a yes / no question, and prompts the user to choose an answer.
An Interview With Douglas Bowman of Wired News - Archive of obsolete content
if the answer to one or more of those questions is "yes," chances are, you could be ripe to make the leap.
JXON - Archive of obsolete content
element names become object properties: <root><name>xml</name><encoding>ascii</encoding></root> becomes { "name": "xml", "encoding": "ascii" } numbers are recognized (integers and decimals): <root><age>12</age><height>1.73</height></root> becomes { "age": 12, "height": 1.73 } booleans are recognized case insensitive: <root><checked>true</checked><answer>false</answer></root> becomes { "checked": true, "answer": false } strings are escaped: <root>quote: &quot; new-line: </root> becomes "quote: \" new-line:\n" empty elements will become null: <root><nil/><empty></empty></root> becomes { "nil": null, "empty": null } if all sibling elements have the same name, they become an array <root><item>1...
MCD, Mission Control Desktop, AKA AutoConfig - Archive of obsolete content
web1.int-evry.fr cn: web2.int-evry.fr dn: sn=http_unix_file, ou=browser,ou=information,dc=int-evry, dc=fr cn: /browser/config_file_unix.jsc dn: sn=http_win_file, ou=browser,ou=information,dc=int-evry, dc=fr cn: /browser/config_file_win.jsc netscape.cfg here we select an operational ldap server simply by testing a ldap query, to make sure that our ldap queries for setting preferences will be answered.
Dehydra - Archive of obsolete content
dehydra faq answers to common questions static analyses analyses being worked on for mozilla 2 todo steps to dehydra 1.0 release community view dehydra forums...
Embedding FAQ - Archive of obsolete content
you can find a better quality answer repeated and with an example in this newsgroup thread.
Extension Frequently Asked Questions - Archive of obsolete content
this is quick set of answers to the most common issues with extension development.
Block and Line Layout Cheat Sheet - Archive of obsolete content
if you know the answer, please pass it along to me so i can update the document.
Mozilla Application Framework in Detail - Archive of obsolete content
xul provides an excellent answer for organizations with heterogeneous computing environments.
Mozilla Crypto FAQ - Archive of obsolete content
in this document i try to answer some frequently asked questions about the mozilla web browser and mail/news client and its support for ssl, s/mime, and related features based on cryptographic technology.
RDF Datasource How-To - Archive of obsolete content
the first question that you must answer is "should i use an existing vocabulary, or invent my own?" a reasonable answer is, "use an existing vocabulary unless you absolutely must invent your own." this will allow your datasource to be integrated with other datasources with a minimum of effort.
Reading textual data - Archive of obsolete content
you can fallback to the default character encoding stored in preferences (intl.charset.default, a localized pref value) when reading from a file, the question is harder to answer.
Venkman - Archive of obsolete content
venkman faq answers to common questions on venkman.
Video presentations - Archive of obsolete content
(as quicktime; 170 mb and 80 mb) mozilla-seneca projects q&a with mike shaver (part 1, part 2) mike shaver answers questions about the mozilla project.
XPJS Components Proposal - Archive of obsolete content
now, you might ask: "isn't that what xpconnect does?" and i would answer that xpconnect is necessary, but not sufficient to the task.
Things I've tried to do with XUL - Archive of obsolete content
short answer: you can't easily, at least not yet.
Groupboxes - Archive of obsolete content
a simple groupbox example the example below shows a simple groupbox: example 1 : source view <groupbox> <caption label="answer"/> <description value="banana"/> <description value="tangerine"/> <description value="phone booth"/> <description value="kiwi"/> </groupbox> this will cause four pieces of text to be displayed surrounded by a box with the label answer.
Creating XULRunner Apps with the Mozilla Build System - Archive of obsolete content
so if i have files called mozconfig-both and mozconfig-mccoy, for example, and i just want to build mccoy, i could run something like: mozconfig=`pwd`/mozconfig-mccoy make -f client.mk build acknowledgements many thanks first of all to benjamin smedberg for maintaining the build system (by this time he probably deserves credit for writing most of it) and answering my endless stupid questions.
XULRunner FAQ - Archive of obsolete content
this page is intended to answer frequently asked questions and correct common misconceptions about xulrunner.
2006-11-17 - Archive of obsolete content
answer: cc whoever you need review from, but don't post a formal review.
2006-09-29 - Archive of obsolete content
nothing to summarize this week as there was no summary and all questions were left unanswered.
2006-10-06 - Archive of obsolete content
nothing to summarize this week as there was no summary and all questions were left unanswered.
mozilla-dev-tech-xul - Archive of obsolete content
2006-09-29 2006-10-06 2006-10-13 2006-10-20 2006-10-27 2006-11-03 2006-11-10 2006-11-17 2006-11-24 2006-12-01 xul faq xul questions and answers ...
Reference - Archive of obsolete content
--aaike82 18:54, 18 august 2006 (pdt) actual answer: object > (function, everything else).
Index - Game development
there are many options available and there's no single good answer as to which is the best.
Game distribution - Game development
there are many options available and there's no single good answer as to which is the best.
2D collision detection - Game development
narrow phase when you have a small list of entities to check you will want to use a narrow phase algorithm (like the ones listed above) to provide a certain answer as to whether there is a collision or not.
First paint - MDN Web Docs Glossary: Definitions of Web-related terms
it answers the question "is it happening?" ...
Request header - MDN Web Docs Glossary: Definitions of Web-related terms
request headers, like accept, accept-*, or if-* allow to perform conditional requests; others like cookie, user-agent, or referer precise the context so that the server can tailor the answer.
Smoke Test - MDN Web Docs Glossary: Definitions of Web-related terms
smoke testing answers questions like "does the program start up correctly?" "do the main control buttons function?" "can you save a simple blank new test user account?" if this basic functionality fails, there is no point investing time in more detailed qa work at this stage.
First Meaningful Paint - MDN Web Docs Glossary: Definitions of Web-related terms
it is when the answer to "is it useful?" becomes "yes", upon first meaningful paint completion.
Safe - MDN Web Docs Glossary: Definitions of Web-related terms
safe methods don't need to serve static files only; a server can generate an answer to a safe method on-the-fly, as long as the generating script guarantees safety: it should not trigger external effects, like triggering an order in an e-commerce web site.
Assessment: Accessibility troubleshooting - Learn web development
as it stands, it has a number of accessibility issues — your task is to explore the existing site and fix them to the best of your abilities, answering the questions given below.
WAI-ARIA basics - Learn web development
this is not an easy question to answer.
Fundamental CSS comprehension - Learn web development
grab the css resources text file — this contains a set of raw selectors and rulesets that you'll need to study and combine to answer part of this assessment.
CSS building blocks - Learn web development
from adding gradients, background images, and rounded corners, backgrounds and borders are the answer to a lot of styling questions in css.
How CSS works - Learn web development
the answer is that it does nothing, and just moves on to the next bit of css!
Using your new knowledge - Learn web development
remember that there is no wrong answer here — at this stage in your learning you can afford to have a bit of fun.
CSS FAQ - Learn web development
LearnCSSHowtoCSS FAQ
in this article, you'll find some frequently-asked questions (faqs) about css, along with answers that may help you on your quest to become a web developer.
Styling lists - Learn web development
if you get really stuck, press the show solution button to see a potential answer.
How much does it cost to do something on the Web? - Learn web development
depending on how you answer these questions, your site could cost thousands to hundreds of thousands of dollars.
Common questions - Learn web development
this section of the learning area is designed to provide answers to common questions that may come up, which are not necessarily part of the structured core learning pathways (e.g.
Advanced form styling - Learn web development
the answer is that in chromium-based browsers on macos, search boxes have some styling restrictions — you can't adjust their height or font-size freely, for example.
Sending form data - Learn web development
the server answers the request using the same protocol.
Sending forms through JavaScript - Learn web development
the formdata object is generally the answer, and you can use a polyfill for it on legacy browsers.
CSS basics - Learn web development
we'll answer questions like: how do i make text red?
Dealing with files - Learn web development
the short answer is that you should use a hyphen for your file names.
What will your website look like? - Learn web development
to begin, you'll need to answer these questions: what is your website about?
Use HTML to solve common problems - Learn web development
LearnHTMLHowto
how to create a basic html document how to divide a webpage into logical sections how to set up a proper structure of headings and paragraphs basic text-level semantics html specializes in providing semantic information for a document, so html answers many questions you might have about how to get your message across best in your document.
Creating hyperlinks - Learn web development
the finished example should look similar to the following page: note: if you get stuck, or aren't sure if you have got it right, you can check the navigation-menu-marked-up directory to see the correct answer.
From object to iframe — other embedding technologies - Learn web development
if you get really stuck, press the show solution button to see an answer.
General asynchronous programming concepts - Learn web development
the answer is because javascript, generally speaking, is single-threaded.
Graceful asynchronous programming with Promises - Learn web development
the answer we'll give you, for now, is it's complicated.
Test your skills: Loops - Learn web development
we haven't explicitly taught this yet in the course, but you'll have seen some examples that make use of it, and we'd like you to do some research into what dom apis you need to successfully answer the questions.
Handling text — strings in JavaScript - Learn web development
n context let's have a look at concatenation being used in action — here's an example from earlier in the course: <button>press me</button> const button = document.queryselector('button'); button.onclick = function() { let name = prompt('what is your name?'); alert('hello ' + name + ', nice to see you!'); } here we're using a window.prompt() function in line 4, which asks the user to answer a question via a popup dialog box then stores the text they enter inside a given variable — in this case name.
Test your skills: Arrays - Learn web development
note: in the examples below, if there is an error in your code it will be outputted into the results panel on the page, to help you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
Test your skills: Math - Learn web development
note: in the examples below, if there is an error in your code it will be outputted into the results panel on the page, to help you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
Test your skills: Strings - Learn web development
note: in the examples below, if there is an error in your code it will be outputted into the results panel on the page, to help you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
Test your skills: variables - Learn web development
note: in the examples below, if there is an error in your code it will be outputted into the results panel on the page, to help you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
Useful string methods - Learn web development
each example comes with a "reset" button, which you can use to reset the code if you make a mistake and can't get it working again, and a "show solution" button you can press to see a potential answer if you get really stuck.
What is JavaScript? - Learn web development
in this article we will look at javascript from a high level, answering questions such as "what is it?" and "what can you do with it?", and making sure you are comfortable with javascript's purpose.
Object-oriented JavaScript for beginners - Learn web development
note: if you get stuck, we have provided an answer inside our github repo (see it live) — try writing it yourself first though!
Test your skills: Object-oriented JavaScript - Learn web development
note: in the examples below, if there is an error in your code it will be outputted into the results panel on the page, to help you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
Test your skills: Object basics - Learn web development
note: in the examples below, if there is an error in your code it will be outputted into the results panel on the page, to help you try to figure out the answer (or into the browser's javascript console, in the case of the downloadable version).
JavaScript — Dynamic client-side scripting - Learn web development
javascript first steps in our first javascript module, we first answer some fundamental questions such as "what is javascript?", "what does it look like?", and "what can it do?", before moving on to taking you through your first practical experience of writing javascript.
Introduction to the server side - Learn web development
in this first article, we look at server-side programming from a high level, answering questions such as "what is it?", "how does it differ from client-side programming?", and "why it is so useful?".
Deployment and next steps - Learn web development
run npx vercel again, and you'll be prompted to answer a few questions, like this: > npx vercel vercel cli 19.1.2 ?
Advanced Svelte: Reactivity, lifecycle, accessibility - Learn web development
the answer is that every component has a lifecycle that starts when it is created, and ends when it is destroyed.
Understanding client-side JavaScript frameworks - Learn web development
instead, we want to back up and first answer more fundamental questions such as: why should i use a framework?
Handling common accessibility problems - Learn web development
finding help there are many other issues you'll encounter with accessibility; the most important thing to know really is how to find answers online.
Introduction to cross browser testing - Learn web development
overview: cross browser testing next this article starts the module off by providing an overview of the topic of (cross) browser testing, answering questions such as "what is cross browser testing?", "what are the most common types of problems you'll encounter?", and "what are the main approaches for testing, identifying, and fixing problems?" prerequisites: familiarity with the core html, css, and javascript languages.
Handling common JavaScript problems - Learn web development
finding help there are many other issues you'll encounter with javascript; the most important thing to know really is how to find answers online.
Strategies for carrying out testing - Learn web development
previous overview: cross browser testing next this article starts the module off by providing an overview of the topic of (cross) browser testing, answering questions such as "what is cross-browser testing?", "what are the most common types of problems you'll encounter?", and "what are the main approaches for testing, identifying, and fixing problems?" prerequisites: familiarity with the core html, css, and javascript languages; an idea of the high level principles of cross-browser testing.
Cross browser testing - Learn web development
guides introduction to cross browser testing this article starts the module off by providing an overview of the topic of cross browser testing, answering questions such as "what is cross browser testing?", "what are the most common types of problems you'll encounter?", and "what are the main approaches for testing, identifying, and fixing problems?" strategies for carrying out testing next, we drill down into carrying out testing, looking at identifying a target audience (e.g.
Command line crash course - Learn web development
before we dive into installing prettier, there's a question to answer — "where should we install to?" with npm we have the choice of installing tools globally — so we can access them anywhere — or locally to the current project directory.
Client-side tooling overview - Learn web development
in these articles, we won’t answer every question about web tooling, but we will provide you with a useful starting point of understanding the fundamentals, which you can then build from.
Package management basics - Learn web development
type the following command, making sure you are inside the parcel-experiment directory: npm init you will now be asked some questions; npm will then create a default package.json file based on the answers: name: a name to identify the app.
Accessibility Features in Firefox
the mozilla firefox community welcomes bug reports, ideas, documentation, answering questions in the support forums -- and nearly any kind of community involvement resulting in a browser built for a broader audience of users and developers.
CSUN Firefox Materials
the mozilla firefox community welcomes bug reports, ideas, documentation, answering questions in the support forums -- and nearly any kind of community involvement resulting in a browser built for a broader audience of users and developers.
Software accessibility: Where are we today?
in answer to this problem, many small accessibility hardware and software vendors created products and software which helped people who could not perform one of the four basic tasks to use common computer applications.
Frequently Asked Questions for Lightweight themes
couldn't find the answer you're looking for?
Testopia
"as soon as possible" is our best answer.
Inner and outer windows
if the document currently being displayed asks "what window am i in?", it gets the outer window as the answer.
Contributing to the Mozilla code base
if you have any difficulties getting involved or finding answers to your questions, please come and ask your questions in our chatroom, where we can help you get started.
Roll your own browser: An embedding how-to
windows external projects k-meleon browser: the windows answer to galeon.
Implementing QueryInterface
a reference implementation of queryinterface ns_imethodimp nsmyimplementation::queryinterface( refnsiid aiid, void** ainstanceptr ) { ns_assertion(ainstanceptr, "queryinterface requires a non-null destination!"); // it's a logic error, not a runtime error, to call me without any place to put my answer!
PromiseWorker.jsm
this answers the question "when should i use a promiseworker?", and the answer is, whenever you would normally use a chromeworker, but want postmessage to return promises.
Localization content best practices
> yes/no dialog works in english, but in gaelic/irish/welsh and several other languages the equivalent answer is want/not want.
Localization formats
as every new web-dev project takes shape, a project manager should ask themselves these questions and have the answers ready before starting the web l10n process.
Mozilla DOM Hacking Guide
the short answer is, "to implement the queryinterface for nsiclassinfo".
Profiling with the Firefox Profiler
some more tips and answers to common questions are available in a mid-2017 faq document.
NSPR Contributor Guide
if we accept it, we are going to have to answer questions about it and/or maintain it.
NSPR's Position On Abrupt Thread Termination
nspr's answer to this is that there is no abrupt thread termination.
NSS 3.26 release notes
the following ca certificate was added cn = isrg root x1 sha-256 fingerprint: 96:bc:ec:06:26:49:76:f3:74:60:77:9a:cf:28:c5:a7:cf:e8:a3:c0:aa:e1:1a:8f:fc:ee:05:c0:bd:df:08:c6 npn is disabled, and alpn is enabled by default the nss test suite now completes with the experimental tls 1.3 code enabled several test improvements and additions, including a nist known answer test bugs fixed in nss 3.26 this bugzilla query returns all the bugs fixed in nss 3.26: https://bugzilla.mozilla.org/buglist.cgi?resolution=fixed&classification=components&query_format=advanced&product=nss&target_milestone=3.26 compatibility nss 3.26 shared libraries are backwards compatible with all older nss 3.x shared libraries.
NSS 3.48 release notes
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) bug 1592869 - use arm neon for ctr_xor bug 1566131 - ensure sha-1 fallback disable...
NSS Sample Code sample4
* # create ca cert, self-signed, generates key-pair, prompts for key * # type, cert type etc * # answers for prompts: 5,9,n,y,-1,n,5,6,7,9,n * $ certutil -s -s "cn=test ca, o=bogus inc, l=mtn view, st=ca, c=us" \ * -n testca -t ctu,ctu,ctu -v 60 -x -d .
nss tech note3
this message attempts to answer that question, and to document nss's approach to validating certificates for certain purposes.
nss tech note7
answer: the version without the initial 00 says : "ps is a string of strong pseudo-random octets [random] [...] long enough that the value of the quantity being crypted is one octet shorter than the rsa modulus" the version with the initial 00 instead says to pad to the same length as the rsa modulus.
sslfnc.html
this occurs, for example, when an https server has received a request and determines that before it can answer the request, it needs to request an authentication certificate from the client.
sslintro.html
this occurs, for example, when an https server has received a request and determines that before it can answer the request, it needs to request an authentication certificate from the client.
Network Security Services
nss faq answers basic questions about nss.
Rhino documentation
faq answers to frequently asked questions about rhino.
Rhino serialization
to understand the answer we must know what goes on behind the scenes when rhino serializes objects.
Property cache
it is crucial that jit and interpreter get the same answer; possible pitfalls include native getters and resolve hooks.
INT_FITS_IN_JSVAL
if i is an unsigned or 64-bit value, int_fits_in_jsval can silently give the wrong answer.
WebReplayRoadmap
these questions can be answered by analyzing one or more recordings to study their behavior in detail.
Redis Tips
zsets are a large part of the answer to most of life's problems.
Starting WebLock
the question the interface for the weblock component must answer is: how should weblock look to the outside world?
Mozilla internal string guide
there is no single answer to this question, but the important points are: surprisingly many strings are very often just ascii.
nsINavHistoryContainerResultNode
when the container is closed, the result is an exact answer if the node can be populated easily (for example, for bookmark folders).
Getting Started Guide
nscomptrs for non-interface classes appropriately formatted answer to come, in the meanwhile, the full details are available in this news posting (via google groups).
Reference Manual
if you're trying to fix a broken build, the faq might lead you to the answer more quickly.
Xptcall Porting Guide
i'll answer any questions as i get them.
Autoconfiguration in Thunderbird
guessing if all other mechanisms failed, thunderbird tries to guess the configuration, by trying common server names like imap.<domain>, smtp.<domain>, mail.<domain> etc., and, when a mail server answers, checking whether it supports ssl, starttls and encrypted passwords (cram-md5).
Finding the code for a feature
(please don't do that guys, it really makes code search difficult!) so the answer the your question is, use the nsimsgfolder method "addkeywordstomessages" (and now i remember that i knew that!).
Mozilla
mozilla web developer faq this document answers questions that web authors ask frequently specifically in connection with firefox and other gecko-based browsers.
Scripting plugins - Plugins
as an answer to this large gap in the netscape plugin api, an extension to the api has been developed that lets plugins be scriptable again, independent of java.
DOM Inspector - Firefox Developer Tools
dom inspector faq answers to common questions on dom inspector.
Dominators - Firefox Developer Tools
retained size is an important concept in analyzing memory usage, because it answers the question "if this object ceases to exist, what's the total amount of memory freed?".
Network request list - Firefox Developer Tools
remote ip: the ip address of the server answering the request.
Console.timeEnd() - Web APIs
WebAPIConsoletimeEnd
examples console.time("answer time"); alert("click to continue"); console.timelog("answer time"); alert("do a bunch of other stuff..."); console.timeend("answer time"); the output from the example above shows the time taken by the user to dismiss the first alert box, followed by the time it took for the user to dismiss the second alert: notice that the timer's name is displayed when the timer value is logged using time...
Console.timeLog() - Web APIs
WebAPIConsoletimeLog
examples console.time("answer time"); alert("click to continue"); console.timelog("answer time"); alert("do a bunch of other stuff..."); console.timeend("answer time"); the output from the example above shows the time taken by the user to dismiss the first alert box, followed by the time it took for the user to dismiss the second alert: notice that the timer's name is displayed when the timer value is logged using timelo...
console - Web APIs
WebAPIConsole
for example, given this code: console.time("answer time"); alert("click to continue"); console.timelog("answer time"); alert("do a bunch of other stuff..."); console.timeend("answer time"); will log the time needed by the user to dismiss the alert box, log the time to the console, wait for the user to dismiss the second alert, and then log the ending time to the console: notice that the timer's name is displayed both when the timer is starte...
Document.all - Web APIs
WebAPIDocumentall
more information about this can be found in this answer from stackoverflow.
Using Fetch - Web APIs
llow, error referrerpolicy: 'no-referrer', // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url body: json.stringify(data) // body data type must match "content-type" header }); return response.json(); // parses json response into native javascript objects } postdata('https://example.com/answer', { answer: 42 }) .then(data => { console.log(data); // json data parsed by `data.json()` call }); note that mode: "no-cors" only allows a limited set of headers in the request: accept accept-language content-language content-type with a value of application/x-www-form-urlencoded, multipart/form-data, or text/plain sending a request with credentials included to cause browsers t...
HTMLElement.outerText - Web APIs
example see this stackoverflow answer.
HTMLFormElement.requestSubmit() - Web APIs
the answer is simple.
LocalFileSystem - Web APIs
to learn more, see this stackoverflow answer.
Using the MediaStream Recording API - Web APIs
flexbox could be the answer here, but it's a bit overkill for such a simple layout.
NavigatorID.platform - Web APIs
the specification allows browsers to always return the empty string, so don't rely on this property to get a reliable answer.
Using the Notifications API - Web APIs
<button id="enable">enable notifications</button> clicking this calls the asknotificationpermission() function: function asknotificationpermission() { // function to actually ask the permissions function handlepermission(permission) { // whatever the user answers, we make sure chrome stores the information if(!('permission' in notification)) { notification.permission = permission; } // set the button to shown or hidden, depending on what the user answers if(notification.permission === 'denied' || notification.permission === 'default') { notificationbtn.style.display = 'block'; } else { notificationbtn.style.display ...
PaymentResponse.complete() - Web APIs
it calls complete() with an answer appropriate to the status in the response.
RTCIceCandidateStats.networkType - Web APIs
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).
RTCIceTransportState - Web APIs
stun requests being sent to the remote device have gone unanswered repeatedly.
RTCOfferOptions - Web APIs
properties this dictionary also inherits properties from the rtcofferansweroptions dictionary, on which it's based.
RTCPeerConnection.createDataChannel() - Web APIs
// offerer side var pc = new rtcpeerconnection(options); var channel = pc.createdatachannel("chat"); channel.onopen = function(event) { channel.send('hi you!'); } channel.onmessage = function(event) { console.log(event.data); } // answerer side var pc = new rtcpeerconnection(options); pc.ondatachannel = function(event) { var channel = event.channel;  channel.onopen = function(event) { channel.send('hi back!'); } channel.onmessage = function(event) { console.log(event.data); } } alternatively, more symmetrical out-of-band negotiation can be used, using an agreed-upon id (0 here): // both sides var pc = new ...
RTCPeerConnection.currentLocalDescription - Web APIs
also included is a list of any ice candidates that may already have been generated by the ice agent since the offer or answer represented by the description was first instantiated.
RTCPeerConnection.currentRemoteDescription - Web APIs
also included is a list of any ice candidates that may already have been generated by the ice agent since the offer or answer represented by the description was first instantiated.
RTCPeerConnection: identityresult event - Web APIs
an identityresult event is sent to an rtcpeerconnection object's onidentityresult event handler to inform it that an assertion has been generated by an associated identity provider (idp) during the process of creating an sdp offer or answer.
RTCPeerConnection: negotiationneeded event - Web APIs
the other peer should recognize this message and follow up by creating its own rtcpeerconnection, setting the remote description with setremotedescription(), and then creating an answer to send back to the offering peer.
RTCPeerConnection.onidentityresult - Web APIs
such an event is sent when an identity assertion is generated, via getidentityassertion() or during the creation of an offer or an answer.
RTCPeerConnection.onnegotiationneeded - Web APIs
this negotiation should be carried out as the offerer, because some session changes cannot be negotiated as the answerer.
RTCPeerConnection.remoteDescription - Web APIs
the returned value typically reflects a remote description which has been received over the signaling server (as either an offer or an answer) and then put into effect by your code calling rtcpeerconnection.setremotedescription() in response.
RTCRtpCodecParameters - Web APIs
in addition to being the type of the rtcrtpparameters.codecs property, it's used when calling rtcrtptransceiver.setcodecpreferences() to configure a transceiver's codecs before beginning the offer/answer process to establish a webrtc peer connection.
RTCRtpTransceiver.direction - Web APIs
effect on offers and answers the value of direction is used by rtcpeerconnection.createoffer() or rtcpeerconnection.createanswer() in order to generate the sdp generated by each of those methods.
RTCRtpTransceiver.setCodecPreferences() - Web APIs
when preparing to open an rtcpeerconnection, you can change the codec parameters from the user agent's default configuration by calling setcodecparameters() before calling either rtcpeerconnection.createoffer() or createanswer().
RTCSessionDescription.toJSON() - Web APIs
syntax var jsonvalue = sd.tojson(); the result value is a json object containing the following values: "type", containing the value of the rtcsessiondescription.type property and can be one of the following values: "offer", "answer", "pranswer" or null.
WebGL best practices - Web APIs
however, lod meshes is usually the answer to this problem, rarely moving work from the vertex to the fragment shader.
Viewpoints and viewers: Simulating cameras in WebXR - Web APIs
it's crucial to remember that unlike typical arithmetic, where multiplication is commutative (that is, you get the same answer whether you multiply left to right or right to left), matrix multiplication is not commutative!
Window.prompt() - Web APIs
WebAPIWindowprompt
for example, if their answer should be a number, you should cast the value to number.
Web applications and ARIA FAQ - Accessibility
instead, use javascript to dynamically add aria to your page, as shown in the answer to can you show me an example of aria in action?
Multipart labels: Using ARIA for labels with embedded fields inside them - Accessibility
problem you have a form where you ask your user a question, but the answer is mentioned in the question itself.
Understandable - Accessibility
they are trying to answer a question in a quiz app).
OpenType font features guide - CSS: Cascading Style Sheets
the answer lies in the specific features that will make a site more useful, readable, and polished: ligatures like 'ff' or 'fi' make letter spacing and reading more even and smooth.
Community - Developer guides
WebGuideAJAXCommunity
shops and courses skillsmatter.com: courses and events on javascript, ajax, and reverse ajax technologies telerik.com: an active community forum for ajax community.tableau.com: community support forum and courses available for ajax codementor.io: social platform with ajax forums and tutorials lynda.com: tutorials available for learning the fundamentals of ajax ajax interview questions and answer and answerinterwiki links ...
Introduction to Web development - Developer guides
common css questions — common questions and answers for beginners intermediate css concepts — grouping, pseudo-classes and more.
Evolution of HTTP - HTTP
pipelining has been added, allowing to send a second request before the answer for the first one is fully transmitted, lowering the latency of the communication.
If-Range - HTTP
WebHTTPHeadersIf-Range
the if-range http request header makes a range request conditional: if the condition is fulfilled, the range request will be issued and the server sends back a 206 partial content answer with the appropriate body.
Index - HTTP
WebHTTPHeadersIndex
80 if-range condtional requests, http, http header, range requests, reference, request header the if-range http request header makes a range request conditional: if the condition is fulfilled, the range request will be issued and the server sends back a 206 partial content answer with the appropriate body.
HTTP range requests - HTTP
the if-range http request header makes a range request conditional: if the condition is fulfilled, the range request will be issued and the server sends back a 206 partial content answer with the appropriate body.
307 Temporary Redirect - HTTP
WebHTTPStatus307
this is useful when you want to give an answer to a put method that is not the uploaded resources, but a confirmation message (like "you successfully uploaded xyz").
A re-introduction to JavaScript (JS tutorial) - JavaScript
the answer is yes: function person(first, last) { this.first = first; this.last = last; } person.prototype.fullname = function() { return this.first + ' ' + this.last; }; person.prototype.fullnamereversed = function() { return this.last + ', ' + this.first; }; person.prototype is an object shared by all instances of person.
JavaScript data types and data structures - JavaScript
special non-data but structural type for any constructed object instance also used as data structures: new object, new array, new map, new set, new weakmap, new set, new date and almost everything made with new keyword; function : a non-data structure, though it also answers for typeof operator: typeof instance === "function".
arguments.callee - JavaScript
(adapted from a stack overflow answer by olliej) early versions of javascript did not allow named function expressions, and for this reason you could not make a recursive function expression.
Math.hypot() - JavaScript
if you use hypot() instead, you get better answer: math.hypot(1e200, 1e200) = 1.4142...e+200 .
Math.log() - JavaScript
logxy\log_x y): function getbaselog(x, y) { return math.log(y) / math.log(x); } if you run getbaselog(10, 1000) it returns 2.9999999999999996 due to floating-point rounding, which is very close to the actual answer of 3.
Object.prototype.constructor - JavaScript
unfortunately, the answer is: it depends.
isNaN() - JavaScript
the function should be interpreted as answering the question, "is this value, when coerced to a numeric value, an ieee-754 'not a number' value?" ecmascript 2015 contains the number.isnan() function.
return - JavaScript
function magic() { return function calc(x) { return x * 42; }; } var answer = magic(); answer(1337); // 56154 specifications specification ecmascript (ecma-262)the definition of 'return statement' in that specification.
JavaScript
the complete modules available there are as follows: javascript first steps answers some fundamental questions such as "what is javascript?", "what does it look like?", and "what can it do?", along with discussing key javascript features such as variables, strings, numbers, and arrays.
Digital audio concepts - Web media technologies
all of this means there is a fundamental question that has to be asked and answered before choosing a codec: given the content of the sound, the usage context, and the target audience, is it acceptable to lose some degree of audio fidelity, and if so, how much; or is it necessary that, upon decoding the data, the result be identical to the source audio?
Performance fundamentals - Web Performance
from a developer's or user's perspective, this answers the question, "what does the platform do for you?" web technologies the web platform provides many tools, some better suited for particular jobs than others.
Navigation and resource timings - Web Performance
we can use measurements we do have, to get our answer.
Caching compiled WebAssembly modules - WebAssembly
const wasmcacheversion = 1; instantiatecachedurl(wasmcacheversion, 'test.wasm').then(instance => console.log("instance says the answer is: " + instance.exports.answer()) ).catch(err => console.error("failure to instantiate: " + err) ); you can find the source code for this example on github as indexeddb-cache.html (see it live also).
Compiling an Existing C Module to WebAssembly - WebAssembly
the first question you need to answer is: how do i get the image into wasm?