Search completed in 1.46 seconds.
<address>: The Contact Address element - HTML: Hypertext Markup Language
the html <
address> element indicates that the enclosed html provides contact information for a person or people, or for an organization.
... the contact information provided by an <
address> element's contents can take whatever form is appropriate for the context, and may include any type of contact information that is needed, such as a physical
address, url, email
address, phone number, social media handle, geographic coordinates, and so forth.
... the <
address> element should include the name of the person, people, or organization to which the contact information refers.
...And 11 more matches
AddressErrors.addressLine - Web APIs
an object based on
addresserrors includes an
addressline property when validation of the
address finds one or more errors in the array of strings in the
address's
addressline.
... syntax var
addresslineerror =
addresserrors.
addressline; value if an error occurred during validation of the
address due to one of the strings in the
addressline array having an invalid value, this property is set to a domstring providing a human-readable error message explaining the validation error.
... if the payment
address object's
addressline property was determined to be valid, this property is not included in the
addresserrors dictionary.
... specifications specification status comment payment request apithe definition of '
addresserrors.
addressline' in that specification.
PaymentAddress.addressLine - Web APIs
the
addressline read-only property of the payment
address interface is an array of domstring objects, each specifying a line of the
address that is not covered by one of the other properties of payment
address.
... syntax var payment
addresslines = payment
address.
addressline; value an array of domstring objects, each containing one line of the
address.
... for example, the
addressline array for the mozilla space in london would have the following entries: example showing
addressline entries for an
address in london index
addressline[] value 0 metal box factory 1 suite 441, 4th floor 2 30 great guildford street these, combined with additional values for other properties of the payment
address, would represent the full
address, which is: mozilla metal box factory suite 441, 4th floor 30 great guildford street london se1 0hs united kingdom specifications specification status comment payment request apithe definition of 'payment
address.
addressline' in that specification.
Address Book examples
note: thunderbird and seamonkey user interfaces now reference 'contacts' not 'cards' however, as the backend still uses the 'cards' terminology, that is what is used here this article provides examples on accessing and manipulating thunderbird
address books.
...
address book interfaces provides an overview of the related interfaces.
... how do i get all
address books?
...And 40 more matches
AddressErrors - Web APIs
the
addresserrors dictionary is used by the payment request api to to report validation errors in a physical
address (typically a billing
address or a shipping
address).
... any members which is present indicates that a validation error occurred for the member of the same name in an
address described using payment
address.
...
addresserrors is the type of the object returned by shipping
addresserrors in the paymentdetailsupdate passed into paymentrequestupdateevent.updatewith() by the shipping
addresschange event handler if a change to the
address resulted in a validation error occurring.
...And 26 more matches
PaymentAddress - Web APIs
the payment
address interface of the payment request api is used to store shipping or payment
address information.
... it may be useful to refer to the universal postal union web site's
addressing s42 standard materials, which provide information about international standards for postal
addresses.
... properties payment
address.
addressline read only an array of domstring objects providing each line of the
address not included among the other properties.
...And 15 more matches
RTCIceCandidate.relatedAddress - Web APIs
the rtcicecandidate interface's read-only related
address property is a string indicating the related
address of a relay or reflexive candidate.
... if the candidate is a host candidate (that is, its ip is in fact the real ip
address of the remote peer), related
address is null.
... the related
address field's value is set when the rtcicecandidate() constructor is used.
...And 12 more matches
RTCIceCandidate.address - Web APIs
the rtcicecandidate interface's read-only
address property is a string providing the
address of the device which is the source of the candidate.
...
address is null by default if not otherwise specified.
... the
address field's value is set when the rtcicecandidate() constructor is used.
...And 10 more matches
RTCIceCandidateStats.address - Web APIs
the
address property of the rtcicecandidatestats dictionary indicates the
address of the ice candidate.
... while it's preferred that the
address be specified as an ipv4 or ipv6 numeric
address, a fully-qualified domain name can be used as well.
... when a domain name is specified, the first ip
address selected for that
address is used, even if the domain name maps to multiple ip
addresses.
...And 8 more matches
PaymentRequest.onshippingaddresschange - Web APIs
the onshipping
addresschange event of the paymentrequest interface is fired whenever the user changes their shipping
address, including when an
address is added by the user for the first time.
... syntax paymentrequest.addeventlistener('shipping
addresschange', shipping
addresschangeevent => { ...
... }); paymentrequest.onshipping
addresschange = function(shipping
addresschangeevent) { ...
...And 6 more matches
Network Addresses
this chapter describes the nspr types and functions used to manipulate network
addresses.
... network
address types and constants network
address functions the api described in this chapter recognizes the emergence of internet protocol version 6 (ipv6).
... to facilitate the transition to ipv6, it is recommended that clients treat all structures containing network
addresses as transparent objects and use the functions documented here to manipulate the information.
...And 5 more matches
PaymentRequest.shippingAddress - Web APIs
the shipping
address read-only property of the paymentrequest interface returns the shipping
address provided by the user.
... syntax var payment
address = paymentrequest.shipping
address; example generally, the user agent will fill the shipping
address property value.
...when the paymentrequest.onshipping
addresschange is called, updatedetails() is called to update the details of the paymentrequest, using shipping
address to set the correct shipping cost.
...And 4 more matches
PaymentResponse.shippingAddress - Web APIs
the shipping
address read-only property of the paymentrequest interface returns a payment
address object containing the shipping
address provided by the user.
... syntax var shipping
address = paymentrequest.shipping
address; value a payment
address object providing details comprising the shipping
address provided by the user.
... example generally, the user agent will fill the shipping
address property for you.
...And 4 more matches
PaymentAddress.region - Web APIs
the read-only region property of the payment
address interface returns a string containing the top-level administrative subdivision of the country in which the
address is located.
... syntax var paymentregion = payment
address.region; value a domstring specifying the top-level administrative subdivision within the country in which the
address is located.
... usage notes in some countries, like belgium, it's uncommon for people to provide a region as part of their postal
address.
...And 3 more matches
PaymentRequest: shippingaddresschange event - Web APIs
the shipping
addresschange event is sent to the paymentrequest object when the user selects a shipping
address or changes details of their shipping
address.
... bubbles no cancelable no interface paymentrequestupdateevent event handler property onshipping
addresschange usage notes depending on the browser, the shipping
address information may be redacted for privacy reasons.
... that is, the payment
address which contains the shipping
address may have some portions of its content altered, obscured, or left out entirely in order to prevent identifying the user without their consent (since if they choose to have you ship products to them, you'll need their
address).
...And 3 more matches
RTCPeerConnectionIceErrorEvent.address - Web APIs
the rtcpeerconnectioniceerrorevent property
address is a string which indicates the local ip
address being used to communicate with the stun or turn server during negotiations.
... the error which occurred involved this
address.
... syntax let
address = rtcpeerconnectioniceerrorevent.
address; value a domstring which specifies the local ip
address of the network connection to the ice server with which negotiations were occurring when the error occurred.
...And 3 more matches
Address book sync client design
pizzarro <rhp@netscape.com> contents overview client side sync logic public interfaces overview there is an component available in the mozilla tree for performing synchronization operations against a server based
address book.
...the static information that is held on the client for
address book sync operations is stored in a file called absync.dat which is located in the root directory of the users profile information.
... // public interfaces there is a very simple interface to the
address book sync component.
...And 2 more matches
BasicCardResponse.billingAddress - Web APIs
the billing
address property of the basiccardresponse dictionary contains the billing
address of the card used to make the payment.
... syntax "billing
address" : payment
address value a payment
address object representing the billing
address of the card.
...dick straw", "cardsecuritycode" : "999", "expirymonth" : "07", "expiryyear" : "2021", "billing
address" : { "country" : "gb", // etc.
...And 2 more matches
PaymentDetailsUpdate.shippingAddressErrors - Web APIs
the paymentdetailsupdate dictionary's shipping
addresserrors property, if present, contains an
addresserrors object whose contents provide error messages for one or more of the values in the payment
address specified as paymentrequest.shipping
address.
... syntax var
addresserrors = paymentdetailsupdate.shipping
addresserrors; value an
addresserrors object, which contains domstrings describing errors in the properties of a payment
address.
... for each property in payment
address, a property by the same name is found in shipping
addresserrors if and only if a validation error occurred for that property.
...And 2 more matches
Using addresses of stack variables with NSPR threads on win16 - Archive of obsolete content
problem statement win-16 (aka, windows 3.1, et al), is unique in that the architecture depends on the operating environment (i.e., windows) knows the
address of the stack, and that there is only one such
address.
...what is a hardship is that
addresses of dynamic variables, those allocated on the call stack, in a function's local frame, are not valid across thread boundaries.
...on win-16, the thread's attempt to
address the <tt>shareddata</tt> through the pointer shared will provide interesting (though always incorrect) results.
...what is probably more likely to cause problems is passing
addresses of automatically allocated variables to a function that wends its way though arbitrary amounts of convoluted logic, and finds its way into an object that is shared.
nsIDOMGeoPositionAddress
dom/interfaces/geolocation/nsidomgeoposition
address.idlscriptable this interface describes the geographical
address of a location, including street, city, and country information, for example.
... 1.0 66 introduced gecko 1.9.2 obsolete gecko 14.0 inherits from: nsisupports last changed in gecko 11 (firefox 11 / thunderbird 11 / seamonkey 2.8) this object is obtained from an nsidomgeoposition
address object via its
address attribute.
... street domstring the street of the
address.
... streetnumber domstring the street number of the
address.
AddressErrors.city - Web APIs
an object based on
addresserrors includes a city property when validation of the
address fails for the value given for the
address's city property.
... syntax var cityerror =
addresserrors.city; value if the value specified in the payment
address object's city property could not be validated, this property contains a domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
... if the city value was validated successfully, this property is not included in the
addresserrors object.
... specifications specification status comment payment request apithe definition of '
addresserrors.city' in that specification.
AddressErrors.country - Web APIs
an object based on
addresserrors includes a country property if during validation of the
address the specified value of country was determined to be invalid.
... syntax var countryerror =
addresserrors.country; value if an error occurred during validation of the
address due to the country property having an invalid value, this property is set to a domstring providing a human-readable error message explaining the validation error.
... if the payment
address object's country property was determined to be valid, this property is not included in the dictionary.
... specifications specification status comment payment request apithe definition of '
addresserrors.country' in that specification.
AddressErrors.dependentLocality - Web APIs
an object based on
addresserrors includes a dependentlocality property when the
address's dependentlocality property couldn't be validated.
... syntax var localityerror =
addresserrors.dependentlocality; value if the value specified in the payment
address object's dependentlocality property could not be validated, this property contains a domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
... if the dependentlocality value was validated successfully, this property is not included in the
addresserrors object.
... specifications specification status comment payment request apithe definition of '
addresserrors.dependentlocality' in that specification.
AddressErrors.languageCode - Web APIs
an object based on
addresserrors includes a languagecode property when the
address's languagecode property couldn't be validated.
... syntax var languageerror =
addresserrors.languagecode; value if the value specified in the payment
address object's languagecode property could not be validated, this property contains a domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
... if the languagecode value was validated successfully, this property is not included in the
addresserrors object.
... specifications specification status comment payment request apithe definition of '
addresserrors.languagecode' in that specification.
AddressErrors.organization - Web APIs
an object based on
addresserrors includes an organization property when the
address's organization property couldn't be validated.
... syntax var organizationerror =
addresserrors.organization; value if the value specified in the payment
address object's organization property could not be validated, this property contains a domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
... for example, if validation simply ensures that only permitted characters are included in the organization's name, this might return a string such as "the organization name may only contain the letters a-z, digits, spaces, and commas." if the organization value was validated successfully, this property is not included in the
addresserrors object.
... specifications specification status comment payment request apithe definition of '
addresserrors.organization' in that specification.
AddressErrors.phone - Web APIs
an object based on
addresserrors includes a phone property when the
address's phone property couldn't be validated.
... syntax var phoneerror =
addresserrors.phone; value if the value specified in the payment
address object's phone property could not be validated, this property contains a domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
... if the phone value was validated successfully, this property is not included in the
addresserrors object.
... specifications specification status comment payment request apithe definition of '
addresserrors.phone' in that specification.
AddressErrors.postalCode - Web APIs
an object based on
addresserrors includes a postalcode property when the
address's postalcode property couldn't be validated.
... syntax var postcodeerror =
addresserrors.postcode; value if the value specified in the payment
address object's postalcode property could not be validated, this property contains a domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
... if the postalcode value was validated successfully, this property is not included in the
addresserrors object.
... specifications specification status comment payment request apithe definition of '
addresserrors.postalcode' in that specification.
AddressErrors.recipient - Web APIs
an object based on
addresserrors includes a recipient property when the
address's recipient property couldn't be validated.
... syntax var recipienterror =
addresserrors.recipient; value if the value specified in the payment
address object's recipient property could not be validated, this property contains a domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
... if the recipient value was validated successfully, this property is not included in the
addresserrors object.
... specifications specification status comment payment request apithe definition of '
addresserrors.recipient' in that specification.
AddressErrors.region - Web APIs
an object based on
addresserrors includes a region property when the
address's region property couldn't be validated.
... syntax var regionerror =
addresserrors.region; value if the value specified in the payment
address object's region property could not be validated, this property contains a domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
... if the region value was validated successfully, this property is not included in the
addresserrors object.
... specifications specification status comment payment request apithe definition of '
addresserrors.region' in that specification.
AddressErrors.regionCode - Web APIs
an object based on
addresserrors includes a regioncode property when the
address's regioncode property couldn't be validated.
... syntax var regioncodeerror =
addresserrors.regioncode; value if the value specified in the payment
address object's regioncode property could not be validated, this property contains a domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
... if the regioncode value was validated successfully, this property is not included in the
addresserrors object.
... specifications specification status comment payment request apithe definition of '
addresserrors.regioncode' in that specification.
AddressErrors.sortingCode - Web APIs
an object based on
addresserrors includes a sortingcode property when the
address's sortingcode property couldn't be validated.
... syntax var sortingcodeerror =
addresserrors.sortingcode; value if the value specified in the payment
address object's sortingcode property could not be validated, this property contains a domstring offering a human-readable explanation of the validation error and offers suggestions for correcting it.
... if the sortingcode value was validated successfully, this property is not included in the
addresserrors object.
... specifications specification status comment payment request apithe definition of '
addresserrors.sortingcode' in that specification.
PaymentAddress.country - Web APIs
the country read-only property of the payment
address interface is a string identifying the
address's country using the iso 3166-1 alpha-2 standard.
... syntax var paymentcountry = payment
address.country; value a domstring which contains the iso3166-1 alpha-2 code identifying the country in which the
address is located, or an empty string if no country is available, which frequently can be assumed to mean "same country as the site owner." usage notes if the payment handler validates the
address and determines that the value of country is invalid, a call to paymentrequestupdateevent.updatewith() will be made with a details object containing a shipping
addresserrors field.
... that field contains an
addresserrors-compliant object whose country property is a string indicating the validation error that occurred and, if possible, suggests how to fix it.
... specifications specification status comment payment request apithe definition of 'payment
address.country' in that specification.
PaymentAddress.dependentLocality - Web APIs
the read-only dependentlocality property of the payment
address interface is a string containing a sublocality designation within a city, such as a neighborhood, borough, district, or, in the united kingdom, a dependent locality.
... syntax var paymentdependentlocality = payment
address.dependentlocality; value a domstring indicating the sublocality portion of the
address.
...this is a disambiguating feature of
addresses in places where a city may have areas that duplicate street names.
... specifications specification status comment payment request apithe definition of 'payment
address.dependentlocality' in that specification.
PaymentAddress.organization - Web APIs
the organization read-only property of the payment
address interface returns a string containing the name of the organization, firm, company, or institution at the
address.
... syntax var paymentorganization = payment
address.organization; value a domstring whose value is the name of the organization or company located at the
address described by the payment
address object.
... this should be the name of the organization that is to receive the shipment for shipping
addresses, or which is repsonsible for payment for payment
addresses.
... specifications specification status comment payment request apithe definition of 'payment
address.organization' in that specification.
PaymentAddress.regionCode - Web APIs
the regioncode read-only attribute of the payment
address interface returns a one-, two-, or three-alphanumeric code (domstring) representing the region of the
address (e.g., "ca" for california, or "11" for lisbon, portugal).
... if the browser can't determine the region code, or the country doesn't use regions for postal
addresses, it returns an empty string.
... syntax var regioncode = payment
address.regioncode; value a domstring indicating the one to three character alphanumeric code representing the region portion of the
address.
...the string is empty if the region code couldn't be determined, isn't needed for the
address's country, or was not provided.
PaymentAddress.city - Web APIs
the city read-only property of the payment
address interface returns a string containing the city or town portion of the
address.
... syntax var paymentcity = payment
address.city; value a domstring indicating the city or town portion of the
address described by the payment
address object.
... specifications specification status comment payment request apithe definition of 'payment
address.city' in that specification.
PaymentAddress.languageCode - Web APIs
the languagecode read-only property of the payment
address interface returns a string containing the bcp-47 language code for the
address.
... this is used while localizing the displayy of the
address, allowing the determination of the field separators and the order of fields when formatting the
address.
... syntax var paymentlanguagecode = payment
address.languagecode; value a domstring providing the bcp-47 format language code indicating the language the
address was written in, such as "en-us", "pt-br", or "ja-jp".
PaymentAddress.phone - Web APIs
the read-only phone property of the payment
address interface returns a string containing the telephone number of the recipient or contact person.
... syntax var paymentphone = payment
address.phone; value a domstring containing the telephone number for the recipient of the shipment or of the responsible party for payment.
... specifications specification status comment payment request apithe definition of 'payment
address.phone' in that specification.
PaymentAddress.postalCode - Web APIs
the postalcode read-only property of the payment
address interface returns a string containing a code used by a jurisdiction for mail routing, for example, the zip code in the united states or the postal index number (pin code) in india.
... syntax var paymentpostalcode = payment
address.postalcode; value a domstring which contains the postal code portion of the
address.
... specifications specification status comment payment request apithe definition of 'payment
address.postalcode' in that specification.
PaymentAddress.recipient - Web APIs
the read-only recipient property of the payment
address interface returns a string containing the name of the recipient, purchaser, or contact person at the payment
address.
... syntax var paymentrecipient = payment
address.recipient; value a domstring giving the name of the person receiving or paying for the purchase, or the name of a contact person in other contexts.
... specifications specification status comment payment request apithe definition of 'payment
address.recipient' in that specification.
PaymentAddress.sortingCode - Web APIs
the sortingcode read-only property of the payment
address interface returns a string containing a postal sorting code such as is used in france.
... syntax var sortingcode = payment
address.sortingcode; value a domstring containing the sorting code portion of the
address.
... specifications specification status comment payment request apithe definition of 'payment
address.sortingcode' in that specification.
PaymentAddress.toJSON() - Web APIs
the tojson() property of the payment
address interface is a standard serializer that returns a json representation of the payment
address object's properties.
... syntax var json = payment
address.tojson() parameters none.
<input type="email"> - HTML: Hypertext Markup Language
<input> elements of type email are used to let the user enter and edit an e-mail
address, or, if the multiple attribute is specified, a list of e-mail
addresses.
... the input value is automatically validated to ensure that it's either empty or a properly-formatted e-mail
address (or list of
addresses) before the form can be submitted.
... the :valid and :invalid css pseudo-classes are automatically applied as appropriate to visually denote whether the current value of the field is a valid e-mail
address or not.
...And 58 more matches
Index - Web APIs
29
addresserrors api,
address,
addresserrors, dictionary, errors, interface, payment
address, payment request, payment request api, reference, payment, payment
address the
addresserrors dictionary is used by the payment request api to to report validation errors in a physical
address (typically a billing
address or a shipping
address).
... 30
addresserrors.
addressline api,
addresserrors, error, payment request, payment request api, property, reference, validation,
addressline, payment an object based on
addresserrors includes an
addressline property when validation of the
address finds one or more errors in the array of strings in the
address's
addressline.
... 31
addresserrors.city api,
address,
addresserrors, error, payment request, payment request api, property, read-only, reference, city, payment an object based on
addresserrors includes a city property when validation of the
address fails for the value given for the
address's city property.
...And 50 more matches
nsIMsgHeaderParser
inherits from: nsisupports last changed in gecko 1.9 (firefox 3) to create an instance, use: var msgheaderparser = components.classes["@mozilla.org/messenger/headerparser;1"] .createinstance(components.interfaces.nsimsgheaderparser); method overview string extractheader
addressmailboxes(in string line); void extractheader
addressname(in string line, out string name); void extractheader
addressnames(in string line, out string usernames); astring makefull
address(in astring aname, in astring a
address); string makefull
addressstring(in string aname, in string a
address); wstring makefull
addresswstring(in wstring name, in wstring add...
...r); obsolete since gecko 1.9 void parseheader
addresses(in string line, out string names, out string
addresses, out pruint32 num
addresses); void parseheaderswitharray(in wstring aline, [array, size_is(count)] out wstring aemail
addresses, [array, size_is(count)] out wstring anames, [array, size_is(count)] out wstring afullnames, [retval] out unsigned long count); void reformatheader
addresses(in string line, out string reformatted
address); wstring reformatunquoted
addresses(in wstring line); void removeduplicate
addresses(in string addrs, in string other_addrs, in prbool removealiasestome, out string new
address); string unquotephraseoraddr(in string line, in boolean preserveintegrity); wstring unquotephraseoraddrwstring(in wstring line, in...
... boolean preserveintegrity); methods extractheader
addressmailboxes() given a string which contains a list of header
addresses, returns a comma-separated list of just the 'mailbox' portions.
...And 40 more matches
Index - MDN Web Docs Glossary: Definitions of Web-related terms
7 arpa glossary, infrastructure .arpa (
address and routing parameter area) is a top-level domain used for internet infrastructure purposes, especially reverse dns lookup (i.e., find the domain name for a given ip
address).
...dns maintains a list of domain names along with the resources, such as ip
addresses, that are associated with them.
...its "domain name" is a way to
address this authority as part of the hierarchy in a url - usually the most memorable part of it, for instance a brand name.
...And 18 more matches
Python binding for NSS
t_pkcs12.py deprecated functionality signaturealgorithm release 0.11.0 release date 2011-02-21 scm tag pynss_release_0_11_0 source download https://ftp.mozilla.org/pub/mozilla.org/security/python-nss/releases/pynss_release_0_11_0/src/ change log external changes add addrinfo class to support ipv6
address resolution.
... supports iteration over it's set of network
address objects and provides hostname, canonical_name object properties.
... network
address constructor and network
address.set_from_string() added optional family parameter.
...And 18 more matches
Autodial for Windows NT - Archive of obsolete content
if you turn on the autodial feature, windows will automatically dial whenever any application tries to access a network
address that can't be reached.
...if this service is running, and control panel | network connections | advanced | dialup preferences is set to enable autodial, then any application trying to access the internet will trigger the autodial feature whenever an internet
address cannot be reached.
... however, this service will won't function if you have a lan card installed, unless that particular
address has been accessed in the past via a dialup connection.
...And 12 more matches
Proxy Auto-Configuration (PAC) file - HTTP
(of course, the javascripts must be edited to reflect your site's domain name and/or subnets.) predefined functions and environment these functions can be used in building the pac file: hostname based conditions isplainhostname() dnsdomainis() localhostordomainis() isresolvable() isinnet() related utility functions dnsresolve() convert_addr() myip
address() dnsdomainlevels() url/hostname based conditions shexpmatch() time based conditions weekdayrange() daterange() timerange() logging utility alert() there was one associative array (object) already defined, because at the time javascript code was unable to define it by itself: proxyconfig.bindings note: pactester (part of the pacpa...
... examples: isresolvable("www.mozilla.org") // true isinnet() syntax isinnet(host, pattern, mask) parameters host a dns hostname, or ip
address.
... if a hostname is passed, it will be resolved into an ip
address by this function.
...And 11 more matches
What is a Domain Name? - Learn web development
they provide a human-readable
address for any web server available on the internet.
... any internet-connected computer can be reached through a public ip
address, either an ipv4
address (e.g.
... 173.194.121.32) or an ipv6
address (e.g., 2027:0da8:8b73:0000:0000:8a2e:0370:1337).
...And 10 more matches
Hacking Tips
() (gdb) once you hit the generated breakpoint, you can replace it by a gdb breakpoint to make it conditional, the procedure is to first replace the generated breakpoint by a nop instruction, and to set a breakpoint at the
address of the nop.
... step next a few times, so that the "code" variable gets generated print code->code_, which is the
address of the code disassembly code read at this
address (using x/ni
address, where n is the number of instructions you would like to see) here is an example.
...there should be a call to an
address at some point ; that's what we're targeting.
...And 9 more matches
MMgc - Archive of obsolete content
(the second switch will slow your application down a lot more than the first switch, so you could try the first, then the second.) when a missing write barrier is detected, mmgc will assert and drop you into the debugger, and will print out a message telling you which object contained the missing write barrier, the
address of the member variable that needs it, and what object didn't get marked due to the missing write barrier.
...leak detection (for unmanaged memory) when the application is exiting, mmgc will detect memory leaks in its unmanaged memory allocators and print out the
addresses and sizes of the leaked objects, and stack traces if stack traces are enabled.
...one is to save all the
addresses of all pages that had cards marked (so you don't have to bring every page into memory to check its hand, so to speak).
...And 8 more matches
Client-side form validation - Learn web development
"please enter a valid email
address" (the data you entered is not in the right format).
... minlength and maxlength: specifies the minimum and maximum length of textual data (strings) min and max: specifies the minimum and maximum values of numerical input types type: specifies whether the data needs to be a number, an email
address, or some other specific preset type.
...specifying the email type, for example, validates the inputs value against a well-formed email
address pattern or a pattern matching a comma-separated list of email
addresses if it has the multiple attribute.
...And 8 more matches
Introduction to XPCOM for the DOM
that is why each time a pointer to an interface is assigned the
address of an object, we have to increase the reference count of that object by one.
...when the pointer no longers holds the
address of that object, it has to decrease the reference count of that object by one.
...pass the
address of the pointer to the getter function.
...And 8 more matches
nsIServerSocket
to create an instance, use: var serversocket = components.classes["@mozilla.org/network/server-socket;1"] .createinstance(components.interfaces.nsiserversocket); method overview void init(in long aport, in boolean aloopbackonly, in long abacklog); void initwith
address([const] in prnetaddrptr aaddr, in long abacklog);native code only!
... void close(); void asynclisten(in nsiserversocketlistener alistener); prnetaddr get
address();native code only!
... native code only!get
address returns the
address to which this server socket is bound.
...And 8 more matches
Autoconfiguration in Thunderbird
in many cases, people should be able to download and install thunderbird, enter their real name, email
address and password in the account setup wizard and have a fully functioning mail client and get and send their mail as securely as possible.
...for more complicated setups, for example when the login name does not appear in the email
address, the xml file can also be generated by the isp.
... all the lookup mechanisms use the email
address domain as base for the lookup.
...And 8 more matches
Index
7
address book interfaces mailnews, mozilla, seamonkey, thunderbird this page contains a list of the interfaces that you'll will most likely hit when writing patches for the
address book or writing extensions.
... the complete list of interfaces for the
address book can be found here.
...
address book examples show how to perform various tasks and provide code snippets.
...And 8 more matches
Working with data
example: creating an array of strings var cstr1 = ctypes.jschar.array()('rawr'); var cstr2 = ctypes.jschar.array()('boo'); var mycarray_ofstrings = ctypes.jschar.ptr.array(2)([cstr1, cstr2]); // specifying length of 2 is optional, can omit it, so can just do `ctypes.jschar.ptr.array()([cstr1, cstr2])` mycarray_ofstrings.
addressofelement(0).contents.readstring(); // outputs: "rawr" mycarray_ofstrings.
addressofelement(1).contents.readstring(); // outputs: "boo" example: creating an array of integers var jsarr = [4, 10]; var mycarr = ctypes.int.array(jsarr.length)(jsarr); // specifying length is optional, can omit.
... this will also work: `ctypes.int.array()(jsarr)` mycarr.
addressofelement(0).contents; // outputs: 4 mycarr.
addressofelement(1).contents; // outputs: 10 type casting you can type cast data from one type to another by using the ctypes.cast() function: var newobj = ctypes.cast(origobj, newtype); this will return a new object whose data block is shared with the original object, but whose type is newtype.
... // lets create an array of long's var my = ctypes.long.array()([1, 2, 3, 4]); my.tostring(); // this outputs to browser console: `"ctypes.long.array(4)([ctypes.int64("1"), ctypes.int64("2"), ctypes.int64("3"), ctypes.int64("4")])"` my.
addressofelement(1).contents; // this outputs `int64 { }` my.
addressofelement(1).contents.tostring(); // outputs: `"2"` // now this is how to get the array of long's cast to array of int's var mycasted = ctypes.cast(my.
address(), ctypes.int.array(my.length).ptr).contents; mycasted.tostring(); // this outputs to browser console: `"ctypes.int.array(4)([1, 2, 3, 4])"` mycasted.
addressofelement(1).contents...
...And 8 more matches
Creating hyperlinks - Learn web development
hyperlinks allow us to link documents to other documents or resources, link to specific parts of documents, or make apps available at a web
address.
... almost any web content can be converted to a link so that when clicked or otherwise activated the web browser goes to another web
address (url).
... anatomy of a link a basic link is created by wrapping the text or other content, see block level links, inside an <a> element and using the href attribute, also known as a hypertext reference, or target, that contains the web
address.
...And 7 more matches
Index
instead of simply verifying that the requester of a certificate is in control of an administrative email
address at the desired web site's domain, it's required that the ca performs a verification of real world identity documents (such as a company registration document with the country's authority), and it's also required that a browser software performs a revocation check with the ca, prior to granting validity to the certificate.
... 64 nss 3.19.2 release notes network security services (nss) 3.19.2 is a patch release for nss 3.19 that
addresses compatibility issues in nss 3.19.1.
... specify list of recipients (email
addresses) for an encrypted or enveloped message.
...And 7 more matches
Index - Archive of obsolete content
in addition to being handy pointers to useful resources, bookmarks in mozilla can be used to make the
address bar itself a power tool.
... 681 using
addresses of stack variables with nspr threads on win16 nspr, outdated_articles this is a cautionary note that may be old information for some of you.
...drawing on other w3c standards like xml schema, xpath, and xml events, xforms tried to
address some of the limitations of the current html forms model.
...And 6 more matches
Introduction to Public-Key Cryptography - Archive of obsolete content
public-key cryptography uses certificates to
address the problem of impersonation.
... to get a driver's license, you typically apply to a government agency, such as the department of motor vehicles, which verifies your identity, your ability to drive, your
address, and other information before issuing the license.
...to get a library card, you may need to provide only your name and a utility bill with your
address on it.
...And 6 more matches
How the Web works - Learn web development
dns: domain name servers are like an
address book for websites.
... when you type a web
address in your browser, the browser looks at the dns to find the website's real
address before it can retrieve the website.
...this is like looking up the
address of the shop so you can access it.
...And 6 more matches
NSPR Error Handling
pr_access_fault_error one of the arguments of the preceding function specified an invalid memory
address.
... pr_illegal_access_error one of the arguments of the preceding function specified an invalid memory
address.
... pr_
address_not_available_error the network
address (prnetaddr) is not available (probably in use).
...And 6 more matches
PRHostEnt
a structure that defines a list of network
addresses.
... h_addrtype host
address type.
... for valid nspr usage, this field must have a value indicating either an ipv4 or an ipv6
address.
...And 6 more matches
PR_InitializeNetAddr
initializes or reinitializes a network
address.
... the storage for the network
address structure is allocated by, and remains the responsibility of, the calling client.
... syntax #include <prnetdb.h> prstatus pr_initializenetaddr( prnetaddrvalue val, pruint16 port, prnetaddr *addr); parameters the function has the following parameters: val the value to be assigned to the ip
address portion of the network
address.
...And 6 more matches
nsIMsgDBHdr
agged); void markhasattachments(in boolean hasattachments); void setprioritystring(in string priority); unsigned long orflags(in unsigned long flags); unsigned long andflags(in unsigned long flags); void setreferences(in string references); acstring getstringreference(in long refnum); void setrecipientsarray(in string names, in string
addresses,in unsigned long num
addresses); void setcclistarray(in string names, in string
addresses,in unsigned long num
addresses); void setbcclistarray(in string names, in string
addresses,in unsigned long num
addresses);new in thunderbird 3.1 [noscript] void getauthorcollationkey(out octetptr key, out unsigned long len); [noscript] void getsubjectcollationkey(out octet...
... setrecipientsarray() uses the header parser to recreate the recipients header from an array of names and
addresses.
... void setrecipientsarray(in string names, in string
addresses, in unsigned long num
addresses); parameters names a null-delimited list of recipient names.
...And 6 more matches
LDAP Support
mail compose typedown in mail compose, when typing a partial mail
address, a typedown window appears listing possible matches against
address books and ldap directories.
... ldap schema the following table summarizes the schema used by thunderbird to map between ldap attributes and attributes within the the
address book.
... some notes about the relationship: there is a many to one relationship between ldap attributes and its
address book counterpart.
...And 6 more matches
HTML attribute: multiple - HTML: Hypertext Markup Language
the email input displays the same, but will match the :invalid pseudo-class if more than one comma-separated email
address is included if the attribute is not present.
... when multiple is set on the email input type, the user can inlclude zero (if not also required), one or more comma-separated email
addresses.
... <input type="email" multiple name="emails" id="emails"> if and only if the multiple attribute is specified, the value can be a list of properly-formed comma-separated e-mail
addresses.
...And 6 more matches
No Proxy For configuration - Archive of obsolete content
entry points: preferences | advanced | proxies control-click menu for off line-online icon (network plug) configuration the no proxy list is composed of either domain elements or ipv4
address elements.
...s not block the main domain (mozilla.org) a hostname (without domain) hostname-only (see problems below) "localhost" also blocks any possible domains that start with the entry ("www.otherdomain.localhost") a hostname (with domain) domain name "www.mozilla.org" does not block hostnames or domains that end in the same string (other-www.mozilla.org) an ip
address ip
address "1.2.3.4" does not block hostnames that resolve to the ip
address ("127.0.0.1" does not block "localhost") a network network w/ cidr block "10.0.0.0/8" does not block hostnames that resolve to the ip
address range (10.0.0.0/8 is not "no proxy for intranet hostnames") optional - port-specific (optional) ":" + port number "<filter>:81" only bl...
...for example: "https://mycompanyintranet/" formats that are not accepted example domain filters with interior wildcards www.*.com ip
address string prefixes 127.
...And 5 more matches
UI pseudo-classes - Learn web development
for example: <form> <fieldset> <legend>feedback form</legend> <div> <label for="fname">first name: </label> <input id="fname" name="fname" type="text" required> </div> <div> <label for="lname">last name: </label> <input id="lname" name="lname" type="text" required> </div> <div> <label for="email">email
address (include if you want a response): </label> <input id="email" name="email" type="email"> </div> <div><button>submit</button></div> </fieldset> </form> here, the first name and last name are required, but the email
address is optional.
...the email input on the other hand is valid when empty, as it is not required, but invalid when it contains something that is not a proper email
address.
...a classic example is a shipping form — commonly you'll get asked if you want to use the same
address for billing and shipping; if so, you can just send a single
address to the server, and might as well just disable the billing
address fields.
...And 5 more matches
Investigating leaks using DMD heap scan mode
analyzing the logs getting the pid and
address of the leaking object the first step is to figure out the pid of the leaking process.
... the second step is to figure out the
address of the leaking object, usually a window.
... * 0x7f0897082c00: this is the
address of the leaking window.
...And 5 more matches
PRNetAddr
type used with socket manipulation functions to specify a network
address.
...6 family; char data[14]; } raw; struct { pruint16 family; pruint16 port; pruint32 ip; char pad[8]; } inet; #if defined(_pr_inet6) struct { pruint16 family; pruint16 port; pruint32 flowinfo; pripv6addr ip; } ipv6; #endif /* defined(_pr_inet6) */ }; typedef union prnetaddr prnetaddr; fields the structure has the following fields: family
address family: pr_af_inet|pr_af_inet6 for raw.family, pr_af_inet for inet.family, pr_af_inet6 for ipv6.family.
... data raw
address data.
...And 5 more matches
PR_Bind
binds an
address to a specified socket.
... addr a pointer to a prnetaddr object representing the
address to which the socket will be bound.
... returns the function returns one of the following values: upon successful binding of an
address to a socket, pr_success.
...And 5 more matches
Handling Mozilla Security Bugs
version 1.1 important: anyone who believes they have found a mozilla-related security vulnerability can and should report it by sending email to
address security@mozilla.org.
...at the same time, mozilla.org is also creating a larger "mozilla security bug group" by which mozilla contributors and others can participate in
addressing security vulnerabilities in mozilla.
... note that the focus of this new structure is restricted solely to
addressing actual security vulnerabilities arising from problems in mozilla code.
...And 5 more matches
nsIDNSRecord
since a dns query may return more than one resolved ip
address, the record acts like an enumerator, allowing the caller to easily step through the list of ip
addresses.
... methods native code only!getnextaddr this function copies the value of the next ip
address into the given prnetaddr struct and increments the internal
address iterator.
... return value the value of the next ip
address.
...And 5 more matches
RTCIceCandidate.relatedPort - Web APIs
if the candidate is a host candidate (that is, its ip is in fact the real ip
address of the remote peer), relatedport is null.
...you can't specify the value of relatedport in the options object, but the
address is automatically extracted from the candidate a-line, if it's formatted properly, being taken from its rel-port field.
... the related
address (related
address) and port are not used at all by ice itself; they are provided for analysis and diagnostic purposes only, and their inclusion may be blocked by security systems, so do not rely on them having non-null values.
...And 5 more matches
Lifetime of a WebRTC session - Web APIs
it’s so big that years ago, smart people saw how big it was, how fast it was growing, and the limitations of the 32-bit ip
addressing system, and realized that something had to be done before we ran out of
addresses to use, so they started working on designing a new 64-bit
addressing system.
... but they realized that it would take longer to complete the transition than 32-bit
addresses would last, so other smart people came up with a way to let multiple computers share the same 32-bit ip
address.
... network
address translation (nat) is a standard which supports this
address sharing by handling routing of data inbound and outbound to and from devices on a lan, all of which are sharing a single wan (global) ip
address.
...And 5 more matches
XUL Template Primer - Bindings - Archive of obsolete content
netscape.com/nc-rdf#friends" object="?friends"/> <member container="?friends" child="?friend"/> <triple subject="?friend" predicate="http://home.netscape.com/nc-rdf#name" object="?name"/> </conditions> <bindings> <binding subject="?friend" predicate="http://home.netscape.com/nc-rdf#
address" object="?addr"/> <binding subject="?addr" predicate="http://home.netscape.com/nc-rdf#street" object="?street"/> </bindings> <action> <hbox uri="?friend"> <label value="?name"/> <label value="?street"/> </hbox> </action> </rule> </template> </vbox> </w...
...see the rdf/xml file friends.rdf, below, a simple database with name and
address information for some of my good friends.
... <?xml version="1.0"?> <rdf:rdf xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:nc="http://home.netscape.com/nc-rdf#"> <rdf:description about="urn:root"> <nc:friends> <rdf:seq> <rdf:li> <rdf:description nc:name="alison appel"> <nc:
address resource="#home"/> </rdf:description> </rdf:li> <rdf:li> <rdf:description nc:name="jack"> <nc:
address resource="#doghouse"/> </rdf:description> </rdf:li> <rdf:li> <rdf:description nc:name="lumpy"/> </rdf:li> </rdf:seq> </nc:friends> </rdf:description> <rdf:description id="home" nc:street="437 hoffman"/> <rdf:description id="doghouse" nc:street="435 hoffman"/> </rdf:rdf> the rdf model that this f...
...And 4 more matches
Describing microformats in JavaScript - Archive of obsolete content
possible values are: datetime an iso date anyuri a uri email an email
address tel a telephone number html html including tags float a floating-point number microformat a microformat microformat_property a specific property within the microformat specified by microformat.
... custom custom data a simple example the hcard microformat for defining contact information makes use of the adr microformat to define an
address.
... the adr microformat is defined as follows: var adr_definition = { mfversion: 0.8, mfobject: adr, classname: "adr", properties: { "type" : { plural: true, types: ["work", "home", "pref", "postal", "dom", "intl", "parcel"] }, "post-office-box" : { }, "street-
address" : { plural: true }, "extended-
address" : { }, "locality" : { }, "region" : { }, "postal-code" : { }, "country-name" : { } } }; the properties are quite simple here.
...And 4 more matches
What is a URL? - Learn web development
a url is nothing more than the
address of a given unique resource on the web.
... deeper dive basics: anatomy of a url here are some examples of urls: https://developer.mozilla.org https://developer.mozilla.org/docs/learn/ https://developer.mozilla.org/search?q=url any of those urls can be typed into your browser's
address bar to tell it to load the associated page (resource).
...alternatively, it is possible to directly use an ip
address, but because it is less convenient, it is not often used on the web.
...And 4 more matches
JS::Add*Root
vp js::heap<js::value> the
address of the js::value variable to root.
... rp js::heap<jsstring *> the
address of the jsstring * variable to root.
... rp js::heap<jsobject *> the
address of the jsobject * variable to root.
...And 4 more matches
nsIAbCard
the nsiabcard interface is used to represent and manipulate cards in the
addressbook.
... following a huge refactoring of the
address book code, most of the documentation below is out of date.
... workphone astring homephone astring faxnumber astring pagernumber astring cellularnumber astring workphonetype astring homephonetype astring faxnumbertype astring pagernumbertype astring cellularnumbertype astring home
address astring home
address2 astring homecity astring homestate astring homezipcode astring homecountry astring work
address astring work
address2 astring workcity astring workstate astring workzipcode astring workcountry ...
...And 4 more matches
Alerts - Accessibility
examples of common problems include e-mail
addresses which are not valid, or a name field which does not contain at least a first name or a surname.
... here is a simple form: <form method="post" action="post.php"> <fieldset> <legend>please enter your contact details</legend> <label for="name">your name (required):</label> <input name="name" id="name" aria-required="true"/> <br /> <label for="email">e-mail
address (required):</label> <input name="email" id="email" aria-required="true"/> <br /> <label for="website">website (optional):</label> <input name="website" id="website"/> </fieldset> <label for="message">please enter your message (required):</label> <br /> <textarea name="message" id="message" rows="5" cols="80" aria-required="true"></textarea> <br /> ...
... <input type="submit" name="submit" value="send message"/> <input type="reset" name="reset" value="reset form"/> </form> checking for validity and notifying the user form validations consists of several steps: checking if the e-mail
address or entered name are valid.
...And 4 more matches
MCD, Mission Control Desktop, AKA AutoConfig - Archive of obsolete content
this centralized preference file can lock preferences (lockpref) or initialize them (defaultpref) based on environment variables (user, home...) and/or ldap queries (fetch email
address, common name , language, homepage etc...) from the enterprise directory.
... autoconfig directives here we want to set users central mail preferences: create one account from their login name, get their email
address from an ldap request and set the enterprise imap and smtp servers.
... thunderbird.cfg (version 1) here's the complete file, first we get the user login name from environment variables, then configure the ldap
address book, create an email account, and configure imap and smtp: [root@calaz /usr/lib/thunderbird] $ cat thunderbird.cfg //put everything in a try/catch try { // 1) env variables if(getenv("user") != "") { // *nix settings var env_user = getenv("user"); var env_home = getenv("home"); } else { // windows settings var env_user = getenv("username"); var env_home = getenv("homepath"); } var env_mozdebug= getenv("mozilla_debug"); // var env_user = prompt("indiquez votre login", toto); // 2) lock general preferences //ldap
address ...
...And 3 more matches
Bookmark Keywords - Archive of obsolete content
in addition to being handy pointers to useful resources, bookmarks in mozilla can be used to make the
address bar itself a power tool.
...once that's done, all it takes to go to the cnn home page would be to type <tt>cnn</tt> into the
address bar.
... with that done, all you have to do in the future is type <tt>bz</tt> followed by a space and the bug's number into mozilla's
address bar, and the browser will jump right to the bug with that number.
...And 3 more matches
Hidden prefs - Archive of obsolete content
address book "get map" button pref ("mail.addr_book.mapit_url.format" ) the format for this pref is: @a1 ==
address, part 1 @a2 ==
address, part 2 @ci == city @st == state @zi == zip code @co == country if the pref is set to "", no "get map" button will appear in the
addressbook card preview pane.
... the default (defined in mailnews.js) is: pref("mail.addr_book.mapit_url.format", "http://www.mapquest.com/maps/map.adp...st&zipcode=@zi");
addressbook quick search query pref ("mail.addr_book.quicksearchquery.format" ) the format for this pref is: @v == the escaped value typed in the quick search bar in the
addressbook every occurance of @v will be replaced.
...mail composition "other header" pref ("mail.compose.other.header") the format for this a comma delimited list of mail headers, like "approved,x-no-archive" an example for your prefs.js would be: user_pref("mail.compose.other.header", "approved"); this will cause "approved" to show up in the compose window
address picker, under to:, cc:, bcc:, newsgroup:, etc.
...And 3 more matches
WebRTC connectivity - Web APIs
the description includes information about the kind of media being sent, its format, the transfer protocol being used, the endpoint's ip
address and port, and other information needed to describe a media transfer endpoint.
...this exchange is handled using interactive connectivity establishment (ice, a protocol which lets two devices use an intermediary to exchange offers and answers even if the two devices are separated by network
address translation (nat).
... udp candidate types udp candidates (candidates with their protocol set to udp) can be one of these types: host a host candidate is one for which its ip
address is the actual, direct ip
address of the remote peer.
...And 3 more matches
Introduction to WebRTC protocols - Web APIs
it needs to bypass firewalls that would prevent opening connections, give you a unique
address if like most situations your device doesn’t have a public ip
address, and relay data through a server if your router doesn’t allow you to directly connect with peers.
... stun session traversal utilities for nat (stun) (acronym within an acronym) is a protocol to discover your public
address and determine any restrictions in your router that would prevent a direct connection with a peer.
... the client will send a request to a stun server on the internet who will reply with the client’s public
address and whether or not the client is accessible behind the router’s nat.
...And 3 more matches
<input type="url"> - HTML: Hypertext Markup Language
this doesn't necessarily mean the url
address exists, but it is at least formatted correctly.
...this can help avoid cases in which the user mis-types their web site's
address, or provides an invalid one.
...in its most basic form, a url input can be implemented like this: <input id="myurl" name="myurl" type="url"> notice that it's considered valid when empty and when a single validly-formatted url
address is entered, but is otherwise not considered valid.
...And 3 more matches
X-Forwarded-For - HTTP
the x-forwarded-for (xff) header is a de-facto standard header for identifying the originating ip
address of a client connecting to a web server through an http proxy or a load balancer.
... when traffic is intercepted between clients and servers, server access logs contain the ip
address of the proxy or load balancer only.
... to see the original ip
address of the client, the x-forwarded-for request header is used.
...And 3 more matches
HTTP Index - HTTP
154 from http, reference, header the from request header contains an internet email
address for a human user who controls the requesting user agent.
... 174 referer http, reference, header, referer, referrer the referer request header contains the
address of the previous web page from which a link to the currently requested page was followed.
... 200 x-forwarded-for http, http header, non-standard, reference, request header, header the x-forwarded-for (xff) header is a de-facto standard header for identifying the originating ip
address of a client connecting to a web server through an http proxy or a load balancer.
...And 3 more matches
Extentsions FAQ - Archive of obsolete content
<https://bugzilla.mozilla.org/show_bug.cgi?id=312818> "thunderbird requires domain in
addresses and doesn't always add default" there is an extension that allows what you want attached to one of the comments in this bug.
...it allows bouncing to arbitrary
addresses.
... it seems what you want is a one button access to that extension with a prefilled bounce
address, right?
...And 2 more matches
How does the Internet work? - Learn web development
thus any computer linked to a network has a unique
address that identifies it, called an "ip
address" (where ip stands for internet protocol).
... it's an
address made of a series of four numbers separated by dots, for example: 192.168.2.10.
... that's perfectly fine for computers, but we human beings have a hard time remembering that sort of
address.
...And 2 more matches
The HTML5 input types - Learn web development
e-mail
address field this type of field is set using the value email for the type attribute: <input type="email" id="email" name="email"> when this type is used, the user is required to type a valid email
address into the field.
... you can also use the multiple attribute in combination with the email input type to allow several email
addresses to be entered in the same input (separated by commas): <input type="email" id="email" name="email" multiple> on some devices — notably, touch devices with dynamic keyboards like smart phones — a different virtual keypad might be presented that is more suitable for entering email
addresses, including the @ key.
... note that a@b is a valid email
address according to the default provided constraints.
...And 2 more matches
Test your skills: Form validation - Learn web development
change the type of the "email
address" and "phone number" fields to make the browser apply some more specific validation suitable for the data being asked for.
... all of the email
addresses for our users consist of one or more letters (lower or upper case) or numbers, followed by "@bigcorp.eu".
... form validation 3 in our final task for this set, we are providing you with a similar example to what you saw in the accompanying article — a simple email
address entry input.
...And 2 more matches
Introduction to automated testing - Learn web development
this should happen automatically after you verify your e-mail
address.
...this should happen automatically after you verify your e-mail
address.
...this should happen automatically after you verify your e-mail
address.
...And 2 more matches
PRIOMethods
connect connect to the specified network
address.
... bind associate a network
address with the file descriptor.
... sendto send bytes to specified network
address.
...And 2 more matches
PR_NetAddrToString
converts a character string to a network
address.
... syntax #include <prnetdb.h> prstatus pr_netaddrtostring( const prnetaddr *addr, char *string, pruint32 size); parameters the function has the following parameters: addr a pointer to the network
address to be converted.
... description the network
address to be converted (addr) may be either an ipv4 or ipv6
address structure, assuming that the nspr library and the host system are both configured to utilize ipv6
addressing.
...And 2 more matches
NSS tools : certutil
use the exact nickname or alias of the ca certificate, or use the ca's email
address.
... --email email-
address specify the email
address of a certificate to list.
... -7 emailaddrs add a comma-separated list of email
addresses to the subject alternative name extension of a certificate or certificate request that is being created or added to the database.
...And 2 more matches
JS_Add*Root
vp jsval * (in js_addvalueroot and js_addnamedvalueroot) the
address of the jsval variable to root spp jsstring ** (in js_addstringroot and js_addnamedstringroot) the
address of the jsstring* variable to root opp jsobject ** (in js_addobjectroot and js_addnamedobjectroot) the
address of the jsobject* variable to root rp void ** (in js_addgcthingroot and js_addnamedgcthingroot) the
address of the jsstring* or jsobject* (...
... vp/spp/opp/rp is the
address of a c/c++ variable (or field, or array element) of type jsstring *, jsobject *, or jsval.
...note that this means that if the root is meant to live past the end of a function, the
address of a local (stack-based) variable may not be used for rp.
...And 2 more matches
Exploitable crashes
if you see a hex
address such as 0x292c2830 rather than a function name such as nslistboxbodyframe::getrowcount at the top of the stack, a bug has caused the program to transfer control to a "random" part of memory that isn't part of the program.
...the last number, in this case 0x00000000, is the memory
address firefox was prevented from accessing.
... if the
address is always zero (or close to zero, such as 0x0000001c), it's probably a null dereference bug.
...And 2 more matches
Index
228 nsiabcard interfaces, interfaces:scriptable, xpcom, xpcom api reference, thunderbird the nsiabcard interface is used to represent and manipulate cards in the
addressbook.
... following a huge refactoring of the
address book code, most of the documentation below is out of date.
... 466 nsidnsrecord interfaces, interfaces:scriptable, xpcom, xpcom interface reference this function copies the value of the next ip
address into the given prnetaddr struct and increments the internal
address iterator.
...And 2 more matches
nsISocketTransport
disable_ipv6 2 when this flag is set, the socket will ignore any ipv6
addresses the host may offer and will only attempt to connect to ipv4
addresses.
... methods native code only!getpeeraddr returns the ip
address of the socket connection peer.
...return value an prnetaddr containing the resolved ip
address.
...And 2 more matches
Using the Multiple Accounts API
it includes a user's full name and e-mail
address.
...john smith preference: mail.identity.identity.useremail - the user's e-mail
address, i.e.
... jsmith@isp.com preference: mail.identity.identity.reply_to - reply to
address during message composition, should only be used if different than useremail.
...And 2 more matches
Add to iPhoto
addimagebyurl: function(src) { corefoundation.init(); carbon.init(); appservices.init(); // download the image var filepath = this.downloadimage(src); var mutablearray = corefoundation.cfarraycreatemutable(null, 1, corefoundation.kcftypearraycallbacks.
address()); if (mutablearray) { var url = corefoundation.cfurlcreatefromfilesystemrepresentation(null, filepath, filepath.length, false); corefoundation.cfarrayappendvalue(mutablearray, url); corefoundation.cfrelease(url); // call launch services to open iphoto and deliver the image var ref = new carbon.struct_fsref; var appparams = appservices.struct_lsapplicationparameters(0...
..., 1, ref.
address(), null, null, null, null); var appstr = "file:///applications/iphoto.app"; var appstrcf = corefoundation.cfstringcreatewithcharacters(null, appstr, appstr.length); var appurl = corefoundation.cfurlcreatewithstring(null, appstrcf, null); corefoundation.cfrelease(appstrcf); var b = corefoundation.cfurlgetfsref(appurl, ref.
address()); if (!b) { var stringsbundle = document.getelementbyid("string-bundle"); alert(stringsbundle.getstring('alert_download_error_string')); } else { var array = ctypes.cast(mutablearray, corefoundation.cfarrayref); appservices.lsopenurlswithrole(array, 0, null, appparams.
address(), null, 0); } corefoundation.cfrelease(appurl); // clean up corefoundation.cfrelease(array); } appser...
...so we start by calling corefoundation.cfarraycreatemutable() to create a mutable array with room for one item, specifying the
address of the standard callback routines exported by core foundation using the syntax corefoundation.kcftypearraycallbacks.
address().
...And 2 more matches
BasicCardResponse - Web APIs
the basiccardresponse dictionary (related to the payment request api, although defined in the basic card payment spec) defines an object structure for payment response details such as the number/expiry date of the card used to make the payment, and the billing
address.
... basiccardresponse.billing
address read only secure context optional contains the billing
address of the card used to make the payment.
...dick straw", "cardsecuritycode" : "999", "expirymonth" : "07", "expiryyear" : "2021", "billing
address" : { "country" : "gb", // etc.
...And 2 more matches
How to create a DOM tree - Web APIs
dynamically creating a dom tree consider the following xml document: <?xml version="1.0"?> <people> <person first-name="eric" middle-initial="h" last-name="jung"> <
address street="321 south st" city="denver" state="co" country="usa"/> <
address street="123 main st" city="arlington" state="ma" country="usa"/> </person> <person first-name="jed" last-name="brown"> <
address street="321 north st" city="atlanta" state="ga" country="usa"/> <
address street="123 west st" city="seattle" state="wa" country="usa"/> <
address street="321 south avenue" city="d...
...ted by mozilla, can be used to create an in-memory representation of this document like so: var doc = document.implementation.createdocument("", "", null); var peopleelem = doc.createelement("people"); var personelem1 = doc.createelement("person"); personelem1.setattribute("first-name", "eric"); personelem1.setattribute("middle-initial", "h"); personelem1.setattribute("last-name", "jung"); var
addresselem1 = doc.createelement("
address");
addresselem1.setattribute("street", "321 south st");
addresselem1.setattribute("city", "denver");
addresselem1.setattribute("state", "co");
addresselem1.setattribute("country", "usa"); personelem1.appendchild(
addresselem1); var
addresselem2 = doc.createelement("
address");
addresselem2.setattribute("street", "123 main st");
addresselem2.setattribute("city", "a...
...rlington");
addresselem2.setattribute("state", "ma");
addresselem2.setattribute("country", "usa"); personelem1.appendchild(
addresselem2); var personelem2 = doc.createelement("person"); personelem2.setattribute("first-name", "jed"); personelem2.setattribute("last-name", "brown"); var
addresselem3 = doc.createelement("
address");
addresselem3.setattribute("street", "321 north st");
addresselem3.setattribute("city", "atlanta");
addresselem3.setattribute("state", "ga");
addresselem3.setattribute("country", "usa"); personelem2.appendchild(
addresselem3); var
addresselem4 = doc.createelement("
address");
addresselem4.setattribute("street", "123 west st");
addresselem4.setattribute("city", "seattle");
addresselem4.setattribute("state", "wa");
addresselem4.setattribute("country", "usa"); personelem2.appe...
...And 2 more matches
Payment Request API - Web APIs
credentials management: users can manage their credit cards and shipping
addresses directly in the browser.
... interfaces payment
address an object that contains
address information; used for billing and shipping
addresses, for example.
... dictionaries
addresserrors a dictionary containing strings providing descriptive explanations of any errors in any payment
address entries which have errors.
...And 2 more matches
RTCIceCandidate.type - Web APIs
you can't specify the value of type in the options object, but the
address is automatically extracted from the candidate a-line, if it's formatted properly, being taken from its cand-type field.
... host the candidate is a host candidate, whose ip
address as specified in the rtcicecandidate.ip property is in fact the true
address of the remote peer.
... srflx the candidate is a server reflexive candidate; the ip indicates an intermediary
address assigned by the stun server to represent the candidate's peer anonymously.
...And 2 more matches
RTCIceCandidate - Web APIs
properties candidate read only a domstring representing the transport
address for the candidate that can be used for connectivity checks.
... the format of this
address is a candidate-attribute as defined in rfc 5245.
... foundation read only returns a domstring containing a unique identifier that is the same for any candidates of the same type, share the same base (the
address from which the ice agent sent the candidate), and come from the same stun server.
...And 2 more matches
Range.setStart() - Web APIs
examples highlight part of an element this example uses the range.setstart() and range.setend() methods to add part of an
address to a range.
... the
address contains nine nodes: five text nodes, and four <br> elements.
... html <p id="
address">wyatt earp<br> 101 e.
...And 2 more matches
ValidityState.typeMismatch - Web APIs
the email input type expects one or more valid email
addresses, depending on whether the multiple attribute is present.
... a valid email
address includes an email prefix and a domain, with or without a top level domain.
... if the value of the email input is not an empty string, a single valid e-mail
address, or one or more comma separated email
address if the multiple attribute is present, there is a typemismatch.
...And 2 more matches
HTML documentation index - HTML: Hypertext Markup Language
51 the html autocomplete attribute
addresses, attribute, email
addresses, forms, html, input, phone numbers, reference, select, text, usernames, autocomplete, form, passwords, textarea autocomplete lets web developers specify what if any permission the user agent has to provide automated assistance in filling out form field values, as well as guidance to the browser as to the type of information expected in the field.
... 55 <a>: the anchor element content, element, html, html text-level semantics, html:flow content, html:interactive content, html:palpable content, html:phrasing content, inline element, reference, web the html <a> element (or anchor element), with its href attribute, creates a hyperlink to web pages, files, email
addresses, locations in the same page, or anything else a url can
address.
... 58 <
address>: the contact
address element
address, author, contact, contact information, element, email, email
address, html, html sections, html:flow content, html:palpable content, reference, web the html <
address> element indicates that the enclosed html provides contact information for a person or people, or for an organization.
...And 2 more matches
Index - HTTP
75 from http, reference, header the from request header contains an internet email
address for a human user who controls the requesting user agent.
... 94 referer http, reference, header, referer, referrer the referer request header contains the
address of the previous web page from which a link to the currently requested page was followed.
... 118 x-forwarded-for http, http header, non-standard, reference, request header, header the x-forwarded-for (xff) header is a de-facto standard header for identifying the originating ip
address of a client connecting to a web server through an http proxy or a load balancer.
...And 2 more matches
Closures - JavaScript
<p id="help">helpful notes will appear here</p> <p>e-mail: <input type="text" id="email" name="email"></p> <p>name: <input type="text" id="name" name="name"></p> <p>age: <input type="text" id="age" name="age"></p> function showhelp(help) { document.getelementbyid('help').innerhtml = help; } function setuphelp() { var helptext = [ {'id': 'email', 'help': 'your e-mail
address'}, {'id': 'name', 'help': 'your full name'}, {'id': 'age', 'help': 'your age (you must be over 16)'} ]; for (var i = 0; i < helptext.length; i++) { var item = helptext[i]; document.getelementbyid(item.id).onfocus = function() { showhelp(item.help); } } } setuphelp(); try running the code in jsfiddle.
... one solution in this case is to use more closures: in particular, to use a function factory as described earlier: function showhelp(help) { document.getelementbyid('help').innerhtml = help; } function makehelpcallback(help) { return function() { showhelp(help); }; } function setuphelp() { var helptext = [ {'id': 'email', 'help': 'your e-mail
address'}, {'id': 'name', 'help': 'your full name'}, {'id': 'age', 'help': 'your age (you must be over 16)'} ]; for (var i = 0; i < helptext.length; i++) { var item = helptext[i]; document.getelementbyid(item.id).onfocus = makehelpcallback(item.help); } } setuphelp(); run the code using this jsfiddle link.
... one other way to write the above using anonymous closures is: function showhelp(help) { document.getelementbyid('help').innerhtml = help; } function setuphelp() { var helptext = [ {'id': 'email', 'help': 'your e-mail
address'}, {'id': 'name', 'help': 'your full name'}, {'id': 'age', 'help': 'your age (you must be over 16)'} ]; for (var i = 0; i < helptext.length; i++) { (function() { var item = helptext[i]; document.getelementbyid(item.id).onfocus = function() { showhelp(item.help); } })(); // immediate event listener attachment with the current value of item (...
...And 2 more matches
Populating the page: how browsers work - Web Performance
it occurs whenever a user requests a page by entering a url into the
address bar, clicking a link, submitting a form, as well as other actions.
...if you navigate to https://example.com, the html page is located on the server with ip
address of 93.184.216.34.
... your browser requests a dns lookup, which is eventually fielded by a name server, which in turn responds with an ip
address.
...And 2 more matches
Understanding WebAssembly text format - WebAssembly
linear memory exposes the raw contents of stored values as bytes and this would allow wasm content to arbitrarily observe and corrupt raw function
addresses, which is something that cannot be allowed on the web.
...this is symmetric to a native application where multiple compiled .dlls share a single process’s
address space.
...mory" (memory 1)) (import "js" "table" (table 1 funcref)) (elem (i32.const 0) $shared0func) (func $shared0func (result i32) i32.const 0 i32.load) ) shared1.wat: (module (import "js" "memory" (memory 1)) (import "js" "table" (table 1 funcref)) (type $void_to_i32 (func (result i32))) (func (export "doit") (result i32) i32.const 0 i32.const 42 i32.store ;; store 42 at
address 0 i32.const 0 call_indirect (type $void_to_i32)) ) these work as follows: the function shared0func is defined in shared0.wat, and stored in our imported table.
...And 2 more matches
Finding window handles - Archive of obsolete content
tp/nsapplication/orderfront: * [nswindowptr orderfront:nil] */ var orderfront = sel_registername('orderfront:'); var nswindowptr = ctypes.voidptr_t(ctypes.uint64(nswindowstring)); var rez_orderfront = objc_msgsend(nswindowptr, orderfront, nil); console.log('rez_orderfront:', rez_orderfront, rez_orderfront.tostring()); objc.close(); unix under unix systems, the nativehandle holds a string
address to a gdkwindow* (the asterik/star means pointer).
... var gdkwindow = ctypes.structtype('gdkwindow'); var gpointer = ctypes.voidptr_t; var gtkwindow = ctypes.structtype('gtkwindow'); var gdkwindowptrstring = basewindow.nativehandle; var gdkwinptr = gdkwindow.ptr(ctypes.uint64(gdkwindowptrstring)); var gptr = gpointer(); gdk_window_get_user_data(gdkwinptr, gptr.
address()); var gtkwinptr = ctypes.cast(gptr, gtkwindow.ptr); working with gtkwindow* gtkwindow* to xid // soon to come gtkwindow* to gdkwindow* how to get a gdkwindow* from the gtkwindow*?
...kwindow* to gtkwindow* example above var gdkwindowptrstring = basewindow.nativehandle; var gdkwinptr = gdkwindow.ptr(ctypes.uint64(gdkwindowptrstring)); var gdk = ctypes.open('libgdk-x11-2.0.so.0'); var gdk_window_get_user_data = gdk.declare('gdk_window_get_user_data', ctypes.default_abi, ctypes.void_t, gdkwindow.ptr, gpointer.ptr); var gptr = gpointer(); gdk_window_get_user_data(gdkwinptr, gptr.
address()); var gtkwinptr = ctypes.cast(gptr, gtkwindow.ptr); // we now have gtkwindow* */ // lets take it back to gdkwindow* var gtk = ctypes.open('libgtk-x11-2.0.so.0'); var gtk_widget_get_window = gtk.declare('gtk_widget_get_window', ctypes.default_abi, gdkwindow.ptr, gtkwidget.ptr); // for getgdkwindowfromgtkwindow var gtkwidgetptr = ctypes.cast(gtkwinptr, gtkwidget.ptr); var backto_gdkwinptr = g...
...developer.gnome.org/gdk2/stable/gdk2-x-window-system-interaction.html#gdk-x11-get-server-time var gdk_x11_get_server_time = gdk.declare('gdk_x11_get_server_time', ctypes.default_abi, guint32, gdkwindow.ptr); var browserwindow_madeintogdkwinptr = gdkwindow.ptr(ctypes.uint64(gdkwindowptrstring)); var gptr = gpointer(); var rez_gwgud = gdk_window_get_user_data(browserwindow_madeintogdkwinptr, gptr.
address()); console.info('rez_gwgud:', rez_gwgud, /*rez_gwgud.tostring(),*/ uneval(rez_gwgud)); // return is void so cant do .tostring on it var browserwindow_madeintogtkwindowptr = ctypes.cast(gptr, gtkwindow.ptr); // focusing window this way is better, so it maintains proper history in case you or some other app want to focus "most recent window" by timestamp // var rez_gst = gdk_x11_get_server_time(...
Mozilla Crypto FAQ - Archive of obsolete content
the questions in this faq
address mozilla's support for encryption and related security functionality, information important to mozilla contributors relating to encryption functionality in mozilla, and general questions on u.s.
...export of source code for open source software is
addressed in part 740 (pdf), section 740.13(e), "unrestricted encryption source code"; export of binaries is
addressed in 740.17.
...see the mozilla open source pki projects pages for the names and email
addresses of the mozilla module owners for crypto-related code.
...presidential executive orders
address export of encryption software from the u.s.
Special Condition Tests - Archive of obsolete content
for instance, we might use the following: <vbox datasources="template-guide-streets.rdf" ref="http://www.xulplanet.com/rdf/myneighbourhood"> <template> <rule parent="vbox"> <groupbox uri="rdf:*"> <caption label="rdf:http://purl.org/dc/elements/1.1/title"/> </groupbox> </rule> <rule> <label uri="rdf:*" value="rdf:http://www.xulplanet.com/rdf/
address"/> </rule> </template> </vbox> on the first pass, the container where generated content would be inserted is a <vbox>, so the first rule will match and a captioned <groupbox> will be created.
...> <member container="?start" child="?item"/> </query> <rule parent="vbox"> <binding subject="?item" predicate="http://purl.org/dc/elements/1.1/title" object="?title"/> <action> <groupbox uri="?item"> <caption label="?title"/> </groupbox> </action> </rule> <rule> <binding subject="?item" predicate="http://www.xulplanet.com/rdf/
address" object="?
address"/> <action> <label uri="?item" value="?
address"/> </action> </rule> </template> </vbox> containment tests for rdf sources, the simple rule syntax supports two special conditional tests that are commonly used with multiple rules.
...bourhood" type="menu" datasources="template-guide-streets.rdf" ref="http://www.xulplanet.com/rdf/myneighbourhood"> <template> <rule iscontainer="true"> <menupopup> <menu uri="rdf:*" label="rdf:http://purl.org/dc/elements/1.1/title"/> </menupopup> </rule> <rule> <menupopup> <menuitem uri="rdf:*" label="rdf:http://www.xulplanet.com/rdf/
address"/> </menupopup> </rule> </template> </button> the only difference in the code in this example is that the order of the rules has been switched around, the condition check for house has been removed and the iscontainer attribute has been added.
...for instance, we might add the following to the previous example: <button label="houses in my neighbourhood" type="menu" datasources="template-guide-streets.rdf" containment="http://www.xulplanet.com/rdf/
address" ref="http://www.xulplanet.com/rdf/myneighbourhood"> the houses do have a value for the 'http://www.xulplanet.com/rdf/
address' predicate, so they will also be considered to be containers as well, resulting in another level of menus.
What is the difference between webpage, website, web server, and search engine? - Learn web development
you can perform search engine searches directly in the
address bar of firefox, chrome, etc.) or through a web page (e.g.
... all web pages available on the web are reachable through a unique
address.
... to access a page, just type its
address in your browser
address bar: web site a website is a collection of linked web pages (plus their associated resources) that share a unique domain name.
... to access a website, type its domain name in your browser
address bar, and the browser will display the website's main web page, or homepage (casually referred as "the home"): the ideas of a web page and a website are especially easy to confuse for a website that contains only one web page.
What is a web server? - Learn web development
an http server is software that understands urls (web
addresses) and http (the protocol your browser uses to view webpages).
... a dedicated web server can have the same ip
address all the time.
... this is known as a dedicated ip
address.
... (not all isps provide a fixed ip
address for home lines) a dedicated web server is typically maintained by a third-party.
Mozilla DOM Hacking Guide
we pass the
address of this nsiid object to the second macro.
...the mprotochaininterface member pointer is initialized to the
address of the iid of the interface passed as an argument to dom_classinfo_map_begin.
... #define dom_classinfo_map_entry(_if) &ns_get_iid(_if), the array of pointers interface_list is filled with the
addresses of the iid's of all the interfaces passed as arguments to the macro.
...the line d.minterfaces = interface_list assigns to minterfaces the
address of the first element of the interface_list array, which is itself a pointer.
About NSPR
network
addresses part of nspr deals with manipulation of network
addresses.
... nspr defines a network
address object that is internet protocol (ip) centric.
... while the object is not declared as opaque, the api provides methods that allow and encourage clients to treat the
addresses as polymorphic items.
...to that end it is possible to perform translations of ascii strings (dns names) into nspr's network
address structures, with no regard to whether the
addressing technology is ipv4 or ipv6.
PR_AcceptRead
on return, peeraddr points to the
address of the remote socket.
... buf a pointer to a buffer to hold data sent by the peer and the peer's
address.
... this buffer must be large enough to receive amount bytes of data and two prnetaddr structures (thus allowing the runtime to align the
addresses as needed).
... description pr_acceptread accepts a new connection and retrieves the newly created socket's descriptor and the connecting peer's
address.
PR_CEnterMonitor
syntax #include <prcmon.h> prmonitor* pr_centermonitor(void *
address); parameter the function has the following parameter:
address a reference to the data that is to be protected by the monitor.
... returns the function returns one of the following values: if successful, the function returns a pointer to the prmonitor associated with the value specified in the
address parameter.
... description pr_centermonitor uses the value specified in the
address parameter to find a monitor in the monitor cache, then enters the lock associated with the monitor.
... if no match is found, an available monitor is associated with the
address and the monitor's entry count is incremented (so it has a value of one).
PR_CNotify
syntax #include <prcmon.h> prstatus pr_cnotify(void *
address); parameter the function has the following parameter:
address the
address of the monitored object.
... the calling thread must be in the monitor defined by the value of the
address.
... returns pr_success indicates that the calling thread is the holder of the mutex for the monitor referred to by the
address parameter.
... description using the value specified in the
address parameter to find a monitor in the monitor cache, pr_cnotify notifies single a thread waiting for the monitor's state to change.
PR_EnumerateHostEnt
evaluates each of the possible
addresses of a prhostent structure, acquired from pr_gethostbyname or pr_gethostbyaddr.
... syntax #include <prnetdb.h> printn pr_enumeratehostent( printn enumindex, const prhostent *hostent, pruint16 port, prnetaddr *
address); parameters the function has the following parameters: enumindex the index of the enumeration.
...to continue an enumeration (thereby getting successive
addresses from the host entry structure), the value should be set to the function's last returned value.
...
address on input, a pointer to a prnetaddr structure.
PR_GetHostByAddr
looks up a host entry by its network
address.
... syntax #include <prnetdb.h> prstatus pr_gethostbyaddr( const prnetaddr *hostaddr, char *buf, printn bufsize, prhostent *hostentry); parameters the function has the following parameters: hostaddr a pointer to the ip
address of host in question.
... description pr_gethostbyaddr is used to perform reverse lookups of network
addresses.
... that is, given a valid network
address (of type prnetaddr), pr_gethostbyaddr discovers the
address' primary name, any aliases, and any other network
addresses for the same host.
PR_StringToNetAddr
converts a character string to a network
address.
... addr on output, the equivalent network
address.
... description for ipv4
addresses, the input string represents numbers in the internet standard "." notation.
... ipv6
addresses are indicated as strings using ":" characters separating octets, with numerous caveats for shortcutting (see rfc #1884).
nss tech note4
if ssl server, this will get you the server's cert handle don't forget to clean up the cert handle when you're done with it void cert_destroycertificate(certcertificate *cert); some info is readily available cert->subjectname (char*) cert->issuername (char*) cert->emailaddr (char*) or char *cert_getcertificateemail
address(certcertificate *cert); cert->keyusage (unsigned int) to break the issuer and subject names into components pass &(cert->issuer) or &(cert->subject) to the following functions char *cert_getcommonname(certname *name); char *cert_getcertemail
address(certname *name); char *cert_getcountryname(certname *name); char *cert_getlocalityname(cer...
... } extensions++; } } an example custom cert extension struct _mycertextdata { secitem version; secitem street
address; secitem phonenum; secitem rfc822name; secitem id; secitem maxusers; }; typedef struct _mycertextdata mycertextdata; /* template used for decoding the extension */ const sec_asn1template mycertexttemplate[] = { { sec_asn1_sequence, 0, null, sizeof( mycertextdata ) }, { sec_...
...asn1_integer, offsetof(mycertextdata, version) }, { sec_asn1_octet_string, offsetof( mycertextdata, street
address ) }, { sec_asn1_octet_string, offsetof( mycertextdata, phonenum ) }, { sec_asn1_octet_string, offsetof( mycertextdata, rfc822name ) }, { sec_asn1_octet_string, offsetof( mycertextdata, id ) }, { sec_asn1_integer, offsetof(mycertextdata, maxusers ) }, { 0 } }; /* oid for my cert extension - replace 0xff with appropriate values*/ static const unsigned char myoid[] = { 0xff, 0xff, 0xff, 0xff, ....
... /* free the secitem fields */ secitem_freeitem(&data.version, pr_false); secitem_freeitem(&data.street
address, pr_false); ......
NSS functions
inishcertificaterequestattributes mxr 3.10 and later cert_finishextensions mxr 3.5 and later cert_formatname mxr 3.2 and later cert_freedistnames mxr 3.2 and later cert_freenicknames mxr 3.2 and later cert_getavatag mxr 3.2 and later cert_getcertchainfromcert mxr 3.4 and later cert_getcertemail
address mxr 3.2 and later cert_getcertificatenames mxr 3.10 and later cert_getcertificaterequestextensions mxr 3.10 and later cert_getcertissuerandsn mxr 3.2 and later cert_getcertnicknames mxr 3.2 and later cert_getcerttrust mxr 3.2 and later cert_getcertuid mxr 3.2 and later cert_getclassicocspdisab...
... 3.12 and later cert_getclassicocspenabledsoftfailurepolicy mxr 3.12 and later cert_getcommonname mxr 3.2 and later cert_getcountryname mxr 3.2 and later cert_getdbcontentversion mxr 3.2 and later cert_getdefaultcertdb mxr 3.2 and later cert_getdomaincomponentname mxr 3.2 and later cert_getfirstemail
address mxr 3.7 and later cert_getlocalityname mxr 3.2 and later cert_getnextemail
address mxr 3.7 and later cert_getnextgeneralname mxr 3.10 and later cert_getnextnameconstraint mxr 3.10 and later cert_getocspresponsestatus mxr 3.6 and later cert_getocspstatusforcertid mxr 3.6 and later cert_getoidstr...
...reate mxr 3.2 and later nss_cmssignerinfo_createwithsubjkeyid mxr 3.6 and later nss_cmssignerinfo_destroy mxr 3.2 and later nss_cmssignerinfo_getcertlist mxr 3.2 and later nss_cmssignerinfo_getsignercommonname mxr 3.2 and later nss_cmssignerinfo_getsigneremail
address mxr 3.2 and later nss_cmssignerinfo_getsigningcertificate mxr 3.2 and later nss_cmssignerinfo_getsigningtime mxr 3.2 and later nss_cmssignerinfo_getverificationstatus mxr 3.2 and later nss_cmssignerinfo_getversion mxr 3.2 and later nss_cmssignerinfo_includece...
... sec_pkcs7encoderupdate mxr 3.2 and later sec_pkcs7getcertificatelist mxr 3.2 and later sec_pkcs7getcontent mxr 3.2 and later sec_pkcs7getencryptionalgorithm mxr 3.2 and later sec_pkcs7getsignercommonname mxr 3.4 and later sec_pkcs7getsigneremail
address mxr 3.4 and later sec_pkcs7getsigningtime mxr 3.4 and later sec_pkcs7includecertchain mxr 3.2 and later sec_pkcs7iscontentempty mxr 3.2 and later sec_pkcs7setcontent mxr 3.4 and later sec_pkcs7verifydetachedsignature mxr 3.4 and later ...
certutil
use the exact nickname or alias of the ca certificate, or use the ca's email
address.
... -7 emailaddrs add a comma-separated list of email
addresses to the subject alternative name extension of a certificate or certificate request that is being created or added to the database.
... $ certutil -s -k rsa|dsa|ec -n certname -s subject [-c issuer |-x] -t trustargs -d [sql:]directory [-m serial-number] [-v valid-months] [-w offset-months] [-p phone] [-1] [-2] [-3] [-4] [-5 keyword] [-6 keyword] [-7 email
address] [-8 dns-names] [--extaia] [--extsia] [--extcp] [--extpm] [--extpc] [--extia] [--extskid] the series of numbers and --ext* options set certificate extensions that can be added to the certificate when it is generated by the ca.
... certutil -c -c issuer -i cert-request-file -o output-file [-m serial-number] [-v valid-months] [-w offset-months] -d [sql:]directory [-1] [-2] [-3] [-4] [-5 keyword] [-6 keyword] [-7 email
address] [-8 dns-names] for example: $ certutil -c -c "my-ca-cert" -i /home/certs/cert.req -o cert.cer -m 010 -v 12 -w 1 -d sql:/home/my/sharednssdb -1 nonrepudiation,dataencipherment -5 sslclient -6 clientauth -7 jsmith@example.com generating key pairs key pairs are generated automatically with a certificate request or certificate, but they can also be generated independently using the ...
JS::Remove*Root
vp js::heap<js::value>
address of the js::value variable to remove from the root set.
... rp js::heap<jsstring *>
address of the jsstring * variable to remove from the root set.
... rp js::heap<jsobject *>
address of the jsobject * variable to remove from the root set.
... rp js::heap<jsscript *>
address of the jsscript * variable to remove from the root set.
JS_Remove*Root
vp jsval *
address of the jsval variable to remove from the root set.
... spp jsstring *
address of the jsstring* variable to remove from the root set.
... opp jsobject *
address of the jsobject* variable to remove from the root set.
... rp void **
address of the pointer variable to remove from the root set.
nsIDNSService
resolve_disable_ipv6 (1 << 5) if this flag is set, only ipv4
addresses will be returned by asyncresolve() and resolve().
...nsicancelable asyncresolve( in autf8string ahostname, in unsigned long aflags, in nsidnslistener alistener, in nsieventtarget alistenertarget ); parameters ahostname the host name or ip-
address-literal to resolve.
...nsidnsrecord resolve( in autf8string ahostname, in unsigned long aflags ); parameters ahostname the host name or ip-
address-literal to resolve.
...teinstance(components.interfaces.nsidnsservice); let thread = components.classes["@mozilla.org/thread-manager;1"] .getservice(components.interfaces.nsithreadmanager).currentthread; let host = "www.mozilla.org"; let listener = { onlookupcomplete: function(request, record, status) { if (!components.issuccesscode(status)) { // handle error here return; } let
address = record.getnextaddrasstring(); console.log(host + " = " +
address); } }; dnsservice.asyncresolve(host, 0, listener, thread); ...
nsIEffectiveTLDService
ns_error_host_is_ip_
address this exception is thrown if auri is a numeric ipv4 or ipv6
address.
... ns_error_host_is_ip_
address this exception is thrown if ahost is a numeric ipv4 or ipv6
address.
... ns_error_host_is_ip_
address this exception is thrown if auri is a numeric ipv4 or ipv6
address.
... ns_error_host_is_ip_
address this exception is thrown if ahost is a numeric ipv4 or ipv6
address.
nsIHttpChannelInternal
local
address autf8string the local ip
address to which the channel is bound, in the same format produced by pr_netaddrtostring().
... this may be either an ipv4 or ipv6
address.
... note: if network
address translation (nat) is in effect, this may not be the same
address the remote host thinks it is talking to.
... obsolete since gecko 1.9 remote
address autf8string the ip
address of the remote host to which this channel is bound, in the same format produced by pr_netaddrtostring().
Getting Started Guide
*/ ns_if_release(mfooptr); // error: |release| is private mfooptr = afooptr; ns_if_addref(mfooptr); // error: |addref| is private second: you can't just pass the
address of an nscomptr to a getter expecting to return a result through a raw xpcom interface pointer parameter.
... nsresult nscacherecord::getfilespec( nsifilespec** afilespec ) /* ...fills in the callers |nsfilespec*| (which the caller supplied the
address of) with a copy of my member variable |mfilespec|, an |nscomptr|.
... void f( nscomptr<t>* ) avoid passing an nscomptr by
address, if possible this practice requires callers to have an nscomptr, and requires them to do a little extra work, as operator& for nscomptrs is private (to help prevent leaks caused by casting; also see bug 59414).
... nscomptr<nsifoo> myfoo = ...; f(
address_of(myfoo) ); void f( nscomptr<t>& ) do pass an nscomptr by reference for `in/out' parameters this is the prefered scheme for providing `in/out' parameters.
Xray vision
/* the sandbox script: * redefines object.prototype.tosource() * creates a person() constructor that: * defines a value property "firstname" using assignment * defines a value property which shadows "constructor" * defines a value property "
address" which is a simple object * defines a function fullname() * using defineproperty, defines a value property on person "lastname" * using defineproperty, defines an accessor property on person "middlename", which has some unexpected accessor behavior */ var sandboxscript = 'object.prototype.tosource = function() {'+ ' return "not what you expected?";' + '...
...};' + 'function person() {' + ' this.constructor = "not a constructor";' + ' this.firstname = "joe";' + ' this.
address = {"street" : "main street"};' + ' this.fullname = function() {' + ' return this.firstname + " " + this.lastname;'+ ' };' + '};' + 'var me = new person();' + 'object.defineproperty(me, "lastname", {' + ' enumerable: true,' + ' configurable: true,' + ' writable: true,' + ' value: "smith"' + '});' + 'object.defineproperty(me, "middlename", {' + ...
...ndbox("https://example.org/"); components.utils.evalinsandbox(sandboxscript, sandbox); // 1) trying to access properties in the prototype that have been redefined // (non-own properties) will show the original 'native' version // note that functions are not included in the output console.log("1) property redefined in the prototype:"); console.log(sandbox.me.tosource()); // -> "({firstname:"joe",
address:{street:"main street"}, lastname:"smith"})" // 2) trying to access properties on the object that shadow properties // on the prototype will show the original 'native' version console.log("2) property that shadows the prototype:"); console.log(sandbox.me.constructor); // -> function() // 3) value properties defined by assignment to this are visible: console.log("3) value property defined by assi...
...sible: console.log("4) value property defined by defineproperty"); console.log(sandbox.me.lastname); // -> "smith" // 5) accessor properties are not visible console.log("5) accessor property"); console.log(sandbox.me.middlename); // -> undefined // 6) accessing a value property of a value-property object is fine console.log("6) value property of a value-property object"); console.log(sandbox.me.
address.street); // -> "main street" // 7) functions defined on the sandbox-defined object are not visible in the xray console.log("7) call a function defined on the object"); try { console.log(sandbox.me.fullname()); } catch (e) { console.error(e); } // -> typeerror: sandbox.me.fullname is not a function // now with waived xrays console.log("now with waived xrays"); console.log("1) property redef...
Standard OS Libraries
en-us/library/windows/desktop/dd162805%28v=vs.85%29.aspx var point = new ctypes.structtype("tagpoint", [ { "x": ctypes.long }, { "y": ctypes.long } ]); /* declare the signature of the function we are going to call */ var getcursorpos = lib.declare('getcursorpos', ctypes.winapi_abi, ctypes.bool, point.ptr ); /* use it like this */ var point = point(); var ret = getcursorpos(point.
address()); components.utils.reporterror(ret); components.utils.reporterror(point); lib.close(); resources for winapi githubgists :: noitidart / search · winapi - winapi js-ctypes snippets that can be copied and pasted to scratchpad com see using com from js-ctypes.
... gint.ptr, // x gint.ptr, // y gdkmodifiertype.ptr // mask ); var winroot_gdkwindowptr = gdk_get_default_root_window(); console.info('winroot_gdkwindowptr:', winroot_gdkwindowptr, winroot_gdkwindowptr.tostring()); // gdk2 var x = gint(); var y = gint(); var mask = gdkmodifiertype(); var win_undermouse = gdk_window_get_pointer( winroot_gdkwindowptr, x.
address(), y.
address(), mask.
address() ); console.info('win_undermouse:', win_undermouse, win_undermouse.tostring()); console.info('x:', x, x.tostring()); console.info('y:', y, y.tostring()); console.info('mask:', mask, mask.tostring()); gdk.close(); example: gdk_window_get_device_position this example works only for gdk3, as the function gdk_window_get_device_position was not available in gd...
... gdk_get_default_root_window(); var displayptr = gdk_window_get_display(winroot_gdkwindowptr); var device_managerptr = gdk_display_get_device_manager(displayptr); var deviceptr = gdk_device_manager_get_client_pointer(device_managerptr); var x = gint(); var y = gint(); var mask = gdkmodifiertype(); var win_undermouse = gdk_window_get_device_position( winroot_gdkwindowptr, deviceptr, x.
address(), y.
address(), mask.
address() ); console.info('win_undermouse:', win_undermouse, win_undermouse.tostring()); console.info('x:', x, x.tostring()); console.info('y:', y, y.tostring()); console.info('mask:', mask, mask.tostring()); gdk.close(); gdk3.close(); gtk+ the gtk+ toolkit can also be used.
... ctypes.default_abi, ctypes.int, display_ptr ); let display = xopendisplay(null); let rootwindow = xrootwindow(display, 0); let root = new window(); let child = new window(); let rootx = new ctypes.int(); let rooty = new ctypes.int(); let windowx = new ctypes.int(); let windowy = new ctypes.int(); let mask = new ctypes.unsigned_int(); xquerypointer(display, rootwindow, root.
address(), child.
address(), rootx.
address(), rooty.
address(), windowx.
address(), windowy.
address(), mask.
address() ); xclosedisplay(display); components.utils.reporterror(rootx.value + "," + rooty.value); x11.close(); resources for x11 extended window manager hints githubgists :: noitidart / search · x11 - x11 js-ctypes snippets that can be copied and pasted to scratchpa...
CData
method overview methods available on all cdata objects cdata
address() string tosource() string tostring() properties properties of all cdata objects property type description constructor ctype the data type of the cdata object, as a ctype.
... methods available on all cdata objects
address() returns a cdata object of the pointer type ctypes.pointertype(dataobject.constructor) whose value points to the c object referred to by the object.
... cdata
address() parameters none.
...ar fromcharcode = [] for (var i=0; i<ptrasarr.length; i++) { //if known_len is correct, then will not hit null terminator so like in example of "_scratchpad/entehandle.js at master · noitidart/_scratchpad mdnfirefox" if you pass length of 77, then null term will not get hit by this loop as null term is at pos 77 and we go till `< known_len` var thisunsignedcharcode = ptrasarr.
addressofelement(i).contents; if (thisunsignedcharcode == 0) { // reached null terminator, break console.log('reached null terminator, at pos: ', i); break; } charcode.push(thisunsignedcharcode); fromcharcode.push(string.fromcharcode(thisunsignedcharcode)); } console.info('charcode:', charcode)...
PayerErrors.email - Web APIs
if the payer's email
address passed validation, this property is not included in the payererrors object.
... syntax payeremail = payererrors.email; value if validation of the payer's email
address (paymentresponse.payeremail) found problems, this property should be set to a domstring that explains the validation problem and how to correct it.
... if the email
address is valid, this property should be omitted from the payererrors object.
... example function validatepayment(response) { const correctionpromises let paymenterrors = {}; let payererrors = {}; // check payer details if (!validemail(response.payeremail)) { payererrors.email = "please make sure you enter a valid email
address." } if (!validname(response.payername)) { payererrors.email = "please enter a valid name, using only <appropriate characters>." } if (!validphone(response.payerphone)) { payererrors.phone = "please enter a valid phone number in the form ###-###-####." } // check everything else too...
PaymentRequest - Web APIs
paymentrequest.shipping
address read only secure context if requested via payment options, returns the shipping
address chosen by the user for the purposes of calculating shipping.
...additionally, in some browsers, the parts of the
address will be redacted for privacy until the user indicates they are ready to complete the transaction (i.e., they hit "pay").
... shipping
addresschange secure context dispatched whenever the user changes their shipping
address.
... also available using the onshipping
addresschange event handler property.
RTCIceCandidate.port - Web APIs
the rtcicecandidate interface's read-only port property contains the port number on the device at the
address given by ip at which the candidate's peer can be reached.
... syntax var port = rtcicecandidate.port; value a 16-bit number indicating the port number on the device at the
address indicated by ip at which the candidate's peer can be reached.
... example this code snippet fetches the ip
address and port number of the candidate, storing them into an object for future use.
... var candidateloc = {
address: candidate.ip, port: candidate.port } specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcicecandidate.port' in that specification.
RTCIceCandidateStats.candidateType - Web APIs
syntax candidatetype = rtcicecandidatestats.candidatetype; value a domstring whose value is one of the strings found in the rtcicecandidatetype enumerated type:host the candidate is a host candidate, whose ip
address as specified in the rtcicecandidate.ip property is in fact the true
address of the remote peer.
... srflx the candidate is a server reflexive candidate; the ip indicates an intermediary
address assigned by the stun server to represent the candidate's peer anonymously.
... prflx the candidate is a peer reflexive candidate; the ip is an intermediary
address assigned by the stun server to represent the candidate's peer anonymously.
...the relay candidate's ip
address is an
address the turn server uses to forward the media between the two peers.
RTCIceCandidateType - Web APIs
host the candidate is a host candidate, whose ip
address as specified in the rtcicecandidate.ip property is in fact the true
address of the remote peer.
... srflx the candidate is a server reflexive candidate; the ip indicates an intermediary
address assigned by the stun server to represent the candidate's peer anonymously.
... prflx the candidate is a peer reflexive candidate; the ip is an intermediary
address assigned by the stun server to represent the candidate's peer anonymously.
...the relay candidate's ip
address is an
address the turn server uses to forward the media between the two peers.
Writing a WebSocket server in C# - Web APIs
tcplistener constructor: tcplistener(system.net.ip
address localaddr, int port) localaddr specifies the ip of the listener, and port specifies the port.
... to create an ip
address object from a string, use the parse static method of ip
address.
... here's a barebones server implementation: ​using system.net.sockets; using system.net; using system; class server { public static void main() { tcplistener server = new tcplistener(ip
address.parse("127.0.0.1"), 80); server.start(); console.writeline("server has started on 127.0.0.1:80.{0}waiting for a connection...", environment.newline); tcpclient client = server.accepttcpclient(); console.writeline("a client connected."); } } tcpclient methods: system.net.sockets.networkstream getstream() gets the stream which is the communication channel.
...ncoded.length; i++) { decoded[i] = (byte)(encoded[i] ^ mask[i % 4]); } put together wsserver.cs // // csc wsserver.cs // wsserver.exe using system; using system.net; using system.net.sockets; using system.text; using system.text.regularexpressions; class server { public static void main() { string ip = "127.0.0.1"; int port = 80; var server = new tcplistener(ip
address.parse(ip), port); server.start(); console.writeline("server has started on {0}:{1}, waiting for a connection...", ip, port); tcpclient client = server.accepttcpclient(); console.writeline("a client connected."); networkstream stream = client.getstream(); // enter to an infinite cycle to be able to handle every change in stream while (tru...
Using CSS animations - CSS: Cascading Style Sheets
<p>the caterpillar and alice looked at each other for some time in silence: at last the caterpillar took the hookah out of its mouth, and
addressed her in a languid, sleepy voice.</p> note: reload page to see the animation, or click the codepen button to see the animation in the codepen environment.
... p { animation-duration: 3s; animation-name: slidein; } @keyframes slidein { from { margin-left: 100%; width: 300%; } 75% { font-size: 300%; margin-left: 25%; width: 150%; } to { margin-left: 0%; width: 100%; } } <p>the caterpillar and alice looked at each other for some time in silence: at last the caterpillar took the hookah out of its mouth, and
addressed her in a languid, sleepy voice.</p> this tells the browser that 75% of the way through the animation sequence, the header should have its left margin at 25% and the width should be 150%.
... p { animation-duration: 3s; animation-name: slidein; animation-iteration-count: infinite; } adding it to the existing code: @keyframes slidein { from { margin-left: 100%; width: 300%; } to { margin-left: 0%; width: 100%; } } <p>the caterpillar and alice looked at each other for some time in silence: at last the caterpillar took the hookah out of its mouth, and
addressed her in a languid, sleepy voice.</p> making it move back and forth that made it repeat, but it’s very odd having it jump back to the start each time it begins animating.
...s; animation-name: slidein; animation-iteration-count: infinite; animation-direction: alternate; } and the rest of the code: @keyframes slidein { from { margin-left: 100%; width: 300%; } to { margin-left: 0%; width: 100%; } } <p>the caterpillar and alice looked at each other for some time in silence: at last the caterpillar took the hookah out of its mouth, and
addressed her in a languid, sleepy voice.</p> using animation shorthand the animation shorthand is useful for saving space.
Line-based placement with CSS Grid - CSS: Cascading Style Sheets
addressing each item individually we can place all four items spanning row and column tracks.
...these lines can be
addressed as -1, and you can count back from there – so the penultimate line is -2.
...start: -1; grid-row-end: -4; } .box2 { grid-column-start: -3; grid-column-end: -4; grid-row-start: -1; grid-row-end: -3; } .box3 { grid-column-start: -2; grid-column-end: -3; grid-row-start: -1; grid-row-end: -2; } .box4 { grid-column-start: -2; grid-column-end: -4; grid-row-start: -3; grid-row-end: -4; } stretching an item across the grid being able to
address the start and end lines of the grid is useful as you can then stretch an item right across the grid with: .item { grid-column: 1 / -1; } gutters or alleys the css grid specification includes the ability to add gutters between column and row tracks with the grid-column-gap and grid-row-gap properties.
...anything starting at that line starts after the gap and you cannot
address the gap or place anything into it.
HTML attribute: rel - HTML: Hypertext Markup Language
not allowed annotation annotation pingback gives the
address of the pingback server that handles pingbacks to the current document.
... external resource not allowed not allowed tag gives a tag (identified by the given
address) that applies to the current document.
... pingback gives the
address of the pingback server that handles pingbacks to the current document.
... tag valid for the <a>, and <area> elements, it gives a tag (identified by the given
address) that applies to the current document.
<input>: The Input (Form Input) element - HTML: Hypertext Markup Language
<input type="datetime-local" name="datetime-local"/> html5 email a field for editing an email
address.
...a value is required or must be check for the form to be submittable size email, password, tel, text size of the control src image same as src attribute for <img>;
address of image resource step numeric types incremental values that are valid.
...for instance, a browser could integrate with a device's contacts list to autocomplete email
addresses in an email input field.
... multiple the boolean multiple attribute, if set, means the user can enter comma separated email
addresses in the email widget or can choose more than one file with the file input.
Microformats - HTML: Hypertext Markup Language
the value of each property is defined in html using the class property any element can carry example h-card <p class="h-card"> <img class="u-photo" src="http://example.org/photo.png" alt="" /> <a class="p-name u-url" href="http://example.org">joe bloggs</a> <a class="u-email" href="mailto:joebloggs@example.com">joebloggs@example.com</a>, <span class="p-street-
address">17 austerstræti</span> <span class="p-locality">reykjavík</span> <span class="p-country-name">iceland</span> </p> property description p-name the full/formatted name of the person or organization.
... u-email email
address u-photo a photo of the person or organization u-url home page or other url representing the person or organization u-uid universally unique identifier, preferably canonical url p-street-
address street number + name p-locality city/town/village p-country-name country name nested h-card example <div class="h-card"> <a class="p-name u-url" href="http://blog.lizardwrangler.com/" >mitchell baker</a> (<a class="p-org h-card" href="http://mozilla.org/" >mozilla foundation</a>) </div> parsed json: { "items": [{ "type": ["h-card"], "properties": { "name": ["mitchell baker"], "url": ["http://blog.lizardwrangler.com/"], "org": [{ "value": "mozilla foun...
...-event"> <h2 class="p-name">indieweb summit</h2> <time class="dt-start" datetime="2019-06-29t09:00:00-07:00">june 29, 2019 at 9:00am (-0700)</time><br>through <time class="dt-end" datetime="2019-06-30t18:00:00-07:00">june 30, 2019 at 6:00pm (-0700)</time><br> <div class="p-location h-card"> <div> <span class="p-name">mozilla</span> </div> <div> <span class="p-street-
address">1120 nw couch st</span>, <span class="p-locality">portland</span>, <span class="p-region">oregon</span>, <span class="p-country">us</span> </div> <data class="p-latitude" value="45.52345"></data> <data class="p-longitude" value="-122.682677"></data> </div> <div class="e-content">come join us </div> <div> <span class="p-author h-card"><a cla...
...": [ "2019-06-30t18:00:00-07:00" ], "published": [ "2019-05-25t18:00:00-07:00" ], "content": [ { "html": "come join us", "value": "come join us", "lang": "en" } ], "location": [ { "type": [ "h-card" ], "properties": { "name": [ "mozilla" ], p-street-
address: [ "1120 nw couch st" ] "locality": [ "portland" ], "region": [ "oregon" ], "country": [ "us" ], "latitude": [ "45.52345" ], "longitude": [ "-122.682677" ] }, "lang": "en", "value": "mozilla" } ] }, "lang": "en" } ], ...
Identifying resources on the Web - HTTP
urls and urns urls the most common form of uri is the uniform resource locator (url), which is known as the web
address.
... https://developer.mozilla.org https://developer.mozilla.org/docs/learn/ https://developer.mozilla.org/search?q=url any of those urls can be typed into your browser's
address bar to tell it to load the associated page (resource).
...common schemes are: scheme description data data uris file host-specific file names ftp file transfer protocol http/https hyper text transfer protocol (secure) javascript url-embedded javascript code mailto electronic mail
address ssh secure shell tel telephone urn uniform resource names view-source source code of the resource ws/wss (encrypted) websocket connections authority www.example.com is the domain name or authority that governs the namespace.
...alternatively, it is possible to directly use an ip
address, but because it is less convenient, it is not often used on the web.
Proxy servers and tunneling - HTTP
forward proxies can also be anonymous proxies and allow users to hide their ip
address while browsing the web or using other internet services.
... forwarding client information through proxies proxies can make requests appear as if they originated from the proxy's ip
address.
...the ip
address of the original client is often used for debugging, statistics, or generating location-dependent content.
... or the de-facto standard versions: x-forwarded-for identifies the originating ip
addresses of a client connecting to a web server through an http proxy or a load balancer.
Using the WebAssembly JavaScript API - WebAssembly
in a native implementation of c/c++, a function pointer is represented by the raw
address of the function’s code in the process’s virtual
address space and so, for the safety reasons mentioned above, cannot be stored directly in linear memory.
... one module instance can use 0–1 memory instances, which provide the "
address space" of the instance.
... one module instance can use 0–1 table instances — this is the "function
address space" of the instance, used to implement c function pointers.
... one memory or table instance can be used by 0–n module instances — these instances all share the same
address space, allowing dynamic linking.
Progress Listeners - Archive of obsolete content
example: notification when the value in
address bar changes a commonly asked question is how to get notified whenever the url in the
address bar (also known as location bar) changes.
... using the following code, you will get notified when user navigates to another page (by clicking a link, using the back/forward button, by typing an
address in the location bar, etc.) and also when user switches tabs.
... example: example of listener for anchor change the above example "notification when the value in
address bar changes" fires multiple times, one of which is when the tab is changed.
Chapter 5: Let's build a Firefox extension - Archive of obsolete content
can be in e-mail
address format or guid format --> <em:id>helloworld@xuldev.org</em:id> <!-- indicates that this add-on is an extension --> <em:type>2</em:type> <!-- extension name displayed in add-on manager --> <em:name>hello, world!</em:name> <!-- extension version number.
...change to your name --> <em:creator>gomita</em:creator> <!-- web page
address through which extension is distributed --> <em:homepageurl>http://www.xuldev.org/helloworld/</em:homepageurl> <!-- this section gives details of the target application for the extension (in this case: firefox 2) --> <em:targetapplication> <description> <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <em:minversion>2.0</em:minversion> <em:maxversion>4.0.0.*</em:maxversion> </description> </em:targetapplicat...
... at the very top of the file you create one string bundle with the
address of the properties file where to find strings.
Table Cellmap - Archive of obsolete content
now that union uses the fact all
addresses of real tablecellframes are aligned at even boundaries, or in other words they cant have an odd
address.
... if the
address is odd then it holds some other info (mbits).
... <table> <tr><td>cell 1</td><td colspan="2">cell 2</td></tr> <tr><td>cell 3</td><td>cell 4</td><td>cell 5</td></tr> </table> table cell map would be: row 0 : c0,0 c0,1 c row 1 : c1,0 c1,1 c1,2 while it is clear that in the cells that are the origin of a table cells one will find a
address the more interesting question is, what will be the content in the upper right cell.
Custom toolbar button - Archive of obsolete content
chrome://custombutton/content/button.css # firefox overlay chrome://browser/content/browser.xul chrome://custombutton/content/button.xul # thunderbird mail overlay chrome://messenger/content/messenger.xul chrome://custombutton/content/button.xul # thunderbird compose overlay chrome://messenger/content/messengercompose/messengercompose.xul chrome://custombutton/content/button.xul # thunderbird
address book overlay chrome://messenger/content/
addressbook/
addressbook.xul chrome://custombutton/content/button.xul # sunbird overlay chrome://calendar/content/calendar.xul chrome://custombutton/content/button.xul optionally remove the sections for toolbars that you do not need.
... firefox --> <toolbarpalette id="browsertoolbarpalette"> <toolbarbutton id="custom-button-1"/> </toolbarpalette> <!-- thunderbird mail --> <toolbarpalette id="mailtoolbarpalette"> <toolbarbutton id="custom-button-1"/> </toolbarpalette> <!-- thunderbird compose --> <toolbarpalette id="msgcomposetoolbarpalette"> <toolbarbutton id="custom-button-1"/> </toolbarpalette> <!-- thunderbird
address book --> <toolbarpalette id="
addressbooktoolbarpalette"> <toolbarbutton id="custom-button-1"/> </toolbarpalette> <!-- sunbird --> <toolbarpalette id="calendartoolbarpalette"> <toolbarbutton id="custom-button-1"/> </toolbarpalette> <!-- button details --> <toolbarbutton id="custom-button-1" label="custom" tooltiptext="my custom toolbar button" oncommand="custombutton[1]()" class...
... create a new extension id, in the form: something@domain-name it must contain an at-sign (@), making it look something like an e-mail
address, but it does not need to be a real e-mail
address.
XUL Structure - Archive of obsolete content
when you type the url of an html page into the browser's
address field, the browser locates the web site and downloads the content.
...for example, the messenger component has descriptions of the mail messages list window, the composition window and the
address book dialogs.
...in firefox, this preference may be added to the user preferences by typing "about:config" in the
address field, and setting this value to true.
XUL Questions and Answers - Archive of obsolete content
how to display
addressbook rdf and menulist on the same list?
... instead of <menulist id="abpopup"> <menupopup id="abpopup-menupopup" ref="moz-abdirectory://" datasources="rdf:
addressdirectory" sortactive="true" sortdirection="ascending" sortresource="http://home.netscape.com/nc-rdf#dirtreenamesort"> <template> <rule nc:iswriteable="false"/> <rule nc:ismaillist="false"> <menuitem uri="..." label="rdf:http://home.netscape.com/nc-rdf#dirname" value="rdf:http://home.netscape.com/nc-rdf#diruri"/> </rule> <rule nc:ismaillist=...
..."true"> <menuitem uri="..." label="rdf:http://home.netscape.com/nc-rdf#dirname" value="rdf:http://home.netscape.com/nc-rdf#diruri"/> </rule> </template> </menupopup> </menulist> it should be written as follows: <menulist id="abpopup22"> <menupopup id="abpopup-menupopup" ref="moz-abmdbdirectory://abook.mab" datasources="rdf:
addressdirectory" sortactive="true" sortdirection="ascending" sortresource="http://home.netscape.com/nc-rdf#dirtreenamesort"> <template> <rule nc:iswriteable="false"/> <rule nc:ismaillist="true"> <menuitem uri="..." label="rdf:http://home.netscape.com/nc-rdf#dirname" value="rdf:http://home.netscape.com/nc-rdf#diruri"/> </rule> </template> </menupopup> </menuli...
label - Archive of obsolete content
attributes accesskey, control, crop, disabled, href, value properties accesskey, accessibletype, control, crop, disabled, value style classes header, indent, monospace, plain, small-margin, text-link examples <label value="email
address" control="email"/> <textbox id="email"/> attributes accesskey type: character this should be set to a character that is used as a shortcut key.
... text-link labels with this class may be focused and the click handler run or the
address in the href attribute opened on a mouse click or enter key press.
...<label control="email">email
address</label> <textbox id="email"/> if the text node contains no tags, it can easily be accessed and manipulated from javascript using node.textcontent.
Digital Signatures - Archive of obsolete content
encryption and decryption
address the problem of eavesdropping, one of the three internet security issues mentioned at the beginning of this document.
... but encryption and decryption, by themselves, do not
address another problem: tampering.
... this section describes how public-key cryptography
addresses the problem of tampering.
TCP/IP Security - Archive of obsolete content
the payload consists of the information passed down from the previous layer, while the header contains layer-specific information such as
addresses.
... while application layer controls can protect application data, they cannot protect tcp/ip information such as ip
addresses because this information exists at a lower layer.
... another advantage of network layer controls is that since ip information (e.g., ip
addresses) is added at this layer, the controls can protect both the data within the packets and the ip information for each packet.
Common Firefox theme issues and solutions - Archive of obsolete content
a little experimenting may be required to fully
address this issue with your theme.
...
address bar identity box is missing padlock icons for secure sites in firefox 14 and later the identity box has been significantly changed and the favicon has been replaced by an icon that indicates the website's status.
...
address bar "door hangers" door hanger sync panel not styled the sync panel at the bottom of the "door hanger" for the save password panel displayed when a user logs into a website needs to be styled to match rest of panel including border.
Using Web Standards in your Web Pages - Archive of obsolete content
the first 2 sections
address exclusively validation issues, benefits of validation, deprecated elements, deprecated attributes.
... how to upgrade a webpage markup code to pass validation and how to implement css are
addressed by providing recommendations, tutorials and references.
... the other sections
address dom and dhtml coding practices which are at odds with the w3c web standards and suggest replacements.
DNS - MDN Web Docs Glossary: Definitions of Web-related terms
dns maintains a list of domain names along with the resources, such as ip
addresses, that are associated with them.
... the most prominent function of dns is the translation of human-friendly domain names (such as mozilla.org) to a numeric ip
address (such as 151.106.5.172); this process of mapping a domain name to the appropriate ip
address is known as a dns lookup.
... by contrast, a reverse dns lookup (rdns) is used to determine the domain name associated with an ip
address.
Favicon - MDN Web Docs Glossary: Definitions of Web-related terms
a favicon (favorite icon) is a tiny icon included along with a website, which is displayed in places like the browser's
address bar, page tabs and bookmarks menu.
... note, however, that most modern browsers replaced the favicon from the
address bar by an image indicating whether or not the website is using https.
...when a familiar icon is seen in the browser's
address bar, for example, it helps users know they are in the right place.
Your first form - Learn web development
the input field for the e-mail is an input of type email: a single-line text field that accepts only e-mail
addresses.
... for the second input, we use the value <input/email>, which defines a single-line text field that only accepts a well-formed e-mail
address.
...it also causes a more appropriate keyboard layout for entering email
addresses (e.g.
Publishing your website - Learn web development
a domain name is the unique
address where people find your website, such as http://www.mozilla.org or http://www.bbc.co.uk.
...they host your rendered page at a unique web
address.
... first of all, sign up for github and verify your email
address.
Marking up a letter - Learn web development
put the two
addresses inside <
address> elements.
... each line of the
address should sit on a new line, but not be in a new paragraph.
... the first
address and first date in the letter should have a class attribute value of sender-column.
Server-side web frameworks - Learn web development
an email
address), and isn't malicious in any way (crackers can use certain patterns of code to do bad things such as deleting database records).
...an email field would only allow valid email
addresses).
...get it yourself: some web frameworks include tools/libraries that
address every problem their developers can think "by default", while more lightweight frameworks expect web developers to pick and choose solution to problems from separate libraries (django is an example of the former, while flask is an example of a very light-weight framework).
Introduction to client-side frameworks - Learn web development
none of this code actually handles user interactions, or
addresses adding or deleting a task.
...as it does so, the url in your
address bar changes.
... modern web applications typically do not fetch and render new html files — they load a single html shell, and continually update the dom inside it (referred to as single page apps, or spas) without navigating users to new
addresses on the web.
Leak Gauge
results of processing log leak2.log : leaked outer window 2c6e410 at
address 2c6e410.
... leaked outer window 2c6ead0 at
address 2c6ead0.
... leaked inner window 2c6ec80 (outer 2c6ead0) at
address 2c6ec80.
about:memory
once firefox's memory usage has gotten high) open a new tab and type "about:memory" into the
address bar and hit "enter".
...there is also "vsize-max-contiguous" (not measured on all platforms, and not shown in this example), which indicates the largest single chunk of available virtual
address space.
... if this number is low, it's likely that memory allocations will fail due to lack of virtual
address space quite soon.
Leak And Bloat Tests
startup main mail window open
address book and message composition windows close
address book and message composition windows quit the application future improvements will be discussed on the discussion page of the mozilla wiki.
...ay.js preference settings (used to provide a defined profile, see below): common/mailnewstestprefs.js python scripts (used to set up the profile and run the test): bloat/setupbloattest.py bloat/runtest.py common/setupcommonmailnews.py pre-defined profile initial setup: one pop3 account (mails tbd) one identity one smtp server defined (not used) future requirements/possibilities: one
address book where pab has ~1000 entries large message folders imap nntp server and subscribed newsgroup.
..._pref("mail.attachment.store.version", 1); user_pref("mail.folder.views.version", 1); user_pref("mail.spam.version", 1); user_pref("mailnews.quotingprefs.version", 1); user_pref("mailnews.ui.threadpane.version", 6); changes to leak and bloat tests date and time (pst) description approx effect on numbers pre dec 2008 initial version - 2008/12/07 11:20 bug 463594 disabled os x and outlook
address books via the preference settings mac lk -56.2kb.
Optimizing Applications For NSPR
this has disastrous implications on the generally accepted programming practice of taking the
address of a stack variable and giving that
address to another thread.
...for complete cross platform portability, do not take the
address of a stack variable and make that
address available to another thread.
... for more details, see the memo on automatic
addresses.
I/O Functions
functions that operate on pathnames functions that act on file descriptors directory i/o functions socket manipulation functions converting between host and network
addresses memory-mapped i/o functions anonymous pipe function polling functions pollable events manipulating layers functions that operate on pathnames a file or directory in a file system is specified by its pathname.
... list of functions: pr_openudpsocket pr_newudpsocket pr_opentcpsocket pr_newtcpsocket pr_importtcpsocket pr_connect pr_connectcontinue pr_accept pr_bind pr_listen pr_shutdown pr_recv pr_send pr_recvfrom pr_sendto pr_transmitfile pr_acceptread pr_getsockname pr_getpeername pr_getsocketoption pr_setsocketoption converting between host and network
addresses pr_ntohs pr_ntohl pr_htons pr_htonl pr_familyinet memory-mapped i/o functions the memory-mapped i/o functions allow sections of a file to be mapped to memory regions, allowing read-write accesses to the file to be accomplished by normal memory accesses.
...pollable events are implemented using a pipe or a pair of tcp sockets connected via the loopback
address, therefore setting and/or waiting for pollable events are expensive operating system calls.
I/O Types
this chapter describes the most common nspr types, enumerations, and structures used with the functions described in i/o functions and network
addresses.
... directory type file descriptor types file info types network
address types types used with socket options functions type used with memory-mapped i/o offset interpretation for seek functions directory type prdir file descriptor types nspr represents i/o objects, such as open files and sockets, by file descriptors of type prfiledesc.
... file info types prfileinfo prfileinfo64 prfiletype network
address types prnetaddr pripv6addr types used with socket options functions prsocketoptiondata prsockoption prlinger prmcastrequest type used with memory-mapped i/o prfilemap offset interpretation for seek functions prseekwhence ...
PRMcastRequest
syntax #include <prio.h> struct prmcastrequest { prnetaddr mcaddr; prnetaddr ifaddr; }; typedef struct prmcastrequest prmcastrequest; fields the structure has the following fields: mcaddr ip multicast
address of group.
... ifaddr local ip
address of interface.
...only the ip
address (inet.ip) fields are used.
PR_Accept
on output, this structure contains the
address of the connecting entity.
... description the socket fd is a rendezvous socket that has been bound to an
address with pr_bind and is listening for connections after a call to pr_listen.
... if the addr parameter is not null, pr_accept stores the
address of the connecting entity in the prnetaddr object pointed to by addr.
PR_CExitMonitor
syntax #include <prcmon.h> prstatus pr_cexitmonitor(void *
address); parameters the function has the following parameters:
address the
address of the protected object--the same
address previously passed to pr_centermonitor.
...this may indicate that the
address parameter is invalid or that the calling thread is not in the monitor.
... description using the value specified in the
address parameter to find a monitor in the monitor cache, pr_cexitmonitor decrements the entry count associated with the monitor.
PR_Connect
addr a pointer to the
address of the peer to which the socket is to be connected.
...if the socket is not bound, it will be bound to an arbitrary local
address.
...if pr_connect is invoked on a udp socket, it has an overloaded meaning: pr_connect merely saves the specified
address as the default peer
address for the socket, so that subsequently one can send and receive datagrams from the socket using pr_send and pr_recv instead of the usual pr_sendto and pr_recvfrom.
PR ConvertIPv4AddrToIPv6
converts an ipv4
address into an (ipv4-mapped) ipv6
address.
... syntax #include <prnetdb.h> void pr_convertipv4addrtoipv6( pruint32 v4addr, pripv6addr *v6addr ); parameters the function has the following parameters: v4addr the ipv4
address to convert into an ipv4-mapped ipv6
address.
...v6addr a pointer to a buffer, allocated by the caller, that is filled in with the ipv6
address on return.
PR_OpenTCPSocket
creates a new tcp socket of the specified
address family.
... syntax #include <prio.h> prfiledesc* pr_opentcpsocket(printn af); parameters the function has the following parameters: af the
address family of the new tcp socket.
...pr_opentcpsocket creates a new tcp socket of the
address family af.
PR OpenUDPSocket
creates a new udp socket of the specified
address family.
... syntax #include <prio.h> prfiledesc* pr_openudpsocket(printn af); parameters the function has the following parameters: af the
address family of the new udp socket.
... pr_openudpsocket creates a new udp socket of the
address family af.
JS_SetThreadStackLimit
limitaddr jsuword an
address near the top of the c stack.
... this should be a safely writeable
address well short of the actual top of the stack.
... description js_setthreadstacklimit sets the maximum (if stack grows upward) or minimum (downward) legal stack byte
address in limitaddr for the thread or process stack used by cx.
Shell global objects
functions available only in nightly build object
address(obj) return the current
address of the object.
... for debugging only--this
address may change during a moving gc.
... shared
address(obj) return the
address of the shared storage of a sharedarraybuffer.
nsICycleCollectorListener
method overview void begin(); void begindescriptions(); void describegcedobject(in unsigned long long a
address, in boolean amarked); void describerefcountedobject(in unsigned long long a
address, in unsigned long aknownedges, in unsigned long atotaledges); void end(); void noteedge(in unsigned long long afrom
address, in unsigned long long ato
address, in string aedgename); void noteobject(in unsigned long long a
address, in string aobjectdescription); methods begin() void begin(); parameters none...
...describegcedobject() void describegcedobject( in unsigned long long a
address, in boolean amarked ); parameters a
address amarked describerefcountedobject() void describerefcountedobject( in unsigned long long a
address, in unsigned long aknownedges, in unsigned long atotaledges ); parameters a
address aknownedges atotaledges end() void end(); parameters none.
... noteedge() void noteedge( in unsigned long long afrom
address, in unsigned long long ato
address, in string aedgename ); parameters afrom
address ato
address aedgename noteobject() void noteobject( in unsigned long long a
address, in string aobjectdescription ); parameters a
address aobjectdescription ...
nsIMsgIdentity
john doe email astring user's e-mail
address, i.e.
... john@doe.com replyto astring optional replyto
address, i.e.
... astring dobcc boolean dobcclist astring draftfolder astring stationeryfolder astring showsavemsgdlg boolean directoryserver astring overrideglobalpref boolean autocompletetomydomain boolean if this is false, don't append the user's domain to an autocomplete
address with no matches.
nsISOCKSSocketInfo
inherits from: nsisupports last changed in gecko 1.7 attributes attribute type description destinationaddr prnetaddrptr the destination server
address.
... externalproxyaddr prnetaddrptr the external (remote) proxy
address.
... internalproxyaddr prnetaddrptr the internal (local) proxy
address.
nsISocketProvider
when set, the hostname parameter passed in this interface will be used instead of the
address structure passed for a later request.
...void addtosocket( in long afamily, in string ahost, in long aport, in string aproxyhost, in long aproxyport, in unsigned long aflags, in prfiledescstar afiledesc, out nsisupports asecurityinfo ); parameters afamily the
address family for this socket (pr_af_inet or pr_af_inet6).
...void newsocket( in long afamily, in string ahost, in long aport, in string aproxyhost, in long aproxyport, in unsigned long aflags, out prfiledescstar afiledesc, out nsisupports asecurityinfo ); parameters afamily the
address family for this socket (pr_af_inet or pr_af_inet6).
nsIURI
note: ipv6
addresses are not enclosed in square brackets.
...it could be an ipv4 (or ipv6)
address literal.
...ipv6
addresses are not enclosed in square brackets.
nsIUserInfo
the domain portion of the email
address, if available.
... email
address string read only.
... the user's email
address as saved in the system
address book.
nsIAbCard/Thunderbird3
the nsiabcard interface is used to represent and manipulate cards in the
address book.
... properties currently supported on the card: names: firstname, lastname phoneticfirstname, phoneticlastname displayname, nickname spousename, familyname primaryemail, secondemail home contact: home
address, home
address2, homecity, homestate, homezipcode, homecountry homephone, homephonetype work contact.
...in particular, calling equals on cards from different
address books may return inaccurate results.
Testing Mozilla code
asan nightly projectthe asan nightly project involves building a firefox nightly browser with the popular
addresssanitizer tool and enhancing it with remote crash reporting capabilities for any errors detected.clang static analysisthis document is split in two parts.
... the first part will focus on the modern and robust way of static-analysis and the second part will present the build-time static-analysis.debugging mozilla with valgrindthis page describes how to use valgrind (specifically, its memcheck tool) to find memory errors.firefox and
address sanitizer
address sanitizer (asan) is a fast memory error detector that detects use-after-free and out-of-bound bugs in c/c++ programs.
...more information on how asan works can be found on the
address sanitizer wiki.
Buddy icons in mail
seth spitzer mozilla is now able to show icons in the message header area and the
addressbook card pane.
... for the message pane, the icon we will show is on disk at: <profile home>/nim/<value of pref aim.session.screenname>/picture/<screenname for sender email
address>.gif when trying to determine the screenname for the sender, we search the
addressbook that we are using for collection.
... (see this document for info about that.) for the
addressbook card pane, the icon will show is on disk at: <profile home>/nim/<value of pref aim.session.screenname>/picture/<screenname for card>.gif if aim.session.screenname is not set, the icon will not appear.
Gloda examples
sremoved(aitems, acollection) { }, /* called when our database query completes */ onquerycompleted: function _onquerycompleted(acollection) { var items = acollection.items; for (msg of items) { alert(msg.subject); }; } }; collection = id_q.getcollection(mylistener); show all messages where the from, to and cc values include a specified email
address at present there doesn't appear to be any way of going directly from an email
address to email
addresses that it involves.
... instead you need to do two queries, first to get the "identity" object for an email
address and then to get the messages.
... this requires two chained asynchronous calls: //first take an email
address and turn it into an identity object id_q = gloda.newquery(gloda.noun_identity); id_q.kind("email"); id_q.value("test@example.com"); id_coll = id_q.getcollection({ onitemsadded: function _onitemsadded(aitems, acollection) { }, onitemsmodified: function _onitemsmodified(aitems, acollection) { }, onitemsremoved: function _onitemsremoved(aitems, acollection) { }, onquerycompleted: function _onquerycompleted(id_coll) { //woops no identity if (id_coll.items.length <= 0) return; id = id_coll.items[0]; //now we use the identity to...
Debugging Tips
let { ctypes } = components.utils.import("resource://gre/modules/ctypes.jsm", {}); let i = ctypes.int32_t(10); console.log(i); let point = ctypes.structtype("point", [{ x: ctypes.int32_t }, { y: ctypes.int32_t }]) let p = point(10, 20); console.log(p); let pp = p.
address(); console.log(pp); the result will be as following: cdata { value: 10 } cdata { x: 10, y: 20 } cdata { contents: cdata } to see more descriptive information, you can use .tosource().
... let { ctypes } = components.utils.import("resource://gre/modules/ctypes.jsm", {}); let i = ctypes.int32_t(10); console.log(i.tosource()); let point = ctypes.structtype("point", [{ x: ctypes.int32_t }, { y: ctypes.int32_t }]) let p = point(10, 20); console.log(p.tosource()); let pp = p.
address(); console.log(pp.tosource()); the result will be : ctypes.int32_t(10) point(10, 20) point.ptr(ctypes.uint64("0x15fdafb08")) to see the complete type information, you can use .constructor.tosource(), to print the source of ctype.
... let { ctypes } = components.utils.import("resource://gre/modules/ctypes.jsm", {}); let i = ctypes.int32_t(10); console.log(i.constructor.tosource()); let point = ctypes.structtype("point", [{ x: ctypes.int32_t }, { y: ctypes.int32_t }]) let p = point(10, 20); console.log(p.constructor.tosource()); let pp = p.
address(); console.log(pp.constructor.tosource()); the result will be as per the following: ctypes.int32_t ctypes.structtype("point", [{ "x": ctypes.int32_t }, { "y": ctypes.int32_t }]) ctypes.structtype("point", [{ "x": ctypes.int32_t }, { "y": ctypes.int32_t }]).ptr ...
Introduction to DOM Inspector - Firefox Developer Tools
like the browser, the dom inspector includes an
address bar, and some of the same menus.
... inspecting arbitrary urls you may also inspect the dom of arbitrary urls by using the inspect a url menuitem in the file menu, or by just entering a url into the dom inspector's
address bar and clicking inspect or pressing enter.
... for example, you can enter http://www.mozilla.org in the
address bar and see the dom structure of the mozilla.org home page.
BasicCardRequest - Web APIs
owing example, the paymentrequest() constructor is used to create a new payment request, which takes three objects as parameters — one containing details of the payment methods that can be used for the payment, one containing details of the actual order (such as items bought and shipping options), and an optional object that describes what data is needed to fullfil the payment (e.g., a shipping
address).
...this has to conform to the structure defined by the basiccardresponse dictionary, and may look something like this: { "cardnumber' : '9999999999999999", "cardholdername' : 'mr dick straw", "cardsecuritycode" : "999", "expirymonth" : "07", "expiryyear" : "2021", "billing
address" : { "country" : "gb", // etc.
... billing
address is a payment
address object } } specifications specification status comment basic card paymentthe definition of 'basiccardrequest' in that specification.
PayerErrors - Web APIs
the payer details include the payer's name, phone number, and email
address.
... properties email optional if present, this domstring is a string describing the validation error from which the payer's email
address—as given by paymentresponse.payeremail—currently suffers.
... if this property is absent from the payererrors object, the email
address passed validation.
PaymentRequest.PaymentRequest() - Web APIs
if this sequence is blank, it indicates the merchant cannot ship to the current shipping
address.
... requestpayeremail a boolean indicating whether the user agent should collect the payer's email
address and submit it with the payment request.
... requestshipping a boolean indicating whether the user agent should collect the payer's shipping
address and submit it with the payment request.
PaymentRequest.onshippingoptionchange - Web APIs
var request = new paymentrequest(supportedinstruments, details, options); // when user selects a shipping
address request.addeventlistener('shipping
addresschange', e => { e.updatewith(((details, addr) => { var shippingoption = { id: '', label: '', amount: { currency: 'usd', value: '0.00' }, selected: true }; // shipping to us is supported if (addr.country === 'us') { shippingoption.id = 'us'; shippingoption.label = 'standard shipping in us'; shippin...
... details.total.amount.value = '55.00'; // shipping to jp is supported } else if (addr.country === 'jp') { shippingoption.id = 'jp'; shippingoption.label = 'international shipping'; shippingoption.amount.value = '10.00'; details.total.amount.value = '65.00'; // shipping to elsewhere is unsupported } else { // empty array indicates rejection of the
address details.shippingoptions = []; return promise.resolve(details); console.log(details.error); } // hardcode for simplicity if (details.displayitems.length === 2) { details.displayitems[2] = shippingoption; } else { details.displayitems.push(shippingoption); } details.shippingoptions = [shippingoption]; return promise.resolve(details); })(d...
...etails, request.shipping
address)); }); specifications specification status comment payment request apithe definition of 'onshippingoptionchange' in that specification.
PaymentRequest.shippingOption - Web APIs
const request = new paymentrequest(methoddata, details, options); // async update to details request.onshipping
addresschange = ev => { ev.updatewith(checkshipping(request)); }; // sync update to the total request.onshippingoptionchange = ev => { const shippingoption = shippingoptions.find( option => option.id === request.id ); const newtotal = { currency: "usd", label: "total due", value: calculatenewtotal(shippingoption), }; ev.updatewith({ ...details, total: newtotal }); }; async fun...
...ction checkshipping(request) { try { const json = request.shipping
address.tojson(); await ensurecanshipto(json); const { shippingoptions, total } = await calculateshipping(json); return { ...details, shippingoptions, total }; } catch (err) { return { ...details, error: `sorry!
... we can't ship to your
address.` }; } } specifications specification status comment payment request apithe definition of 'shippingoption' in that specification.
PaymentRequest.show() - Web APIs
those look like this: async/await syntax using await to wait for a promise to be resolved makes it possible to write the code to handle payments particularly cleanly: async function processpayment() { try { const payrequest = new paymentrequest(methoddata, details, options); payrequest.onshipping
addresschange = ev => ev.updatewith(check
address(payrequest)); payrequest.onshippingoptionchange = ev => ev.updatewith(checkshipping(payrequest)); const repsonse = await payrequest.show(); await validateresponse(response); } catch(err) { /* handle the error; aborterror usually means a user cancellation */ } } in this code, the methods check
address() and checkshipping(), respectivel...
...y, check the shipping
address and the shipping option changes and supply in response either a paymentdetailsupdate object or a promise to return one; this object contains the fields in the paymentresponse which have been or need to be changed.
... then/catch syntax you can also use the older promise-based approach to work with payments, using the then() and catch() functions on the promise returned by show(): function processspayment() { const payrequest = new paymentrequest(methoddata, details, options); payrequest.onshipping
addresschange = ev => ev.updatewith(check
address(payrequest)); payrequest.onshippingoptionchange = ev => ev.updatewith(checkshipping(payrequest)); payrequest.show() .then(response => validateresponse(response)) .catch(err => handleerror(err)); } this is functionally equivalent to the processpayment() method using the await syntax.
PaymentResponse.retry() - Web APIs
this lets your app gracefully deal with situations such as invalid shipping
addresses or declined credit cards.
... shipping
address optional an
addresserrors object which contains error messages for any of the fields in the shipping
address that failed validation.
...async function recursivevalidate(request, response) { const promisestofixthings = []; const errors = await validate(request, response); if (!errors) { return; } if (errors.shipping
address) { // "shipping
addresschange" fired at request object const promise = fixfield(request, "shipping
addresschange", shippingvalidator); promisestofixthings.push(promise); } if (errors.payer) { // "payerdetailchange" fired at response object const promise = fixfield(response, "payerdetailchange", payervalidator); promisestofixthings.push(promise); } await promise.all([...
PaymentResponse - Web APIs
paymentresponse.payeremail read only secure context returns the email
address supplied by the user.
... paymentresponse.shipping
address read only secure context returns the shipping
address supplied by the user.
...allows the developer to revalidate any requested user data (e.g., the phone number or the email
address) if it changes.
RTCIceCandidateStats - Web APIs
address optional a string containing the
address of the candidate.
... this value may be an ipv4
address, an ipv6
address, or a fully-qualified domain name.
... this property was previously named ip and only accepted ip
addresses.
RTCPeerConnection - Web APIs
constant description "new" the ice agent is gathering
addresses or is waiting to be given remote candidates through calls to rtcpeerconnection.addicecandidate() (or both).
... "public" only ice candidates with public ip
addresses will be considered.
... "relay" only ice candidates whose ip
addresses are being relayed, such as those being passed through a turn server, will be considered.
RTCPeerConnectionIceErrorEvent - Web APIs
properties the rtcpeerconnectioniceerrorevent interface includes the properties found on the event interface, as well as the following properties:
address read only a domstring providing the local ip
address used to communicate with the stun or turn server being used to negotiate the connection, or null if the local ip
address has not yet been exposed as part of a local ice candidate.
... port read only an unsigned integer value giving the port number over which communication with the stun or turn server is taking place, using the ip
address given in
address.
... null if the connection hasn't been established (that is, if
address is null).
Accessibility documentation index - Accessibility
examples of common problems include e-mail
addresses which are not valid, or a name field which does not contain at least a first name or a surname.
... 20 using the aria-invalid attribute aria, accessibility, attribute, codingscripting, html, javascript, needscontent, role(2), agent, alert, user, useragent the aria-invalid attribute is used to indicate that the value entered into an input field does not conform to the format expected by the application.this may include formats such as email
addresses or telephone numbers.
...this document gives a plan which is being developed by ibm, mozilla and wai protocols and formats working group (pfwg) to
address the issue of accessible dhtml.
<a>: The Anchor element - HTML: Hypertext Markup Language
the html <a> element (or anchor element), with its href attribute, creates a hyperlink to web pages, files, email
addresses, locations in the same page, or anything else a url can
address.
...links are not restricted to http-based urls — they can use any url scheme supported by browsers: sections of a page with fragment urls pieces of media files with media fragments telephone numbers with tel: urls email
addresses with mailto: urls while web browsers may not support other url schemes, web sites can with registerprotocolhandler() hreflang hints at the human language of the linked url.
... linking to an email
address to create links that open in the user's email program to let them send a new message, use the mailto: scheme: <a href="mailto:nowhere@mozilla.org">send email to nowhere</a> for details about mailto: urls, such as including a subject or body, see email links or rfc 6068.
<footer> - HTML: Hypertext Markup Language
note that a <footer> element must not be a descendant of an <
address>, <header> or another <footer> element.
... usage notes enclose information about the author in an <
address> element that can be included into the <footer> element.
...to
address this, add role="contentinfo" to the footer element.
HTML elements reference - HTML: Hypertext Markup Language
element description <
address> the html <
address> element indicates that the enclosed html provides contact information for a person or people, or for an organization.
... element description <a> the html <a> element (or anchor element), with its href attribute, creates a hyperlink to web pages, files, email
addresses, locations in the same page, or anything else a url can
address.
...it is useful for writing a poem or an
address, where the division of lines is significant.
Evolution of HTTP - HTTP
thanks to the host header, the ability to host different domains at the same ip
address now allows server colocation.
...as the applications built over http became more and more powerful, having access to more and more private information like
address books, e-mail, or the geographic position of the user, the need to have tls became ubiquitous even outside the e-commerce use case.
...it has been further extended for specific applications like carddav to handle
address book entries and caldav to deal with calendars.
Forwarded - HTTP
this header is used for debugging, statistics, and generating location-dependent content and by design it exposes privacy sensitive information, such as the ip
address of the client.
...this can be either: an ip
address (v4 or v6, optionally with a port, and ipv6 quoted and enclosed in square brackets), an obfuscated identifier (such as "_hidden" or "_secret"), or "unknown" when the preceding entity is not known (and you still want to indicate that forwarding of the request was made).
...note that ipv6
address are quoted and enclosed in square brackets in forwarded.
HTTP headers - HTTP
x-forwarded-for identifies the originating ip
addresses of a client connecting to a web server through an http proxy or a load balancer.
... request context from contains an internet email
address for a human user who controls the requesting user agent.
... referer the
address of the previous web page from which a link to the currently requested page was followed.
Network Error Logging - HTTP
status_code": 0, "type": "dns.name_not_resolved", "url": "https://example-host.com/" } } the type of the network error may be one of the following pre-defined values from the specification, but browsers can add and send their own error types: dns.unreachable the user's dns server is unreachable dns.name_not_resolved the user's dns server responded but was unable to resolve an ip
address for the requested uri.
...servfail) dns.
address_changed for security reasons, if the server ip
address that delivered the original report is different to the current server ip
address at time of error generation, the report data will be downgraded to only include information about this problem and the type set to dns.
address_changed.
... tcp.timed_out tcp connection to the server timed out tcp.closed the tcp connection was closed by the server tcp.reset the tcp connection was reset tcp.refused the tcp connection was refused by the server tcp.aborted the tcp connection was aborted tcp.
address_invalid the ip
address is invalid tcp.
address_unreachable the ip
address is unreachable tcp.failed the tcp connection failed due to reasons not covered by previous errors http.error the user agent successfully received a response, but it had a 4xx or 5xx status code http.protocol.error the connection was aborted due to an http protocol error http.response.invalid response is empty, has a content-length mismatch, has improper encoding, and/or other conditions that prevent user agent from processing the response http.res...
XPath
it uses a non-xml syntax to provide a flexible way of
addressing (pointing to) different parts of an xml document.
... it can also be used to test
addressed nodes within a document to determine whether they match a pattern or not.
... transforming xml with xslt xslt uses xpath to
address code segments in an xml document that it wishes to transform.
2015 MDN Fellowship Program - Archive of obsolete content
finding and
addressing performance bottlenecks depends on tooling the browser networking and rendering but also, often more important, user perception.
... activities and deliverables act as lead curator for technical curriculum
addressing a key web technology, developing code samples, videos, interactive exercises and other components to be determined.
Appendix E: DOM Building and Insertion (HTML & XUL) - Archive of obsolete content
the following two code fragments are roughly equivalent: function clickify(elem,
address) { elem.addeventlistener("click", function (event) { openwindow(
address) }, false); } function clickify(elem,
address) { elem.onclick = function (event) { openwindow(
address) }; } multiple attributes sometimes there is a need for event listeners to appear as attributes in the dom.
... in these cases, multiple attributes should be used, one for each variable: function clickify(elem,
address) { elem.setattribute("href",
address); elem.setattribute("onclick", "openwindow(this.getattribute('href'))"); } escaping functions when the code fragment in question is not an event handler attribute and there is no feasible way to pass the data through other means, they must be escaped with functions such as uneval, string.quote, json.stringify, or number.
LIR - Archive of obsolete content
5 allocp pointer allocate stack space (result is an
address) 6 reti void return an int 7 retq void 64 bit return a quad 8 retd void return a double 9 livei void extend live range of an int 10 liveq void 64 bit extend live range of a quad 11 lived void extend live range of a double 12 file void source filename for debug symbols 13 line void source li...
... call subroutine that returns void 34 calli integer call subroutine that returns an int 35 callq quad 64 bit call subroutine that returns a quad 36 calld double call subroutine that returns a double branch 37 j void jump always 38 jt void jump if true 39 jf void jump if false 40 jtbl void jump to
address in table 41 label void a jump target (no machine code is emitted for this) 42 not in use guards 43 x void exit always 44 xt void exit if true 45 xf void exit if false 46 xtbl void exit via indirect jump 47 xbarrier void a lir_xbarrier cause no code to be generated, but it acts like a never-take...
RDF Datasource How-To - Archive of obsolete content
an "
address book" datasource could translate a database file into statements like "spammer128@hotmail.com's real name is 'billy dumple'" and "spammer128@hotmail.com is considered an 'important friend'." statements from one datasource can be combined with statements from another datasource using a composite datasource.
... by combining statements from the imap datasource and
address book datasource, above, we'd be able to identify the sender of "message 126" as an "important friend".
Frequently Asked Questions - Archive of obsolete content
it's also useful to know that you can check whether mozilla has recognised your plug-ins by typing 'about:plugins' into your
address bar (linking to that doesn't work for security reasons).
...alternatively you can email any of us directly of course (see the preceeding question for our email
addresses).
Tamarin build documentation - Archive of obsolete content
request a build via the form at http://tamarin-builds.mozilla.org/build_trigger/requestbuild.cfm user email: your email
address.
... an email with the build status will be sent to this
address when a builder completes whether it is passes or fails.
The new nsString class implementation (1999) - Archive of obsolete content
however, it suffers from a few implementation details which need to be
addressed and that are the subject of this document.
...here's it's api: class nsimemoryagent : nsisupports { void* new(nsint32 asize)=0; //used for both alloc and realloc void* delete(void* aptr)=0; }; internationalization the new nsstrimpl/nsstring implementation
addresses at least two of the primary concerns of our i18n team.
Using XPInstall to Install Plugins - Archive of obsolete content
the recommended install process
addresses this issue, which is to install to a secondary location after installing to the current browser.
...in order to
address this issue, plugin vendors are encouraged to: install the plugin software components for the browser (e.g.
SeaMonkey - making custom toolbar (SM ver. 1.x) - Archive of obsolete content
chrome:author="my name" chrome:name="custombutton" chrome:localeversion="1.8" chrome:skinversion="1.5" chrome:extension="true"/> <rdf:seq about="urn:mozilla:overlays"> <!-- browser --> <rdf:li> <rdf:seq about="chrome://navigator/content/navigator.xul"> <rdf:li>chrome://custombutton/content/button.xul</rdf:li> </rdf:seq> </rdf:li> <!--
address book --> <rdf:li> <rdf:seq about="chrome://messenger/content/
addressbook/
addressbook.xul"> <rdf:li>chrome://custombutton/content/button.xul</rdf:li> </rdf:seq> </rdf:li> <!-- message --> <rdf:li> <rdf:seq about="chrome://messenger/content/messagewindow.xul"> <rdf:li>chrome://custombutton/content/button.xul</rdf:li> </rdf:seq> </rdf:li> ...
...://custombutton/content/button.css"?> <!doctype overlay > <overlay id="custombutton-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script type="application/javascript" src="chrome://custombutton/content/button.js"/> <!-- browser --> <toolbar id="nav-bar"> <hbox id="nav-bar-buttons"> <toolbarbutton id="custom-button-1"/> </hbox> </toolbar> <!--
address book --> <toolbar id="abtoolbar"> <hbox id="toolbar_button_box"> <toolbarbutton id="custom-button-1" position="8"/> </hbox> </toolbar> <!-- message compose --> <toolbar id="composetoolbar"> <hbox id="toolbar_button_box"> <toolbarbutton id="custom-button-1" position="8"/> </hbox> </toolbar> <!-- mail, message --> <hbox id="toolbar_button_box"> <toolbarbutton id="custom-...
Manifest Files - Archive of obsolete content
if you aren't sure what the file path is, open that directory in a browser and copy the url from the
address field.
...for example, in <!doctype window system "chrome://fireclipse/locale/fireclipse.dtd"> the dtd file must exist and its directory must be correctly
addressed in the "locale" manifest or xml parsing will fail.
Archived Mozilla and build documentation - Archive of obsolete content
in addition to being handy pointers to useful resources, bookmarks in mozilla can be used to make the
address bar itself a power tool.
...resources are identified by uri "uniform resource identifier" (taken from rfc 2396): urischeme list of mozilla supported uri schemes using
addresses of stack variables with nspr threads on win16 this is a cautionary note that may be old information for some of you.
2006-11-10 - Archive of obsolete content
summary: mozilla.dev.accessibility - oct 28-nov 10, 2006 announcements acm transactions on accessible computing "transactions on accessible computing (taccess) is a quarterly journal that publishes refereed articles
addressing issues of computing as it impacts the lives of people with disabilities." read more...
...the article goes into the history of accessibility in firefox, details ibm's involvement and
addresses some ajax accessibility concerns.
Introduction to SSL - Archive of obsolete content
these capabilities
address fundamental concerns about communication over the internet and other tcp/ip networks: ssl server authentication allows a user to confirm a server's identity.
...this step confirms that the server is actually located at the same network
address specified by the domain name in the server certificate.
Security - Archive of obsolete content
digital signaturesencryption and decryption
address the problem of eavesdropping, one of the three internet security issues mentioned at the beginning of this document.
... but encryption and decryption, by themselves, do not
address another problem: tampering.encryption and decryptionencryption is the process of transforming information so it is unintelligible to anyone but the intended recipient.
Building a Theme - Archive of obsolete content
this is a value you come up with to identify your extension in email
address format (note that it should not be your email).
...note: this parameter must be in the format of an email
address, although it does not have to be a valid email
address.
Object.prototype.__noSuchMethod__ - Archive of obsolete content
inherits from namedthing and agedthing // as well as defining
address function person(name, age,
address){ addparent(this, namedthing.prototype); namedthing.call(this, name); addparent(this, agedthing.prototype); agedthing.call(this, age); this.
address =
address; } person.prototype = { getaddr: function() { return this.
address; }, setaddr: function(addr) { this.
address = addr; } } var bob = new person('bob', 25, 'new york'); console.log('getage is ...
...'in' : 'not in') + ' bob'); // getaddr is in bob console.log("bob's
address is: " + bob.getaddr()); // bob's
address is: new york specifications not part of any standard.
RFE to the Custom Controls - Archive of obsolete content
therefore the control set may need to be more extensive to
address the wider spectrum of requirements that a xul application will have on its controls.
... output should show data in current locale format the bug 331585
address the issue.
Requests For Enhancement - Archive of obsolete content
therefore the control set may need to be more extensive to
address the wider spectrum of requirements that a xul application will have on its controls.
... enhancements of xforms elements if you find that none of the elements proposed by the xforms spec
address your requirements, please post your usecase here.
Visual typescript game engine - Game development
*/ private aspectratio: number = 1.333; /** * domain is simple url
address, * recommendent to use for local propose lan ip * like : 192.168.0.xxx if you wanna run ant test app with server.
... -run services database server (locally and leave it alive to develop process): npm run dataserver looks like this : mongod --dbpath ./server/database/data fix: "failed:
address already in use" : netstat -ano | findstr :27017 taskkill /pid typeyourpidhere /f also important "run visual studio code as administrator".
Endianness - MDN Web Docs Glossary: Definitions of Web-related terms
each memory storage location has an index or
address.
...little-endian means storing bytes in order of least-to-most-significant (where the least significant byte takes the first or lowest
address), comparable to a common european way of writing dates (e.g., 31 december 2050).
Grid Lines - MDN Web Docs Glossary: Definitions of Web-related terms
); } .wrapper > div { border: 2px solid #ffa94d; border-radius: 5px; background-color: #ffd8a8; padding: 1em; color: #d9480f; } <div class="wrapper"> <div>one</div> <div>two</div> <div>three</div> <div>four</div> <div>five</div> </div> .wrapper { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 100px 100px; } lines can be
addressed using their line number.
... lines are also created in the implicit grid when implicit tracks are created to hold content positioned outside of the explicit grid, however these lines cannot be
addressed by a number.
ICE - MDN Web Docs Glossary: Definitions of Web-related terms
this protocol lets two peers find and establish a connection with one another even though they may both be using network
address translator (nat) to share a global ip
address with other devices on their respective local networks.
... the framework algorithm looks for the lowest-latency path for connecting the two peers, trying these options in order: direct udp connection (in this case—and only this case—a stun server is used to find the network-facing
address of a peer) direct tcp connection, via the http port direct tcp connection, via the https port indirect connection via a relay/turn server (if a direct connection fails, e.g., if one peer is behind a firewall that blocks nat traversal) learn more general knowledge webrtc, the principal web-related protocol which uses ice webrtc protocols technical reference rfc 5245, the ietf specification for ice rtcicecandidate, the interface representing a ice candidate ...
NAT - MDN Web Docs Glossary: Definitions of Web-related terms
nat (network
address translation) is a technique for letting multiple computers share an ip
address.
... nat assigns unique
addresses to each computer on the local network and adjusts incoming/outgoing network traffic to send data to the right place.
Packet - MDN Web Docs Glossary: Definitions of Web-related terms
it consists of network
addresses for the source and destination, sequencing information, and error detection codes and is generally found in packet headers and footer.
...
addresses when routing network packets it requires two network
addresses the source
address of the sending host, and the destination
address of the receiving host.
Page prediction - MDN Web Docs Glossary: Definitions of Web-related terms
some web applications include a prediction feature completing search text and
address bar urls based on browsing history and related searches.
... for example, as the user types in the
address bar, the browser might send the current text in the
address bar to the search engine before the user submits the request.
TLD - MDN Web Docs Glossary: Definitions of Web-related terms
consider an example internet
address: https://developer.mozilla.org here org is the tld; mozilla.org is the second-level domain name; and developer is a subdomain name.
... infrastructure top-level domain this group consists of one domain, the
address and routing parameter area (arpa).
URL - MDN Web Docs Glossary: Definitions of Web-related terms
in the context of http, urls are called "web
address" or "link".
... your browser displays urls in its
address bar, for example: https://developer.mozilla.org some browsers display only the part of a url after the "//", that is, the domain name.
How do you upload your files to a web server? - Learn web development
let's first look at http://demozilla.examplehostingprovider.net/ — as you can see, so far there is nothing there: note: depending on your hosting provider, most of the time you'll see a page saying something like “this website is hosted by [hosting service].” when you first go to your web
address.
... x.x.x.x is the ip
address of the remote server.
How do you set up a local testing server? - Learn web development
if the web
address path starts with file:// followed by the path to the file on your local hard drive, a local file is being used.
... in contrast, if you view one of our examples hosted on github (or an example on some other remote server), the web
address will start with http:// or https://, to show that the file has been received via http.
Sending form data - Learn web development
<label for="say">what greeting do you want to say?</label> <input name="say" id="say" value="hi"> </div> <div> <label for="to">who do you want to say it to?</label> <input name="to" id="to" value="mom"> </div> <div> <button>send my greetings</button> </div> </form> since the get method has been used, you'll see the url www.foo.com/?say=hi&to=mom appear in the browser
address bar when you submit the form.
...after the url web
address has ended, we include a question mark (?) followed by the name/value pairs, each one separated by an ampersand (&).
Advanced text formatting - Learn web development
.onkeyup = function(){ // we only want to save the state when the user code is being shown, // not the solution, so that solution is not saved over the user code if(solution.value === 'show solution') { userentry = textarea.value; } else { solutionentry = textarea.value; } updatecode(); }; marking up contact details html has an element for marking up contact details — <
address>.
... this simply wraps around your contact details, for example: <
address> <p>chris mills, manchester, the grim north, uk</p> </
address> it could also include more complex markup, and other forms of contact information, for example: <
address> <p> chris mills<br> manchester<br> the grim north<br> uk </p> <ul> <li>tel: 01234 567 890</li> <li>email: me@grim-north.co.uk</li> </ul> </
address> note that something like this would also be ok, if the linked page contained the contact information: <
address> <p>page written by <a href="../authors/chris-mills/">chris mills</a>.</p> </
address> superscript and subscript you will occasionally need to use superscript and subscript when marking up items like dates, chemical formulae, and mathematical equations so they have ...
Getting started with HTML - Learn web development
anchors can take a number of attributes, but several are as follows: href: this attribute's value specifies the web
address for the link.
...you should see a link—that when hovered over—displays the value of the title attribute, and when clicked, navigates to the web
address in the href attribute.
Website security - Learn web development
in other high-profile cases, millions of passwords, email
addresses, and credit card details have been leaked into the public domain, exposing website users to both personal embarrassment and financial risk.
... keep track of the most popular threats (the current owasp list is here) and
address the most common vulnerabilities first.
Handling common accessibility problems - Learn web development
examples include: wave: a rather nice online accessibility testing tool that accepts a web
address and returns a useful annotated view of that page with accessibility problems highlighted.
...you can choose whether to make a donation or download it for free; you'll also need to give them your e-mail
address before you can download it.
ZoomText
our main focus is on the browser itself, so you you only need to install mailnews or
address book if curious about the other apps.
...my email
address is aaronleventhal@moonset.net.
Debugging Frame Reflow
this viewport has the
address 00b97c30.
...element size only once and it reports now: block 02d7bcf8 d=1410,300 the block shows the same
address as the previous one.
Debugging on Windows
check the memory
address for that line.
...type/copy/drag the memory
address of "int 3" into the memory view to get it to update on that part of the memory.
Embedding the editor
embedding objectives editor requires design changes such that the embedding applications above can be fulfilled, and these changes will need to
address the current problems.
... fix existing js and c++ code which explicitly
addresses elements in the xul document to go through nsieditoruserinterface.
Internationalized Domain Names (IDN) Support in Mozilla Browsers
how idn works when a browser sees a host name such as http://developer.mozilla.org, it passes a request to the dns resolver service (usually built into an os), which in turn sends a request to a nearest domain name server to return an ip
address that corresponds to the host name.
... this ip
address is then used to connect to the web server in question.
Application Translation with Mercurial
paste the following content into the file: [ui] username = firstname lastname <mynick@example.com> merge = internal:merge [alias] qexport = export -g -r qtip qexportall = diff -r qparent [defaults] commit = -v diff = -p -u 8 qdiff = -p -u 8 qnew = -u [diff] git = 1 showfunc = 1 unified = 8 [extensions] hgext.mq = progress = [hooks] put in your name and email
address which later will be public on the internet after your translation patch got accepted and uploaded.
... in the text field next to it, add the mail
address of the person leading the translation of the locale.
Mozilla Content Localized in Your Language
address format what is the format in your language?
... ex: most asian countries start from big to small: [country] [postal code][state/province][city][district][street number and name][building and suite numbers][
addressee] countries of european languages start from small to big: [
addressee][street number and name][building and suite numbers][district][city][state/province][postal code][country] name convention what are the order of family name and given name in your language.
gettext
# first author <email@
address>, year.
... # #, fuzzy msgid "" msgstr "" "project-id-version: package version\n" "report-msgid-bugs-to: \n" "pot-creation-date: 2009-09-28 16:18+0200\n" "po-revision-date: year-mo-da ho:mi+zone\n" "last-translator: full name <email@
address>\n" "language-team: language <ll@li.org>\n" "mime-version: 1.0\n" "content-type: text/plain; charset=charset\n" "content-transfer-encoding: 8bit\n" "plural-forms: nplurals=integer; plural=expression;\n" #.
Mozilla Web Developer FAQ
the almost standards mode is like the standards mode except it
addresses the issue of the next question by rendering table cells with images in the traditional way.
... comp.infosystems.www.authoring.html web authoring faq comp.infosystems.www.authoring.stylesheets faq ciwas stylesheet authoring faq comp.lang.javascript faq original document information author(s): henri sivonen (please, no authoring questions to this
address.) last updated date: may 12, 2007 copyright information: henri sivonen ...
Leak-hunting strategies and tips
these scripts are designed to be run on balance trees in addition to raw stacks; since they are rather slow, it is often much faster to generate balance trees (e.g., using make-tree.pl for the refcount balancer or diffbloatdump.pl --use-
address for trace-malloc) andthen run the balance trees (which are much smaller) through the post-processing.
...this needs to be done when running, since we do the
address to symbol mapping at runtime.
TimerFirings logging
interface and observer timers only have an
address, which is less useful, but they are uncommon enough that this usually doesn't matter much.
... 2082435840[100445640]: [81190] fn timer (one_shot 8000 ms): [from dladdr] gfxfontinfoloader::delayedstartcallback(nsitimer*, void*) second, on linux the code uses dladdr to get the symbol library and
address, which can be post-processed by tools/rb/fix_stacks.py.
TraceMalloc
build/dist/minefield.app/contents/macos/firefox --trace-malloc /dev/null --shutdown-leaks=sdleak.log # convert raw log to text representation of call trees perl source/tools/trace-malloc/diffbloatdump.pl --depth=15 --use-
address /dev/null sdleak.log > sdleak.tree.raw # frobulate trees to remove extraneous junk perl source/tools/rb/fix-macosx-stack.pl sdleak.tree.raw > sdleak.tree you can also use the leakstats program to analyze a log for shutdown leaks.
...(this can be done by examining the unprocessed output of an xpcom_mem_refcnt_log, one of the nstracerefcnt logs.) you should use the --use-
address argument to diffbloatdump.pl, and then the diff tree can be run through fix_linux_stack.py or fix_macosx_stack.py as needed.
browser.urlbar.formatting.enabled
the preference browser.urlbar.formatting.enabled controls whether the domain name including the top level domain is highlighted in the
address bar by coloring it black and the other parts grey.
... type:boolean default value: true exists by default: yes application support:firefox 6.0 status: active; last updated 2012-04-03 introduction: pushed to nightly on 2011-05-03 bugs: bug 451833 values true (default) the domain name including the top level domain is highlighted in the
address bar by coloring it black and the other parts grey.
Preference reference
set it to true to enable it, or false to disable it.browser.dom.window.dump.filebrowser.dom.window.dump.file redirects the ouput of window.dump() calls to a file whose
address is specified in this preference if browser.dom.window.dump.enabled is set to true.
... controls whether a search from the context menu with "search <search engine> for <selected text>" opening a new tab will give focus to it and load it in the foreground or keep focus on the current tab and open it in the background.browser.urlbar.formatting.enabledthe preference browser.urlbar.formatting.enabled controls whether the domain name including the top level domain is highlighted in the
address bar by coloring it black and the other parts grey.browser.urlbar.trimurlsthe preference browser.urlbar.trimurls controls whether the protocol http and the trailing slash behind domain name (if the open page is exactly the domain name) are hidden.dom.event.clipboardevents.enableddom.event.clipboardevents.enabled lets websites get notifications if the user copies, pastes, or cuts something from a w...
AsyncTestUtils extended framework
to: (automatically generated single recipient) a list of recipients, where each recipient is a list whose first element is a (display) name and second element is an email
address.
... from: (automatically generated) a list whose first element is a (display) name and second element is an email
address.
Cached Monitors
unlike a plain monitor, a cached monitor is associated with the
address of a protected object, and the association is maintained only while the protection is needed.
...a hash table is used to quickly map
addresses to their respective monitors.
Named Shared Memory
pr_attachsharedmemory should be called following pr_opensharedmemory to map the memory segment to an
address in the application's
address space.
... pr_detachsharedmemory should be called to unmap the shared memory segment from the application's
address space.
PRIPv6Addr
syntax #include <prio.h> #if defined(_pr_inet6) typedef struct in6_addr pripv6addr; #endif /* defined(_pr_inet6) */ description pripv6addr represents a 128-bit ipv6
address.
...unlike the ipv4
address (a 4-byte unsigned integer) or the port number (a 2-byte unsigned integer), it has no network or host byte order.
PRSockOption
pr_sockopt_reuseaddr allow local
address reuse.
... pr_sockopt_mcastinterface ip multicast interface
address.
PRSocketOptionData
reuse_addr allow local
address reuse.
... mcast_if ip multicast interface
address.
PR_CNotifyAll
syntax #include <prcmon.h> prstatus pr_cnotifyall(void *
address); parameter the function has the following parameter:
address the
address of the monitored object.
... pr_failure indicates that the referenced monitor could not be located or that the calling thread was not in the monitor description using the value specified in the
address parameter to find a monitor in the monitor cache, pr_cnotifyall notifies all threads waiting for the monitor's state to change.
PR_CWait
syntax #include <prcmon.h> prstatus pr_cwait( void *
address, printervaltime timeout); parameters the function has the following parameters:
address the
address of the protected object--the same
address previously passed to pr_centermonitor.
... description using the value specified in the
address parameter to find a monitor in the monitor cache, pr_cwait waits for a notification that the monitor's state has changed.
PR EnumerateAddrInfo
enumerates each of the possible network
addresses of a praddrinfo structure, acquired from pr_getaddrinfobyname.
...to continue an enumeration (thereby getting successive
addresses from the praddrinfo structure), the value should be set to the function's last returned value.
PR_FamilyInet
gets the value of the
address family for internet protocol.
... syntax #include <prnetdb.h> pruint16 pr_familyinet(void); returns the value of the
address family for internet protocol.
PR_GetPeerName
gets the network
address of the connected peer.
... addr on return, the
address of the peer connected to the socket.
PR_GetSockName
gets network
address for a specified socket.
... addr on return, the
address of the socket.
PR_Realloc
description this function attempts to enlarge or shrink the memory block
addressed by ptr to a new size.
... the contents of the specified memory remains the same up to the smaller of its old size and new size, although the new memory block's
address can be different from the original
address.
PR_RecvFrom
receives bytes from a socket and stores the sending peer's
address.
... addr a pointer to the prnetaddr object that will be filled in with the
address of the sending peer on return.
PR_SendTo
addr a pointer to the
address of the destination.
... description pr_sendto sends a specified number of bytes from a socket to the specified destination
address.
PR_dtoa
*rve if not null this location is set to the
address of the end of the result.
... buf the
address of the buffer in which to store the result.
NSPR API Reference
dentity and versioning name and version constants initialization and cleanup module initialization locks lock type lock functions condition variables condition variable type condition variable functions monitors monitor type monitor functions cached monitors cached monitor functions i/o types directory type file descriptor types file info types network
address types types used with socket options functions type used with memory-mapped i/o offset interpretation for seek functions i/o functions functions that operate on pathnames functions that act on file descriptors directory i/o functions socket manipulation functions converting between host and network
addresses memory-mapped i/o functions anonymous pipe function polling functions pol...
...lable events manipulating layers network
addresses network
address types and constants network
address functions atomic operations pr_atomicincrement pr_atomicdecrement pr_atomicset interval timing interval time type and constants interval functions date and time types and constants time parameter callback functions functions memory management operations memory allocation functions memory allocation macros string operations pl_strlen pl_strcpy pl_strdup pl_strfree floating point number to string conversion pr_strtod pr_dtoa pr_cnvtf long long (64-bit) integers bitmaps formatted printing linked lists linked list types prclist linked list macros pr_init_clist pr_init_static_clist pr_append_link pr_insert_link pr_...
Building NSS
use_asan 0 do not create an
addresssanitizer build.
... 1 create an
addresssanitizer build.
Certificate functions
inishcertificaterequestattributes mxr 3.10 and later cert_finishextensions mxr 3.5 and later cert_formatname mxr 3.2 and later cert_freedistnames mxr 3.2 and later cert_freenicknames mxr 3.2 and later cert_getavatag mxr 3.2 and later cert_getcertchainfromcert mxr 3.4 and later cert_getcertemail
address mxr 3.2 and later cert_getcertificatenames mxr 3.10 and later cert_getcertificaterequestextensions mxr 3.10 and later cert_getcertissuerandsn mxr 3.2 and later cert_getcertnicknames mxr 3.2 and later cert_getcerttrust mxr 3.2 and later cert_getcertuid mxr 3.2 and later cert_getclassicocspdisab...
... 3.12 and later cert_getclassicocspenabledsoftfailurepolicy mxr 3.12 and later cert_getcommonname mxr 3.2 and later cert_getcountryname mxr 3.2 and later cert_getdbcontentversion mxr 3.2 and later cert_getdefaultcertdb mxr 3.2 and later cert_getdomaincomponentname mxr 3.2 and later cert_getfirstemail
address mxr 3.7 and later cert_getlocalityname mxr 3.2 and later cert_getnextemail
address mxr 3.7 and later cert_getnextgeneralname mxr 3.10 and later cert_getnextnameconstraint mxr 3.10 and later cert_getocspresponsestatus mxr 3.6 and later cert_getocspstatusforcertid mxr 3.6 and later cert_getoidstr...
NSS 3.14.3 release notes
this release is a patch release to
address cve-2013-1620.
... nss 3.14.3 includes changes to the softoken and ssl libraries to
address and mitigate these attacks, contributed by adam langley of google.
nss tech note3
a cert with the extended key usage extension and the netscape cert type extension that has the cert type ssl_client and also has an email
address in the subject is also given the cert type email.
... this allows all ssl client authentication certs with email
addresses to also be used as email certs (provded they have adequate key usage).
Notes on TLS - SSL 3.0 Intolerant Servers
if you have questions concerning netscape browsers and problem servers, please contact us using the feedback
address at the top of this page.
...(note: you will be asked to provide your email
address before you can file a bug at bugzilla.) original document information author : katsuhiko momoi last updated date: january 27th, 2003 copyright © 2001-2003 netscape.
PKCS11 FAQ
an email
address must be included in the attribute of the subject dn or the mail attribute of the subject dn.
... if the subject dn does not include an email
address, the certificate extension subjectaltname must include an email
address.
NSS Tools certutil
use the exact nickname or alias of the ca certificate, or use the ca's email
address.
... -7 emailaddrs add a comma-separated list of email
addresses to the subject alternative name extension of a certificate or certificate request that is being created or added to the database.
NSS tools : signtool
to help
address some of these problems, you can associate digital signatures with the files in a jar archive.
... organization unit: server products division state or province: california country (must be exactly 2 characters): us username: someuser email
address: someuser@netscape.com enter password or pin for "communicator certificate db": [password will not echo] generated public/private key pair certificate request generated certificate has been signed certificate "mytestcert" added to database exported certificate to x509.raw and x509.cacert.
GCIntegration - SpiderMonkey Redirect 1
for pointers that are traced using js_call_tracer we will most likely change the api so that the
address of the pointer being traced is passed in, rather than the pointer itself.
...it's likely that js_isabouttobefinalized() will also be changed to take the
address of the pointer.
GC Rooting Guide
all js::mutablehandle<t>s are created through an explicit "&" -
address of operator - on a js::rooted<t> instance.
... use an explicit
address-of-operator on js::rooted<t> to get a js::mutablehandle<t>.
How to embed the JavaScript engine
return 1; js::rootedvalue rval(cx); { // scope for jsautocompartment jsautocompartment ac(cx, global); js_initstandardclasses(cx, global); const char *script = "'hello'+'world, it is '+new date()"; const char *filename = "noname"; int lineno = 1; bool ok = js_evaluatescript(cx, global, script, strlen(script), filename, lineno, rval.
address()); if (!ok) return 1; } jsstring *str = rval.tostring(); printf("%s\n", js_encodestring(cx, str)); } js_destroycontext(cx); js_destroyruntime(rt); js_shutdown(); return 0; } spidermonkey 31 // following code might be needed in some case // #define __stdc_limit_macros // #include <stdint.h> #include "jsapi.h" /* the class of the global...
...// js_callfunctionname(cx, global, "func", 2, argv.begin(), rval.
address()); js_callfunctionname(cx, global, "func", argv, &rval); example say the click event is for the top-most or focused ui element at position (x, y): jsobject *target, *event; js::autovaluearray<1> argv(cx); /* * find event target and make event object to represent this click.
64-bit Compatibility
for more information and platform specific details on virtual
address widths, see this article on wikipedia.
... a common use for extending values is to perform advanced
addressing.
JS::PersistentRooted
const t& get() const operator const t&() const const t& operator->() const t*
address() returns a pointer to ptr.
... const t*
address() const persistentrooted<t>& operator=(const t& p) sets the value of ptr.
JS::Rooted
const t &get() const operator const t&() const t operator->() const t *
address() returns a pointer to ptr.
... const t *
address() const t &operator=(t value) sets the value of ptr to value.
SpiderMonkey 1.8.5
since this is a conservative collector, it will often find "garbage"
addresses which can trigger warnings from certain code analysis tools.
...garbage collection js_markgcthing was changed in bug 549143 to mark jsvals rather than void pointers (gc root
addresses), improving the typed rooting api which was introduced in bug 565157.
SpiderMonkey 1.8.7
since this is a conservative collector, it will often find "garbage"
addresses which can trigger warnings from certain code analysis tools.
...garbage collection js_markgcthing was changed in bug 549143 to mark jsvals rather than void pointers (gc root
addresses), improving the typed rooting api which was introduced in bug 565157.
Web Replay
when taking the first snapshot all
addressable memory in the process is enumerated and write-protected, and as faults occur a special exception handler thread unprotects the memory, copies its contents and marks it as dirty.
... this mechanism requires intercepting mmap (or similar low level allocation functions) so that any newly
addressable memory is known — anonymous mappings would not otherwise be intercepted or included in the recording, as heap allocation is non-deterministic while replaying.
Gecko Roles
role_ip
address represents an edit control designed for an internet protocol (ip)
address.
... the edit control is divided into sections for the different parts of the ip
address.
Generating GUIDs
remember, these are identifiers, not e-mail
addresses, and they're never resolved.
... note: if you do choose to use an email-style id for your add-on, you probably don't want it to be a real email
address, since it might attract spam.
NS_ConvertASCIItoUTF16
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
NS_ConvertUTF16toUTF8
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
NS_ConvertUTF8toUTF16
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
NS_LossyConvertUTF16toASCII
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsACString_internal
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsAString_internal
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsAdoptingCString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsAdoptingString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsAutoString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsCAutoString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsCString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsDependentCString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsDependentCSubstring
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsDependentString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsDependentSubstring
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsFixedCString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsFixedString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsPromiseFlatCString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsPromiseFlatString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsXPIDLCString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsXPIDLString
the caller must not modify the characters at the returned
address.
... the caller may modify the characters at the returned
address (up to but not exceeding the length of the string).
nsIAccessibleRole
role_ip
address 63 represents an edit control designed for an internet protocol (ip)
address.
... the edit control is divided into sections for the different parts of the ip
address.
nsIMemory
void free( in voidptr ptr ); parameters ptr the
address of the memory block to free.
... voidptr realloc( in voidptr ptr, in size_t newsize ); parameters ptr the
address of the memory block to reallocate.
nsIMsgCompFields
raryfiles char * obsolete temporaryfiles obsolete, do not use anymore to astring usemultipartalternative prbool uuencodeattachments prbool methods utility methods prbool checkcharsetconversion ( out char * fallbackcharset ); nsimsgrecipientarray splitrecipients ( in prunichar * recipients, in prbool email
addressonly ); void convertbodytoplaintext ( ); attachment handling methods void addattachment ( in nsimsgattachment attachment ); void removeattachment ( in nsimsgattachment attachment ); void removeattachments ( ); header methods void setheader(char* name, char* value); references this interface is the type of the following proper...
...ties: nsimsgcompose.compfields, nsimsgcomposeparams.composefields this interface is passed as an argument to the following methods: nsimsgcomposesecure.begincryptoencapsulation, nsimsgcomposesecure.requirescryptoencapsulation, nsimsgsend.createandsendmessage, nsimsgsend.sendmessagefile, nsismimejshelper.getnocert
addresses, nsismimejshelper.getrecipientcertsinfo ...
nsIMsgCloudFileProvider
void uploadfile(in nsilocalfile afile, in nsirequestobserver acallback); acstring urlforfile(in nsilocalfile afile); void cancelfileupload(in nsilocalfile afile); void refreshuserinfo(in boolean awithui, in nsirequestobserver acallback); void deletefile(in nsilocalfile afile, in nsirequestobserver acallback); void createnewaccount(in acstring aemail
address, in acstring apassword, in acstring afirstname, in acstring alastname, in nsirequestobserver acallback); void createexistingaccount(in nsirequestobserver acallback); acstring providerurlforerror(in unsigned long aerror); attributes attribute type description type acstring readonly: the type...
... void createnewaccount(in acstring aemail
address, in acstring apassword, in acstring afirstname, in acstring alastname, in nsirequestobserver acallback); parameters aemail
address the new user account email
address.
Demo Addon
it lists all your email accounts with their account type - either pop3 or imap - and the associated email
addresses.
... because an account can have multiple identities of type nsimsgidentity and therefore multiple associated email
addresses, with use fixiterator() again to go over all identities and get every email
address.
Declaring types
for example, to define a new 32-bit integer variable with the value 5: var i = ctypes.int32_t(5); you can then pass a pointer to this value to a c function that requires a pointer to a 32-bit integer, like this: some_c_function(i.
address()); declaring new primitive types there are times when you want to create new types that are simply new names for existing primitive types.
... var timestr = asctime(thetime.
address()); // pass a pointer to the tm struct var jsstring = timestr.readstring(); // convert the c string to javascript the last line converts the c string returned by the libc asctime() function into a javascript string by calling the cdata readstring() method.
Working with ArrayBuffers
var casted = ctypes.cast(pixelbuffer.
address(), ctypes.uint8_t.array(myimgdata.data.length).ptr).contents; // myimgdat.data.length is imgwidth * imgheight * 4 because per pixel there is r, g, b, a numbers casted.tostring(); // "ctypes.uint8_t.array(640000)([45, 66, 135, 255, 99, 86, 55, 255, ..........
... method 2: manually handled another strategy is to handle it manually, as illustrated by the following code example: var casted = ctypes.cast(pixelbuffer.
address(), ctypes.uint8_t.array(myimgdata.data.length).ptr).contents; // myimgdat.data.length is imgwidth * imgheight *4 because per pixel there is r, g, b, a numbers /** method a **/ for (var nindex = 0; nindex < casted.length; nindex = nindex + 4) { // casted.length is same as myimgdat.data.length var r = casted[nindex]; var g = casted[nindex + 1]; var b = casted[nindex + 2]; var a = c...
ArrayType
arraytype cdata method_overview cdata
addressofelement(idx) methods inherited from cdata cdata
address() string tosource() string tostring() arraytype cdata methods
addressofelement() returns a new cdata object of the appropriate pointer type, whose value points to the specified array element on which the method was called.
... cdata
addressofelement( idx ); parameters idx a numeric value indicating the offset into the array of the element just to return a pointer.
StructType
structtype cdata method_overview cdata
addressoffield(name) methods inherited from cdata cdata
address() string tosource() string tostring() structtype cdata methods
addressoffield() returns a new cdata object of the appropriate pointer type, whose value points to the specified field of the structure on which the method was called.
... cdata
addressoffield( name ); parameters name the name of the field whose
address is to be returned.
Migrating from Firebug - Firefox Developer Tools
view remote
address the remote
address of a request is shown within the remote ip column within firebug.
... in the network monitor the
address is shown at remote
address in the headers tab when a request is selected.
Examine and edit HTML - Firefox Developer Tools
e focus focus-within visited screenshot node scroll into view copy inner html outer html css selector css path xpath image data-url attribute paste inner html outer html before after as first child as last child expand all collapse all open link in new tab * open file in debugger * open file in style-editor * copy link
address * * these options only appear in certain contexts, for example the "open file in style-editor" option only appears when you context-click over the top of a link to a css file.
... copy link
address (only when invoked over a url) copy the url.
BasicCardResponse.cardNumber - Web APIs
dick straw", "cardsecuritycode" : "999", "expirymonth" : "07", "expiryyear" : "2021", "billing
address" : { "country" : "gb", // etc.
... billing
address is a payment
address object } } specifications specification status comment basic card paymentthe definition of 'cardnumber' in that specification.
BasicCardResponse.cardSecurityCode - Web APIs
dick straw", "cardsecuritycode" : "999", "expirymonth" : "07", "expiryyear" : "2021", "billing
address" : { "country" : "gb", // etc.
... billing
address is a payment
address object } } specifications specification status comment basic card paymentthe definition of 'cardsecuritycode' in that specification.
BasicCardResponse.cardholderName - Web APIs
dick straw", "cardsecuritycode" : "999", "expirymonth" : "07", "expiryyear" : "2021", "billing
address" : { "country" : "gb", // etc.
... billing
address is a payment
address object } } specifications specification status comment basic card paymentthe definition of 'cardholdername' in that specification.
BasicCardResponse.expiryMonth - Web APIs
dick straw", "cardsecuritycode" : "999", "expirymonth" : "07", "expiryyear" : "2021", "billing
address" : { "country" : "gb", // etc.
... billing
address is a payment
address object } } specifications specification status comment basic card paymentthe definition of 'expirymonth' in that specification.
BasicCardResponse.expiryYear - Web APIs
dick straw", "cardsecuritycode" : "999", "expirymonth" : "07", "expiryyear" : "2021", "billing
address" : { "country" : "gb", // etc.
... billing
address is a payment
address object } } specifications specification status comment basic card paymentthe definition of 'expiryyear' in that specification.
Beacon API - Web APIs
the beacon interface
addresses the needs of analytics and diagnostics code that typically attempts to send data to a web server before unloading the document.
...the beacon api provides a standard way to
address these issues.
Using channel messaging - Web APIs
use cases channel messaging is mainly useful in cases where you've got a social site that embeds capabilities from other sites into its main interface via iframes, such as games,
address book, or an audio player with personalized music choices.
...for example, what if you wanted to add a contact to the
address book from the main site, add high scores from your game into your main profile, or add new background music choices from the audio player onto the game?
HTMLEmbedElement - Web APIs
it does not
address earlier, non-standardized version of the interface.
... htmlembedelement.src is a domstring that reflects the src html attribute, containing the
address of the resource.
PaymentDetailsUpdate - Web APIs
for
address field specific errors, use shipping
addresserrors.
... shipping
addresserrors optional an
addresserrors object which includes an error message for each property of the shipping
address that could not be validated.
PaymentRequestUpdateEvent.updateWith() - Web APIs
for
address field specific errors, use shipping
addresserrors.
... shipping
addresserrors optional an
addresserrors object which includes an error message for each property of the shipping
address that could not be validated.
PaymentRequestUpdateEvent - Web APIs
those events are: shipping
addresschange secure context dispatched whenever the user changes their shipping
address.
... also available using the onshipping
addresschange event handler property.
Using the Payment Request API - Web APIs
for this demo, simulate immediate success: paymentresponse.complete('success') .then(function() { // for demo purposes: intropanel.style.display = 'none'; successpanel.style.display = 'block'; }); }) this object provides the developer with access to details they can use to complete the logical steps required after the payment completes, such as an email
address to contact the customer, a shipping
address for mailing goods out to them, etc.
... // close the ui: paymentresponse.complete('success').then(function() { // request additional shipping
address details.
RTCConfiguration.iceTransportPolicy - Web APIs
this can be used to prevent the remote endpoint from receiving the user's ip
addresses, which may be important in some security situations.
... for example, in a video calling application, the app may want to prevent unknown callers from learning the callee's ip
addresses until the callee has agreed to receive the call.
RTCConfiguration - Web APIs
"public" only ice candidates with public ip
addresses will be considered.
... "relay" only ice candidates whose ip
addresses are being relayed, such as those being passed through a turn server, will be considered.
URL API - Web APIs
the url standard also defines concepts such as domains, hosts, and ip
addresses, and also attempts to describe in a standard way the legacy application/x-www-form-urlencoded mime type used to submit web forms' contents as a set of key/value pairs.
...also covered are definitions of various terms related to
addressing of computers on a network, and the algorithms for parsing ip
addresses and dom
addresses are specified.
Window.openDialog() - Web APIs
var retvals = {
address: null, delivery: null }; opendialog("http://example.tld/zzz.xul", "dlg", "modal", "pizza", 6.98, retvals); if you set the properties of the retvals object in the dialog code as described below, you can now access them via the retvals array after the opendialog() call returns.
... inside the dialog code, you can set the properties as follows: var retvals = window.arguments[2]; retvals.
address = entered
address; retvals.delivery = "immediate"; specification this is not part of any specification.
Web APIs
a angle_instanced_arrays abortcontroller abortsignal absoluteorientationsensor abstractrange abstractworker accelerometer
addresserrors aescbcparams aesctrparams aesgcmparams aeskeygenparams ambientlightsensor analysernode animation animationeffect animationevent animationplaybackevent animationtimeline arraybufferview attr audiobuffer audiobuffersourcenode audioconfiguration audiocontext audiocontextlatencycategory audiocontextoptions audiodestinationnode audiolistener audionode audionodeoptions audioparam audioparam...
...bo_render_mipmap oes_standard_derivatives oes_texture_float oes_texture_float_linear oes_texture_half_float oes_texture_half_float_linear oes_vertex_array_object ovr_multiview2 offlineaudiocompletionevent offlineaudiocontext offscreencanvas orientationsensor oscillatornode overconstrainederror p pagetransitionevent paintworklet pannernode parentnode passwordcredential path2d payererrors payment
address paymentcurrencyamount paymentdetailsbase paymentdetailsupdate paymentitem paymentmethodchangeevent paymentrequest paymentrequestevent paymentrequestupdateevent paymentresponse paymentvalidationerrors pbkdf2params performance performanceentry performanceeventtiming performanceframetiming performancelongtasktiming performancemark performancemeasure performancenavigation performancenavigat...
Using the aria-invalid attribute - Accessibility
the aria-invalid attribute is used to indicate that the value entered into an input field does not conform to the format expected by the application.this may include formats such as email
addresses or telephone numbers.
... <input name="name" id="name" aria-required="true" aria-invalid="false" onblur="checkvalidity('name', ' ', 'invalid name entered (requires both first and last name)');"/> <br /> <input name="email" id="email" aria-required="true" aria-invalid="false" onblur="checkvalidity('email', '@', 'invalid e-mail
address');"/> note that it is not necessary to validate the fields immediately on blur; the application could wait until the form is submitted (though this is not necessarily recommended).
:disabled - CSS: Cascading Style Sheets
html <form action="#"> <fieldset id="shipping"> <legend>shipping
address</legend> <input type="text" placeholder="name"> <input type="text" placeholder="
address"> <input type="text" placeholder="zip code"> </fieldset> <br> <fieldset id="billing"> <legend>billing
address</legend> <label for="billing-checkbox">same as shipping
address:</label> <input type="checkbox" id="billing-checkbox" checked> <br> <input type="text" placeholder=...
..."name" disabled> <input type="text" placeholder="
address" disabled> <input type="text" placeholder="zip code" disabled> </fieldset> </form> css input[type="text"]:disabled { background: #ccc; } javascript // wait for the page to finish loading document.addeventlistener('domcontentloaded', function () { // attach `change` event listener to checkbox document.getelementbyid('billing-checkbox').onchange = togglebilling; }, false); function togglebilling() { // select the billing text fields var billingitems = document.queryselectorall('#billing input[type="text"]'); // toggle the billing text fields for (var i = 0; i < billingitems.length; i++) { billingitems[i].disabled = !billingitems[i].disabled; } } result specifications specification status...
Viewport concepts - CSS: Cascading Style Sheets
this is because the outerheight includes the browser chrome: measurements were taken on a browser with an
address bar and bookmarks bar totalling 100px in height, but no chrome on the left or right of the window.
...when the user pinch-zooms the page, pops open a dynamic keyboard, or when a previously hidden
address bar becomes visible, the visual viewport shrinks but the layout viewport is unchanged.
url() - CSS: Cascading Style Sheets
syntax values <string> <url> a url, which is a relative or absolute
address, or pointer, to the web resource to be included, or a data uri, optionally in single or double quotes.
... quotes are required if the url includes parentheses, whitespace, or quotes, unless these characters are escaped, or if the
address includes control characters above 0x7e.
Ajax - Developer guides
xpath xpath stands for xml path language, it uses a non-xml syntax that provides a flexible way of
addressing (pointing to) different parts of an xml document.
... as well as this, it can also be used to test
addressed nodes within a document to determine whether they match a pattern or not.
Constraint validation - Developer guides
intrinsic and basic constraints in html5, basic constraints are declared in two ways: by choosing the most semantically appropriate value for the type attribute of the <input> element, e.g., choosing the email type automatically creates a constraint that checks whether the value is a valid e-mail
address.
... typemismatch constraint violation <input type="email"> the value must be a syntactically valid email
address, which generally has the format username@hostname.tld.
Parsing and serializing XML - Developer guides
xpath a technology for creating strings that contain
addresses for specific portions of an xml document, and locating xml nodes based on those
addresses.
..."error while parsing" : odom.documentelement.nodename); parsing url-
addressable resources into dom trees using xmlhttprequest here is sample code that reads and parses a url-
addressable xml file into a dom tree: var xhr = new xmlhttprequest(); xhr.onload = function() { dump(xhr.responsexml.documentelement.nodename); } xhr.onerror = function() { dump("error while getting xml."); } xhr.open("get", "example.xml"); xhr.responsetype = "document"; xhr.send(); the valu...
<br>: The Line Break element - HTML: Hypertext Markup Language
it is useful for writing a poem or an
address, where the division of lines is significant.
... examples simple br in the following example we use <br> elements to create line breaks between the different lines of a postal
address: mozilla<br> 331 e.
<input type="tel"> - HTML: Hypertext Markup Language
lno">phone number: </label> <input id="telno" name="telno" type="tel" list="defaulttels"> <datalist id="defaulttels"> <option value="111-1111-1111"> <option value="122-2222-2222"> <option value="333-3333-3333"> <option value="344-4444-4444"> </datalist> with the <datalist> element and its <option>s in place, the browser will offer the specified values as potential values for the email
address; this is typically presented as a popup or drop-down menu containing the suggestions.
... while the specific user experience may vary from one browser to another, typically clicking in the edit box presents a drop-down of the suggested email
addresses.
Link types - HTML: Hypertext Markup Language
note: this may be a mailto: hyperlink, but this is not recommended on public pages as robot harvesters will quickly lead to a lot of spam sent to the
address.
... <a>, <area>, <form> <link> noreferrer prevents the browser, when navigating to another page, to send this page
address, or any other value, as referrer via the referer: http header.
CSP: base-uri - HTTP
owed for the base-uri policy: content-security-policy: base-uri <source>; content-security-policy: base-uri <source> <source>; sources while this directive uses the same arguments as other csp directives, some of them don’t make sense for `<base>`, such as the keywords 'unsafe-inline' and 'strict-dynamic' <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: child-src - HTTP
syntax one or more sources can be allowed for the child-src policy: content-security-policy: child-src <source>; content-security-policy: child-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: connect-src - HTTP
syntax one or more sources can be allowed for the connect-src policy: content-security-policy: connect-src <source>; content-security-policy: connect-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: default-src - HTTP
e-src style-src-elem style-src-attr worker-src csp version 1 directive type fetch directive syntax one or more sources can be allowed for the default-src policy: content-security-policy: default-src <source>; content-security-policy: default-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: font-src - HTTP
syntax one or more sources can be allowed for the font-src policy: content-security-policy: font-src <source>; content-security-policy: font-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: form-action - HTTP
syntax one or more sources can be set for the form-action policy: content-security-policy: form-action <source>; content-security-policy: form-action <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: frame-ancestors - HTTP
only the sources listed below are allowed: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number, separated by spaces.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: frame-src - HTTP
syntax one or more sources can be allowed for the frame-src policy: content-security-policy: frame-src <source>; content-security-policy: frame-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: img-src - HTTP
syntax one or more sources can be allowed for the img-src policy: content-security-policy: img-src <source>; content-security-policy: img-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: manifest-src - HTTP
syntax one or more sources can be allowed for the manifest-src policy: content-security-policy: manifest-src <source>; content-security-policy: manifest-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: media-src - HTTP
syntax one or more sources can be allowed for the media-src policy: content-security-policy: media-src <source>; content-security-policy: media-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: navigate-to - HTTP
syntax one or more sources can be set for the navigate-to policy: content-security-policy: navigate-to <source>; content-security-policy: navigate-to <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: object-src - HTTP
syntax one or more sources can be allowed for the object-src policy: content-security-policy: object-src <source>; content-security-policy: object-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: prefetch-src - HTTP
syntax one or more sources can be allowed for the prefetch-src policy: content-security-policy: prefetch-src <source>; content-security-policy: prefetch-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: report-uri - HTTP
'/csp-violations.log'; $log_file_size_limit = 1000000; // bytes - once exceeded no further entries are added $email_
address = 'admin@example.com'; $email_subject = 'content-security-policy violation'; // end configuration $current_domain = preg_replace('/www\./i', '', $_server['server_name']); $email_subject = $email_subject .
... $log_file; mail($email_
address, $email_subject, $message, 'content-type: text/plain;charset=utf-8'); } else if (filesize($log_file) > $log_file_size_limit) { exit(0); } file_put_contents($log_file, $json_data, file_append | lock_ex); } specifications specification status comment content security policy level 3the definition of 'report-uri' in that specification.
CSP: script-src-attr - HTTP
or the script-src-attr policy: content-security-policy: script-src-attr <source>; content-security-policy: script-src-attr <source> <source>; script-src-attr can be used in conjunction with script-src: content-security-policy: script-src <source>; content-security-policy: script-src-attr <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: script-src-elem - HTTP
or the script-src-elem policy: content-security-policy: script-src-elem <source>; content-security-policy: script-src-elem <source> <source>; script-src-elem can be used in conjunction with script-src: content-security-policy: script-src <source>; content-security-policy: script-src-elem <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: script-src - HTTP
syntax one or more sources can be allowed for the script-src policy: content-security-policy: script-src <source>; content-security-policy: script-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: style-src-attr - HTTP
allowed for the style-src-attr policy: content-security-policy: style-src-attr <source>; content-security-policy: style-src-attr <source> <source>; style-src-attr can be used in conjunction with style-src: content-security-policy: style-src <source>; content-security-policy: style-src-attr <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: style-src-elem - HTTP
wed for the style-src-elem policy: content-security-policy: style-src-elem <source>; content-security-policy: style-src-elem <source> <source>; style-src-elem can be used in conjunction with style-src: content-security-policy: style-src <source>; content-security-policy: style-src-elem <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: style-src - HTTP
syntax one or more sources can be allowed for the style-src policy: content-security-policy: style-src <source>; content-security-policy: style-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
CSP: worker-src - HTTP
syntax one or more sources can be allowed for the worker-src policy: content-security-policy: worker-src <source>; content-security-policy: worker-src <source> <source>; sources <source> can be one of the following: <host-source> internet hosts by name or ip
address, as well as an optional url scheme and/or port number.
... the site's
address may include an optional leading wildcard (the asterisk character, '*'), and you may use a wildcard (again, '*') as the port number, indicating that all legal ports are valid for the source.
From - HTTP
the from request header contains an internet email
address for a human user who controls the requesting user agent.
... header type request header forbidden header name no syntax from: <email> directives <email> a machine-usable email
address.
Referer - HTTP
the referer request header contains the
address of the previous web page from which a link to the currently requested page was followed.
... header type request header forbidden header name yes syntax referer: <url> directives <url> an absolute or partial
address of the previous web page from which a link to the currently requested page was followed.
An overview of HTTP - HTTP
with http/1.1 and the host header, they may even share the same ip
address.
... proxy and tunneling servers or clients are often located on intranets and hide their true ip
address from other computers.
Redirections in HTTP - HTTP
url redirection, also known as url forwarding, is a technique to give more than one url
address to a page, a form, or a whole web site/application.
...firefox displays: firefox has detected that the server is redirecting the request for this
address in a way that will never complete.
TypedArray - JavaScript
the buffer
address is saved as an internal property of the instance and all the methods of %typedarray%.prototype, i.e.
... set value and get value etc., operate on that array buffer
address.
<maction> - MathML
to specify which child elements are
addressed by the action, you can make use of the selection attribute.
... selection the child element which is
addressed by the action.
Content type - SVG: Scalable Vector Graphics
for example, an svg file called somedrawing.svg located at http://example.com might have the following iri: http://example.com/somedrawing.svg an iri can also
address a particular element within an xml document by including an iri fragment identifier as part of the iri.
... a url is a sequence of unicode characters, building an
address to an internal or external resource.
<a> - SVG: Scalable Vector Graphics
the <a> svg element creates a hyperlink to other web pages, files, locations in the same page, email
addresses, or any other url.
...for a more widely-supported feature
addressing the same use cases, see navigator.sendbeacon().
Index - XPath
it uses a non-xml syntax to provide a flexible way of
addressing (pointing to) different parts of an xml document.
... it can also be used to test
addressed nodes within a document to determine whether they match a pattern or not.
XPath snippets - XPath
sample usage assume we have the following xml document (see also how to create a dom tree and parsing and serializing xml): example: an xml document to use with the custom evaluatexpath() utility function <?xml version="1.0"?> <people> <person first-name="eric" middle-initial="h" last-name="jung"> <
address street="321 south st" city="denver" state="co" country="usa"/> <
address street="123 main st" city="arlington" state="ma" country="usa"/> </person> <person first-name="jed" last-name="brown"> <
address street="321 north st" city="atlanta" state="ga" country="usa"/> <
address street="123 west st" city="seattle" state="wa" country="usa"/> <
address street="321 south avenue" city="d...
... example: javascript code with the custom evaluatexpath() utility function // display the last names of all people in the doc var results = evaluatexpath(people, "//person/@last-name"); for (var i in results) alert("person #" + i + " has the last name " + results[i].value); // get the 2nd person node results = evaluatexpath(people, "/people/person[2]"); // get all the person nodes that have
addresses in denver results = evaluatexpath(people, "//person[
address/@city='denver']"); // get all the
addresses that have "south" in the street name results = evaluatexpath(people, "//
address[contains(@street, 'south')]"); alert(results.length); docevaluatearray the following is a simple utility function to get (ordered) xpath results into an array, regardless of whether there is a special need fo...
core/heritage - Archive of obsolete content
to do that we need to freeze constructor's prototype chain to make sure functions are frozen: object.freeze(dog.prototype); object.freeze(pet.prototype); note: also, this is not quite enough as object.prototype stays mutable & in fact we do little bit more in sdk to
address that, but it's not in the scope of this documentation.
ui/frame - Archive of obsolete content
"city-info.html" under the add-on's "data" directory, we can create a frame hosting it and add the frame to a toolbar like this: var { frame } = require("sdk/ui/frame"); var { toolbar } = require("sdk/ui/toolbar"); var frame = new frame({ url: "./city-info.html" }); var toolbar = toolbar({ name: "city-info", title: "city info", items: [frame] }); the toolbar is positioned between the
address bar and the content window.
Developing for Firefox Mobile - Archive of obsolete content
the easiest way is probably to copy the signed xpi somewhere on the device: adb push my-addon.xpi /mnt/sdcard/ then open firefox mobile and type this into the
address bar: file:///mnt/sdcard/my-addon.xpi the browser should open the xpi and ask if you want to install it.
Listening to events in Firefox extensions - Archive of obsolete content
it is used to update the ui for many different reasons: update the progress bar and status messages as pages load turn on and off the throbber as pages load set the site icon when available update the
address bar as the user navigates hide notification bars when appropriate as the user navigates apply the site zoom preferences to newly loading pages update the bookmarking star button ui update the identity display as the site's security changes tabsprogresslistener this object is a tabs progress listener and receives events for all browsers in the window.
Connecting to Remote Content - Archive of obsolete content
there are a couple of tools you can use to process these documents more efficiently: using xpath xpath stands for xml path language, it uses a non-xml syntax that provides a flexible way of
addressing (pointing to) different parts of an xml document.
Signing an XPI - Archive of obsolete content
certificate common name: xpi test organization: tjworld organization unit: software state or province: nottingham country (must be exactly 2 characters): gb username: tj email
address: certificates@lan.tjworld.net generated public/private key pair certificate request generated certificate has been signed certificate "mytestcert" added to database exported certificate to x509.raw and x509.cacert.
Using Dependent Libraries In Extension Components - Archive of obsolete content
static void* lookupsymbol(const mach_header* alib, const char* asymbolname) { nssymbol sym = nsnull; if (alib) { sym = nslookupsymbolinimage(alib, asymbolname, nslookupsymbolinimage_option_bind | nslookupsymbolinimage_option_return_on_error); } if (!sym) return nsnull; return ns
addressofsymbol(sym); } notes code samples are licensed under the mit license.
Index of archived content - Archive of obsolete content
ring class implementation (1999) tracevis transforming xml with xslt:mozilla xslt transforming xml with xslt:the netscape xslt treehydra treehydra build instructions treehydra manual tuning pageload urischeme uris and urls uriloader using
addresses of stack variables with nspr threads on win16 using cross commit using gdb on wimpy computers venkman using breakpoints in venkman venkman internals venkman introduction video presentations when to use ifdefs writing textual data xml in mozilla...
JXON - Archive of obsolete content
note: if you are interested to
address only some parts of an xml document (and are not starting in javascript/json for templating purposes), use xpath instead of converting the whole document into json.
Images, Tables, and Mysterious Gaps - Archive of obsolete content
of course, documents authored in xhtml strict or html strict will trigger the "standards" rendering mode, so we're going to go through two basic ways to
address the problem in strict documents, and a number of ways to call on these "fixes." setting images to be blocks the first choice, and one that will work for most graphically-intense designs, is to convert the image from being an inline element to a block-level element.
Nanojit - Archive of obsolete content
guards guards are special lir instructions, similar to conditional branches, with the difference that when they are called, instead of going to a particular
address, they leave the jit code entirely, and stop the trace.
New Security Model for Web Services - Archive of obsolete content
unfortunately, this does not prevent soap messages from being sent to non-soap
addresses, which is a big enough problem that the verification cannot stand alone to guarantee that untrusted service requests are always properly rejected by services that should be firewall-protected.
Tamarin Build System Documentation - Archive of obsolete content
create a user repository, instructions are https://developer.mozilla.org/en/publishing_mercurial_clones go to the request a sandbox build page http://tamarin-builds.mozilla.org/build_trigger/requestbuild.cfm enter the repository url, revision number, email
address, and description.
Example Sticky Notes - Archive of obsolete content
you add a binding file using -moz-binding style rule and you
address a particular binding by its id: -moz-binding: url(notes.xml#default) this id is local within the binding file (not visible in the target document dom tree).
XBL - Archive of obsolete content
xbl 2.0 (w3c candidate recommendation) was developed to
address problems found in xbl 1.0 and to allow for implementations in a broader range of web browsers.
Menus - Archive of obsolete content
editable text context-openlink opens a link in a new window links context-openlinkintab opens a link in a new tab links context-bookmarklink bookmarks a link links context-savelink saves a link links context-sendlink sends a link in an email links context-copyemail copies an email
address mailto: links context-copylink copies a link links context-viewimage views an image at full size images context-copyimage-contents copies an image to the clipboard images context-copyimage copies the url of an image to the clipboard images context-saveimage saves an image images context-sendimage sends an im...
text-link - Archive of obsolete content
« xul reference home text-link labels with this class may be focused and the click handler run or the
address in the href attribute opened on a mouse click or enter key press.
Building Hierarchical Trees - Archive of obsolete content
here is an example for the streets datasource: <tree flex="1" datasources="template-guide-streets.rdf" ref="http://www.xulplanet.com/rdf/myneighbourhood" flags="dont-build-content" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <treecols> <treecol id="
address" primary="true" label="
address" flex="1"/> <treecol id="floors" label="floors" flex="1"/> </treecols> <template> <rule rdf:type="http://www.xulplanet.com/rdf/house"> <treechildren> <treeitem uri="rdf:*"> <treerow> <treecell label="rdf:http://www.xulplanet.com/rdf/
address"/> <treecell label="rdf:http://www.xulplanet.com/rdf/floors"/> ...
Building Menus With Templates - Archive of obsolete content
rdf example: <button label="houses in my neighbourhood" type="menu" datasources="template-guide-streets.rdf" ref="http://www.xulplanet.com/rdf/myneighbourhood" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <template> <rule rdf:type="http://www.xulplanet.com/rdf/house"> <menupopup> <menuitem uri="rdf:*" label="rdf:http://www.xulplanet.com/rdf/
address"/> </menupopup> </rule> <rule> <menupopup> <menu uri="rdf:*" label="rdf:http://purl.org/dc/elements/1.1/title"/> </menupopup> </rule> </template> </button> this example uses the simple rdf query syntax.
The Joy of XUL - Archive of obsolete content
the user interface for all of mozilla's core applications (browser, messenger,
address book, etc.) is written in xul with one single code base supporting all mozilla platforms.
Creating toolbar buttons (Customize Toolbar Window) - Archive of obsolete content
indow browsertoolbarpalette chrome://navigator/content/navigator.xul seamonkey 2.0 - browser window browsertoolbarpalette chrome://messenger/content/messenger.xul thunderbird - main window mailtoolbarpalette chrome://messenger/content/messenger...gercompose.xul thunderbird - compose window msgcomposetoolbarpalette chrome://messenger/content/
addressbo...ddressbook.xul thunderbird -
address book
addressbooktoolbarpalette chrome://editor/content/editor.xul kompozer - main window nvutoolbarpalette chrome://calendar/content/calendar.xul sunbird - main window calendartoolbarpalette more information xulplanet.com references: <toolbarbutton>, <toolbaritem>.
Code Samples - Archive of obsolete content
asswordmanager.xul" seamonkey navigator const name = "navigator:browser" const uri = "chrome://navigator/content/" mail & newsgroups const name = "mail:3pane" const uri = "chrome://messenger/content/" composer const name = "composer:html" const uri = "chrome://editor/content/"
address book const name = "mail:
addressbook" const uri = "chrome://messenger/content/
addressbo...ddressbook.xul" irc chat const name = "irc:chatzilla" const uri = "chrome://chatzilla/content/" calendar const name = "calendarmainwindow" const uri = "chrome://calendar/content/" * at the time of writing, sunbird's p...
The Chrome URL - Archive of obsolete content
if you enter the url mentioned above into the browser's
address bar, you should see that window appear like a web page might do and for the most part will function as if it was a separate window.
Trees - Archive of obsolete content
example tree with two columns example 1 : source view <tree flex="1"> <treecols> <treecol id="namecolumn" label="name" flex="1"/> <treecol id="
addresscolumn" label="
address" flex="2"/> </treecols> <treechildren/> </tree> first, the entire table is surrounded with a tree element.
XBL Inheritance - Archive of obsolete content
(you can also use the value addrbook to look up
addresses in the
address book.) firefox uses a different autocomplete mechanism than the mozilla suite, see xul:textbox (firefox autocomplete) in the next section, we'll see an example xbl-defined widget.
Urlbar-icons - Archive of obsolete content
(the url bar is also known as the
address bar and the navigation bar.) example the default contents of browser.xul: <hbox id="urlbar-icons"> <button be="" chromedir="ltr" class="urlbar-icon" click="" for="" id="safebrowsing-urlbar-icon" img="" level="safe" might="" onclick="godocommand('safebrowsing-show-warning');" page="" style="-moz-user-focus:" tooltiptext="this" type="menu"> <img class="urlbar-icon" id="star-button" onclick="placesstarbutton.onclick(event);" /> <img
address="" chromedir="ltr" class="urlbar-icon" id="go-button" in="" location="" on...
window - Archive of obsolete content
to add a favicon to the
address bar and browser tab (ie dialog is not a popup) then use the following code snippet to use the html namespace and link.
XULRunner Hall of Fame - Archive of obsolete content
latest release: june 2010 - build instructions utilities / prototypes ajax toolkit framework (atf) a part of the eclipse web tools platform (wtp) aliwal geocoder geocode
addresses onto a map benjamin's xulrunner examples "mybrowser is a very simple example browser", xulmine.
Mozilla.dev.apps.firefox-2006-09-29 - Archive of obsolete content
firefox 2 on windows vista discussion about the "state of affairs" of firefox 2 on windows vista rc1 - update for rc1 listed in update history as 'install pending' right-click "copy email
address" - bug 353102 a proposed bug fix to the 'copy email
address' bug how to use the rss feeds discovery & parsing tool in another open source project?
2006-11-22 - Archive of obsolete content
to join, send a blank email with subscribe in the subject field to: nvda...@freelists.org (click here to view the original post and unmask the e-mail
address) michael would like to thank stormdragon for setting this up.
2006-09-29 - Archive of obsolete content
firefox 2 on windows vista discussion about the "state of affairs" of firefox 2 on windows vista rc1 - update for rc1 listed in update history as 'install pending' right-click "copy email
address" - bug 353102 a proposed bug fix to the 'copy email
address' bug how to use the rss feeds discovery & parsing tool in another open source project?
MDN Web Docs Glossary: Definitions of Web-related terms
i18n iana icann ice ide idempotent identifier idl ietf iife imap immutable index indexeddb information architecture inheritance input method editor instance internationalization internet intrinsic size ip
address ipv4 ipv6 irc iso isp itu j jank java javascript jpeg jquery json k key keyword l latency layout viewport lazy load lgpl ligature local scope local variable ...
What are hyperlinks? - Learn web development
back in 1989, tim berners-lee, the web's inventor, spoke of the three pillars on which the web stands: url, an
address system that keeps track of web documents http, a transfer protocol to find documents when given their urls html, a document format allowing for embedded hyperlinks as you can see in the three pillars, everything on the web revolves around documents and how to access them.
HTML basics - Learn web development
wrap the text in an <a> element, as shown below: <a>mozilla manifesto</a> give the <a> element an href attribute, as shown below: <a href="">mozilla manifesto</a> fill in the value of this attribute with the web
address that you want the link to link to: <a href="https://www.mozilla.org/about/manifesto/">mozilla manifesto</a> you might get unexpected results if you omit the https:// or http:// part, called the protocol, at the beginning of the web
address.
HTML Cheatsheet - Learn web development
raw a line through irrelevant text <s>i'm irrelevant</s> i'm irrelevant underline a non-textual annotation this is <u>mispelled</u> this is mispelled text displayed lower than normal text h<sub>2</sub>o h2o small text used to represent the <small>small print </small>of a document used to represent the small print of a document used for an
address <
address>main street 67</
address> main street 67 used for a textual cite <cite>lorem ipsum</cite> lorem ipsum text displayed higher than normal text x<sup>2</sup> x2 a short inline quotation <q>the q element indicates a short inline quotation.</q> the q element indicates a short inline quotation.
Document and website structure - Learn web development
line breaks and horizontal rules two elements that you'll use occasionally and will want to know about are <br> and <hr>: <br> creates a line break in a paragraph; it is the only way to force a rigid structure in a situation where you want a series of fixed short lines, such as in a postal
address or a poem.
Images in HTML - Learn web development
you could embed the image using its absolute url, for example: <img src="https://www.example.com/images/dinosaur.jpg"> but this is pointless, as it just makes the browser do more work, looking up the ip
address from the dns server all over again, etc.
Fetching data from the server - Learn web development
the object url will be visible inside the
address bar, and should be something like this: blob:http://localhost:7800/9b75250e-5279-e249-884f-d03eb1fd84f4 challenge: an xhr version of the can store we'd like you to try converting the fetch version of the app to use xhr as a useful bit of practice.
Object-oriented JavaScript for beginners - Learn web development
there are lots of things you could know about a person (their
address, height, shoe size, dna profile, passport number, significant personality traits ...) , but in this case we are only interested in showing their name, age, gender, and interests, and we also want to be able to write a short introduction about them based on this data, and get them to say hello.
Multimedia: Images - Learn web development
for the average website, 51% of its bandwidth comes from imagery, followed by video at 25%, so it's safe to say it's important to
address and optimize your multi-media content.
Web performance resources - Learn web development
<link rel="stylesheet" href="/path/to/my.css" media="print" onload="this.media='all'"> <noscript><link rel="stylesheet" href="/path/to/my.css"></noscript> the downside with this approach is the flash of unstyled text (fout.) the simplist way to
address this is by inlining css that is required for any content that is rendered above the fold, or what you see in the browser viewport before scrolling.
Deployment and next steps - Learn web development
navigate to the root of your app and run npx vercel; the first time you do it, you'll be prompted to enter your email
address, and follow the steps in the email sent to that
address, for security purposes.
Accessibility Information for Core Gecko Developers
this document shows several interactive desktop-style widgets that are accessible by keyboards and assistive technologies, and outlines a plan being developed by ibm, mozilla, and the wai protocols and formats working group (pfwg) to
address the issue of dhtml accessibility.
CSUN Firefox Materials
bookmarks can have a keyword assigned to them which can be typed into the
address bar to bring up the bookmark.
Index
686 theme concepts theme, add-on themes developed using the webextensions api in firefox enable you to change the look of the browser by adding images to the header area of the firefox browser; this is the area behind the menu bar, toolbars,
address bar, search bar, and tab strip.
Lightweight themes
creating a theme header image the header image is displayed as the background of the top of the browser window, nestling in behind the toolbars,
address bar, search bar and the tab strip.
Theme concepts
themes developed using the webextensions api in firefox enable you to change the look of the browser by adding images to the header area of the firefox browser; this is the area behind the menu bar, toolbars,
address bar, search bar, and tab strip.
Debugging Table Reflow
amage-repair lame-paint-metrics lame-reflow-metrics disable-resize-opt these options can be combined with a comma separated list messages generated by the reflow switch: block(div)(1)@00be5ac4: reflowing dirty lines computedwidth=9000 computedheight=1500 this message is generated inside of nsresult nsblockframe::reflowdirtylines(nsblockreflowstate& astate) it first shows the block id and
address and then the computed width and height from the htmlreflowstate.
Experimental features in Firefox
nightly 59 no developer edition 59 no beta 59 no release 59 no preference name security.mixed_content.block_object_subrequest insecure page labeling these two preferences add a "not secure" text label in the
address bar next to the traditional lock icon when a page is loaded insecurely (that is, using http rather than https).
Tracking Protection
click the ⓘ symbol in the
address bar to view information about the currently loaded page.
Gecko Keypress Event
(bug 359638 partially
addressed this issue by trying both characters on the key, but bug 303192 would provide a complete solution.) solution the following rules apply: key handlers should be provided with information about all the possible meanings of the event.
JavaScript OS.Constants
error values eacces permission denied eagain resource temporarily unavailable ebadf bad file descriptor eexist file exists efault bad
address efbig file too large einval invalid argument eio input/output error eisdir is a directory eloop (not always available under windows) too many levels of symbolic links.
Localizing with Koala
user: type your name and your e-mail
address in the form: "firstname lastname <me@example.com>" (be sure to type the wrapping quotes: "") note that you no longer have to edit the location now, it automatically fills in when you check the "mercurial" checkbox (e.g.
What every Mozilla translator should know
bugzilla, the bug-tracking system you do need an account in bugzilla you should configure the account to watch the following
addresses: firefoxl10n@hotmail.com calendar-l10n@mozilla.bugs (specific for calendar related bugs) this way you will receive mail for bugs affecting many or even all locales.
Mozilla Web Services Security Model
allow all services on a site to be accessed from any web page note that this is only a sensible thing to do if nothing on the site serves content based on cookies, http authentication, ip
address / domain origin, or any other method of authentication.
Gecko Profiler FAQ
[ehsan] i don’t think this is very interesting in the general situation, since oses can basically decide to swap out part of your virtual
address space and you’d page fault when you access that page next and there is very little that the program can do about that.
Performance
lsan is part of mozilla's continuous integration testing, with most tests running through it as part of the
addresssanitizer (a.k.a.
Phishing: a short definition
two-factor authentication none of the above anti-phishing measures
address the basic problem: username/password combinations are often enough to impersonate users.
browser.dom.window.dump.file
browser.dom.window.dump.file redirects the ouput of window.dump() calls to a file whose
address is specified in this preference if browser.dom.window.dump.enabled is set to true.
Patches and pushes
review, commit, & land
address any review comments made by the reviewers and update the patch until it receives an r+ rating.
MailNews
it provides a number of functions and capabilities, including: communications protocols - smtp, pop3, imap, nntp message management, including search and filtering message composition
address book the mailnews code lives in the mailnews/ directory of comm-central.
Midas
formatblock h1, h2, h3, h4, h5, h6, p, div,
address, blockquote (more?) the selection surrounded by the given block element.
Process Forking in NSPR
on some platforms, nspr threads directly map one-to-one to the threads provided by the platform vendor, on other platforms nspr threads are basically user-level threads within a single process (with no kernel threads) and on still others nspr threads are user-level threads implemented on top of one or more kernel threads within single
address space.
Introduction to NSPR
this, and the fact that threads share an
address space with other threads in the same process, makes it important to remember that threads are not processes .
PRErrorCode
nspr does not attempt to
address this issue.
PR_DELETE
syntax #include <prmem.h> void pr_delete(_ptr); parameter _ptr the
address of memory to be returned to the heap.
PR_FREEIF
syntax #include <prmem.h> void pr_freeif(_ptr); parameter _ptr the
address of memory to be returned to the heap.
PR_Free
description this function frees the memory
addressed by ptr in the heap.
PR_Initialize
argv the base
address of an array of strings that compromise the program's argument vector.
PR_MemMap
returns the starting
address of the memory region to which the section of file is mapped.
PR_NewTCPSocket
new code should use pr_opentcpsocket instead, which allows the
address family (ipv4 or ipv6) of the new tcp socket to be specified.
PR_NewUDPSocket
new code should use pr_openudpsocket instead, which allows the
address family (ipv4 or ipv6) of the new udp socket to be specified.
PR_Unmap
syntax #include <prio.h> prstatus pr_memunmap( void *addr, pruint32 len); parameters the function has the following parameters: addr the starting
address of the memory region to be unmapped.
PR_cnvtf
syntax #include <prdtoa.h> void pr_cnvtf ( char *buf, printn bufsz, printn prcsn, prfloat64 fval); parameters the function has these parameters: buf the
address of the buffer in which to store the result.
PR_strtod
se a pointer that, if not null, will be assigned the
address of the last character scanned in the input string.
An overview of NSS Internals
instead of simply verifying that the requester of a certificate is in control of an administrative email
address at the desired web site's domain, it's required that the ca performs a verification of real world identity documents (such as a company registration document with the country's authority), and it's also required that a browser software performs a revocation check with the ca, prior to granting validity to the certificate.
NSS_3.11.10_release_notes.html
tion botch in ssl3_registerserverhelloextensionsender doing second handshake with ssl_forcehandshake bug 403240: threads hanging in nss_initlock bug 403888: memory leak in trustdomain.c bug 416067: certutil -l -h token doesn't report token authentication failure bug 417637: tstclnt crashes if -p option is not specified bug 421634: don't send an sni client hello extension bearing an ipv6
address bug 422918: add verisign class 3 public primary ca - g5 to nss bug 424152: add thawte primary root ca to nss bug 424169: add geotrust primary certification authority root to nss bug 425469: add multiple new roots: geotrust bug 426568: add comodo certification authority certificate to nss bug 431381: add network solutions certificate authority root to nss bug 431621: add diginotar ro...
NSS 3.19.2 release notes
introduction network security services (nss) 3.19.2 is a patch release for nss 3.19 that
addresses compatibility issues in nss 3.19.1.
NSS 3.25.1 release notes
this is a patch release to
address a tls compatibility issue that some client applications experienced with nss 3.25.
NSS 3.26.2 release notes
this is a patch release to
address a tls compatibility issue that some client applications experienced with nss 3.26.1.
NSS 3.27.1 release notes
this is a patch release to
address a tls compatibility issue which some applications experienced with nss 3.27.
NSS 3.28.1 release notes
this is a patch release to update the list of root ca certificates, and
address a minor tls compatibility issue, that some applications experienced with nss 3.28.
NSS 3.46 release notes
hangs on windows x64 when building nss since changeset 9162c654d06915f0f15948fbf67d4103a229226f bug 1564875 - improve rebuilding with build.sh bug 1565243 - support tc_owner without email
address in nss taskgraph bug 1563778 - increase maxruntime on mac taskcluster tools, ssl tests bug 1561591 - remove -wmaybe-uninitialized warning in tstclnt.c bug 1561587 - remove -wmaybe-uninitialized warning in lgattr.c bug 1561558 - remove -wmaybe-uninitialized warning in httpserv.c bug 1561556 - remove -wmaybe-uninitialized warning in tls13esni.c bug 1561332 - ec.c:28 warning: comparison of int...
Enc Dec MAC Output Public Key as CSR
ied format */ if (ascii) { char *obuf; char *name, *email, *org, *state, *country; secitem *it; int total; it = &result; obuf = btoa_convertitemtoascii(it); total = pl_strlen(obuf); name = cert_getcommonname(subject); if (!name) { name = strdup("(not specified)"); } email = cert_getcertemail
address(subject); if (!email) email = strdup("(not specified)"); org = cert_getorgname(subject); if (!org) org = strdup("(not specified)"); state = cert_getstatename(subject); if (!state) state = strdup("(not specified)"); country = cert_getcountryname(subject); if (!country) country = strdup("(not ...
Enc Dec MAC Using Key Wrap CertReq PKCS10 CSR
t */ if (ascii) { char *obuf; char *name, *email, *org, *state, *country; secitem *it; int total; it = &result; obuf = btoa_convertitemtoascii(it); total = pl_strlen(obuf); name = cert_getcommonname(subject); if (!name) { name = strdup("(not specified)"); } email = cert_getcertemail
address(subject); if (!email) email = strdup("(not specified)"); org = cert_getorgname(subject); if (!org) org = strdup("(not specified)"); state = cert_getstatename(subject); if (!state) state = strdup("(not specified)"); country = cert_getcountryname(subject); if (!country) country = strdu...
sample2
fprintf(pr_stderr, "signing of data failed\n"); rv = secfailure; goto cleanup; } /* encode request in specified format */ if (ascii) { char *obuf; char *name, *email, *org, *state, *country; secitem *it; int total; it = &result; obuf = btoa_convertitemtoascii(it); total = pl_strlen(obuf); name = cert_getcommonname(subject); if (!name) { name = strdup("(not specified)"); } email = cert_getcertemail
address(subject); if (!email) email = strdup("(not specified)"); org = cert_getorgname(subject); if (!org) org = strdup("(not specified)"); state = cert_getstatename(subject); if (!state) state = strdup("(not specified)"); country = cert_getcountryname(subject); if (!country) country = strdup("(not specified)"); pr_fprintf(outfile, "\ncertificate request generated by netscape certutil\n"); pr_fprintf(out...
PKCS 7 functions
sec_pkcs7encoderupdate mxr 3.2 and later sec_pkcs7getcertificatelist mxr 3.2 and later sec_pkcs7getcontent mxr 3.2 and later sec_pkcs7getencryptionalgorithm mxr 3.2 and later sec_pkcs7getsignercommonname mxr 3.4 and later sec_pkcs7getsigneremail
address mxr 3.4 and later sec_pkcs7getsigningtime mxr 3.4 and later sec_pkcs7includecertchain mxr 3.2 and later sec_pkcs7iscontentempty mxr 3.2 and later sec_pkcs7setcontent mxr 3.4 and later sec_pkcs7verifydetachedsignature mxr 3.4 and later ...
FC_GetFunctionList
syntax ck_rv fc_getfunctionlist(ck_function_list_ptr *ppfunctionlist); parameters fc_getfunctionlist has one parameter: ppfunctionlist [output] the
address of a variable that will receive a pointer to the list of function pointers.
FC_GetMechanismList
syntax ck_rv fc_getmechanismlist( ck_slot_id slotid, ck_mechanism_type_ptr pmechanismlist, ck_ulong_ptr puscount ); parameters fc_getmechanismlist takes three parameters: slotid [input] pinfo [output] the
address of a variable that will receive a pointer to the list of function pointers.
FC_GetSlotInfo
syntax ck_rv fc_getslotinfo( ck_slot_id slotid, ck_slot_info_ptr pinfo ); parameters fc_getslotinfo takes two parameters: slotid [in] pinfo [out] the
address of a ck_slot_info structure.
NSS tools : cmsutil
specify list of recipients (email
addresses) for an encrypted or enveloped message.
NSS tools : crlutil
defined options include an rfc822 name (electronic mail
address), a dns name, an ip
address, and a uri.
sslerr.html
sec_error_cert_addr_mismatch -8100
address in signing certificate does not match
address in message headers.
sslfnc.html
if your application will use multiple processes (instead of, or in addition to, multiple threads), and all of the processes appear to be on the same server (same ip
address and port number), then those processes must share a common ssl session cache.
S/MIME functions
reate mxr 3.2 and later nss_cmssignerinfo_createwithsubjkeyid mxr 3.6 and later nss_cmssignerinfo_destroy mxr 3.2 and later nss_cmssignerinfo_getcertlist mxr 3.2 and later nss_cmssignerinfo_getsignercommonname mxr 3.2 and later nss_cmssignerinfo_getsigneremail
address mxr 3.2 and later nss_cmssignerinfo_getsigningcertificate mxr 3.2 and later nss_cmssignerinfo_getsigningtime mxr 3.2 and later nss_cmssignerinfo_getverificationstatus mxr 3.2 and later nss_cmssignerinfo_getversion mxr 3.2 and later nss_cmssignerinfo_includece...
TLS Cipher Suite Discovery
this function is declared in "ssl.h" as follows: ssl_import secstatus ssl_getciphersuiteinfo( pruint16 ciphersuite, sslciphersuiteinfo *info, pruintn len); the application provides the cipher suite number for which it wants information, the
address of a block of memory allocated to receive that information, and the size in bytes of that block of memory.
NSS_3.12.3_release_notes.html
bug 478931: object leak in pkix_list_mergelists function bug 478994: allow softoken's fork check to be disabled bug 479029: ocsp response signature cert found invalid if issuer is trusted only for ssl bug 479601: wrong type (utf8 string) for email
addresses in subject by cert_asciitoname bug 480142: use sizeof on the correct type of ckc_x509 in lib/ckfw bug 480257: ocsp fails when response > 1k byte bug 480280: the cka_ec_point pkcs#11 attribute is encoded in the wrong way: missing encapsulating octet string bug 480442: remove (empty) watcomfx.h from nss bug 481216: fix specific spelling errors in nss bug 482702: ocsp test with revoked...
NSS Tools cmsutil
specify list of recipients (email
addresses) for an encrypted or enveloped message.
NSS Tools crlutil
defined options include an rfc822 name (electronic mail
address), a dns name, an ip
address, and a uri.
NSS Tools dbck-tasks
nss security tools: dbck tasks newsgroup: mozilla.dev.tech.crypto task list in analyze mode, there should be an option to create a file containing a graph of the certificate database without any information about the user's certificates (no common names, email
addresses, etc.).
NSS tools : cmsutil
specify list of recipients (email
addresses) for an encrypted or enveloped message.
NSS tools : crlutil
defined options include an rfc822 name (electronic mail
address), a dns name, an ip
address, and a uri.
Scripting Java
to
address this need, rhino provides the ability to create new java objects that implement interfaces.
Index
260 js_errorfromexception jsapi reference, reference, référence(2), spidermonkey if obj is an exception object, the exception will have (or be able to lazily create) an error report struct, and js_errorfromexception will return the
address of that struct.
Tracing JIT
lir is a conventional three-
address, linear ssa code.
JS::Handle
method description const t *
address() const returns a pointer to ptr.
JS::MutableHandle
operator const t&() const t operator->() const t *
address() returns ptr.
JS_DumpNamedRoots
in pseudocode: /* pseudocode explanation of what js_dumpnamedroots does */ void js_dumpnamedroots(jsruntime *rt, dumpfn dump, void *data) { for each (root in rt->namedroots) dump(root.name, root.
address, data); } callback syntax dump is a pointer to a function provided by the application.
JS_ErrorFromException
description if obj is an exception object, the exception will have (or be able to lazily create) an error report struct, and js_errorfromexception will return the
address of that struct.
JS_GetLocaleCallbacks
js_getlocalecallbacks returns the
address of the current locale callbacks struct, which may be nullptr.
JS_NewDoubleValue
this can be avoided by using the
address of a rooted variable as rval.
JS_NewNumberValue
this can be avoided by using the
address of a rooted variable as rval.
TPS Tests
set up an environment and run a test to run tps, you should create a new firefox account using a restmail.net email
address (strictly speaking, restmail isn't required, but it will allow tps to automatically do account confirmation steps for you.
Secure Development Guidelines
sastring common read-only methods length() isempty() equals() common methods for modifying the string assign() append() insert() truncate() checking return values often causes problems return value not handled certain cases not handled or interpreted incorrectly double meaning malloc() can return a pointer or null, but null by itself is a valid
address checking return values int main() { int fds[2]; pipe(fds); write(fds[0], "data", 4); } the pipe() return value is not checked if pipe() fails, fds is not initialized write to un-initialized file descriptor checking return values check all return values—no matter how unlikely the api failure for example: close() can fail and leak file descriptor setuid...
AT APIs Support
k-meleon - light, ultra-fast and more advanced (fully configurable) gecko-based web browser available on the windows platform on linux/unix platform yelp help viewer - the help viewer in gnome evolution email - provides integrated mail,
addressbook and calendaring functionality to users of the gnome desktop.
AT Development
accessibility architecture how the accessibility hierarchy is implemented in mozilla (some issues aren't
addressed by previous guide).
The Publicity Stream API
this spawns a doorhanger which allows the user to specify which users can view the activity, and (following successful login and authorization with the stream server) registers the activity in a stream at [
address].
Fun With XBL and XPConnect
<binding name="autocomplete" extends="xul:box"> <content> <xul:textfield class="
addressingwidget"/> <xul:menupopup/> </content> <implementation> <property name="autocompletesession"> <![cdata[ components.classes['component://netscape/messenger/autocomplete&type=addrbook'].
An Overview of XPCOM
the difference is a subtle one, since interface pointers and regular pointers are both just
addresses in memory.
Starting WebLock
getting access to the category manager two fields in the nsmodulecomponentinfo structure introduced in the last section are
addresses for registration and unregistration callbacks.
Using XPCOM Utilities to Make Things Easier
in a function and you must pass back a reference to it, as in the following: someclass::get(nsisupports** aresult) { if (!aresult) return ns_error_null_pointer; nscomptr<nsisupports> value; object->method(getter_addrefs(value)); *aresult = value.get(); ns_if_addref(*aresult); return ns_ok; } the first thing that this method does is check to see that the caller passed a valid
address.
Clone
static void* clone( const void* aptr, size_t asize ); parameters aptr [in] the
address of the memory block to copy.
Free
static void free( void* aptr ); parameters aptr [in] the
address of the memory block to free.
Realloc
static void* realloc( void* aptr, size_t asize ); parameters aptr [in] the
address of the memory block to reallocate.
mozIThirdPartyUtil
if it cannot be determined because one or both uris do not have a base domain (for instance, in the case of ip
addresses, host aliases such as 'localhost', or a file:// uri), an exact string comparison on host is performed.
nsIDOMGeoPosition
1.0 66 introduced gecko 1.9.1 inherits from: nsisupports last changed in gecko 1.9.2 (firefox 3.6 / thunderbird 3.1 / fennec 1.0) attributes attribute type description
address nsidomgeoposition
address the
address of the user's current location, if available.
nsIDOMHTMLSourceElement
attributes attribute type description src domstring the src attribute gives the
address of the media resource.
nsIFeedPerson
1.0 66 introduced gecko 1.8 inherits from: nsifeedelementbase last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) attributes attribute type description email astring the person's email
address.
nsIFeedResult
uri nsiuri the
address from which the feed was fetched.
nsIHTMLEditor
void setparagraphformat( in astring aparagraphformat ); parameters aparagraphformat "p", "h1" to "h6", "
address", "pre", or "blockquote" updatebaseurl() set the baseurl for the document to the current url but only if the page doesn't have a <base> tag this should be done after the document url has changed, such as after saving a file this is used as base for relativizing link and image urls.
nsIHttpChannel
this is the
address (uri) of the resource from which this channel's uri was obtained (see rfc2616 section 14.36).
nsIMsgProtocolInfo
folderscreateasync boolean new in thunderbird 24 (bug 832034) preflightprettynamewithemail
address boolean unused.
nsIServerSocketListener
the
address of the client can be found by calling the nsisockettransport.get
address() method or by inspecting nsisockettransport.gethost(), which returns a string representation of the client's ip
address, which may be either an ipv4 or an ipv6
address.
nsIWifiAccessPoint
1.0 66 introduced gecko 1.9.1 inherits from: nsisupports last changed in gecko 1.9.1 (firefox 3.5 / thunderbird 3.0 / seamonkey 2.0) attributes attribute type description mac acstring the wifi access point's mac
address.
nsMsgSearchAttrib
smsgsearchattribvalue sender = 1; const nsmsgsearchattribvalue body = 2; const nsmsgsearchattribvalue date = 3; const nsmsgsearchattribvalue priority = 4; /* mail only */ const nsmsgsearchattribvalue msgstatus = 5; const nsmsgsearchattribvalue to = 6; const nsmsgsearchattribvalue cc = 7; const nsmsgsearchattribvalue toorcc = 8; const nsmsgsearchattribvalue all
addresses = 9; const nsmsgsearchattribvalue location = 10; /* result list only */ const nsmsgsearchattribvalue messagekey = 11; /* message result elems */ const nsmsgsearchattribvalue ageindays = 12; const nsmsgsearchattribvalue folderinfo = 13; /* for "view thread context" from result */ const nsmsgsearchattribvalue size = 14; const nsmsgsearchattribv...
XPCOM Interface Reference
stenernsidnsrecordnsidnsrequestnsidnsservicensidomcanvasrenderingcontext2dnsidomchromewindownsidomclientrectnsidomdesktopnotificationnsidomdesktopnotificationcenternsidomelementnsidomeventnsidomeventgroupnsidomeventlistenernsidomeventtargetnsidomfilensidomfileerrornsidomfileexceptionnsidomfilelistnsidomfilereadernsidomfontfacensidomfontfacelistnsidomgeogeolocationnsidomgeopositionnsidomgeoposition
addressnsidomgeopositioncallbacknsidomgeopositioncoordsnsidomgeopositionerrornsidomgeopositionerrorcallbacknsidomgeopositionoptionsnsidomglobalpropertyinitializernsidomhtmlaudioelementnsidomhtmlformelementnsidomhtmlmediaelementnsidomhtmlsourceelementnsidomhtmltimerangesnsidomjswindownsidommousescrolleventnsidommoznetworkstatsnsidommoznetworkstatsdatansidommoznetworkstatsmanagernsidommoztoucheventnsidomns...
XPCOM Interface Reference by grouping
browser autocomplete nsiautocompletecontroller nsiautocompleteinput nsiautocompletesearch console nsiconsolelistener nsiconsolemessage nsiconsoleservice document nsidocshell dom device nsidomgeogeolocation nsidomgeoposition nsidomgeoposition
address nsidomgeopositioncallback nsidomgeopositioncoords nsidomgeopositionerror nsidomgeopositionerrorcallback nsidomgeopositionoptions nsidomglobalpropertyinitializer element nsidomchromewindow nsidomclientrect nsidomelement nsidomhtmlaudioelement nsidomhtmlformelement nsidomhtmlmediaelement nsidomhtmlsourceelement nsidomhtmltimeranges ...
XPCOM reference
this macro is meant for critical errors; like assertions, ns_errors should not be reachable.ns_if_addrefmacrons_if_releasemacrons_releasemacrons_warningmacronsgetmoduleprocthis function prototype provides the xpcom entry-point into a module.nsiabcard/thunderbird3the nsiabcard interface is used to represent and manipulate cards in the
address book.
Reference Manual
several reasons: it would become inconvenient take the
address of an nscomptr in all other situations; the name "getter_addrefs" enforces the notion that a certain behavior is required of the getter; and once upon a time, there was another possibility (as you're about to learn).
MailNews Filters
the search is executed locally, not on the server, so that criteria like "in
address book" still work.
Mail client architecture overview
address book - the
address book contains lists of people and all attributes associated with them such as their e-mail
address, phone number, etc.
Main Windows
at compile time these files are added to the toolkit directory so that their chrome
addresses are in global, the same as firefox’s.
Message Interfaces
it can be used to retrieve
address, subject and related header information for a mail message.
The libmime module
(one interrogates the type of an instance by comparing the value of its class pointer with the
address of this variable.) extern foobarclass foobarclass; instance declaration theis structure defines the per-instance data of an object, and a pointer to the corresponding class record.
Thunderbird API documentation
activity manager
address book sync client design buddy icons in mail composition composition back end in mail cached compose window faq filelink providers new!
Zombie compartments
viewing live compartments if you want to see a list of live compartments, type "about:memory" into the
address bar and click on the measure button.
Using COM from js-ctypes
primative_hr = coinitializeex(null, coinit_apartmentthreaded); checkhresult(primative_hr, "coinitializeex"); spvoiceptr = ispvoice.ptr(); primative_hr = cocreateinstance(clsid_spvoice.
address(), null, clsctx_all, iid_ispvoice.
address(), spvoiceptr.
address()); checkhresult(primative_hr, "cocreateinstance"); spvoice = spvoiceptr.contents.lpvtbl.contents; let atext = 'hello firefox!'; let aflags = spf_default; primative_hr = spvoice.speak(spvoiceptr, atext, aflags, 0);...
Using Objective-C from js-ctypes
bridge/core.js#l370-l394 var bl = block_literal_1(); // set the class of the instance bl.isa = _nsconcreteglobalblock; // global flags bl.flags = block_const.block_has_stret; bl.reserved = 0; bl.invoke = afunctypeptr; // create descriptor var desc = block_descriptor_1(); desc.reserved = 0; desc.size = block_literal_1.size; // set descriptor into block literal bl.descriptor = desc.
address(); return bl; } an example of this function in use can be seen here: _ff-addon-snippet-objc_monitorevents - shows how to monitor and block mouse and key events on mac os x ...
Memory Management
what won't keep objects alive it's important to note that getting direct access to the contents of a cdata object using
address(),
addressofelement(), or contents, will result in a cdata object that does not hold its referent alive.
Type conversion
0 mystruct.v = ctypes.int32_t(10); // throws error float types target type source converted value any float types js number (only if fits to the size) src pointer types target type source converted value any pointer types null nullptr ctypes.voidptr_t any pointer types src any array types src.
addressofelement(0) ctypes.pointertype(t) ctypes.arraytype(t) src.
addressofelement(0) ctypes.arraytype(t, n) src.
addressofelement(0) var mystruct = ctypes.structtype("mystructtype", [ { "v": ctypes.int16_t.ptr } ])(); mystruct.v = ctypes.int16_t.array(10)(); console.log(mystruct.v.tostring()); // 'ctypes.int16_t.ptr(ctypes.uint64("0x11d6ff400"))' mystruct.v = nul...
Library
for example, from the objective-c library we can export the symbol which holds the
address to an external block.
PointerType
pointertype cdata method_overview bool isnull() methods inherited from cdata cdata
address() string tosource() string tostring() pointertype cdata methods isnull() determines whether or not the pointer's value is null.
ctypes
is crashing and not working) example of cast and functiontype on windows components.utils.import("resource://gre/modules/ctypes.jsm"); var kernel = ctypes.open("kernel32.dll"); var hmodule = ctypes.uint32_t; var hwnd = ctypes.uint32_t; var lpctstr = ctypes.jschar.ptr; var lpcstr = ctypes.char.ptr; var loadlibrary = kernel.declare("loadlibraryw", ctypes.winapi_abi, hmodule, lpctstr); var getproc
address = kernel.declare("getproc
address", ctypes.winapi_abi, ctypes.void_t.ptr, hmodule, lpcstr); var huser = loadlibrary("user32"); var funcptr = getproc
address(huser, "messageboxw"); // now we have a pointer to a function, let's cast it to the right type var messageboxtype = ctypes.functiontype(ctypes.winapi_abi, ctypes.int32_t, [hwnd, lpctstr, lpctstr, ctypes.uint32_t]); funcptr = ctypes.cast(funcp...
URLs - Plugins
mailto (electronic mail
address) locates the internet mailing
address of an individual or service.
Dominators view - Firefox Developer Tools
each entry displays: the retained size of the node, as bytes and as a percentage of the total the shallow size of the node, as bytes and as a percentage of the total the nodes's name and
address in memory.
Network request details - Firefox Developer Tools
request information the following information is shown only when the section is expanded: scheme: the scheme used in the url host: the server involved in the request filename: the full path to the file requested
address: the ip
address of the host the following information is shown in both the collapsed and the expanded states: status: the http response code for the request.
Settings - Firefox Developer Tools
if common preferences is not included in the settings, web console logs can be persisted by using the 'about:config' url in browser
address bar, searching for: 'devtools.webconsole.persistlog' then toggling this value to true inspector show browser styles a setting to control whether styles applied by the browser (user-agent styles) should be displayed in the inspector's rules view.
about:debugging - Firefox Developer Tools
above the usual list of tools, you can see information about the device you are connected to, including the fact that you are connected (in this example) via usb, to firefox preview, on a pixel 2, as well as the title of the page that you are debugging, and the
address of the page.
DOMParser - Web APIs
note: xmlhttprequest can parse xml and html directly from a url-
addressable resource, returning a document in its response property.
Document.execCommand() - Web APIs
(internet explorer and edge support only heading tags h1–h6,
address, and pre, which must be wrapped in angle brackets, such as "<h1>".) forwarddelete deletes the character ahead of the cursor's position, identical to hitting the delete key on a windows keyboard.
Using FormData Objects - Web APIs
simply include an <input> element of type file in your <form>: <form enctype="multipart/form-data" method="post" name="fileinfo"> <label>your email
address:</label> <input type="email" autocomplete="on" autofocus name="userid" placeholder="email" required size="32" maxlength="64" /><br /> <label>custom file label:</label> <input type="text" name="filelabel" size="12" maxlength="32" /><br /> <label>file to stash:</label> <input type="file" name="file" required /> <input type="submit" value="stash the file!" /> </form> <div></div> then y...
HTMLIFrameElement - Web APIs
htmliframeelement.src is a domstring that reflects the src html attribute, containing the
address of the content to be embedded.
HTMLObjectElement.data - Web APIs
the data property of the htmlobjectelement interface returns a domstring that reflects the data html attribute, specifying the
address of a resource's data.
HTMLObjectElement - Web APIs
htmlobjectelement.data returns a domstring that reflects the data html attribute, specifying the
address of a resource's data.
HTMLTrackElement - Web APIs
htmltrackelement.src is a domstring that reflects the src html attribute, indicating the
address of the text track data.
Using IndexedDB - Web APIs
so, for example, if you have an object store which holds a set of people, and you want to ensure that no two people have the same email
address, you can use an index with the unique flag set to enforce this.
MediaDevices.getUserMedia() - Web APIs
a document loaded using a data:// or blob:// url which has no origin (such as when one of these urls is typed by the user into the
address bar) cannot call getusermedia().
Media Capabilities API - Web APIs
the media capabilities api provide more powerful features than say mediarecorder.istypesupported() or htmlmediaelement.canplaytype(), which only
address general browser support, not performance.
Navigator.sendBeacon() - Web APIs
historically, this was
addressed with some of the following workarounds to delay the page unload long enough to send data to some url: submitting the data with a blocking synchronous xmlhttprequest call in unload or beforeunload event handlers.
NetworkInformation.downlink - Web APIs
this value is based on recently observed application layer throughput across recently active connections, excluding connections made to a private
address space.
Node.baseURI - Web APIs
details the base url of a document the base url of a document defaults to the document's
address (as displayed by the browser and available in window.location), but it can be changed: when an html <base> tag is found in the document when the document is new (created dynamically) see the base urls section of the html living standard for details.
PayerErrors.name - Web APIs
example function validatepayment(response) { const correctionpromises let paymenterrors = {}; let payererrors = {}; // check payer details if (!validemail(response.payeremail)) { payererrors.email = "please make sure you enter a valid email
address." } if (!validname(response.payername)) { payererrors.email = "please enter a valid name, using only <appropriate characters>." } if (!validphone(response.payerphone)) { payererrors.phone = "please enter a valid phone number in the form ###-###-####." } // check everything else too...
PayerErrors.phone - Web APIs
example function validatepayment(response) { const correctionpromises let paymenterrors = {}; let payererrors = {}; // check payer details if (!validemail(response.payeremail)) { payererrors.email = "please make sure you enter a valid email
address." } if (!validname(response.payername)) { payererrors.email = "please enter a valid name, using only <appropriate characters>." } if (!validphone(response.payerphone)) { payererrors.phone = "please enter a valid phone number in the form ###-###-####." } // check everything else too...
PaymentDetailsUpdate.error - Web APIs
this message can be used to explain to the user why they cannot submit their payment as currently specified—whether that's because the selected products cannot be shipped to their region or because their
address is not served by any of the shipping companies you use.
PaymentItem - Web APIs
this can be used to show items such as shipping or tax amounts that depend upon the selection of shipping
address, shipping option, or so forth.
PaymentRequest: merchantvalidation event - Web APIs
related events payerdetailchange, paymentmethodchange, shipping
addresschange, and shippingoptionchange specifications specification status comment payment request apithe definition of 'merchantvalidation' in that specification.
PaymentRequest: paymentmethodchange event - Web APIs
related events merchantvalidation, shipping
addresschange, shippingoptionchange, and payerdetailchange specifications specification status comment payment request apithe definition of 'paymentmethodchange' in that specification.
PaymentResponse.details - Web APIs
payment.show().then(paymentresponse => { var paymentdata = { // payment method string method: paymentresponse.methodname, // payment details as you requested details: paymentresponse.details, // shipping
address information
address: todict(paymentresponse.shipping
address) }; // send information to the server }); specifications specification status comment payment request api candidate recommendation initial definition.
PaymentResponse.methodName - Web APIs
payment.show().then(paymentresponse => { var paymentdata = { // payment method string method: paymentresponse.methodname, // payment details as you requested details: paymentresponse.details, // shipping
address information
address: todict(paymentresponse.shipping
address) }; // send information to the server }); specifications specification status comment payment request api candidate recommendation initial definition.
PaymentResponse.onpayerdetailchange - Web APIs
examples in the example below, onpayerdetailchange is used to set up a listener for the payerdetailchange event in order to validate the information entered by the user, requesting that any mistakes be corrected // options for paymentrequest(), indicating that shipping
address, // payer email
address, name, and phone number all be collected.
PaymentResponse: payerdetailchange event - Web APIs
ncelable no interface paymentrequestupdateevent event handler property onpayerdetailchange examples in the example below, onpayerdetailchange is used to set up a listener for the payerdetailchange event in order to validate the information entered by the user, requesting that any mistakes be corrected // options for paymentrequest(), indicating that shipping
address, // payer email
address, name, and phone number all be collected.
PaymentValidationErrors - Web APIs
shipping
address optional an
addresserrors object which contains error messages for any of the fields in the shipping
address that failed validation.
Payment processing concepts - Web APIs
paymentrequest.onmerchantvalidation = function(event) { event.complete(fetchvalidationdata(event.validationurl)); } in this example, fetchvalidationdata() is a function which loads the payment handler specific identifying information from the
address given by validationurl.
PerformanceEntry.entryType - Web APIs
performance entry type names value subtype type of name property description of name property frame, navigation performanceframetiming, performancenavigationtiming url the document's
address.
PerformanceEntry.name - Web APIs
value subtype entrytype values description url performanceframetiming, performancenavigationtiming frame, navigation the document's
address.
PerformanceNavigation.type - Web APIs
possible values are: value constant name meaning 0 type_navigate the page was accessed by following a link, a bookmark, a form submission, a script, or typing the url in the
address bar.
PerformanceNavigation - Web APIs
possible values are: type_navigate (0) the page was accessed by following a link, a bookmark, a form submission, or a script, or by typing the url in the
address bar.
PerformanceNavigationTiming.type - Web APIs
the value must be one of the following: navigate navigation started by clicking a link, entering the url in the browser's
address bar, form submission, or initializing through a script operation other than reload and back_forward as listed below.
PromiseRejectionEvent() - Web APIs
the reason could just as easily be a number, or even an object with detailed information including the home
address, how serious the fire is, and the phone number of an emergency contact who should be notified.
RTCDataChannel: error event - Web APIs
examples // strings for each of the sctp cause codes found in rfc // 4960, section 3.3.10: // https://tools.ietf.org/html/rfc4960#section-3.3.10 const sctpcausecodes = [ "no sctp error", "invalid stream identifier", "missing mandatory parameter", "stale cookie error", "sender is out of resource (i.e., memory)", "unable to resolve
address", "unrecognized sctp chunk type received", "invalid mandatory parameter", "unrecognized parameters", "no user data (sctp data chunk has no data)", "cookie received while shutting down", "restart of an association with new
addresses", "user-initiated abort", "protocol violation" ]; dc.addeventlistener("error", ev => { const err = ev.error; console.error("webrtc error: ", err.
RTCIceCandidate.RTCIceCandidate() - Web APIs
the following fields are initialized to null if they are not included in the rtcicecandidate.candidate property: foundation, component, priority , ip, protocol, port, type, tcptype, related
address, and relatedport.
RTCIceCandidatePairStats - Web APIs
circuitbreakertriggercount optional an integer value indicating the number of times the circuit-breaker has been triggered for this particular 5-tuple (the set of five values comprising a tcp connection: source ip
address, source port number, destination ip
address, destination port number, and protocol).
RTCIceCandidateStats.priority - Web APIs
the priority of a candidate is calculated using the following variables as inputs: the preferability of the candidate type (local, server reflexive, peer reflexive, or relayed) the preferability of the candidate's specific ip
address (for multihomed agents) the candidate's component id (1 for rtp, 2 for rtcp) the candidate's priority is computed using the formula (ptype is the priority of the candidate's type and plocal is the priority of the ip
address): priority = 224×ptype + 28×plocal + (256 - componentid)priority\quad =\quad { 2 }^{ 24 }\times { p }_{ type }\quad +\quad { 2 }^{ 8 }\times { p }_{ local }\quad +\quad ...
RTCIceServers.urls - Web APIs
this is useful if the server is, for example, available both on "turn" and "turns" schemes, or if there's a fallback
address available for the server.
RTCIceServer - Web APIs
older versions of the webrtc specification included an url property instead of urls; this was changed in order to let you specify multiple
addresses for each server in the list, as shown in the example below.
RTCPeerConnectionIceEvent.candidate - Web APIs
example pc.onicecandidate = function( ev ) { alert("the ice candidate (transport
address: '" + ev.candidate.candidate + "') has been added to this connection."); } specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcpeerconnectioniceevent.candidate' in that specification.
RTCPeerConnectionIceEvent - Web APIs
examples pc.onicecandidate = function( ev ) { alert("the ice candidate (transport
address: '" + ev.candidate.candidate + "') has been added to this connection."); } specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcpeerconnectioniceevent' in that specification.
SVGTextContentElement - Web APIs
svgtextcontentelement.getnumberofchars() returns a long representing the total number of
addressable characters available for rendering within the current element, regardless of whether they will be rendered.
Selection.selectAllChildren() - Web APIs
example html <main> <button>select footer</button> <p>welcome to my website.</p> <p>i hope you enjoy your visit.</p> </main> <footer> <
address>webmaster@example.com</
address> <p>© 2019</p> </footer> javascript const button = document.queryselector('button'); const footer = document.queryselector('footer'); button.addeventlistener('click', (e) => { window.getselection().selectallchildren(footer); }); result specifications specification status comment selection apithe definition of 'selection.selectall...
Using Touch Events - Web APIs
to help
address this problem, the pointer events standard defines events and related interfaces for handling hardware agnostic pointer input from devices including a mouse, pen, touchscreen, etc..
URLSearchParams.get() - Web APIs
of your page is https://example.com/?name=jonathan&age=18 you could parse out the 'name' and 'age' parameters using: let params = new urlsearchparams(document.location.search.substring(1)); let name = params.get("name"); // is the string "jonathan" let age = parseint(params.get("age"), 10); // is the number 18 requesting a parameter that isn't present in the query string will return null: let
address = params.get("
address"); // null specifications specification status comment urlthe definition of 'get()' in that specification.
USBEndpoint - Web APIs
properties usbendpoint.endpointnumber returns this endpoint's "endpoint number" which is a value from 1 to 15 extracted from the bendpoint
address field of the endpoint descriptor defining this endpoint.
WebGL best practices - Web APIs
general topics
address and eliminate webgl errors your application should run without generating any webgl errors (as returned by geterror).
Signaling and video calling - Web APIs
each ice message suggests a communication protocol (tcp or udp), ip
address, port number, connection type (for example, whether the specified ip is the peer itself or a relay server), along with other information needed to link the two computers together.
WebRTC API - Web APIs
application layer protocol negotiation for 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 sta...
Writing WebSocket client applications - Web APIs
establishing a websocket relies on the http upgrade mechanism, so the request for the protocol upgrade is implicit when we
address the web server as ws://www.example.com or wss://www.example.com.
Window.open() - Web APIs
location if this feature is on, then the new secondary window renders the location bar or the
address bar.
Using the aria-labelledby attribute - Accessibility
examples example 1: multiple labels in the example below, each input field is labelled by both its own individual label and by the label for the group: <div id="mybillingid">billing</div> <div> <div id="mynameid">name</div> <input type="text" aria-labelledby="mybillingid mynameid"/> </div> <div> <div id="my
addressid">
address</div> <input type="text" aria-labelledby="mybillingid my
addressid"/> </div> example 2: associating headings with regions in the example below, header elements are associated with the content they head.
Using the aria-required attribute - Accessibility
examples example 1: a simple form <form action="post"> <label for="firstname">first name:</label> <input id="firstname" type="text" aria-required="true" /> <br/> <label for="lastname">last name:</label> <input id="lastname" type="text" aria-required="true" /> <br/> <label for="street
address">street
address:</label> <input id="street
address" type="text" /> </form> working examples: tooltip example (includes the use of the aria-required attribute) notes used in aria roles combobox gridcell listbox radiogroup spinbutton textbox tree related aria techniques using the aria-invalid attribute compatibility tbd: add support information for common ua and at produ...
ARIA Test Cases - Accessibility
widget test cases alert simple alert complex alert real alert example with aria-required and aria-invalid -- type in a email
address without an at sign to test the alert expected at behavior: a screen reader or screen magnifier must speak an alert when it becomes visible.
Cognitive accessibility - Accessibility
it may seem like an overwhelming challenge to
address the wide range of cognitive differences, especially when solutions for two different people may be conflicting.
Implementing a Microsoft Active Accessibility (MSAA) Server - Accessibility
mportant] role_combobox [important] role_droplist [important] role_progressbar [important] role_dial role_hotkeyfield role_slider role_spinbutton role_diagram role_animation role_equation role_buttondropdown role_buttonmenu role_buttondropdowngrid role_whitespace role_pagetablist [important] role_clock role_splitbutton role_ip
address role_nothing msaa object identifiers cheat sheet for information on what each object identifier does, see the msdn object identifiers constants page.
Understandable - Accessibility
when a simple instruction or prompt is required, you can use <label> elements for single inputs like name or age, a combination or <label>s and <fieldset>s/<legend>s for multiple inputs that go together (like the elements of a date of birth or postal
address).
Understanding the Web Content Accessibility Guidelines - Accessibility
wcag 2.1 includes: all of wcag 2.0 (verbatim, word-for-word) 17 new success criteria at the a / aa / aaa levels primarily
addressing user needs in these areas: mobile accessibility low vision cognitive read more about wcag 2.1: deque: wcag 2.1: what is next for accessibility guidelines tpg: web content accessibility guidelines (wcag) 2.1 legal standing this guide is intended to provide practical information to help you build better, more accessible websites.
::placeholder - CSS: Cascading Style Sheets
<label for="user-email">your email
address</label> <span id="user-email-hint" class="input-hint">example: jane@sample.com</span> <input id="user-email" aria-describedby="user-email-hint" name="email" type="email"> placeholders in form fields are harmful — nielsen norman group windows high contrast mode placeholder text will appear with the same styling as user-entered text content when rendered in windows high contrast mode.
:invalid - CSS: Cascading Style Sheets
html <form> <div class="field"> <label for="url_input">enter a url:</label> <input type="url" id="url_input"> </div> <div class="field"> <label for="email_input">enter an email
address:</label> <input type="email" id="email_input" required> </div> </form> css label { display: block; margin: 1px; padding: 1px; } .field { margin: 1px; padding: 1px; } input:invalid { background-color: #ffdddd; } form:invalid { border: 5px solid #ffdddd; } input:valid { background-color: #ddffdd; } form:valid { border: 5px solid #ddffdd; } input:required { border-c...
:valid - CSS: Cascading Style Sheets
the email input on the other hand is valid when empty, as it is not required, but invalid when it contains something that is not a proper email
address.
@counter-style - CSS: Cascading Style Sheets
the @counter-style at-rule
addresses this shortcoming in an open-ended manner, by allowing authors to define their own counter styles when the pre-defined styles aren't fitting their needs.
CSS Grid Layout and Progressive Enhancement - CSS: Cascading Style Sheets
can use css grid to overwrite older methods.</p> </li> <li class="card"> <h2>five</h2> <p>we can use css grid to overwrite older methods.</p> </li> <li class="card"> <h2>six</h2> <p>we can use css grid to overwrite older methods.</p> </li> </ul> </div> once again it is the width on the item we need to
address, and then any other properties we want to enhance.
Logical properties for floating and positioning - CSS: Cascading Style Sheets
clear: inline-end clear: right inset-inline-start left inset-inline-end right inset-block-start top inset-block-end bottom text-align: start text-align: left text-align: end text-align: right in addition to these mapped properties there are some additional shorthand properties made possible by being able to
address block and inline dimensions.
Audio and Video Delivery - Developer guides
at this time, this is the only part of the media fragments uri specification implemented by gecko, and it can only be used when specifying the source for media elements, and not in the
address bar.
Overview of events and handlers - Developer guides
for example, code might be attached as: var funcinit = function(){ // user code goes here and can safely
address all the html elements from the page // since the document has successfully been 'loaded' } document.addeventlistener('domcontentloaded', funcinit); so that this code will only be executed after the document object emits the 'domcontentloaded' event because the html has been parsed and javasript objects created representing each of the nodes of the html document.
Content categories - Developer guides
they are: <a>, <abbr>, <
address>, <article>, <aside>, <audio>, <b>,<bdo>, <bdi>, <blockquote>, <br>, <button>, <canvas>, <cite>, <code>, <command>, <data>, <datalist>, <del>, <details>, <dfn>, <div>, <dl>, <em>, <embed>, <fieldset>, <figure>, <footer>, <form>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <header>, <hgroup>, <hr>, <i>, <iframe>, <img>, <input>, <ins>, <kbd>, <keygen>, <label>, <main>, <map>, <mark>, <math>, <menu>, <me...
<p>: The Paragraph element - HTML: Hypertext Markup Language
the end tag may be omitted if the <p> element is immediately followed by an <
address>, <article>, <aside>, <blockquote>, <div>, <dl>, <fieldset>, <footer>, <form>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <header>, <hr>, <menu>, <nav>, <ol>, <pre>, <section>, <table>, <ul> or another <p> element, or if there is no more content in the parent element and the parent element is not an <a> element.
<summary>: The Disclosure Summary element - HTML: Hypertext Markup Language
>current invoice: $75.30</li> <li>due date: 5/6/19</li> </ol> </details> summaries as headings you can use heading elements in <summary>, like this: <details open> <summary><h4>overview</h4></summary> <ol> <li>cash on hand: $500.00</li> <li>current invoice: $75.30</li> <li>due date: 5/6/19</li> </ol> </details> this currently has some spacing issues that could be
addressed using css.
Content negotiation - HTTP
the accept header is defined by the browser, or any other user-agent, and can vary according to the context, like fetching an html page or an image, a video, or a script: it is different when fetching a document entered in the
address bar or an element linked via an <img>, <video> or <audio> element.
Clear-Site-Data - HTTP
depending on the browser, this might also clear out things like pre-rendered pages, script caches, webgl shader caches, or
address bar suggestions.
Sec-Fetch-Site - HTTP
directly entering a url in the
address bar, opening a bookmark, or draging-and-dropping a file into the browser window.
X-Forwarded-Host - HTTP
this header is used for debugging, statistics, and generating location-dependent content and by design it exposes privacy sensitive information, such as the ip
address of the client.
Link prefetching FAQ - HTTP
this is a problem that we hope to
address in the future by leveraging operating system services to monitor network idle time.
Functions - JavaScript
within a function, you can
address the arguments passed to it as follows: arguments[i] where i is the ordinal number of the argument, starting at 0.
Using Promises - JavaScript
using async/await
addresses most, if not all of these problems—the tradeoff being that the most common mistake with that syntax is forgetting the await keyword.
Array.prototype.values() - JavaScript
value: there are no values stored in the array iterator object; instead it stores the
address of the array used in its creation and so depends on the values stored in that array.
Date - JavaScript
due to the differing lengths of days (due to daylight saving changeover), months, and years, expressing elapsed time in units greater than hours, minutes, and seconds requires
addressing a number of issues, and should be thoroughly researched before being attempted.
Map - JavaScript
let contacts = new map() contacts.set('jessie', {phone: "213-555-1234",
address: "123 n 1st ave"}) contacts.has('jessie') // true contacts.get('hilary') // undefined contacts.set('hilary', {phone: "617-555-4321",
address: "321 s 2nd st"}) contacts.get('jessie') // {phone: "213-555-1234",
address: "123 n 1st ave"} contacts.delete('raymond') // false contacts.delete('jessie') // true console.log(contacts.size) // 1 constructor map() creates a new map object.
Object.freeze() - JavaScript
var employee = { name: "mayank", designation: "developer",
address: { street: "rohini", city: "delhi" } }; object.freeze(employee); employee.name = "dummy"; // fails silently in non-strict mode employee.
address.city = "noida"; // attributes of child object can be modified console.log(employee.
address.city) // output: "noida" to make an object immutable, recursively freeze each property which is of type object (deep freeze).
String.fromCharCode() - JavaScript
however, this set of characters, known as the base multilingual plane (bmp), is only 1/17th of the total
addressable unicode code points.
Optional chaining (?.) - JavaScript
for instance: let potentiallynullobj = null; let x = 0; let prop = potentiallynullobj?.[x++]; console.log(x); // 0 as x was not incremented stacking the optional chaining operator with nested structures, it is possible to use optional chaining multiple times: let customer = { name: "carl", details: { age: 82, location: "paradise falls" // detailed
address is unknown } }; let customercity = customer.details?.
address?.city; // … this also works with optional chaining function call let duration = vacations.trip?.gettime?.(); combining with the nullish coalescing operator the nullish coalescing operator may be used after optional chaining in order to build a default value when none was found: let customer = { name: "carl", details: { age:...
throw - JavaScript
ostring = function() { return string(this.value) }; } else { throw new zipcodeformatexception(zip); } } function zipcodeformatexception(value) { this.value = value; this.message = 'does not conform to the expected format for a zip code'; this.tostring = function() { return this.value + this.message; }; } /* * this could be in a script that validates
address data * for us
addresses.
Using dns-prefetch - Web Performance
when a browser requests a resource from a (third party) server, that cross-origin’s domain name must be resolved to an ip
address before the browser can issue the request.
Privacy, permissions, and information security
personally identification can include information like usernames, real names, passwords, phone numbers or
addresses (or even portions of them), information about medical history, social security numbers, driver licenses, or any other form of id or id number, credit card information, and so forth.
SVG 2 support in Mozilla - SVG: Scalable Vector Graphics
glyphitem> and <glyphref> removed <altglyph>, <altglyphdef> and <altglyphitem> removed (bug 1260032), <glyphref> never really implemented (bug 1302693) svgtextcontentelement.selectsubstring() deprecated implementation status unknown getcomputedtextlength() not including dx and dy values implementation status unknown text in non-rendered elements not included in
addressable characters implementation status unknown unknown elements in text render as unpositioned spans implementation status unknown offset distances of text positioned along a transformed path measured in text elements coordinate system implementation status unknown embedded content change notes <video> implementation status unknown ...