Search completed in 1.09 seconds.
nsIMsgIdentity
the nsimsg
identity interface contains all the personal outgoing mail information for a given person.
... each
identity is identified by a key, which is the id string in the
identity preferences, such as in mail.
identity.<id>.replyto.
... inherits from: nsisupports method overview void clearallvalues(); void copy(in nsimsg
identity identity); astring getunicharattribute(in string name); void setunicharattribute(in string name, in astring value); acstring getcharattribute(in string name); void setcharattribute(in string name, in acstring value); boolean getboolattribute(in string name); void setboolattribute(in string name, in boolean value); long getintattribute(in string name); void setintattribute(in string name, in long value); astring tostring(); attributes attribute type description
identityname astring fullname astring user's full name, i.e.
...And 7 more matches
RTCPeerConnection.peerIdentity - Web APIs
the read-only rtcpeerconnection property peer
identity returns a javascript promise that resolves to an rtc
identityassertion which contains a domstring identifying the remote peer.
... once this promise resolves successfully, the resulting
identity is the target peer
identity and cannot change for the duration of the connection.
... syntax var
identity = rtcpeerconnection.peer
identity; value a javascript promise which resolves to an rtc
identityassertion that describes the remote peer's
identity.
...And 7 more matches
RTCIdentityErrorEvent - Web APIs
the rtc
identityerrorevent interface represents an error associated with the
identity provider (idp).
... firefox implements this interface under the following name: rtcpeerconnection
identityerrorevent.
... properties a rtc
identityerrorevent being an event, this event also implements these properties.
...And 6 more matches
RTCIdentityEvent - Web APIs
the rtc
identityevent interface represents an
identity assertion generated by an
identity provider (idp).
...the only event sent with this type is
identityresult..
... firefox implements this interface under the following name: rtcpeerconnection
identityevent.
...And 5 more matches
RTCPeerConnection: peeridentity event - Web APIs
the peer
identity event is sent to the connection concerned when peer
identity has been set and verified on it.
... the new identiy can be access using the rtcpeerconnection.peer
identity property.
... an event handler for this event can be added via the rtcpeerconnection.onpeer
identity property.
...And 5 more matches
PRDescIdentity
the
identity of a file descriptor's layer.
... syntax #include <prio.h> typedef pruintn prdesc
identity; description file descriptors may be layered.
... each layer has it own
identity.
...And 3 more matches
PR_GetUniqueIdentity
asks the runtime to allocate a unique
identity for a layer identified by the layer's name.
... syntax #include <prio.h> prdesc
identity pr_getunique
identity(const char *layer_name); parameter the function has the following parameter: layer_name the string associated with the creation of a layer's
identity.
... returns the function returns one of the following values: if successful, the prdesc
identity for the layer associated with the string specified in the layer named layer_name.
...And 2 more matches
RTCPeerConnection.onidentityresult - Web APIs
the rtcpeerconnection.on
identityresult event handler is a property containing the code to execute when the
identityresult event, of type rtc
identityevent, is received by this rtcpeerconnection.
... such an event is sent when an
identity assertion is generated, via get
identityassertion() or during the creation of an offer or an answer.
... syntax peerconnection.on
identityresult = function; values function is the name of a user-defined function, without the () suffix or any parameters, or an anonymous function declaration, such as function(event) {...}.
...And 2 more matches
RTCPeerConnection.onpeeridentity - Web APIs
the rtcpeerconnection.onpeer
identity event handler is a property containing the code to execute whent the peer
identity event, of type event, is received by this rtcpeerconnection.
... such an event is sent when an
identity assertion, received from a peer, has been successfully validated.
...to detect successful validation of the
identity, wait for the promise returned by peer
identity to resolve successfully with the peer's
identity.
...And 2 more matches
RTCPeerConnection.getIdentityAssertion() - Web APIs
the rtcpeerconnection.get
identityassertion() method initiates the gathering of an
identity assertion.
... syntax pc.get
identityassertion(); there is neither parameter nor return value for this method.
... example var pc = new peerconnection(); pc.get
identityassertion(); // not mandatory, but we know that we will need it in the future.
... specifications specification status comment
identity for webrtcthe definition of 'rtcpeerconnection.get
identityassertion()' in that specification.
PR_GetLayersIdentity
gets the unique
identity for the layer of the specified file descriptor.
... syntax #include <prio.h> prdesc
identity pr_getlayers
identity(prfiledesc* fd); parameter the function has the following parameter: fd a pointer to a file descriptor.
... returns if successful, the function returns the prdesc
identity for the layer of the specified file descriptor.
PR_GetNameForIdentity
gets the string associated with a layer's unique
identity.
... syntax #include <prio.h> const char* pr_getnamefor
identity(prdesc
identity ident); parameter the function has the following parameter: ident a layer's
identity.
...the string is copied by the runtime, and pr_getnamefor
identity returns a pointer to that copy.
RTCIdentityAssertion - Web APIs
the rtc
identityassertion interface of the the webrtc api represents the
identity of the a remote peer of the current connection.
... properties rtc
identityassertion.idp indicates the provider of the
identity assertion.
... rtc
identityassertion.name indicates the name of the
identity assertion provider.
RTCIdentityErrorEvent.loginUrl - Web APIs
the read-only property rtc
identityerrorevent.loginurl is a domstring giving the url where the user can complete the authentication.
... it can be null and is provided by the
identity provider (idp).
... firefox implements the interface of this property under the following name: rtcpeerconnection
identityerrorevent.
RTCIdentityEvent.assertion - Web APIs
the read-only property rtc
identityevent.assertion returns the domstring containing a blob being the coded assertion associated with the event.
... firefox implements the interface this property belongs to under the following name: rtcpeerconnection
identityevent.
... syntax var blob = event.assertion; example pc.on
identityresult = function( ev ) { alert("a new
identity assertion (blob: '" + ev.assertion + "') has been generated."); } ...
RTCPeerConnection: identityresult event - Web APIs
an
identityresult event is sent to an rtcpeerconnection object's on
identityresult event handler to inform it that an assertion has been generated by an associated
identity provider (idp) during the process of creating an sdp offer or answer.
...instead, the peer
identity property returns a promise that resolves with an
identity or rejects if an error occurs or if unable to validate the
identity.
... bubbles no cancelable no interface rtc
identityevent event handler property on
identityresult specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of '
identityresult' in that specification.
RTCPeerConnection.setIdentityProvider() - Web APIs
the rtcpeerconnection.set
identityprovider() method sets the
identity provider (idp) to the triplet given in parameter: its name, the protocol used to communicate with it (optional) and an optional username.
... syntax pc.set
identityprovider(domainname [, protocol] [, username]); there is no return value for this method.
... example var pc = new peerconnection(); pc.set
identityassertion("developer.mozilla.org"); specifications specification status comment
identity for webrtcthe definition of 'rtcpeerconnection.set
identityprovider()' in that specification.
Site Identity Button
the site
identity button is a feature in firefox that gives users more information about the sites they visit.
... if the site
identity button on your site shows something you do not expect (for example, an orange warning triangle when you expect a green padlock) you can find out the cause of the problem by looking in the web console in the firefox developer tools: ensure your web console is displaying messages in the 'security' category force-refresh the page on your site that is causing problems watch for any security messages that may appear a downgraded security ui will be due to one of these three problems: mixed content - while your page has been served over tls, but subresources loaded for your page have not.
RTCIdentityErrorEvent.idp - Web APIs
the read-only property rtc
identityerrorevent.idp returns the domstring describing the domain name of the
identity provider (idp) generating the error response event.
... firefox implements the interface of this property under the following name: rtcpeerconnection
identityerrorevent.
RTCIdentityErrorEvent.protocol - Web APIs
the read-only property rtc
identityerrorevent.protocol is a domstring describing the idp protocol in use.
... firefox implements the interface of this property under the following name: rtcpeerconnection
identityerrorevent.
Index - Web APIs
591 canvasrenderingcontext2d.resettransform() canvas, canvasrenderingcontext2d, experimental, method, reference the canvasrenderingcontext2d.resettransform() method of the canvas 2d api resets the current transform to the
identity matrix.
... 598 canvasrenderingcontext2d.settransform() api, canvas, canvasrenderingcontext2d, method, reference the canvasrenderingcontext2d.settransform() method of the canvas 2d api resets (overrides) the current transformation to the
identity matrix, and then invokes a transformation described by the arguments of this method.
...for example, user agents have a particularly hard time dealing with federated
identity providers or esoteric sign-in mechanisms that use more than just a username and password.
...And 33 more matches
Using the Multiple Accounts API
identities (nsimsg
identity): an
identity contains all the information necessary to compose and outgoing mail message.
... (you'll have to pardon the crude drawing for now) account manager +- account 1 | +- incoming server 1 (imap.mywork.com imap server, my work account) | +-
identity 1 (alec flett <alecf@mywork.com>) +- account 2 | +- incoming server 2 (pop.myisp.com pop server, my isp account) | +-
identity 2 (alec flett <alecf@myisp.com>) +- account 3 | +- incoming server 3 (news.myisp.com nntp server, my isp's server) | +-
identity 3 (alec flett <alecfnospam@myisp.com>) +- account 4 +- incoming server 4 (news.mozilla.org nntp server, mozilla devel) +- i...
...dentity 2 (alec flett <alecf@myisp.com>) +-
identity 3 (alec flett <alecfnospam@myisp.com>) this is the internal structure that the mail client maintains, but it is presented to the user in a few different ways.
...And 21 more matches
Introduction to Public-Key Cryptography - Archive of obsolete content
authentication allows the recipient of information to determine its origin-that is, to confirm the sender's
identity.
... certificates and authentication managing certificates certificates and authentication a certificate identifies someone or something authentication confirms an
identity how certificates are used contents of a certificate how ca certificates are used to establish trust a certificate identifies someone or something a certificate is an electronic document used to identify an individual, a server, a company, or some other entity and to associate that
identity with a public key.
... like a driver's license, a passport, or other commonly used personal ids, a certificate provides generally recognized proof of a person's
identity.
...And 15 more matches
RTCPeerConnection - Web APIs
if it has not yet been set, this is null.peer
identity read only the read-only rtcpeerconnection property peer
identity returns a javascript promise that resolves to an rtc
identityassertion which contains a domstring identifying the remote peer.pendinglocaldescription read only the read-only property rtcpeerconnection.pendinglocaldescription returns an rtcsessiondescription object describing a pending configuration change for the local end of the conn...
...this happens when the ice gathering state—that is, whether or not the ice agent is actively gathering candidates—changes.on
identityresult the rtcpeerconnection.on
identityresult event handler is a property containing the code to execute when the
identityresult event, of type rtc
identityevent, is received by this rtcpeerconnection.
... such an event is sent when an
identity assertion is generated, via get
identityassertion() or during the creation of an offer or an answer.onidpassertionerror the rtcpeerconnection.onidpassertionerror event handler is a property containing the code to execute whent the idpassertionerror event, of type rtc
identityerrorevent, is received by this rtcpeerconnection.
...And 15 more matches
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 confirmation might be important if the user, for example, is sending a credit card number over the network and wants to check the receiving server's
identity.
... ssl client authentication allows a server to confirm a user's
identity.
...And 11 more matches
MCD, Mission Control Desktop, AKA AutoConfig - Archive of obsolete content
ation.lastchangenumber", 0); //account lockpref("mail.account.account1.server", "server1"); lockpref("mail.account.account2.identities", "id1"); lockpref("mail.account.account2.server", "server2"); lockpref("mail.accountmanager.accounts", "account1,account2"); lockpref("mail.accountmanager.defaultaccount", "account2"); lockpref("mail.accountmanager.localfoldersserver", "server1"); lockpref("mail.
identity.id1.directoryserver", "ldap_2.servers.ldapint"); lockpref("mail.
identity.id1.draft_folder", "imap://" + env_user + "@imap-int.int-evry.fr/drafts"); lockpref("mail.
identity.id1.drafts_folder_picker_mode", "0"); lockpref("mail.
identity.id1.fcc_folder", "imap://" + env_user + "@imap-int.int-evry.fr/sent"); lockpref("mail.
identity.id1.fcc_folder_picker_mode", "0"); lockpref("mail.
identity.id1.organiz...
...ation", "int evry france"); lockpref("mail.
identity.id1.overrideglobal_pref", true); lockpref("mail.
identity.id1.reply_to", ""); //imap lockpref("mail.server.server2.hostname", "imap-int.int-evry.fr"); lockpref("mail.server.server2.issecure", true); lockpref("mail.server.server2.login_at_startup", true); lockpref("mail.server.server2.max_cached_connections", 5); //lockpref("mail.server.server2.name", "jehan.procaccia@int-evry.fr"); lockpref("mail.server.server2.type", "imap"); lockpref("mail.server.server2.username", env_user); //smtp lockpref("mail.
identity.id1.smtpserver", "smtp1"); lockpref("mail.
identity.id1.stationery_folder", "imap://" + env_user + "@imap-int.int-evry.fr/templates"); lockpref("mail.
identity.id1.tmpl_folder_picker_mode", "0"); lockpref("mail.
identity.id1.valid", true); //s...
...lockpref("mail.
identity.id1.useremail", mail); lockpref("mail.server.server2.name", mail); lockpref("mail.
identity.id1.fullname", cn); //debug with popup error messages doesn't work anymore :-( !!
...And 10 more matches
Matrix math for the web - Web APIs
let's begin by considering the
identity matrix.
... this is a special transformation matrix which functions much like the number 1 does in scalar multiplication; just like n * 1 = n, multiplying any matrix by the
identity matrix gives a resulting matrix whose values match the original matrix.
... the
identity matrix looks like this in javascript: let
identitymatrix = [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ]; what does multiplying by the
identity matrix look like?
...And 5 more matches
WebRTC API - Web APIs
webrtc concepts and usage webrtc serves multiple purposes; together with the media capture and streams api, they provide powerful multimedia capabilities to the web, including support for audio and video conferencing, file exchange, screen sharing,
identity management, and interfacing with legacy telephone systems including support for sending dtmf (touch-tone dialing) signals.
...
identity and security these apis are used to manage user
identity and security, in order to authenticate the user for a connection.
... rtc
identityprovider enables a user agent is able to request that an
identity assertion be generated or validated.
...And 5 more matches
I/O Functions
each type of layer has a unique
identity, which is allocated by the runtime.
... the layer implementor should associate the
identity with all layers of that type.
... nspr defines three identities: #define pr_invalid_io_layer (prdesc
identity)-1 #define pr_top_io_layer (prdesc
identity)-2 #define pr_nspr_io_layer (prdesc
identity)0 pr_invalid_io_layer: an invalid layer identify (for error return).
...And 3 more matches
Working with JSON - Learn web development
this allows you to construct a data hierarchy, like so: { "squadname": "super hero squad", "hometown": "metro city", "formed": 2016, "secretbase": "super tower", "active": true, "members": [ { "name": "molecule man", "age": 29, "secret
identity": "dan jukes", "powers": [ "radiation resistance", "turning tiny", "radiation blast" ] }, { "name": "madame uppercut", "age": 39, "secret
identity": "jane wilson", "powers": [ "million tonne punch", "damage resistance", "superhuman reflexes" ] }, { "name": "eternal flame", "age": 1...
...000000, "secret
identity": "unknown", "powers": [ "immortality", "heat immunity", "inferno", "teleportation", "interdimensional travel" ] } ] } if we loaded this object into a javascript program, parsed in a variable called superheroes for example, we could then access the data inside it using the same dot/bracket notation we looked at in the javascript object basics article.
...the reason we said "mostly right" is that an array is also valid json, for example: [ { "name": "molecule man", "age": 29, "secret
identity": "dan jukes", "powers": [ "radiation resistance", "turning tiny", "radiation blast" ] }, { "name": "madame uppercut", "age": 39, "secret
identity": "jane wilson", "powers": [ "million tonne punch", "damage resistance", "superhuman reflexes" ] } ] the above is perfectly valid json.
...And 2 more matches
PR_GetIdentitiesLayer
finds the layer with the specified
identity in the specified stack of layers.
... syntax #include <prio.h> prfiledesc* pr_getidentitieslayer( prfiledesc* stack, prdesc
identity id); parameters the function has the following parameters: stack a pointer to a prfiledesc object that is a layer in a stack of layers.
... id the
identity of the specified layer.
...And 2 more matches
nsIMessenger
void loadurl(in nsidomwindow ptr, in acstring aurl); void launchexternalurl(in acstring aurl); boolean canundo(); boolean canredo(); unsigned long getundotransactiontype(); unsigned long getredotransactiontype(); void undo(in nsimsgwindow msgwindow); void redo(in nsimsgwindow msgwindow); void sendunsentmessages(in nsimsg
identity a
identity, in nsimsgwindow amsgwindow); void setdocumentcharset(in acstring characterset); void saveas(in acstring auri, in boolean aasfile, in nsimsg
identity a
identity, in astring amsgfilename); void openattachment(in acstring contenttpe, in acstring url, in acstring displayname, in acstring messageuri, in boolean isexternalattachment); void saveattachment(in ...
... sendunsentmessages() creates a nsimsgsendlater instance and sends all messages for the given
identity.
... void sendunsentmessages(in nsimsg
identity a
identity, in nsimsgwindow amsgwindow); parameters a
identity the nsimsg
identity to send messages for.
...And 2 more matches
nsIMsgAccount
inherits from: nsisupports last changed in gecko 1.7 method overview void add
identity(in nsimsg
identity identity); void clearallvalues(); void init(); void remove
identity(in nsimsg
identity identity); astring tostring(); attributes attribute type description default
identity nsimsg
identity identities nsisupportsarray read only.
... outgoing
identity list (array of nsimsg
identity's) incomingserver nsimsgincomingserver incoming server stuff key acstring internal key identifying itself methods add
identity() adds a new
identity to this account.
... void add
identity( in nsimsg
identity identity ); parameters
identity the
identity to add.
...And 2 more matches
Creating a gloda message query
query.involves(
identity1,
identity2, ...): add the constraint that the message must "involve" one of the identities provided.
... an
identity is involved if the message was to them, from them, or carbon-copied to them.
... attributes provided by fundattr.js: from: a single gloda
identity corresponding to the author of the message.
...And 2 more matches
FederatedCredential - Web APIs
the federatedcredential interface of the the credential management api provides information about credentials from a federated
identity provider.
... a federated
identity provider is an entity that a website trusts to correctly authenticate a user, and that provides an api for that purpose.
... openid connect is an example of a federated
identity provider framework.
...And 2 more matches
Common Firefox theme issues and solutions - Archive of obsolete content
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.
...to fix this issue, you need to copy the files chrome://browser/skin/
identity-icons-generic.png, chrome://browser/skin/
identity-icons-https.png and chrome://browser/skin/
identity-icons-https-ev.png to your browser folder.
...the following css rules also need to be copied to the proper location in the browser.css file and modified as necessary: /* page proxy icon */ #page-proxy-favicon { width: 16px; height: 16px; margin: 1px 3px; list-style-image: url(chrome://browser/skin/
identity-icons-generic.png); -moz-image-region: rect(0, 16px, 16px, 0); } .verifieddomain > #
identity-box-inner > #page-proxy-stack > #page-proxy-favicon { list-style-image: url(chrome://browser/skin/
identity-icons-https.png); } .verified
identity > #
identity-box-inner > #page-proxy-stack > #page-proxy-favicon { list-style-image: url(chrome://browser/skin/
identity-icons-https-ev.png);...
... } #
identity-box:hover > #
identity-box-inner > #page-proxy-stack > #page-proxy-favicon { -moz-image-region: rect(0, 32px, 16px, 16px); } #
identity-box:hover:active > #
identity-box-inner > #page-proxy-stack > #page-proxy-favicon, #
identity-box[open=true] > #
identity-box-inner > #page-proxy-stack > #page-proxy-favicon { -moz-image-region: rect(0, 48px, 16px, 32px); } #page-proxy-favicon[pageproxystate="invalid"] { opacity: 0.5; } for more information about
identity boxes please see the
identity box section of the amo editors theme review guidelines no visual clue for disabled url bars there needs to be a visual clue when url bar is disabled.
PR_PushIOLayer
syntax #include <prio.h> prstatus pr_pushiolayer( prfiledesc *stack, prdesc
identity id, prfiledesc *layer); parameters the function has the following parameters: stack a pointer to a prfiledesc object representing the stack.
... id a prdesc
identity object for the layer on the stack above which the new layer is to be added.
...the new layer is inserted into the stack just above the layer with the
identity specified by id.
... the intent is that the pointer to the stack remain the stack's
identity even if someone (perhaps covertly) has pushed other layers.
TPS Tests
in particular, it will set preferences from the "preferences" property, and so you can set the "
identity.fxaccounts.autoconfig.uri" preference to point to any fxa server you want.
... "fx_account": { "username": "foobar@restmail.net", "password": "hunter2" }, "preferences": { // use "https://stable.dev.lcip.org" for dev instead of stage "
identity.fxaccounts.autoconfig.uri": "https://accounts.stage.mozaws.net" // possibly more preferences...
... you can sign up for an fxa account on stage or dev by creating an fxa account after adding the
identity.fxaccounts.autoconfig.uri preference (with the appropriate value) to about:config.
..."_
identity.fxaccounts.autoconfig.uri": "...".
nsIMsgSendLater
to create an instance, use var msgsendlater = components.classes["@mozilla.org/messengercompose/sendlater;1"] .getservice(components.interfaces.nsimsgsendlater); method overview void sendunsentmessages(in nsimsg
identity identity); void removelistener(in nsimsgsendlaterlistener listener); void addlistener(in nsimsgsendlaterlistener listener); nsimsgfolder getunsentmessagesfolder](in nsimsg
identity identity); attributes attribute type description msgwindow nsimsgwindow methods sendunsentmessages() sends all unsent messages for an
identity.
... void sendunsentmessages(in nsimsg
identity identity) parameters
identity the nsimsg
identity to send unsent messages for removelistener() remove an event listener from this nsisendmsglater instance void removelistener(in nsimsgsendlaterlistener listener); parameters listener the nsimsgsendlaterlistener to remove.
... getunsentmessagesfolder() get the unsent messages folder for an
identity.
... nsimsgfolder getunsentmessagesfolder(in nsimsg
identity identity); parameters
identity the nsimsg
identity to get the folder for.
Mail composition back end
if this is not null, the body will be extracted from this object and any embedded objects or links will be sent as part of the message in mhtml nsimsg
identity *auser
identity, - the user
identity for the person doing the send operation.
... ns_imethod sendmessagefile( nsimsg
identity *auser
identity, - the user
identity for the person doing the send operation.
... ns_imethod sendwebpage( nsimsg
identity *auser
identity, - the user
identity for the person doing the send operation.
... ns_imethod sendunsentmessages(nsimsg
identity *
identity, - the user
identity for the person doing the send operation.
CanvasRenderingContext2D.resetTransform() - Web APIs
the canvasrenderingcontext2d.resettransform() method of the canvas 2d api resets the current transform to the
identity matrix.
... const canvas = document.getelementbyid('canvas'); const ctx = canvas.getcontext('2d'); // draw a rotated rectangle ctx.rotate(45 * math.pi / 180); ctx.fillrect(60, 0, 100, 30); // reset transformation matrix to the
identity matrix ctx.resettransform(); result continuing with a regular matrix whenever you're done drawing transformed shapes, you should call resettransform() before rendering anything else.
... in this example, the first two shapes are drawn with a skew transformation, and the last two are drawn with the
identity (regular) transformation.
... polyfill you can also use the settransform() method to reset the current transform to the
identity matrix, like so: ctx.settransform(1, 0, 0, 1, 0, 0); specifications specification status comment html living standardthe definition of 'canvasrenderingcontext2d.resettransform' in that specification.
RTCConfiguration - Web APIs
the options include ice server and transport settings and
identity information.
... peer
identity optional a domstring which specifies the target peer
identity for the rtcpeerconnection.
...one obvious benefit to providing your own is
identity key continuity—if you use the same certificate for subsequent calls, the remote peer can tell you're the same caller.
... <<<--- add link to information about
identity --->>> example the configuration below establishes two ice servers.
RTCPeerConnection.onidpassertionerror - Web APIs
the rtcpeerconnection.onidpassertionerror event handler is a property containing the code to execute whent the idpassertionerror event, of type rtc
identityerrorevent, is received by this rtcpeerconnection.
... such an event is sent when the associated
identity provider (idp) encounters an error while generating an
identity assertion.
...you should instead detect idp assertion errors by handling rejection of the promise returned by rtcpeerconnection.peer
identity.
...an event handler always has one single parameter, containing the event, here of type rtc
identityerrorevent.
RTCPeerConnection.onidpvalidationerror - Web APIs
the rtcpeerconnection.onidpvalidationerror event handler is a property containing the code to execute whent the idpvalidationerror event, of type rtc
identityerrorevent, is received by this rtcpeerconnection.
... such an event is sent when the associated
identity provider (idp) encounters an error while validating an
identity assertion.
...you should instead detect idp validation errors by watching for the promise returned by rtcpeerconnection.peer
identity to be rejected.
...an event handler always has one single parameter, containing the event, here of type rtc
identityerrorevent.
Accept-Encoding - HTTP
even if both the client and the server supports the same compression algorithms, the server may choose not to compress the body of a response, if the
identity value is also acceptable.
... as long as the
identity value, meaning no encoding, is not explicitly forbidden, by an
identity;q=0 or a *;q=0 without another explicitly set value for
identity, the server must never send back a 406 not acceptable error.
... header type request header forbidden header name yes syntax accept-encoding: gzip accept-encoding: compress accept-encoding: deflate accept-encoding: br accept-encoding:
identity accept-encoding: * // multiple algorithms, weighted with the quality value syntax: accept-encoding: deflate, gzip;q=1.0, *;q=0.5 directives gzip a compression format using the lempel-ziv coding (lz77), with a 32-bit crc.
...
identity indicates the
identity function (i.e.
Index - Archive of obsolete content
447 firefox accounts firefox accounts,
identity, landing, mozilla, fxa firefox accounts (fxa) is an
identity provider that provides authentication and user profile data for mozilla cloud services.
... 450 firefox accounts oauth dashboard authentication, firefox accounts,
identity, mozilla, fxa fxa oauth credential management dashboard is a web application that lets you provision firefox accounts oauth credentials.
... 452 introduction to firefox accounts fxa firefox accounts (fxa) is an
identity provider that provides authentication and user profile data for mozilla cloud services.
Localization content best practices
use ordered variables in string with multiple variables consider this string from /browser: generalsite
identity=this website is owned by %s\nthis has been verified by %s first thing: always add a localization comment explaining what these variables mean, even if it seems obvious.
... # localization note(generalsite
identity): %1$s is the owner of the current website, # %2$s is the name of the certification authority signing the certificate.
... generalsite
identity=this website is owned by %1$s\nthis has been verified by %2$s avoid concatenations, use placeholders instead consider this string: tos-text = by proceeding you accept the tos-link = terms of services most developers would consider this a good solution and display the concatenation of tos-text+tos-link, with an active link on the second part.
PRFileDesc
syntax #include <prio.h> struct prfiledesc { priomethods *methods; prfileprivate *secret; prfiledesc *lower, *higher; void (*dtor)(prfiledesc *fd); prdesc
identity identity; }; typedef struct prfiledesc prfiledesc; parameters methods the i/o methods table.
...
identity identity of this particular layer.
... see prdesc
identity.
PR_GetCurrentThread
syntax #include <prthread.h> prthread* pr_getcurrentthread(void); returns always returns a valid reference to the calling thread--a self-
identity.
... description the currently running thread may discover its own
identity by calling pr_getcurrentthread.
... note: this is the only safe way to establish the
identity of a thread.
PR_PopIOLayer
syntax #include <prio.h> prfiledesc *pr_popiolayer( prfiledesc *stack, prdesc
identity id); parameters the function has the following parameters: stack a pointer to a prfiledesc object representing the stack from which the specified layer is to be removed.
... id
identity of the layer to be removed from the stack.
... even if the
identity indicates the top layer of the stack, the reference returned is not the file descriptor for the stack and that file descriptor remains valid.
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.
...digital signatures allow ssl-enabled clients to perform two important operations: * confirm the
identity of the individual, company, or other entity whose digital signature is associated with the files * check whether the files have been tampered with since being signed if you have a signing certificate, you can use netscape signing tool to digitally sign files and package them as a jar file.
...when testing is finished and you are ready to disitribute your software, you should obtain an object-signing certificate from one of two kinds of sources: * an independent certificate authority (ca) that authenticates your
identity and charges you a fee.
Signing Mozilla apps for Mac OS X
there are good instructions available under "to use the certificate assistant to create a self-signed signing
identity".
...the main options of note are: -s your-signing-
identity lets you specify the signing certificate you want to sign the application with your-signing-
identity is the name of your certificate.
... --keychain /path/to/keychain lets you specify which keychain contains the signing certificate specified by your-signing-
identity, rather than allowing the codesign to search the keychain list.
Index
758 nsimsgaccount adds a new
identity to this account.
... 771 nsimsgheaderparser interfaces, interfaces:scriptable, xpcom, xpcom interface reference, thunderbird defined in comm-central/ mailnews/ mime/ public/ nsimsgheaderparser.idl 772 nsimsg
identity interfaces, interfaces:scriptable, message database, messages, xpcom, xpcom api reference, xpcom interface reference, thunderbird the nsimsg
identity interface contains all the personal outgoing mail information for a given person.
... each
identity is identified by a key, which is the id string in the
identity preferences, such as in mail.
identity.<id>.replyto.
nsIHttpServer
== 2 && "function" == typeof opt) { callback = opt; } if (callback) { this.registerprefixhandler("/", callback); } let host = "localhost"; if (typeof port === "string" && port.indexof(':') != -1){ [host, port] = port.split(':'); port = parseint(port); server.
identity.add('http', host, port); } server.wrappedjsobject._start(port, host); return true; }, registerfile: function(path, filepath) { var file = components.classes['@mozilla.org/file/local;1'] .createinstance(components.interfaces.nsilocalfile); file.initwithpath(filepath); return server.
... server.registerprefixhandler(prefix, function (request, response) { var req = createhttprequest(request); var resp = new httpresponse(response); handlercallback(req, resp); }); }, close: function(){ server.stop(function(){}); }, get port() { return server.
identity.primaryport } } } reference : mozilla-release/netwerk/test/httpserver/nsihttpserver.idl [scriptable, uuid(cea8812e-faa6-4013-9396-f9936cbb74ec)] interface nsihttpserver : nsisupports { /** * starts up this server, listening upon the given port.
...*/ readonly attribute nsihttpserver
identity identity; /** * retrieves the string associated with the given key in this, for the given * path's saved state.
RTCPeerConnection.setConfiguration() - Web APIs
you cannot change the
identity information for a connection once it's already been set.
... invalidmodificationerror the configuration includes changed
identity information, but the connection already has
identity information specified.
... this happens if configuration.peer
identity or configuration.certificates is set and their values differ from the current configuration.
RTCPeerConnection: idpvalidationerror event - Web APIs
an idpvalidationerror event informs the target, a rtcpeerconnection object, that the
identity provider (idp) encountered an error when trying to validate an
identity assertion.
... bubbles no cancelable no interface rtc
identityerrorevent event handler property onidpvalidationerror important: this event is no longer used; it was removed from the specification long ago.
... instead, you should watch for the rtcpeerconnection.peer
identity promise to be rejected with an operationerror.
window.postMessage() - Web APIs
if you do expect to receive messages from other sites, always verify the sender's
identity using the origin and possibly source properties.
...having verified
identity, however, you still should always verify the syntax of the received message.
...consequently, any event listener used to receive messages must first check the
identity of the sender of the message, using the origin and possibly source properties.
<feComponentTransfer> - SVG: Scalable Vector Graphics
aceonuse" x1="0" y1="0" x2="100%" y2="0"> <stop offset="0" stop-color="#ff0000"></stop> <stop offset="0.2" stop-color="#ffff00"></stop> <stop offset="0.4" stop-color="#00ff00"></stop> <stop offset="0.6" stop-color="#00ffff"></stop> <stop offset="0.8" stop-color="#0000ff"></stop> <stop offset="1" stop-color="#800080"></stop> </lineargradient> <filter id="
identity" x="0" y="0" width="100%" height="100%"> <fecomponenttransfer> <fefuncr type="
identity"></fefuncr> <fefuncg type="
identity"></fefuncg> <fefuncb type="
identity"></fefuncb> <fefunca type="
identity"></fefunca> </fecomponenttransfer> </filter> <filter id="table" x="0" y="0" width="100%" height="100%"> <fecomponenttransfer> <fefuncr typ...
...plitude="4" exponent="7" offset="0"></fefuncr> <fefuncg type="gamma" amplitude="4" exponent="4" offset="0"></fefuncg> <fefuncb type="gamma" amplitude="4" exponent="1" offset="0"></fefuncb> </fecomponenttransfer> </filter> </defs> <g font-weight="bold"> <text x="0" y="20">default</text> <rect x="0" y="30" width="100%" height="20"></rect> <text x="0" y="70">
identity</text> <rect x="0" y="80" width="100%" height="20" style="filter:url(#
identity)"></rect> <text x="0" y="120">table lookup</text> <rect x="0" y="130" width="100%" height="20" style="filter:url(#table)"></rect> <text x="0" y="170">discrete table lookup</text> <rect x="0" y="180" width="100%" height="20" style="filter:url(#discrete)"></rect> <text x="0" y="220">linear functio...
... working draft specified that missing transfer function elements are treated like they were specified with their type attributes set to
identity.
lang/functional - Archive of obsolete content
identity(value) returns the same value that is used as the argument.
... let {
identity } = require("sdk/lang/functional"); let x = 5;
identity(x); // 5 parameters value : mixed the value to be returned.
Signing an XPI - Archive of obsolete content
there are several issuers of software developer certificates, with the three key differentials: availability, cost and
identity verification.
... here are some current issuers: comodo instant-ssl code signing digi-sign digi-code geotrust code signing thawte code signing (owned by verisign) unizeto certum code-signing (free certificates for open-source authors) verisign code signing you will need to apply for a code signing certificate and satisfy the issuer's
identity verification procedures.
Developing cross-browser and cross-platform pages - Archive of obsolete content
another major problem with this approach is that the browser
identity can be "spoofed" because, in many modern browsers, the navigator.appversion and navigator.useragent string properties are user configurable strings.
... opera 6+ allows users to set the browser identification string via a menu internet explorer uses the windows registry safari, konqueror and icab browsers can mask their browser
identity under internet explorer or netscape labels a user or browser distributor can put what they want in the navigator.useragent string and this may trick your code into executing a "wrong" block of code.
Old Proxy API - Archive of obsolete content
note: the fixed object has the same object
identity as the proxy object.
...fixing a proxy does not alter its object
identity (the object “generated” by the handler during fixing does not have its own object
identity; it retains the object
identity of the proxy, upholding the illusion that the proxy “becomes” the object).
Leak And Bloat Tests
tests): bloat/bloataddroverlay.js bloat/bloatcomposeoverlay.js bloat/bloatmainoverlay.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.
...user_pref("mail.account.account1.server", "server1"); user_pref("mail.account.account2.identities", "id1"); user_pref("mail.account.account2.server", "server2"); user_pref("mail.accountmanager.accounts", "account1,account2"); user_pref("mail.accountmanager.defaultaccount", "account2"); user_pref("mail.accountmanager.localfoldersserver", "server1"); user_pref("mail.
identity.id1.fullname", "tinderbox"); user_pref("mail.
identity.id1.smtpserver", "smtp1"); user_pref("mail.
identity.id1.useremail", "tinderbox@invalid.com"); user_pref("mail.
identity.id1.valid", true); user_pref("mail.root.none-rel", "[profd]mail"); user_pref("mail.root.pop3-rel", "[profd]mail"); user_pref("mail.server.server1.directory-rel", "[profd]mail/local folders"); user_pref("mail.server.server1.hos...
I/O Types
prfiledesc priomethods prfileprivate prdesc
identity note that the nspr documentation follows the unix convention of using the termfiles to refer to many kinds of i/o objects.
...each prfiledesc structure has a field (of type prdesc
identity) to identify itself in the layers.
NSS tools : signtool
digital signatures allow ssl-enabled clients to perform two important operations: * confirm the
identity of the individual, company, or other entity whose digital signature is associated with the files * check whether the files have been tampered with since being signed if you have a signing certificate, you can use netscape signing tool to digitally sign files and package them as a jar file.
...when testing is finished and you are ready to disitribute your software, you should obtain an object-signing certificate from one of two kinds of sources: * an independent certificate authority (ca) that authenticates your
identity and charges you a fee.
Property cache
the shape of an object does not cover: anything about the object's prototype other than its
identity; anything about the object's parent; obj->freeslot, which can be different for same-shaped objects if they have a jsclass.reserveslots hook (bug 535416); anything about the values of the object's own properties, beyond what the method guarantee and the branded object guarantee say about functions.
...the emitted code guards on the
identity of the object to search.
nsIMsgFolder
invfeditsearchscope boolean readonly custom
identity nsimsg
identity readonly: this allows a folder to have a special
identity.
... e.g., you might want to associate an
identity with a particular newsgroup, or for imap shared folders in the other users namespace, you might want to create a delegated
identity.
nsIWebProgressListener
state
identity flags these flags describe the level of
identity verification in a call to the onsecuritychange() method.
... constant value description state_
identity_ev_toplevel 0x00100000 state bits for ev == extended validation == high assurance.
Address Book examples
there are 3 address book autocomplete widgets: "mydomain" - use to autocomplete a domain for an email
identity, e.g.
... the "mydomain" and "addrbook" behaviours can be changed by passing an
identity key (see nsimsg
identity.key) via an attribute autocompletesearchparam on the textbox element.
Gloda examples
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 ...
Demo Addon
or each (let account in fixiterator(mailservices.accounts.accounts, ci.nsimsgaccount)) { let info = { server: null, type: null, emails: [], name: null, }; let server = account.incomingserver; if (server) { info.server = server.prettyname; info.type = server.type; } for each (let id in fixiterator(account.identities, ci.nsimsg
identity)) { // we're only interested in identities that have a real email.
... because an account can have multiple identities of type nsimsg
identity and therefore multiple associated email addresses, with use fixiterator() again to go over all identities and get every email address.
CanvasRenderingContext2D - Web APIs
canvasrenderingcontext2d.settransform() resets the current transform to the
identity matrix, and then invokes the transform() method with the same arguments.
... canvasrenderingcontext2d.resettransform() resets the current transform by the
identity matrix.
Transformations - Web APIs
settransform(a, b, c, d, e, f) resets the current transform to the
identity matrix, and then invokes the transform() method with the same arguments.
... resettransform() resets the current transform to the
identity matrix.
Credential Management API - Web APIs
for example, user agents have a particularly hard time dealing with federated
identity providers or esoteric sign-in mechanisms that use more than just a username and password.
... federatedcredential provides information about credentials from a federated
identity provider, which is an entity that a website trusts to correctly authenticate a user, and which provides an api for that purpose.
DOMMatrix - Web APIs
is
identity read only a boolean whose value is true if the matrix is the
identity matrix.
... the
identity matrix is one in which every value is 0 except those on the main diagonal from top-left to bottom-right corner (in other words, where the offsets in each direction are equal).
DOMMatrixReadOnly - Web APIs
is
identity read only a boolean whose value is true if the matrix is the
identity matrix.
... the
identity matrix is one in which every value is 0 except those on the main diagonal from top-left to bottom-right corner (in other words, where the offsets in each direction are equal).
FederatedCredential.protocol - Web APIs
the protocol property of the federatedcredential interface returns a read-only domstring containing a credential's federated
identity protocol.
... syntax var protocol = federatedcredential.protocol value a domstring containing a credential's federated
identity protocol (e.g.
FederatedCredential.provider - Web APIs
the provider property of the federatedcredential interface returns a usvstring containing a credential's federated
identity provider.
... syntax var provider = federatedcredential.provider value a usvstring containing a credential's federated
identity provider.
MediaStreamConstraints - Web APIs
security peer
identity a domstring identifying the peer who has sole access to the stream.
...when a peer
identity is set, mediastreamtracks from that peer have their isolated flag set to true.
MediaStreamTrack - Web APIs
this happens when the peer
identity property is set, or if the track comes from a cross-origin source.
... specifications specification status comment
identity for webrtcthe definition of 'isolated tracks' in that specification.
Payment processing concepts - Web APIs
some payment handlers use merchant validation, which is the process of validating the
identity of a merchant in some way, usually using some form of cryptographic response such as a public key.
... merchant validation some payment handlers use merchant validation, which is the process of validating the
identity of a merchant in some way, usually using some form of cryptographic challenge.
RTCConfiguration.certificates - Web APIs
one obvious benefit to providing your own is
identity key continuity—if you use the same certificate for subsequent calls, the remote peer can tell you're the same caller.
... <<<--- add link to information about
identity --->>> examples specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcconfiguration.certificates' in that specification.
RTCPeerConnection: idpassertionerror event - Web APIs
an idpassertionerror event informs the target, a rtcpeerconnection object, that the
identity provider (idp) encountered an error when trying to generate an
identity assertion.
... bubbles no cancelable no interface rtc
identityerrorevent event handler property onidpassertionerror warning: this event is no longer used; instead, you can detect an assertion error by detecting when the promise returned by rtcpeerconnection.peer
identity is rejected.
RTCPeerConnection: idpvalidationerror event - Web APIs
an idpvalidationerror event informs the target, a rtcpeerconnection object's onidpvalidationerror event handler, that the
identity provider (idp) encountered an error while validating an
identity assertion.
... bubbles no cancelable no interface rtc
identityerrorevent event handler property onidpvalidationerror warning: this event is no longer used; instead, you can detect a validation error by detecting when the promise returned by rtcpeerconnection.peer
identity is rejected.
SVGSVGElement - Web APIs
the object is initialized to the
identity matrix.
...the object is initialized to an
identity matrix transform (svg_transform_matrix).
Adding 2D content to a WebGL context - Web APIs
mat4.perspective(projectionmatrix, fieldofview, aspect, znear, zfar); // set the drawing position to the "
identity" point, which is // the center of the scene.
... then we establish the position of the square plane by loading the
identity position and translating away from the camera by 6 units.
Geometry and reference spaces in WebXR - Web APIs
the origin offset is initially simply an
identity transform, since typically the two origins are aligned when the space is first established.
...if the offset transform is an
identity matrix, the object is located at the origin point.
Identifying resources on the Web - HTTP
the
identity and the location of resources on the web are mostly given by a single url (uniform resource locator, a kind of uri).
... there are sometimes reasons
identity and location are not given by the same uri: http uses a specific http header, alt-svc when the resource requested wants the client to access it at another location.
Content-Encoding - HTTP
header type entity header forbidden header name no syntax content-encoding: gzip content-encoding: compress content-encoding: deflate content-encoding:
identity content-encoding: br // multiple, in the order in which they were applied content-encoding: gzip,
identity content-encoding: deflate, gzip directives gzip a format using the lempel-ziv coding (lz77), with a 32-bit crc.
...
identity indicates the
identity function (i.e., no compression or modification).
Transfer-Encoding - HTTP
header type response header forbidden header name yes syntax transfer-encoding: chunked transfer-encoding: compress transfer-encoding: deflate transfer-encoding: gzip transfer-encoding:
identity // several values can be listed, separated by a comma transfer-encoding: gzip, chunked directives chunked data is sent in a series of chunks.
...
identity indicates the
identity function (i.e.
gradientUnits - SVG: Scalable Vector Graphics
with this value and gradienttransform being the
identity matrix, the normal of the linear gradient is perpendicular to the gradient vector in object bounding box space (i.e., the abstract coordinate system where (0,0) is at the top/left of the object bounding box and (1,1) is at the bottom/right of the object bounding box).
... with this value and gradienttransform being the
identity matrix, the rings of the radial gradient are circular with respect to the object bounding box space (i.e., the abstract coordinate system where (0,0) is at the top/left of the object bounding box and (1,1) is at the bottom/right of the object bounding box).
tableValues - SVG: Scalable Vector Graphics
ttransfer> </filter> <rect x="0" y="0" width="200" height="200" fill="url(#gradient)" style="filter: url(#componenttransfer1);" /> <rect x="0" y="0" width="200" height="200" fill="url(#gradient)" style="filter: url(#componenttransfer2); transform: translatex(220px);" /> </svg> usage notes value <list-of-numbers> default value empty list resulting in
identity transfer animatable yes <list-of-numbers> this value holds a comma- and/or space-separated list of <number>s, which define a lookup table for the color component transfer function.
... an empty list results in an
identity transfer function.
<feColorMatrix> - SVG: Scalable Vector Graphics
an
identity matrix looks like this: r g b a w r' | 1 0 0 0 0 | g' | 0 1 0 0 0 | b' | 0 0 1 0 0 | a' | 0 0 0 1 0 | in it, every new value is exactly 1 times its old value, with nothing else added.
... xmlns:xlink="http://www.w3.org/1999/xlink"> <!-- ref --> <defs> <g id="circles"> <circle cx="30" cy="30" r="20" fill="blue" fill-opacity="0.5" /> <circle cx="20" cy="50" r="20" fill="green" fill-opacity="0.5" /> <circle cx="40" cy="50" r="20" fill="red" fill-opacity="0.5" /> </g> </defs> <use href="#circles" /> <text x="70" y="50">reference</text> <!--
identity matrix --> <filter id="colormethesame"> <fecolormatrix in="sourcegraphic" type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0" /> </filter> <use href="#circles" transform="translate(0 70)" filter="url(#colormethesame)" /> <text x="70" y="120">
identity matrix</text> <!-- combine rgb into green matrix --> <f...
Listening to events in Firefox extensions - Archive of obsolete content
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.
JavaScript Client API - Archive of obsolete content
privacy policy detailing how data collected or transmitted by your third party client is managed and protected; (b) that your third party client will only store data in encrypted form on the firefox sync servers operated by mozilla; (c) that you and your third party client will use the firefox sync apis solely for their intended purpose; (d) that your third party client will not hide or mask its
identity as it uses the services and/or firefox sync apis, including by failing to follow required identification conventions; and (e) that you and your third party client will not use the firefox sync apis for any application or service that replicates or attempts to replicate the services or firefox sync experience unless such use is non-confusing (by non-confusing, we mean that people should always kno...
JavaScript crypto - Archive of obsolete content
ked against a pre-installed certificate copy in the local certificate database) the public keys, wrapped encryption private key, and text string from the script (possibly containing naming or enrollment info) are signed by the user signed blob is returned to the script script submits signed blob and any other necessary info to the ca/ra ca/ra verifies signature on signed blob ca/ra validates
identity of user ca/ra sends wrapped encryption private key to kra kra sends escrow verification back to ca ca creates and signs certificates ca sends certificates back to the user (importusercertificates) typical use the ca's enrollment page could look something like this: <!doctype html> <h2>request a cert</h2> <form name="reqform" method="post" action="http://your.ra.site.org"> <p><input type=h...
panel.type - Archive of obsolete content
for example, the site
identity panel that appears when you click on the favicon in the url bar in firefox is an arrow panel: note: the arrow will draw as long as the panel doesn't overlap the anchor.
Encryption and Decryption - Archive of obsolete content
public-key encryption (also called asymmetric encryption) involves a pair of keys-a public key and a private key-associated with an entity that needs to authenticate its
identity electronically or to sign or encrypt data.
TCP/IP Security - Archive of obsolete content
each ssl endpoint can confirm the
identity of the other ssl endpoint with which it wishes to communicate, ensuring that the network traffic and data is being sent from the expected host.
Theme changes in Firefox 3 - Archive of obsolete content
changes in browser --- changes in global all platforms the yellow background for the location bar has been deprecated; instead, themes should style the new #
identity-box element depending on its verifieddomain/verified
identity class.
Client-Server Overview - Learn web development
the web application then gets the required information from the database (using additional "internal" parameters to define which players are "best", and possibly also getting the
identity of the logged in coach from a client-side cookie).
Mozilla's Section 508 Compliance
(d) sufficient information about a user interface element including the
identity, operation and state of the element shall be available to assistive technology.
Firefox
keep in mind the side effects your changes may have, from blocking other tasks, to interfering with other user interface elements.privacythis document lists privacy-related documentation.security best practices for firefox front-end engineersthis article will help firefox developers understand the security controls in place and avoid common pitfalls when developing front-end code for firefox.site
identity buttonthe site
identity button is a feature in firefox that gives users more information about the sites they visit.
Downloads.jsm
object
identity replaces the use of numeric identifiers.
Refcount tracing and balancing
if you've checked (see above) that the leak wasn't from a smart pointer, you can ignore the references that came from smart pointers (where we can use the pointer
identity of the smart pointer to match the addref and the release).
Phishing: a short definition
in 2014, the msci estimated an annual global impact of phishing, and various forms of
identity theft, to be as high as $5 billion usd.
PR_CreateIOLayerStub
syntax #include <prio.h> prfiledesc* pr_createiolayerstub( prdesc
identity ident priomethods const *methods); parameters the function has the following parameters: ident the
identity to be associated with the new layer.
PR_FindSymbol
pr_findsymbol() will return an untyped reference to a symbol in a particular library given the
identity of the library and a textual representation of the symbol in question.
PR_FindSymbolAndLibrary
the
identity returned from this function must be the target of a pr_unloadlibrary in order to return the runtime to its original state.
PR_NewCondVar
syntax #include <prcvar.h> prcondvar* pr_newcondvar(prlock *lock); parameter pr_newcondvar has one parameter: lock the
identity of the mutex that protects the monitored data, including this condition variable.
PR_UnloadLibrary
after calling this function, future references to the library using its
identity as returned by pr_loadlibrary will be invalid.
Process Initialization
identity and versioning initialization and cleanup module initialization
identity and versioning name and version constants pr_name pr_version pr_versioncheck initialization and cleanup nspr detects whether the library has been initialized and performs implicit initialization if it hasn't.
NSPR API Reference
type pointer difference types boolean types status type for return values threads threading types and constants threading functions creating, joining, and identifying threads controlling thread priorities controlling per-thread private data interrupting and yielding setting global thread concurrency getting a thread's scope process initialization
identity 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...
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.12.2_release_notes.html
bug 444974: crash upon reinsertion of e-
identity smartcard bug 447563: modutil -add prints no error explanation on failure bug 448431: pk11_createmergelog() declaration causes gcc warning when compiling with -wstrict-prototypes bug 449334: pk12util has duplicate options letters bug 449725: signver is still using static libraries.
NSPR functions
pr_getunique
identity pr_createiolayerstub pr_getdefaultiomethods pr_getidentitieslayer pr_getlayers
identity pr_pushiolayer pr_popiolayer wrapping a native file descriptor if your current tcp socket code uses the standard bsd socket api, a lighter-weight method than creating your own nspr i/o layer is to simply import a native file descriptor into nspr.
Redis Tips
if i ever have more values to store per email than just the password, i could use a hash, with a key like ptu:
identity:<email>.
Places Developer Guide
there are two models of
identity in the system: uris, and unique integer identifiers for items in the bookmark system.
Components.utils.Sandbox
the following objects are supported: -promise (removed in firefox 37) css indexeddb (web worker only) xmlhttprequest textencoder textdecoder url urlsearchparams atob btoa blob file crypto rtc
identityprovider fetch (added in firefox 41) caches filereader for example: var sandboxscript = 'var encoded = btoa("hello");' + 'var decoded = atob(encoded);'; var options = { "wantglobalproperties": ["atob", "btoa"] } var sandbox = components.utils.sandbox("https://example.org/", options); components.utils.evalinsandbox(...
Components.utils.importGlobalProperties
the following strings are supported: string/object xpcom component atob blob btoa crypto css fetch file nsidomfile indexeddb nodefilter firefox 60 nsidomnodefilter obsolete since gecko 60 rtc
identityprovider textdecoder textencoder url urlsearchparams xmlhttprequest nsixmlhttprequest obsolete since gecko 60 for string/object in table without a minimum firefox version, it is not exactly known since when it was available, however it is guranteed available from firefox 28 and up.
nsIBadCertListener2
this object usually supports nsisslsocketcontrol, nsitransportsecurityinfo, nsi
identityinfo, nsisslstatusprovider, nsiclientauthuserdecision and possibly other interfaces.
XPCOM Interface Reference
wakeupservicensimessengernsimicrosummarynsimicrosummarygeneratornsimicrosummaryobservernsimicrosummaryservicensimicrosummarysetnsimimeconverternsimimeheadersnsimodulensimsgaccountnsimsgaccountmanagerextensionnsimsgcompfieldsnsimsgcustomcolumnhandlernsimsgdbhdrnsimsgdbviewnsimsgdbviewcommandupdaternsimsgdatabasensimsgfilternsimsgfiltercustomactionnsimsgfilterlistnsimsgfoldernsimsgheaderparsernsimsg
identitynsimsgincomingservernsimsgmessageservicensimsgprotocolinfonsimsgruleactionnsimsgsearchcustomtermnsimsgsearchnotifynsimsgsearchscopetermnsimsgsearchsessionnsimsgsearchtermnsimsgsearchvaluensimsgsendlaternsimsgthreadnsimsgwindownsimsgwindowcommandsnsimutablearraynsinavbookmarkobservernsinavbookmarksservicensinavhistorybatchcallbacknsinavhistorycontainerresultnodensinavhistoryfullvisitresultnodensina...
XPCOM Interface Reference by grouping
credentials nsimsgaccountmanagerextension element nsieditormailsupport message nsidbchangeannouncer nsidbchangelistener nsimessenger nsimsgcompfields nsimsgcustomcolumnhandler nsimsgdatabase nsimsgdbhdr nsimsgdbview nsimsgdbviewcommandupdater nsimsgfolder nsimsg
identity nsimsgmessageservice nsimsgsendlater nsimsgthread nsimsgwindow nsimsgwindowcommands user history nsibrowserhistory nsibrowsersearchservice nsimicrosummary nsimicrosummarygenerator nsimicrosummaryobserver nsimicrosummaryservice nsimicrosummaryset ...
Mozilla
phishing: a short definition in 2014, the msci estimated an annual global impact of phishing, and various forms of
identity theft, to be as high as $5 billion usd.
CanvasRenderingContext2D.rotate() - Web APIs
= document.getelementbyid('canvas'); const ctx = canvas.getcontext('2d'); // point of transform origin ctx.arc(0, 0, 5, 0, 2 * math.pi); ctx.fillstyle = 'blue'; ctx.fill(); // non-rotated rectangle ctx.fillstyle = 'gray'; ctx.fillrect(100, 0, 80, 20); // rotated rectangle ctx.rotate(45 * math.pi / 180); ctx.fillstyle = 'red'; ctx.fillrect(100, 0, 80, 20); // reset transformation matrix to the
identity matrix ctx.settransform(1, 0, 0, 1, 0, 0); result the center of rotation is blue.
CanvasRenderingContext2D.scale() - Web APIs
const canvas = document.getelementbyid('canvas'); const ctx = canvas.getcontext('2d'); // scaled rectangle ctx.scale(9, 3); ctx.fillstyle = 'red'; ctx.fillrect(10, 10, 8, 20); // reset current transformation matrix to the
identity matrix ctx.settransform(1, 0, 0, 1, 0, 0); // non-scaled rectangle ctx.fillstyle = 'gray'; ctx.fillrect(10, 10, 8, 20); result the scaled rectangle is red, and the non-scaled rectangle is gray.
CanvasRenderingContext2D.setTransform() - Web APIs
the canvasrenderingcontext2d.settransform() method of the canvas 2d api resets (overrides) the current transformation to the
identity matrix, and then invokes a transformation described by the arguments of this method.
CanvasRenderingContext2D.translate() - Web APIs
const canvas = document.getelementbyid('canvas'); const ctx = canvas.getcontext('2d'); // moved square ctx.translate(110, 30); ctx.fillstyle = 'red'; ctx.fillrect(0, 0, 80, 80); // reset current transformation matrix to the
identity matrix ctx.settransform(1, 0, 0, 1, 0, 0); // unmoved square ctx.fillstyle = 'gray'; ctx.fillrect(0, 0, 80, 80); result the moved square is red, and the unmoved square is gray.
DOMMatrixReadOnly.flipX() - Web APIs
<svg width="100" height="100" viewbox="-50 0 100 100"> <path fill="red" d="m 0 50 l 50 0 l 50 100 z" /> <path id="flipped" fill="blue" d="m 0 50 l 50 0 l 50 100 z" /> </svg> this javascript first creates an
identity matrix, then uses the `flipx()` method to create a new matrix, which is then applied to the blue triangle, inverting it across the x-axis.
DOMMatrixReadOnly.scale() - Web APIs
examples this svg contains three squares, one red, one blue, and one green, each positioned at the document origin: <svg width="250" height="250" viewbox="0 0 25 25"> <rect width="25" height="25" fill="red" /> <rect id="transformed" width="25" height="25" fill="blue" /> <rect id="transformedorigin" width="25" height="25" fill="green" /> </svg> this javascript first creates an
identity matrix, then uses the scale() method to create a new matrix with a single parameter.
DOMMatrixReadOnly.translate() - Web APIs
examples this svg contains two squares, one red and one blue, each positioned at the document origin: <svg width="250" height="250" viewbox="0 0 50 50"> <rect width="25" height="25" fill="red" /> <rect id="transformed" width="25" height="25" fill="blue" /> </svg> the following javascript first creates an
identity matrix, then uses the translate() method to create a new, translated matrix — which is then applied to the blue square as a transform.
Event - Web APIs
event dragevent editingbeforeinputevent errorevent fetchevent focusevent gamepadevent hashchangeevent idbversionchangeevent inputevent keyboardevent mediastreamevent messageevent mouseevent mutationevent offlineaudiocompletionevent overconstrainederror pagetransitionevent paymentrequestupdateevent pointerevent popstateevent progressevent relatedevent rtcdatachannelevent rtc
identityerrorevent rtc
identityevent rtcpeerconnectioniceevent sensorevent storageevent svgevent svgzoomevent timeevent touchevent trackevent transitionevent uievent userproximityevent webglcontextevent wheelevent constructor event() creates an event object, returning it to the caller.
MediaRecorder.onerror - Web APIs
this also happens when a mediastreamtrack within the stream is marked as isolated due to the peer
identity constraint on the source stream.
MediaRecorder.start() - Web APIs
this also happens when a mediastreamtrack within the stream is marked as isolated due to the peer
identity constraint on the source stream.
Navigator - Web APIs
the navigator interface represents the state and the
identity of the user agent.
NavigatorID - Web APIs
the navigatorid interface contains methods and properties related to the
identity of the browser.
RTCDataChannel: error event - Web APIs
"user-initiated abort", "protocol violation" ]; dc.addeventlistener("error", ev => { const err = ev.error; console.error("webrtc error: ", err.message); // handle specific error detail types switch(err.errordetail) { case "sdp-syntax-error": console.error(" sdp syntax error in line ", err.sdplinenumber); break; case "idp-load-failure": console.error("
identity provider load failure: http error ", err.httprequeststatuscode); break; case "sctp-failure": if (err.sctpcausecode < sctpcausecodes.length) { console.error(" sctp failure: ", err.sctpcausecode); } else { console.error(" unknown sctp error"); } break; case "dtls-failure": if (err.receivedalert) { console.
WebGL model view projection - Web APIs
start with the
identity matrix: var
identity = [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, ]; mdn.multiplypoint(
identity, [2, 3, 4, 1]); //> [2, 3, 4, 1] then move the last column's 1 up one space.
Movement, orientation, and motion: A WebXR example - Web APIs
function applyviewercontrols(refspace) { if (!mouseyaw && !mousepitch && !axialdistance && !transversedistance && !verticaldistance) { return refspace; } quat.
identity(inverseorientation); quat.rotatex(inverseorientation, inverseorientation, -mousepitch); quat.rotatey(inverseorientation, inverseorientation, -mouseyaw); let newtransform = new xrrigidtransform({x: transversedistance, y: verticaldistance, z: axialdistance}, {x: inverseorientation[0...
Web Workers API - Web APIs
workernavigator represents the
identity and state of the user agent (the client): examples we have created a couple of simple demos to show basic usage: basic dedicated worker example (run dedicated worker).
XRReferenceSpace.getOffsetReferenceSpace() - Web APIs
this function, applymousemovement(), handles that: function applymousemovement(refspace) { if (!mouseyaw && !mousepitch) { return refspace; } quat.
identity(inverseorientation); quat.rotatex(inverseorientation, inverseorientation, -mousepitch); quat.rotatey(inverseorientation, inverseorientation, -mouseyaw); let newtransform = new xrrigidtransform({x: 0, y: 0, z: 0}, {x: inverseorientation[0], y: inverseorientation[1], z: inverseorientation[2], w: inverseorientation[3]}); return refspace.g...
XRRigidTransform.matrix - Web APIs
it begins by allocating a new matrix and writing a 4x4
identity matrix into it: [1000010000100001]\begin{bmatrix} 1 & 0 & 0 & 0\\ 0 & 1 & 0 & 0\\ 0 & 0 & 1 & 0\\ 0 & 0 & 0 & 1 \end{bmatrix} this is a transform that will not change either the orientation or position of any point, vector, or object to which it's applied.
XRView - Web APIs
quat.
identity(inverseorientation); quat.rotatex(inverseorientation, inverseorientation, -mousepitch); quat.rotatey(inverseorientation, inverseorientation, -mouseyaw); // compute the true "up" vector for our object.
Web APIs
tmftonechangeevent rtcdatachannel rtcdatachannelevent rtcdtlstransport rtcerror rtcerrorevent rtcicecandidate rtcicecandidateinit rtcicecandidatepair rtcicecandidatepairstats rtcicecandidatestats rtcicecandidatetype rtcicecomponent rtcicecredentialtype rtcicegathererstate rtciceparameters rtciceprotocol rtcicerole rtciceserver rtcicetcpcandidatetype rtcicetransport rtcicetransportstate rtc
identityassertion rtc
identityerrorevent rtc
identityevent rtcinboundrtpstreamstats rtcnetworktype rtcofferansweroptions rtcofferoptions rtcoutboundrtpstreamstats rtcpeerconnection rtcpeerconnectioniceerrorevent rtcpeerconnectioniceevent rtcremoteoutboundrtpstreamstats rtcrtcpparameters rtcrtpcapabilities rtcrtpcodeccapability rtcrtpcodecparameters rtcrtpcontributingsource rtcrtpencodingparameters r...
ARIA: banner role - Accessibility
the banner is typically includes things a logo or corporate
identity, possibly a site-specific search tool, and is generally what your marketing team would call the header or top banner of the site.
:scope - CSS: Cascading Style Sheets
syntax :scope examples
identity match in this simple example, we demonstrate that using the :scope pseudo-class from the element.matches() method matches the element on which it's called.
matrix3d() - CSS: Cascading Style Sheets
justify-content: center; align-content: center; } .foo { width: 50%; padding: 1em; color: white; background: #ff8c66; border: 2px dashed black; text-align: center; font-family: system-ui, sans-serif; font-size: 14px; /* setting up animation for better demonstration */ animation: motionscale 2s alternate linear infinite; } @keyframes motionscale { from { /*
identity matrix is used as basis here.
scaleX() - CSS: Cascading Style Sheets
it modifies the abscissa of each element point by a constant factor, except when the scale factor is 1, in which case the function is the
identity transform.
scaleY() - CSS: Cascading Style Sheets
it modifies the ordinate of each element point by a constant factor, except when the scale factor is 1, in which case the function is the
identity transform.
scaleZ() - CSS: Cascading Style Sheets
this scaling transformation modifies the z-coordinate of each element point by a constant factor, except when the scale factor is 1, in which case the function is the
identity transform.
Basics of HTTP - HTTP
separating
identity and location of a resource: the alt-svc http header most of the time the
identity and location of a web resource are shared, this can be changed with the alt-svc header.
HTTP conditional requests - HTTP
comparing versions of the same resource is a bit tricky: depending on the context, there are two kinds of equality checks: strong validation is used when byte to byte
identity is expected, for example when resuming a download.
If-None-Match - HTTP
they are only useful when uploading a resource, usually with put, to check if another resource with the
identity has already been uploaded before.
HTTP Index - HTTP
276 resources and uris http, mime, mime type, overview, type, uri, uris, url, resources, urls http allows a browser, or another user agent, to a communicate with different resources on internet: to do this the browser needs both the
identity and the location of the resources.
Equality comparisons and sameness - JavaScript
ype.indexof, array.prototype.lastindexof, and case-matching samevaluezero: used by %typedarray% and arraybuffer constructors, as well as map and set operations, and also string.prototype.includes and array.prototype.includes since es2016 samevalue: used in all other places javascript provides three different value-comparison operations: === - strict equality comparison ("strict equality", "
identity", "triple equals") == - abstract equality comparison ("loose equality", "double equals") object.is provides samevalue (new in es2015).
Keyed collections - JavaScript
key and value equality of map and set both the key equality of map objects and the value equality of set objects, are based on the "same-value-zero algorithm": equality works like the
identity comparison operator ===.
arguments.callee - JavaScript
create() { return function(n) { if (n <= 1) return 1; return n * arguments.callee(n - 1); }; } var result = create()(5); // returns 120 (5 * 4 * 3 * 2 * 1) a use of arguments.callee with no good alternative however, in a case like the following, there are not alternatives to arguments.callee, so its deprecation could be a bug (see bug 725398): function createperson(s
identity) { var operson = new function('alert(arguments.callee.
identity);'); operson.
identity = s
identity; return operson; } var john = createperson('john smith'); john(); specifications specification ecmascript (ecma-262)the definition of 'arguments exotic objects' in that specification.
Object.defineProperties() - JavaScript
et; if (!iscallable(g) && typeof g !== 'undefined') throw new typeerror('bad get'); d.get = g; } if (hasproperty(desc, 'set')) { var s = desc.set; if (!iscallable(s) && typeof s !== 'undefined') throw new typeerror('bad set'); d.set = s; } if (('get' in d || 'set' in d) && ('value' in d || 'writable' in d)) throw new typeerror('
identity-confused descriptor'); return d; } if (typeof obj !== 'object' || obj === null) throw new typeerror('bad obj'); properties = object(properties); var keys = object.keys(properties); var descs = []; for (var i = 0; i < keys.length; i++) descs.push([keys[i], converttodescriptor(properties[keys[i]])]); for (var i = 0; i < descs.length; i++) object.defineproperty(ob...
Object.setPrototypeOf() - JavaScript
{ this.issymbol = 'yes'; } var nprime = 17; console.log(typeof nprime); // 'number' var oprime = object.appendchain(nprime, new mysymbol()); console.log(oprime); // '17' console.log(oprime.issymbol); // 'yes' console.log(typeof oprime); // 'object' third example: appending a chain to the function.prototype object and appending a new function to that chain function person(sname) { this.
identity = sname; } var george = object.appendchain(new person('george'), 'console.log("hello guys!!");'); console.log(george.
identity); // 'george' george(); // 'hello guys!!' polyfill using the older object.prototype.__proto__ property, we can easily define object.setprototypeof if it isn't available already: if (!object.setprototypeof) { // only works in chrom...
null - JavaScript
it is not defined and has never been initialized: foo; //referenceerror: foo is not defined // foo is known to exist now but it has no type or value: var foo = null; foo; //null examples difference between null and undefined when checking for null or undefined, beware of the differences between equality (==) and
identity (===) operators, as the former performs type-conversion.
gradientTransform - SVG: Scalable Vector Graphics
0)"> <stop offset="0%" stop-color="darkblue" /> <stop offset="50%" stop-color="skyblue" /> <stop offset="100%" stop-color="darkblue" /> </radialgradient> <rect x="0" y="0" width="200" height="200" fill="url(#gradient1)" /> <rect x="0" y="0" width="200" height="200" fill="url(#gradient2)" style="transform: translatex(220px);" /> </svg> usage notes default value
identity transform value <transform-list> animatable yes <transform-list> a list of transformation functions specifying some additional transformation from the gradient coordinate system onto the target coordinate system.
type - SVG: Scalable Vector Graphics
matable no normative document svg 1.1 (2nd edition) for the <fecolormatrix> element categories none value matrix | saturate | huerotate | luminancetoalpha animatable yes normative document svg 1.1 (2nd edition) for the <fefuncr>, <fefuncg>, <fefuncb>, and <fefunca> elements categories none value
identity | table | discrete | linear | gamma animatable yes normative document svg 1.1 (2nd edition) for the <feturbulence> element categories none value fractalnoise | turbulence animatable yes normative document svg 1.1 (2nd edition) for the <style> and <script> elements categories none value ...
values - SVG: Scalable Vector Graphics
value <list-of-numbers> default value if type="matrix",
identity matrix, if type="saturate", 1, resulting in
identity matrix, if type="huerotate", 0, resulting in
identity matrix animatable yes <list-of-numbers> the value is a list of numbers, which is interpreted differently depending on the value of the type attribute: for type="matrix", values is a list of 20 matrix values (a00 a01 a02 a03 a04 a10 a11 ...