Search completed in 1.10 seconds.
nsIProtocolProxyService
netwerk/base/public/nsiprotocol
proxyservice.idlscriptable this interface provides methods to access information about various network proxies.
... inherits from: nsisupports last changed in gecko 1.7 implemented by: @mozilla.org/network/protocol-
proxy-service;1.
... to access the service use: var pps = components.classes["@mozilla.org/network/protocol-
proxy-service;1"] .getservice(components.interfaces.nsiprotocol
proxyservice); method overview deprecated since gecko 18 nsi
proxyinfo resolve(in nsiuri auri, in unsigned long aflags); nsicancelable asyncresolve(in nsiuri auri, in unsigned long aflags,in nsiprotocol
proxycallback acallback); nsi
proxyinfo new
proxyinfo(in acstring atype, in autf8string ahost,in long aport, in unsigned long aflags, in unsigned long afailovertimeout, in nsi
proxyinfo afailover
proxy); nsi
proxyinfo getfailoverfor
proxy(in nsi
proxyinfo a
proxyinfo, in nsiuri auri, in nsresult areason); void registerfilter(in nsiprotocol
proxyfilter afilter, in unsigned long aposition); ...
...And 39 more matches
Old Proxy API - Archive of obsolete content
warning: the spidermonkey
proxy implementation is a prototype and the
proxy api and semantics specifications are unstable.
...
proxy the object whose properties are being intercepted.
...
proxy factory the object or method that creates intercessive proxies.
...And 34 more matches
Proxy Auto-Configuration (PAC) file - HTTP
a
proxy auto-configuration (pac) file is a javascript function that determines whether web browser requests (http, https, and ftp) go directly to the destination or are forwarded to a web
proxy server.
... the javascript function contained in the pac file defines the function: function find
proxyforurl(url, host) { // ...
... } syntax function find
proxyforurl(url, host) parameters url the url being accessed.
...And 30 more matches
No Proxy For configuration - Archive of obsolete content
abstract this document provides a comprehensive discussion of the manual
proxy feature "no
proxy for:", including configuration issues, testing and bugs.
... overview as browsers rapidly grew in popularity in the mid-90's, many network administrators added
proxy servers.
... initially,
proxy servers were used for access control and performance.
...And 18 more matches
Proxy UI - Archive of obsolete content
camino configured in os (networking preferences) (recently added - some support for reading os and account settings.)ui elements preferences panel overview the ui is based on selecting a
proxy mode, then filling out any additional needed information in "related" ui.
...the preference changes selecting the
proxy "mode" all product's
proxy preference panels share a basic design: a radio button that selects the
proxy mode, then "related
proxy mode" ui when needed.
... for the purposes of this document, "
proxy mode" means both: whatever was selected in the ui (as opposed to the value of the network.
proxy.type.
...And 16 more matches
Proxy - JavaScript
the
proxy object enables you to create a
proxy for another object, which can intercept and redefine fundamental operations for that object.
... description a
proxy is created with two parameters: target: the original object which you want to
proxy handler: an object that defines which operations will be intercepted and how to redefine intercepted operations.
... for example, this code defines a simple target with just two properties, and an even simpler handler with no properties: const target = { message1: "hello", message2: "everyone" }; const handler1 = {}; const
proxy1 = new
proxy(target, handler1); because the handler is empty, this
proxy behaves just like the original target: console.log(
proxy1.message1); // hello console.log(
proxy1.message2); // everyone to customise the
proxy, we define functions on the handler object: const target = { message1: "hello", message2: "everyone" }; const handler2 = { get: function(target, prop, receiver) { return "world"; } }; const
proxy2 = new
proxy(target, handler2); here we've provided an implementation of the get() handler, which intercepts attempts to access properties in the ta...
...And 14 more matches
nsIProxyInfo
this interface identifies a
proxy server.
... netwerk/base/public/nsi
proxyinfo.idlscriptable please add a summary to this article.
... last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) inherits from: nsisupports attributes attribute type description failover
proxy nsi
proxyinfo this attribute specifies the
proxy to failover to when this
proxy fails.
...And 13 more matches
Proxy servers and tunneling - HTTP
when navigating through different networks of the internet,
proxy servers and http tunnels are facilitating access to content on the world wide web.
... a
proxy can be on the user's local computer, or anywhere between the user's computer and a destination server on the internet.
... forward proxies a forward
proxy, or gateway, or just "
proxy" provides
proxy services to a client or a group of clients.
...And 13 more matches
nsIProtocolProxyFilter
netwerk/base/public/nsiprotocol
proxyfilter.idlscriptable this interface is used to apply filters to the proxies selected for a given uri.
...use nsiprotocol
proxyservice.registerfilter() to hook up instances of this interface.
... method overview nsi
proxyinfo applyfilter(in nsiprotocol
proxyservice a
proxyservice, in nsiuri auri, in nsi
proxyinfo a
proxy); methods applyfilter() this method is called to apply
proxy filter rules for the given uri and
proxy object (or list of
proxy objects).
...And 8 more matches
Proxy.revocable() - JavaScript
the
proxy.revocable() method is used to create a revocable
proxy object.
... syntax
proxy.revocable(target, handler); parameters target a target object to wrap with
proxy.
... it can be any sort of object, including a native array, a function, or even another
proxy.
...And 8 more matches
Proxy() constructor - JavaScript
the
proxy() constructor is used to create
proxy objects.
... syntax new
proxy(target, handler) parameters target a target object to wrap with
proxy.
... it can be any sort of object, including a native array, a function, or even another
proxy.
...And 7 more matches
nsIProtocolProxyCallback
netwerk/base/public/nsiprotocol
proxycallback.idlscriptable this interface serves as a closure for nsiprotocol
proxyservice.asyncresolve().
... 1.0 66 introduced gecko 1.8 inherits from: nsisupports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) method overview void on
proxyavailable(in nsicancelable arequest, in nsiuri auri, in nsi
proxyinfo a
proxyinfo, in nsresult astatus); methods on
proxyavailable() this method is called when
proxy info is available or when an error in the
proxy resolution occurs.
... void on
proxyavailable( in nsicancelable arequest, in nsiuri auri, in nsi
proxyinfo a
proxyinfo, in nsresult astatus ); parameters arequest the value returned from asyncresolve.
...And 4 more matches
Proxy server - MDN Web Docs Glossary: Definitions of Web-related terms
a
proxy server is an intermediate program or computer used when navigating through different networks of the internet.
...a
proxy intercepts requests and serves back responses; it may forward the requests, or not (for example in the case of a cache), and it may modify it (for example changing its headers, at the boundary between two networks).
... a
proxy can be on the user's local computer, or anywhere between the user's computer and a destination server on the internet.
...And 3 more matches
WindowProxy - Web APIs
a window
proxy object is a wrapper for a window object.
... a window
proxy object exists in every browsing context.
... all operations performed on a window
proxy object will also be applied to the underlying window object it currently wraps.
...And 3 more matches
Proxy-Authenticate - HTTP
the http
proxy-authenticate response header defines the authentication method that should be used to gain access to a resource behind a
proxy server.
... it authenticates the request to the
proxy server, allowing it to transmit the request further.
... the
proxy-authenticate header is sent along with a 407
proxy authentication required.
...And 2 more matches
Proxy-Authorization - HTTP
the http
proxy-authorization request header contains the credentials to authenticate a user agent to a
proxy server, usually after the server has responded with a 407
proxy authentication required status and the
proxy-authenticate header.
... header type request header forbidden header name no syntax
proxy-authorization: <type> <credentials> directives <type> authentication type.
... examples
proxy-authorization: basic ywxhzgrpbjpvcgvuc2vzyw1l specifications specification title rfc 7235, section 4.4:
proxy-authorization http/1.1: authentication rfc 7617 the 'basic' http authentication scheme ...
407 Proxy Authentication Required - HTTP
the http 407
proxy authentication required client error status response code indicates that the request has not been applied because it lacks valid authentication credentials for a
proxy server that is between the browser and the server that can access the requested resource.
... this status is sent with a
proxy-authenticate header that contains information on how to authorize correctly.
... status 407
proxy authentication required example response http/1.1 407
proxy authentication required date: wed, 21 oct 2015 07:28:00 gmt
proxy-authenticate: basic realm="access to internal site" specifications specification title rfc 7235, section 3.2: 407
proxy authentication required http/1.1: authentication ...
nsISupports proxies
the following interface is now obsolete: nsi
proxyobjectmanager.
... about xpcom proxies a
proxy, in this context, is a stub object which enables a method of any class which is derived from nsisupports and has a typelib to be called on any in-process thread.
...see xpcom/
proxy/public/nsi
proxyobjectmanager.idl for the updated interface and its documentation.
...And 20 more matches
Meta programming - JavaScript
« previousnext » starting with ecmascript 2015, javascript gains support for the
proxy and reflect objects allowing you to intercept and define custom behavior for fundamental language operations (e.g.
... proxies introduced in ecmascript 6,
proxy objects allow you to intercept certain operations and to implement custom behaviors.
...target[name] : 42 } } let p = new
proxy({}, handler) p.a = 1 console.log(p.a, p.b) // 1, 42 the
proxy object defines a target (an empty object here) and a handler object, in which a get trap is implemented.
...And 19 more matches
Debugger.Object - Firefox Developer Tools
this accessor may throw if the referent is a scripted
proxy or some other sort of exotic object (an opaque wrapper, for example).
... callable true if the referent is a callable object (such as a function or a function
proxy); false otherwise.
... if the referent is a function
proxy, return an empty array.
...And 13 more matches
Proxies in Necko
this means that callers can just create an nsichannel, not needing to worry about whether the channel will use a
proxy or not the basic interfaces for proxies are: nsi
proxyinfo, nsiprotocol
proxyservice, and nsiproxiedprotocolhandler nsi
proxyinfo is a simple helper which stores information about the type of the
proxy, its host and its port.
... nsiioservice the decision whether to use a
proxy is made in nsioservice::newchannelfromuri.
... it first asks the nsiprotocol
proxyservice for an nsi
proxyinfo.
...And 12 more matches
HTTP Index - HTTP
63 age caching, http, response, header the age header contains the time in seconds the object has been in a
proxy cache.
... 153 forwarded http, http header, reference, request header, header the forwarded header contains information from the client-facing side of
proxy servers that is altered or lost when a
proxy is involved in the path of the request.
... 169
proxy-authenticate http, http header,
proxy, reference, response header the http
proxy-authenticate response header defines the authentication method that should be used to gain access to a resource behind a
proxy server.
...And 12 more matches
Debugger.Object - Firefox Developer Tools
callable true if the referent is a callable object (such as a function or a function
proxy); false otherwise.
... if the referent is a function
proxy, return an empty array.
...if the referent is a function
proxy or not debuggee code, this is undefined.
...And 9 more matches
Index - Archive of obsolete content
620
proxy ui (recently added - some support for reading os and account settings.) 621 pydom this is the documentation for the binding of python and the mozilla dom.
...you can use the more general
proxy object instead.
...you can use the more general
proxy object instead.
...And 7 more matches
nsISocketProvider
to create an instance, use: var socketprovider = components.classes["@mozilla.org/network/socket;2?type="] .createinstance(components.interfaces.nsisocketprovider); method overview void addtosocket(in long afamily, in string ahost, in long aport, in string a
proxyhost, in long a
proxyport, in unsigned long aflags, in prfiledescstar afiledesc, out nsisupports asecurityinfo); native code only!
... void newsocket(in long afamily, in string ahost, in long aport, in string a
proxyhost, in long a
proxyport, in unsigned long aflags, out prfiledescstar afiledesc, out nsisupports asecurityinfo); native code only!
... constants constant value description
proxy_resolves_host 1 << 0 this flag is set if the
proxy is to perform hostname resolution instead of the client.
...And 7 more matches
HTTP authentication - HTTP
proxy authentication the same challenge and response mechanism can be used for
proxy authentication.
... as both resource authentication and
proxy authentication can coexist, a different set of headers and status codes is needed.
... in the case of proxies, the challenging status code is 407 (
proxy authentication required), the
proxy-authenticate response header contains at least one challenge applicable to the
proxy, and the
proxy-authorization request header is used for providing the credentials to the
proxy server.
...And 6 more matches
Index - HTTP
15 age caching, http, response, header the age header contains the time in seconds the object has been in a
proxy cache.
... 74 forwarded http, http header, reference, request header, header the forwarded header contains information from the client-facing side of
proxy servers that is altered or lost when a
proxy is involved in the path of the request.
... 89
proxy-authenticate http, http header,
proxy, reference, response header the http
proxy-authenticate response header defines the authentication method that should be used to gain access to a resource behind a
proxy server.
...And 6 more matches
Bytecode Descriptions
this can fire
proxy hooks and can throw.
...this can call getters and
proxy traps.
...can call
proxy traps.
...And 5 more matches
HTTP headers - HTTP
headers can also be grouped according to how proxies handle them: connection keep-alive
proxy-authenticate
proxy-authorization te trailer transfer-encoding upgrade (see also protocol upgrade mechanism).
...
proxy-authenticate defines the authentication method that should be used to access a resource behind a
proxy server.
...
proxy-authorization contains the credentials to authenticate a user agent with a
proxy server.
...And 5 more matches
Multiprocess on Windows
when midl processes your idl, it generates c code for building a
proxy dll, containing the oicf metadata.
...the oicf metadata is shipped via the
proxy dll.
... to include the typelib metadata, embed it in the
proxy dll's resources.
...And 4 more matches
Power profiling overview
proxy measurements the next best measurements are
proxy measurements, i.e.
... the correlation between each
proxy measure and power consumption is hard to know and can vary greatly.
... most profiling tools provide at least some
proxy measurements.
...And 4 more matches
Index
858 nsiprotocol
proxycallback interfaces, interfaces:scriptable, xpcom, xpcom interface reference this method is called when
proxy info is available or when an error in the
proxy resolution occurs.
... 859 nsiprotocol
proxyfilter interfaces, interfaces:scriptable,
proxy, xpcom, xpcom interface reference this interface is used to apply filters to the proxies selected for a given uri.
... use nsiprotocol
proxyservice.registerfilter() to hook up instances of this interface.
...And 4 more matches
nsIPluginHost
void find
proxyforurl(in string aurl, out string aresult); native code only!
... native code only!find
proxyforurl fetches a url.
... (corresponds to npn_posturl and npn_posturlnotify.) returns the
proxy info for a given url.
...And 4 more matches
nsISocketTransportService
nsisockettransport createtransport(in array<acstring> asockettypes, in autf8string ahost, in long aport, in nsi
proxyinfo a
proxyinfo); void init(); obsolete since gecko 1.8 void notifywhencanattachsocket(in nsirunnable aevent); native code only!
... nsisockettransport createtransport( in array<acstring> asockettypes, in autf8string ahost, in long aport, in nsi
proxyinfo a
proxyinfo ); parameters asockettypes array of socket type strings.
...you do not need to specify the strings "socks" or "socks4", use the a
proxyinfo instead.
...And 4 more matches
handler.construct() - JavaScript
in order for the new operation to be valid on the resulting
proxy object, the target used to initialize the
proxy must itself have a [[construct]] internal method (i.e.
... syntax const p = new
proxy(target, { construct: function(target, argumentslist, newtarget) { } }); parameters the following parameters are passed to the construct() method.
... interceptions this trap can intercept these operations: new
proxy(...args) reflect.construct() invariants if the following invariants are violated, the
proxy will throw a typeerror: the result must be an object.
...And 4 more matches
Index
it does so in a blocking fashion, and also directly to the responder, ignoring any
proxy the application may wish to use.
... this causes ocsp requests to fail if the network environment requires the use of a
proxy.
...it does so in a blocking fashion, and also directly to the responder, ignoring any
proxy the application may wish to use.
...And 3 more matches
Index - Web APIs
1843 htmlobjectelement.contentwindow api, html dom, htmlobjectelement, needsexample, property, reference, contentwindow the contentwindow read-only property of the htmlobjectelement interface returns a window
proxy representing the window
proxy of the object element's nested browsing context, if any; otherwise null.
... 2559 messageevent.source api, dom, messageevent, property, reference, messaging, source the source read-only property of the messageevent interface is a messageeventsource (which can be a window
proxy, messageport, or serviceworker object) representing the message emitter.
...for example: 3935 service worker api api, landing, offline, overview, reference, service workers, workers service workers essentially act as
proxy servers that sit between web applications, the browser, and the network (when available).
...And 3 more matches
handler.set() - JavaScript
syntax const p = new
proxy(target, { set: function(target, property, value, receiver) { } }); parameters the following parameters are passed to the set() method.
...this is usually the
proxy itself.
... for example: suppose a script does obj.name = "jen", and obj is not a
proxy, and has no own property .name, but it has a
proxy on its prototype chain.
...And 3 more matches
Embedding Mozilla in a Java Application using JavaXPCOM - Archive of obsolete content
in order to communicate with xpcom after this point, you should use an nsi
proxyobjectmanager.
... nsieventqueue eventqueue = eventqueueservive.getspecialeventqueue(nsieventqueueservice.ui_thread_event_queue); // now create a
proxy for the
proxy object manager.
... nsi
proxyobjectmanager
proxy = (nsi
proxyobjectmanager)componentmanager.createinstancebycontractid("@mozilla.org/xpcom
proxy;1",null,nsi
proxyobjectmanager.ns_i
proxyobjectmanager_iid); // and use the
proxy object manager to create a
proxy for the nsiwindowwatcher instance we created above.
...And 2 more matches
sslfnc.html
ssl_setsockpeerid associates a peer id with a socket to facilitate looking up the ssl session when it is tunneling through a
proxy.
...however, the situation is more complicated if the client is on an intranet and is connecting to a server on the internet through a
proxy.
... in this case, the client first connects to the
proxy, and the client and
proxy exchange messages specified by the
proxy protocol that allow the
proxy, in turn, to connect to the requested server on behalf of the client.
...And 2 more matches
JS_PreventExtensions
this might also occur if the object is a
proxy, and some internal state of the
proxy means that no coherent behavior is possible.
... for example, if the object is a revocable
proxy that has been revoked, it makes no sense to say that an attempt to prevent extensions either succeeded or failed: it's a category error.
... var target = {}; var handler = {}; var pair =
proxy.revocable(target, handler); var
proxy = pair.
proxy; var revoke = pair.revoke; revoke(); // bool succeeded; // bool rv = js_preventextensions(cx,
proxy, &succeeded); // // rv == false, succeeded is indeterminate the second case occurs when no internal error is encountered, but the object simply refuses to be made non-extensible.
...And 2 more matches
nsIIOService
nsiuri auri); obsolete since gecko 48 nsichannel newchannelfromuri2(in nsiuri auri, in nsidomnode aloadingnode, in nsiprincipal aloadingprincipal, in nsiprincipal atriggeringprincipal, in unsigned long asecurityflags, in unsigned long acontentpolicytype); nsichannel newchannelfromuriwithloadinfo(in nsiuri auri, in nsiloadinfo aloadinfo); nsichannel newchannelfromuriwith
proxyflags2(in nsiuri auri, in nsiuri a
proxyuri, in uint32_t a
proxyflags,in nsidomnode aloadingnode, in nsiprincipal aloadingprincipal, in nsiprincipal atriggeringprincipal, in uint32_t asecurityflags, in uint32_t acontentpolicytype); nsiuri newfileuri(in nsifile afile); nsiuri newuri(in autf8string aspec, in string aorigincharset, in nsiuri abaseuri); attributes att...
... newchannelfromuriwith
proxyflags2() creates a channel for a given uri.
... equivalent to newchannelfromuri2(auri, aloadingnode, ...) nsichannel newchannelfromuriwith
proxyflags2( in nsiuri auri, in nsiuri a
proxyuri, in uint32_t a
proxyflags, in nsidomnode aloadingnode, in nsiprincipal aloadingprincipal, in nsiprincipal atriggeringprincipal, in uint32_t asecurityflags, in uint32_t acontentpolicytype ); parameters auri an nsiuri from which to make a channel.
...And 2 more matches
nsIProtocolHandler
allows_
proxy 1<<2 this protocol handler can be proxied via socks or http (such as irc, smtp, and http, for example).
... if the protocol supports transparent
proxying, the handler should implement the nsiproxiedprotocolhandler interface.
... if the protocol only supports http
proxying, it doesn't need to support nsiproxiedprotocolhandler, but should instead set the allows_
proxy_http flag.
...And 2 more matches
Cache-Control - HTTP
cache-control: must-revalidate cache-control: no-cache cache-control: no-store cache-control: no-transform cache-control: public cache-control: private cache-control:
proxy-revalidate cache-control: max-age=<seconds> cache-control: s-maxage=<seconds> extension cache-control directives extension cache-control directives are not part of the core http caching standards document.
... cache-control: immutable cache-control: stale-while-revalidate=<seconds> cache-control: stale-if-error=<seconds> directives cacheability a response is normally cached by the browser if: it has a status code of 301, 302, 307, 308, or 410 and cache-control does not have no-store, or if
proxy, does not have private and authorization is unset either has a status code of 301, 302, 307, 308, or 410 or has public, max-age or s-maxage in cache-control or has expires set public the response may be stored by any cache, even if the response is normally non-cacheable.
...
proxy-revalidate like must-revalidate, but only for shared caches (e.g., proxies).
...And 2 more matches
Forwarded - HTTP
the forwarded header contains information from the reverse
proxy servers that is altered or lost when a
proxy is involved in the path of the request.
... header type request header forbidden header name no syntax forwarded: by=<identifier>;for=<identifier>;host=<host>;proto=<http|https> directives <identifier> an identifier disclosing the information that is altered or lost when using a
proxy.
... by=<identifier> the interface where the request came in to the
proxy server.
...And 2 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.
... header type request header forbidden header name no syntax x-forwarded-for: <client>, <
proxy1>, <
proxy2> directives <client> the client ip address <
proxy1>, <
proxy2> if a request goes through multiple proxies, the ip addresses of each successive
proxy is listed.
...And 2 more matches
CONNECT - HTTP
the client asks an http
proxy server to tunnel the tcp connection to the desired destination.
...once the connection has been established by the server, the
proxy server continues to
proxy the tcp stream to and from the client.
... request has body no successful response has body yes safe no idempotent no cacheable no allowed in html forms no syntax connect www.example.com:443 http/1.1 example some
proxy servers might need authority to create a tunnel.
...And 2 more matches
handler.get() - JavaScript
syntax const p = new
proxy(target, { get: function(target, property, receiver) { } }); parameters the following parameters are passed to the get() method.
... receiver either the
proxy or an object that inherits from the
proxy.
... interceptions this trap can intercept these operations: property access:
proxy[foo]and
proxy.bar inherited property access: object.create(
proxy)[foo] reflect.get() invariants if the following invariants are violated, the
proxy will throw a typeerror: the value reported for a property must be the same as the value of the corresponding target object property if the target object property is a non-writable, non-configurable own data property.
...And 2 more matches
handler.getPrototypeOf() - JavaScript
syntax const p = new
proxy(obj, { getprototypeof(target) { ...
... description interceptions this trap can intercept these operations: object.getprototypeof() reflect.getprototypeof() __proto__ object.prototype.isprototypeof() instanceof invariants if the following invariants are violated, the
proxy will throw a typeerror: getprototypeof() method must return an object or null.
... if target is not extensible, object.getprototypeof(
proxy) method must return the same value as object.getprototypeof(target).
...And 2 more matches
Setting up an extension development environment - Archive of obsolete content
useful for testing debug symbols and the crash reporting system (firefox and thunderbird) javascript object examiner displays javascript object methods and properties for any available scope developer profile and devprefs sets up the development environment described above when installed (firefox and fennec) firefox extension
proxy file extension files are normally installed in the user profile.
...this section explains how to create a
proxy file that points to an extension that is installed in a location other than the user profile.
...(how to find your profile directory) alternatively, rather than using a guid, create a unique id using the format "name@yourdomain" (for example chromebug@mydomain.com) - then the
proxy filename will be same as that id, with no curly brackets {}.
... also note that the use of
proxy files requires that the extension's chrome.manifest defines its chrome urls using traditional directories, rather than a jared structure.
MCD, Mission Control Desktop, AKA AutoConfig - Archive of obsolete content
[root@calaz firefox]# cat firefox.cfg //put everything in a try/catch try { //privacy & security defaultpref("signon.remembersignons", false); //
proxy and cache, as it is on nfs volume, we don't want cache lockpref("browser.cache.disk.capacity", 0); lockpref("network.cookie.cookiebehavior", 0); defaultpref("network.
proxy.autoconfig_url", "http://wpad.int-evry.fr/wpad.dat"); defaultpref("network.
proxy.type", 2); lockpref("network.protocol-handler.app.mailto", "/usr/bin/thunderbird"); //firefox3 urlclassifier3.sqlite iowait/cpu pb //http://forum...
...int-evry.fr/mci/user/"); */ lockpref("browser.startup.homepage", "http://www.int-evry.fr/mci/user/"); lockpref("browser.startup.homepage_override", true); lockpref("general.config.vendor", "mci-mozilla-web-tux"); lockpref("startup.homepage_override_url", "http://www.int-evry.fr/mci/user/"); lockpref("browser.cache.disk.capacity", 0); lockpref("network.cookie.cookiebehavior", 0); lockpref("network.
proxy.autoconfig_url", "http://www.int-evry.fr/local/config.
proxy"); lockpref("network.
proxy.type", 2); //account lockpref("mail.account.account1.identities", "id1"); lockpref("mail.account.account1.server", "server1"); lockpref("mail.account.account2.server", "server2"); lockpref("mail.account.account3.server", "server3"); lockpref("mail.accountmanager.accounts", "account1,account2,account3"); lockpr...
... "http://www.int-evry.fr/s2ia/portail/"); //unlockpref("browser.startup.homepage"); lockpref("browser.startup.homepage_override", true); lockpref("startup.homepage_override_url", "http://www.int-evry.fr/s2ia/portail/"); //unlockpref("startup.homepage_override_url"); lockpref("browser.cache.disk.capacity", 100); lockpref("network.cookie.cookiebehavior", 0); //network preferences lockpref("network.
proxy.autoconfig_url", "http://www.int-evry.fr/local/config.
proxy"); lockpref("network.
proxy.type", 2); //privacy & security defaultpref("signon.remembersignons", false); //account lockpref("mail.account.account1.identities", "id1"); lockpref("mail.account.account1.server", "server1"); lockpref("mail.account.account2.server", "server2"); lockpref("mail.account.account3.server", "server3"); lockpref("...
...ldap_2.servers.ldapint.csid", "utf-8"); lockpref("ldap_2.servers.ldapint.description", "ldap int"); lockpref("ldap_2.servers.ldapint.filename", "ldapint.na2"); lockpref("ldap_2.servers.ldapint.position", 2); lockpref("ldap_2.servers.ldapint.searchbase", "ou=people,dc=int-evry,dc=fr"); lockpref("ldap_2.servers.ldapint.servername", "ldap1.int-evry.fr"); //news lockpref("news.directory", "/tmp"); //
proxy lockpref("network.
proxy.autoconfig_url", \ "http://www.int-evry.fr/local/config.
proxy"); } // with (prefconfig) this document was initially translated from latex with hevea.
handler.enumerate() - Archive of obsolete content
syntax var p = new
proxy(target, { enumerate(target) { } }); parameters the following parameter is passed to the enumerate method.
... interceptions this trap can intercept these operations: property enumeration / for...in: for (var name in
proxy) {...} reflect.enumerate() invariants if the following invariants are violated, the
proxy will throw a typeerror: the enumerate method must return an object.
... var p = new
proxy({}, { enumerate(target) { console.log('called'); return ['a', 'b', 'c'][symbol.iterator](); } }); for (var x in p) { // "called" console.log(x); // "a" } // "b" // "c" the following code violates the invariant.
... var p = new
proxy({}, { enumerate(target) { return 1; } }); for (var x in p) {} // typeerror is thrown note: both examples make use of the shorthand syntax for method definitions.
Archived JavaScript Reference - Archive of obsolete content
you can use the more general
proxy object instead.array.unobserve()the array.unobserve() method was used to remove observers set by array.observe(), but has been deprecated and removed from browsers.
... you can use the more general
proxy object instead.arraybuffer.transfer()the static arraybuffer.transfer() method returns a new arraybuffer whose contents have been taken from the oldbuffer's data and then is either truncated or zero-extended by newbytelength.
...you can use the more general
proxy object instead.object.prototype.__count__the __count__ property used to store the count of enumerable properties on the object, but it has been removed.object.prototype.__nosuchmethod__the __nosuchmethod__ property used to reference a function to be executed when a non-existent method is called on an object, but this function is no longer available.object.prototype.__parent__the __parent__ proper...
...you can use the more general
proxy object instead.reflect.enumerate()the static reflect.enumerate() method used to return an iterator with the enumerable own and inherited properties of the target object, but has been removed in ecmascript 2016 and is deprecated in browsers.string.prototype.quote()the non-standard quote() method returns a copy of the string, replacing various special characters in the string with their escape sequ...
PAC - MDN Web Docs Glossary: Definitions of Web-related terms
a
proxy auto-configuration file (pac file) is a file which contains a function, find
proxyforurl(), which is used by the browser to determine whether requests (including http, https, and ftp) should go directly to the destination or if they need to be forwarded through a web
proxy server.
... function find
proxyforurl(url, host) { /* ...
... */ } ret = find
proxyforurl(url, host) see
proxy auto-configuration (pac) file for details about how these are used and how to create new ones.
... learn more general knowledge pac on wikipedia technical reference
proxy auto-configuration file on mdn ...
HTTP caching - HTTP
this page will mostly talk about browser and
proxy caches, but there are also gateway caches, cdn, reverse
proxy caches and load balancers that are deployed on web servers for better reliability, performance and scaling of web sites and web applications.
... shared
proxy caches a shared cache is a cache that stores responses to be reused by more than one user.
... for example, an isp or your company might have set up a web
proxy as part of its local network infrastructure to serve many users so that popular resources are reused a number of times, reducing network traffic and latency.
... here is an example of this process with a shared cache
proxy: the freshness lifetime is calculated based on several headers.
handler.defineProperty() - JavaScript
syntax const p = new
proxy(target, { defineproperty: function(target, property, descriptor) { } }); parameters the following parameters are passed to the defineproperty() method.
... interceptions this trap can intercept these operations: object.defineproperty() reflect.defineproperty() invariants if the following invariants are violated, the
proxy will throw a typeerror: a property cannot be added, if the target object is not extensible.
... const p = new
proxy({}, { defineproperty: function(target, prop, descriptor) { console.log('called: ' + prop); return true; } }); const desc = { configurable: true, enumerable: true, value: 10 }; object.defineproperty(p, 'a', desc); // "called: a" when calling object.defineproperty() or reflect.defineproperty(), the descriptor passed to defineproperty() trap has one restriction—only following proper...
...ties are usable (non-standard properties will be ignored): enumerable configurable writable value get set const p = new
proxy({}, { defineproperty(target, prop, descriptor) { console.log(descriptor); return reflect.defineproperty(target, prop, descriptor); } }); object.defineproperty(p, 'name', { value: '
proxy', type: 'custom' }); // { value: '
proxy' } specifications specification ecmascript (ecma-262)the definition of '[[defineownproperty]]' in that specification.
handler.getOwnPropertyDescriptor() - JavaScript
syntax const p = new
proxy(target, { getownpropertydescriptor: function(target, prop) { } }); parameters the following parameters are passed to the getownpropertydescriptor() method.
... interceptions this trap can intercept these operations: object.getownpropertydescriptor() reflect.getownpropertydescriptor() invariants if the following invariants are violated, the
proxy will throw a typeerror: getownpropertydescriptor() must return an object or undefined.
... const p = new
proxy({ a: 20}, { getownpropertydescriptor: function(target, prop) { console.log('called: ' + prop); return { configurable: true, enumerable: true, value: 10 }; } }); console.log(object.getownpropertydescriptor(p, 'a').value); // "called: a" // 10 the following code violates an invariant.
... const obj = { a: 10 }; object.preventextensions(obj); const p = new
proxy(obj, { getownpropertydescriptor: function(target, prop) { return undefined; } }); object.getownpropertydescriptor(p, 'a'); // typeerror is thrown specifications specification ecmascript (ecma-262)the definition of '[[getownproperty]]' in that specification.
handler.has() - JavaScript
syntax const p = new
proxy(target, { has: function(target, prop) { } }); parameters the following parameters are passed to has() method.
... interceptions this trap can intercept these operations: property query: foo in
proxy inherited property query: foo in object.create(
proxy) with check: with(
proxy) { (foo); } reflect.has() invariants if the following invariants are violated, the
proxy will throw a typeerror: a property cannot be reported as non-existent, if it exists as a non-configurable own property of the target object.
... const p = new
proxy({}, { has: function(target, prop) { console.log('called: ' + prop); return true; } }); console.log('a' in p); // "called: a" // true the following code violates an invariant.
... const obj = { a: 10 }; object.preventextensions(obj); const p = new
proxy(obj, { has: function(target, prop) { return false; } }); 'a' in p; // typeerror is thrown specifications specification ecmascript (ecma-262)the definition of '[[hasproperty]]' in that specification.
handler.isExtensible() - JavaScript
syntax const p = new
proxy(target, { isextensible: function(target) { } }); parameters the following parameter is passed to the isextensible() method.
... interceptions this trap can intercept these operations: object.isextensible() reflect.isextensible() invariants if the following invariants are violated, the
proxy will throw a typeerror: object.isextensible(
proxy) must return the same value as object.isextensible(target).
... const p = new
proxy({}, { isextensible: function(target) { console.log('called'); return true; } }); console.log(object.isextensible(p)); // "called" // true the following code violates the invariant.
... const p = new
proxy({}, { isextensible: function(target) { return false; } }); object.isextensible(p); // typeerror is thrown specifications specification ecmascript (ecma-262)the definition of '[[isextensible]]' in that specification.
handler.ownKeys() - JavaScript
syntax const p = new
proxy(target, { ownkeys: function(target) { } }); parameters the following parameter is passed to the ownkeys() method.
... interceptions this trap can intercept these operations: object.getownpropertynames() object.getownpropertysymbols() object.keys() reflect.ownkeys() invariants if the following invariants are violated, the
proxy will throw a typeerror: the result of ownkeys() must be an array.
... const p = new
proxy({}, { ownkeys: function(target) { console.log('called'); return ['a', 'b', 'c']; } }); console.log(object.getownpropertynames(p)); // "called" // [ 'a', 'b', 'c' ] the following code violates an invariant.
... const obj = {}; object.defineproperty(obj, 'a', { configurable: false, enumerable: true, value: 10 } ); const p = new
proxy(obj, { ownkeys: function(target) { return [123, 12.5, true, false, undefined, null, {}, []]; } }); console.log(object.getownpropertynames(p)); // typeerror:
proxy [[ownpropertykeys]] must return an array // with only string and symbol elements specifications specification ecmascript (ecma-262)the definition of '[[ownpropertykeys]]' in that specification.
handler.preventExtensions() - JavaScript
syntax const p = new
proxy(target, { preventextensions: function(target) { } }); parameters the following parameter is passed to the preventextensions() method.
... interceptions this trap can intercept these operations: object.preventextensions() reflect.preventextensions() invariants if the following invariants are violated, the
proxy will throw a typeerror: object.preventextensions(
proxy) only returns true if object.isextensible(
proxy) is false.
... const p = new
proxy({}, { preventextensions: function(target) { console.log('called'); object.preventextensions(target); return true; } }); console.log(object.preventextensions(p)); // "called" // false the following code violates the invariant.
... const p = new
proxy({}, { preventextensions: function(target) { return true; } }); object.preventextensions(p); // typeerror is thrown specifications specification ecmascript (ecma-262)the definition of '[[preventextensions]]' in that specification.
handler.setPrototypeOf() - JavaScript
syntax const p = new
proxy(target, { setprototypeof: function(target, prototype) { } }); parameters the following parameters are passed to the setprototypeof() method.
... interceptions this trap can intercept these operations: object.setprototypeof() reflect.setprototypeof() invariants if the following invariants are violated, the
proxy will throw a typeerror: if target is not extensible, the prototype parameter must be the same value as object.getprototypeof(target).
... const handlerreturnsfalse = { setprototypeof(target, newproto) { return false; } }; const newproto = {}, target = {}; const p1 = new
proxy(target, handlerreturnsfalse); object.setprototypeof(p1, newproto); // throws a typeerror reflect.setprototypeof(p1, newproto); // returns false approach 2: throwing an exception the latter approach will cause any operation that attempts to mutate, to throw.
... const handlerthrows = { setprototypeof(target, newproto) { throw new error('custom error'); } }; const newproto = {}, target = {}; const p2 = new
proxy(target, handlerthrows); object.setprototypeof(p2, newproto); // throws new error("custom error") reflect.setprototypeof(p2, newproto); // throws new error("custom error") specifications specification ecmascript (ecma-262)the definition of '[[setprototypeof]]' in that specification.
Index of archived content - Archive of obsolete content
plugin architecture porting nspr to unix platforms priority content prism blogposts build bundlelibrary bundles configuration extensions faq hostwindow installer scripting styling
proxy ui pydom rdf api rdf datasource how-to reading textual data remote xul remote debugging rsyncing the cvs repository running windows debug builds downloaded from tinderbox sxsw 2007 presentations safe browsing safe browsing: design documentation safely loading uris same...
... introduction namespaces the global xml object iterator liveconnect liveconnect overview liveconnect reference jsexception jsobject msx emulator (jsmsx) old
proxy api parallelarray properly using css and javascript in xhtml documents examples reference server-side javascript back to the server: server-side javascript on the rise sharp variables in javascript standards-compliant aut...
...signing code creating a web based tone generator defining cross-browser tooltips environment variables affecting crash reporting io guide images, tables, and mysterious gaps installing plugins to gecko embedding browsers on windows mcd, mission control desktop, aka autoconfig monitoring wifi access points no
proxy for configuration notes on html reflow same-origin policy for file: uris source navigator source code directories overview using xml data islands in mozilla using content preferences visualizing an audio spectrum working with bfcache cert_override.txt mozilla release faq ...
Defining Cross-Browser Tooltips - Archive of obsolete content
if such a find-and-replace operation is somehow not feasible, authors with the ability to run
proxy servers can use the approach proposed by christian jensen (cf.
... bug 25537#c73, which is to run a
proxy server that rewrites html source on the fly, as it is sent to the user.
... authors able to run content-rewriting
proxy servers can use them to dynamically alter outgoing content to ensure both the title and alt attributes are present.
NPN_GetValueForURL - Archive of obsolete content
« gecko plugin api reference « browser side plug-in api summary provides information to a plugin which is associated with a given url, for example the cookies or preferred
proxy.
... syntax #include <npapi.h> typedef enum { npnurlvcookie = 501, npnurlv
proxy } npnurlvariable; nperror npn_getvalueforurl(npp instance, npnurlvariable variable, const char *url, char **value, uint32_t *len); parameters this function has the following parameters: instance pointer to the current plug-in instance.
... variable selects the type of information to be retrieved (npnurlvcookie or npnurlv
proxy) url the url for which to fetch information.
Index - MDN Web Docs Glossary: Definitions of Web-related terms
307 pac codingscripting, glossary a
proxy auto-configuration file (pac file) is a file which contains a function, find
proxyforurl(), which is used by the browser to determine whether requests (including http, https, and ftp) should go directly to the destination or if they need to be forwarded through a web
proxy server.
... 342
proxy server glossary,
proxy, server a
proxy server is an intermediate program or computer used when navigating through different networks of the internet.
...a
proxy intercepts requests and serves back responses; it may forward the requests, or not (for example in the case of a cache), and it may modify it (for example changing its headers, at the boundary between two networks).
Error codes returned by Mozilla APIs
ns_error_factory_not_loaded (0x800401f8) ns_error_factory_exists (0xc1f30100) ns_error_factory_no_signature_support (0xc1f30101) ns_error_
proxy_invalid_in_parameter (0x80010010) ns_error_
proxy_invalid_out_parameter (0x80010011) ns_error_cannot_convert_data (0x80460001) ns_error_object_is_immutable (0x80460002) ns_error_loss_of_significant_data (0x80460003) ns_error_illegal_during_shutdown (0x8046001e) many operations cannot be performed once the application is being shutdown.
...s_error_not_resumable (0x804b0019) ns_error_invalid_content_encoding (0x804b001b) the content encoding of the source document was incorrect, for example returning a plain html document advertised as content-encoding: gzip ns_error_ftp_list (0x804b001c) ns_error_unknown_host (0x804b001e) ns_error_redirect_loop (0x804b001f) ns_error_entity_changed (0x804b0020) ns_error_unknown_
proxy_host (0x804b002a) ns_error_unknown_socket_type (0x804b0033) ns_error_socket_create_failed (0x804b0034) ns_error_cache_key_not_found (0x804b003d) ns_error_cache_data_is_stream (0x804b003e) ns_error_cache_data_is_not_stream (0x804b003f) ns_error_cache_wait_for_validation (0x804b0040) ns_error_cache_entry_doomed (0x804b0041) ns_error_cache_read_access_denied (0x804b00...
...42) ns_error_cache_write_access_denied (0x804b0043) ns_error_cache_in_use (0x804b0044) ns_error_document_not_cached (0x804b0046) ns_error_net_interrupt (0x804b0047) ns_error_
proxy_connection_refused (0x804b0048) ns_error_already_opened (0x804b0049) returned from nsichannel.asyncopen() when trying to open the channel again (reopening is not supported).
HTTP delegation
it does so in a blocking fashion, and also directly to the responder, ignoring any
proxy the application may wish to use.
... this causes ocsp requests to fail if the network environment requires the use of a
proxy.
...specifying an ocsp
proxy the remainder of this document is a short howto.
HTTP delegation
it does so in a blocking fashion, and also directly to the responder, ignoring any
proxy the application may wish to use.
... this causes ocsp requests to fail if the network environment requires the use of a
proxy.
...specifying an ocsp
proxy the remainder of this document is a short howto.
Multithreading in Necko
the internal i/o interfaces default to
proxying all callbacks to the main thread.
...when a socket can be read, the socket's listener is notified either synchronously (on the same thread) or asynchronously via a nsistreamlistener
proxy impl.
...as with the socket transport thread, the nsistreamlistener passed to a file transport's asyncread method can operate partially on the file transport's thread before
proxying data to the main thread.
Necko walkthrough
then in necko http code (still on the main thread for now): nshttpchannel::asyncopen nshttpchannel::beginconnect() creates nshttpconnectioninfo object for the channel checks if we're
proxying or not fires off the dns prefetch request (dispatched to dns thread pool) some other things nshttpchannel::connect might to a speculativeconnect (pre open tcp socket) nshttpchannel::continueconnect some cache stuff nshttpchannel::setuptransaction creates new nshttptransaction, and inits it with mrequesthead (the request headers) and muploadstream (whic...
... note: this callback may be a
proxy object, nsinputstreamreadyevent: it is a runnable that dispatches itself to a previously set target thread, and calls its internal mcallback->oninputstreamready function.
...and in that function it created a
proxy callback because it wished to have oninputstreamready called on the main thread.
Using MAPI with Thunderbird's Windows 7 developer builds
if you want to set a debug build as the default mail client, you need configure it manually: in the objdir/mozilla/dist/bin directory, copy mozmapi32.dll to mozmapi32_inuse.dll and mapi
proxy to mapi
proxy_inuse.dll.
... (be sure to copy - not move - these files.) in the uninstall sub-directory of the bin directory, run these two commands: helper.exe /setasdefaultappglobal helper.exe /setasdefaultappuser create an elevated shell and register the mapi
proxy.dll as a com server.
... (one way to create an elevated shell is to invoke the command prompt from the start menu, right click, and select run as administrator.) in the elevated shell, change to the objdir/mozilla/dist/bin directory and enter this command: regsvr32 mapi
proxy_inuse.dll ...
Age - HTTP
the age header contains the time in seconds the object has been in a
proxy cache.
...if it is age: 0, it was probably just fetched from the origin server; otherwise it is usually calculated as a difference between the
proxy's current date and the date general header included in the http response.
... header type response header forbidden header name no syntax age: <delta-seconds> directives <delta-seconds> a non-negative integer, representing time in seconds the object has been in a
proxy cache.
An overview of HTTP - HTTP
components of http-based systems http is a client-server protocol: requests are sent by one entity, the user-agent (or a
proxy on behalf of it).
...
proxy and tunneling servers or clients are often located on intranets and hide their true ip address from other computers.
... http flow when a client wants to communicate with a server, either the final server or an intermediate
proxy, it performs the following steps: open a tcp connection: the tcp connection is used to send a request, or several, and receive an answer.
HTTP response status codes - HTTP
305 use
proxy defined in a previous version of the http specification to indicate that a requested response must be accessed by a
proxy.
... it has been deprecated due to security concerns regarding in-band configuration of a
proxy.
... 407
proxy authentication required this is similar to 401 but authentication is needed to be done by a
proxy.
handler.apply() - JavaScript
syntax const p = new
proxy(target, { apply: function(target, thisarg, argumentslist) { } }); parameters the following parameters are passed to the apply() method.
... interceptions this trap can intercept these operations:
proxy(...args) function.prototype.apply() and function.prototype.call() reflect.apply() invariants if the following invariants are violated, the
proxy will throw a typeerror.
... const p = new
proxy(function() {}, { apply: function(target, thisarg, argumentslist) { console.log('called: ' + argumentslist.join(', ')); return argumentslist[0] + argumentslist[1] + argumentslist[2]; } }); console.log(p(1, 2, 3)); // "called: 1, 2, 3" // 6 specifications specification ecmascript (ecma-262)the definition of '[[call]]' in that specification.
handler.deleteProperty() - JavaScript
syntax const p = new
proxy(target, { deleteproperty: function(target, property) { } }); parameters the following parameters are passed to the deleteproperty() method.
... interceptions this trap can intercept these operations: property deletion: delete
proxy[foo] and delete
proxy.foo reflect.deleteproperty() invariants if the following invariants are violated, the
proxy will throw a typeerror: a property cannot be deleted, if it exists as a non-configurable own property of the target object.
... const p = new
proxy({}, { deleteproperty: function(target, prop) { if (prop in target){ delete target[prop] console.log('property removed: ' + prop) return true } else { console.log('property not found: ' + prop) return false } } }) let result p.a = 10 console.log('a' in p) // true result = delete p.a // "property removed: a" console.log(result) // true console.log('a' in p) // false result = delete p.a // "property not found: a" console.log(result) // false specifications specification ecmascript (ecma-262)the definition of '[[delete]]' in that specification.
Plug-n-Hack Phase1 - Archive of obsolete content
an example manifest (for owasp zap) is: { "toolname":"owasp zap", "protocolversion":"0.2", "features":{ "
proxy":{ "pac":"http://localhost:8080/
proxy.pac", "cacert":"http://localhost:8080/other/core/other/rootcert/" }, "commands":{ "prefix":"zap", "manifest":"http://localhost:8080/other/mitm/other/service/" } } } the top level manifest includes optional links to a
proxy pac and a root ca certificate.
...security tool commands manifest an example commands manifest (for owasp zap) is: https://code.google.com/p/zap-extensions/source/browse/branches/beta/src/org/za
proxy/zap/extension/plugnhack/resource/service.json firefox ui in firefox the tool commands will be made available via the developer toolbar (gcli) https://developer.mozilla.org/docs/tools/gcli a example of how the zap commands are currently displayed is: note that user specified parameters can be specified for commands, which can either be free text, a static pull down list of options or a dynamic li...
Plug-n-Hack - Archive of obsolete content
for example, to configure a browser to use an intercepting
proxy that can handle https traffic, the user must typically: configure their browser to
proxy via the tool configure the tool to
proxy via their corporate
proxy import the tool’s ssl certificate into their browser if any of these steps are carried out incorrectly then the browser will typically fail to connect to any website – debugging such problems can be frustrating and time-consuming.
...while some of the pnh capabilities do have a fixed meaning, particularly around
proxy configuration, most of the capabilities are completely generic, allowing tools to expose whatever functionality they want.
Using SOAP in XULRunner 1.9 - Archive of obsolete content
(there is a diff below.) you'll need: sasoapclient.js saxmlutils.js making a soap call var url = 'http://example.com/soap/'; var ns = 'http://example.com/soap/namespace'; var method = 'foo'; var params = { 'foo': 'bar', 'baz': 'bang' }; var callback = function(obj) { components.utils.reporterror(obj.tosource()); }; soapclient.
proxy = url; var body = new soapobject(method); body.ns = ns; for (var k in params) { body.appendchild(new soapobject(k).val(params[k])); } var req = new soaprequest(url, body); req.action = ns + '#' + method; soapclient.sendrequest(req, callback); diff between jqsoapclient.js and sasoapclient.js 42c42 < var jsout = $.xmltojson(xdata.responsexml); --- > var jsout = xmlobjectifier.xmltojso...
...n(xdata.responsexml); 46,60c46,62 < $.ajax({ < type: "post", < url: soapclient.
proxy, < datatype: "xml", < processdata: false, < data: content, < complete: getresponse, < contenttype: soapclient.contenttype + "; charset=\"" + soapclient.charset + "\"", < beforesend: function(req) { < req.setrequestheader("method", "post"); < req.setrequestheader("content-length", soapclient.contentlength); < req.setrequestheader("soapserver", soapclient.soapserver); < req.setrequestheader("soapaction", soapreq.action); < } < }); --- > var xhr = new xmlhttprequest(); > xhr.mozbackgroundrequest = true; > xhr.open('post', soapclient.
proxy, true); > xhr.onreadystatechange = function() { > if (4 != xhr.readystate) { return; ...
NPAPI plugin reference - Archive of obsolete content
npn_getvalueforurl provides information to a plugin which is associated with a given url, for example the cookies or preferred
proxy.
...(while the api theoretically allows the preferred
proxy for a given url to be changed, doing so does not have much meaning given how proxies are configured, and is not supported.) npn_status lets a plug-in display a message on the browser's status line.
Common Firefox theme issues and solutions - Archive of obsolete content
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); } .verifiedidenti...
...ty > #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[page
proxystate="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 wh...
Using SSH to connect to CVS - Archive of obsolete content
if you are behind a firewall with an http tunneling
proxy, you can use a program called corkscrew, in combination with the
proxycommand ssh config directive to continue to access the mozilla cvs server.
... make sure you have a ~/.ssh/config file that has at least the following directives preferredauthentications hostbased,publickey,password host cvs.mozilla.org
proxycommand corkscrew <i>
proxyserver.foo.com</i> <i>port</i> %h %p replace
proxyserver.foo.com with the hostname of your
proxy server, andport with the numeric tcp port on which the http tunnel is running.
502 - MDN Web Docs Glossary: Definitions of Web-related terms
a server can act as a gateway or
proxy (go-between) between a client (like your web browser) and another, upstream server.
...furnishes no response to the gateway/
proxy), but simply does not understand the same data-exchange protocol as the gateway/
proxy.
Server-side web frameworks - Learn web development
caching can be implemented in your code or in the server (see reverse
proxy).
... a full-stack http and websocket client/server implementation with ipv6, tls, sni, idna, http/socks5
proxy, unix domain socket, comet (long polling), keep-alive, connection pooling, timeout, cookie, multipart, and gzip compression support.
Necko FAQ
todo how does the
proxy support work?
... todo what about
proxy auto config?
Shell global objects
is
proxy(obj) if true, obj is a
proxy of some sort dumpheap(['collectnurserybeforedump'], [filename]) dump reachable and unreachable objects to the named file, or to stdout.
...throws in case of internal error, or if the operation doesn't even make sense (for example, because the object is a revoked
proxy).
nsIAuthInformation
it is possible that neither #auth_host nor #auth_
proxy are set.
... auth_
proxy 2 this dialog belongs to a
proxy.
nsIAuthPromptProvider
inherits from: nsisupports last changed in gecko 1.9 (firefox 3) method overview void getauthprompt(in pruint32 apromptreason, in nsiidref iid, [iid_is(iid),retval] out nsqiresult result); constants constant value description prompt_normal 0 normal (non-
proxy) prompt request.
... prompt_
proxy 1
proxy authentication request.
nsISOCKSSocketInfo
external
proxyaddr prnetaddrptr the external (remote)
proxy address.
... internal
proxyaddr prnetaddrptr the internal (local)
proxy address.
nsISSLSocketControl
inherits from: nsisupports last changed in gecko 1.9 (firefox 3) method overview void
proxystartssl(); void starttls(); attributes attribute type description forcehandshake boolean obsolete since gecko 1.9 notificationcallbacks nsiinterfacerequestor methods
proxystartssl() starts an ssl
proxy connection.
... void
proxystartssl(); parameters none.
nsITaskbarTabPreview
violates the xpcom interface guidelines gethwnd() used internally to obtain the handle to the
proxy window for the preview.
... return value the hwnd for the preview's
proxy window.
nsIWeakReference
xpcom/base/nsiweakreference.idlscriptable this interface represents a
proxy for an xpcom object.
... inherits from: nsisupports last changed in gecko 0.9.9 an instance of nsiweakreference is a
proxy object that cooperates with its referent to give clients a non-owning, non-dangling reference.
nsIWebNavigation
load_flags_bypass_cache 256 this flag specifies that the local web cache should be bypassed, but an intermediate
proxy cache could still be used to satisfy the load.
... load_flags_bypass_
proxy 512 this flag specifies that any intermediate
proxy caches should be bypassed (that is, that the content should be loaded from the origin server).
HTMLObjectElement.contentWindow - Web APIs
the contentwindow read-only property of the htmlobjectelement interface returns a window
proxy representing the window
proxy of the object element's nested browsing context, if any; otherwise null.
... syntax var window
proxy = htmlobjectelement.contentwindow; value a window
proxy.
MessageEvent.source - Web APIs
the source read-only property of the messageevent interface is a messageeventsource (which can be a window
proxy, messageport, or serviceworker object) representing the message emitter.
... syntax let mysource = messageevent.source; value a messageeventsource (which can be a window
proxy, messageport, or serviceworker object) representing the message emitter.
PerformanceResourceTiming.nextHopProtocol - Web APIs
when a
proxy is used, if a tunnel connection is established, this property returns the alpn protocol id of the tunneled protocol.
... otherwise, this property returns the alpn protocol id of the first hop to the
proxy.
UIEvent.view - Web APIs
the uievent.view read-only property returns the window
proxy object from which the event was generated.
... obsolete from document object model (dom) level 2 events specification, changed the type of view from abstractview to window
proxy.
UIEvent - Web APIs
uievent.viewread only returns a window
proxy that contains the view that generated the event.
... obsolete added the uievent() constructor, deprecated the inituievent() method and changed the type of view from abstractview to window
proxy.
Writing WebSocket servers - Web APIs
websocket servers are often separate and specialized servers (for load-balancing or other practical reasons), so you will often use a reverse
proxy (such as a regular http server) to detect websocket handshakes, pre-process them, and send those clients to a real websocket server.
...in many common setups, a reverse
proxy has already dealt with them.
Live streaming web audio and video - Developer guides
protocols other than http may also be subject to blocking from firewalls or
proxy servers.
... internet explorer 10+ ✓ 11 ✓ [2] firefox mobile ✓ ✓ ✓ safari ios6+ ✓ chrome mobile ✓ ✓ [2] opera mobile ✓ [1] ✓ internet explorer mobile ✓ 11 ✓ [2] android ✓ [1] via javascript and mse [2] via javascript and a cors
proxy video fallbacks between dash and hls we can cover a significant portion of modern browsers but we still need a fallback if we want to support the rest.
Connection management in HTTP/1.x - HTTP
the model used in connections between a client and its first
proxy may differ from the model between a
proxy and the destination server (or any intermediate proxies).
... today, every http/1.1-compliant
proxy and server should support pipelining, though many have limitations in practice: a significant reason no modern browser activates this feature by default.
Connection - HTTP
except for the standard hop-by-hop headers (keep-alive, transfer-encoding, te, connection, trailer, upgrade,
proxy-authorization and
proxy-authenticate), any hop-by-hop headers used by the message must be listed in the connection header, so that the first
proxy knows it has to consume them and not forward them further.
...the list of headers are the name of the header to be removed by the first non-transparent
proxy or cache in-between: these headers define the connection between the emitter and the first entity, not the destination node.
Via - HTTP
<host> and <port> public
proxy url and port.
... <pseudonym> name/alias of an internal
proxy.
HTTP Messages - HTTP
web developers, or webmasters, rarely craft these textual http messages themselves: software, a web browser,
proxy, or web server, perform this action.
... post / http/1.1 get /background.png http/1.0 head /test.html?query=alibaba http/1.1 options /anypage.html http/1.0 a complete url, known as the absolute form, is mostly used with get when connected to a
proxy.
Reflect.get() - JavaScript
when used with
proxy, it can be an object that inherits from target.
... examples using reflect.get() // object let obj = { x: 1, y: 2 } reflect.get(obj, 'x') // 1 // array reflect.get(['zero', 'one'], 1) // "one" //
proxy with a get handler let x = {p: 1}; let obj = new
proxy(x, { get(t, k, r) { return k + 'bar' } }) reflect.get(obj, 'foo') // "foobar" //
proxy with get handler and receiver let x = {p: 1, foo: 2}; let y = {foo: 3}; let obj = new
proxy(x, { get(t, prop, receiver) { return receiver[prop] + 'bar' } }) reflect.get(obj, 'foo', y) // "3bar" specifications specification ec...
Reflect - JavaScript
the methods are the same as those of
proxy handlers.
... the reflect object provides the following static functions which have the same names as the
proxy handler methods.
Appendix D: Loading Scripts - Archive of obsolete content
this means that any and all javascript objects passed in our out of them are wrapped in inter-compartment
proxy objects, which consume additional memory and add an extra layer of complexity to all property accesses and method calls.
Misc top level - Archive of obsolete content
back in the early days, this approach worked, because browsers would usually make a table cell exactly as wide and tall as an image it contained.no
proxy for configurationthis document provides a comprehensive discussion of the manual
proxy feature "no
proxy for:", including configuration issues, testing and bugs.same-origin policy for file: urisin gecko 1.8 or earlier, any two file: uris are considered to be same-origin.
JavaScript Client API - Archive of obsolete content
when something of interest occurs, it interacts with the engine to let it know something has happened and it might want to take action store entity that serves as a data store/
proxy for information in an engine.
Tamarin build documentation - Archive of obsolete content
to see the devices file system in windows explorer in tamarin repository go to the utils/wmremote directory, open the ceremoteshell2008.sln file in visual studio 2008 build all targets in release mode (for more information see utils/wmremote/readme.txt) copy release/avmremote.dll to the device in the \windows directory export avm=release/ceremoteshell.exe, the ceremoteshell.exe behaves as a
proxy copying and running abc files on the windows mobile device build a windows mobile tamarin shell, copy the shell to the windows mobile device in \program files\shell\avmshell.exe (optional) can sanity check the windows mobile shell is functioning by running $avm hello.abc (where hello.abc is a simple abc to print a string, or can substitute with any test abc) now any acceptance or performance ...
NPN_SetValueForURL - Archive of obsolete content
(while the api theoretically allows the preferred
proxy for a given url to be changed, doing so does not have much meaning given how proxies are configured, and is not supported.) syntax #include <npapi.h> typedef enum { npnurlvcookie = 501, npnurlv
proxy } npnurlvariable; nperror npn_setvalueforurl(npp instance, npnurlvariable variable, const char *url, const char *value, uint32_t len); parameters this function has the following parameters: instance pointer to the current plug-in instance.
Theme changes in Firefox 3 - Archive of obsolete content
the rule that's needed to show and hide the go button and other location bar icons is: #urlbar[page
proxystate="invalid"] > #urlbar-icons > :not(#go-button) , #urlbar[page
proxystate="valid"] > #urlbar-icons > #go-button { visibility: collapse; } images to add add the following images: chrome://global/skin/icons/information-16.png used when presenting information notices.
ECMAScript 2015 support in Mozilla - Archive of obsolete content
d object.is() (firefox 22) object.setprototypeof() (firefox 31) object.assign() (firefox 34) object.getownpropertysymbols() (firefox 33) additions to the date object date.prototype is an ordinary object (firefox 41) generic date.prototype.tostring (firefox 41) date.prototype[@@toprimitive] (firefox 44) new promise object promise (firefox 24, enabled by default in firefox 29) new
proxy object
proxy (firefox 18) preventextensions() trap (firefox 22) isextensible() trap (firefox 31) getprototypeof() and setprototypeof() traps (firefox 49) new reflect object reflect (firefox 42) additions to the regexp object regexp sticky (y) flag (firefox 38) regexp unicode (u) flag (firefox 46) generic regexp.prototype.tostring (firefox 39) regexp.prototype[@@match]() (firefo...
Forbidden header name - MDN Web Docs Glossary: Definitions of Web-related terms
forbidden header names start with
proxy- or sec-, or are one of the following names: accept-charset accept-encoding access-control-request-headers access-control-request-method connection content-length cookie cookie2 date dnt expect feature-policy host keep-alive origin
proxy- sec- referer te trailer transfer-encoding upgrade via note: the user-agent header is no longer forbidden, as per spec — see forbid...
MDN Web Docs Glossary: Definitions of Web-related terms
pop3 port prefetch preflight request prerender presto primitive privileged privileged code progressive enhancement progressive web apps promise property property (css) property (javascript) protocol prototype prototype-based programming
proxy server pseudo-class pseudo-element pseudocode public-key cryptography python q quality values quaternion quic r rail random number generator raster image rdf real user monitoring (rum) recursion reference reflow re...
Command line crash course - Learn web development
although there's a great wealth of tools available from the command line, if you're using tools like visual studio code there's also a mass of extensions that can be used as a
proxy to using terminal commands without needing to use the terminal directly.
mach
if you do implement something in python, hooking it up to mach is often trivial (just a few lines of
proxy code).
mozbrowsererror
possible values are: fatal(crash) unknownprotocolfound filenotfound dnsnotfound connectionfailure netinterrupt nettimeout cspblocked phishingblocked malwareblocked unwantedblocked offline malformeduri redirectloop unknownsockettype netreset notcached isprinting deniedportaccess
proxyresolvefailure
proxyconnectfailure contentencodingfailure remotexul unsafecontenttype corruptedcontenterror certerror other example var browser = document.queryselector("iframe"); browser.addeventlistener("mozbrowsererror", function( event ) { console.log("an error occurred:" + event.detail); }); related events mozbrowserasyncscroll mozbrowserclose mozbrowsercontextme...
MozScrolledAreaChanged
viewread only window
proxy document.defaultview (window of the document) detailread only long (float) 0.
Overview of Mozilla embedding APIs
none interface definition: nsiinterfacerequestor.idl nsiweakreference this interface is used to retern a
proxy reference to a component.
Script security
this is a
proxy in compartment a for the real object, which lives in compartment b.
Intel Power Gadget
specificially, the temperature is a
proxy measurement that is affected by processor power consumption, rather than one that affects it, which makes it even less useful than most
proxy measurements.
NSS 3.12.6 release notes
in sslerr.h ssl_error_unsafe_negotiation ssl_error_rx_unexpected_uncompressed_record new types in sslt.h sslextensiontype new environment variables sqlite_force_
proxy_locking 1 means force always use
proxy, 0 means never use
proxy, null means use
proxy for non-local files only.
NSS environment variables
3.12 sqlite_force_
proxy_locking boolean (1 to enable) 1 means force always use
proxy, 0 means never use
proxy, null means use
proxy for non-local files only.
NSS tools : ssltab
name ssltap — tap into ssl connections and display the data going by synopsis libssltap [-vhfsxl] [-p port] [hostname:port] description the ssl debugging tool ssltap is an ssl-aware command-line
proxy.
NSS tools : ssltap
name ssltap — tap into ssl connections and display the data going by synopsis libssltap [-vhfsxl] [-p port] [hostname:port] description the ssl debugging tool ssltap is an ssl-aware command-line
proxy.
NSS Tools
source, documentation, tasks/plans sslstrength ssl strength documentation ssltap 3.2
proxy requests for an ssl server and display the contents of the messages exchanged between the client and server.
NSS Tools ssltap
using the ssl debugging tool (ssltap) newsgroup: mozilla.dev.tech.crypto the ssl debugging tool is an ssl-aware command-line
proxy.
NSS tools : ssltap
name ssltap — tap into ssl connections and display the data going by synopsis libssltap [-vhfsxl] [-p port] [hostname:port] description the ssl debugging tool ssltap is an ssl-aware command-line
proxy.
JIT Optimization Outcomes
icoptstub_genericsuccess icgetpropstub_readslot icgetpropstub_callgetter icgetpropstub_arraylength icgetpropstub_unboxedread icgetpropstub_unboxedreadexpando icgetpropstub_unboxedarraylength icgetpropstub_typedarraylength icgetpropstub_dom
proxyshadowed icgetpropstub_dom
proxyunshadowed icgetpropstub_generic
proxy icgetpropstub_argumentslength icsetpropstub_slot icsetpropstub_generic
proxy icsetpropstub_dom
proxyshadowed icsetpropstub_dom
proxyunshadowed icsetpropstub_callsetter icsetpropstub_addslot icsetpropstub_setunboxed icgetelemstub_readslot icgetelemstub_callgetter icgetelemstub_readunboxed icgetelemstub_dense icgetelems...
JSClass.flags
they are jsclass_is_anonymous, jsclass_is_global, jsclass_is_
proxy, and jsclass_has_cached_proto.
JSProtoKey
for jsproto_int32array jsproto_uint32array uint32array mxr search for jsproto_uint32array jsproto_float32array float32array mxr search for jsproto_float32array jsproto_float64array float64array mxr search for jsproto_float64array jsproto_uint8clampedarray uint8clampedarray mxr search for jsproto_uint8clampedarray jsproto_
proxy proxy mxr search for jsproto_
proxy jsproto_weakmap weakmap mxr search for jsproto_weakmap jsproto_map map mxr search for jsproto_map jsproto_set set mxr search for jsproto_set jsproto_dataview dataview mxr search for jsproto_dataview jsproto_symbol symbol added in spidermonkey 38 mxr search for jsproto_sy...
JS_ExecuteScript
obsolete since jsapi 39 obj must not be an array, an e4x xml object, a with object, or a
proxy.
JS_ForwardGetPropertyTo
onbehalfof is receiver in [[get]] internal method of
proxy, defined in es2015 draft spec (rev 29, 9.5.8).
JS_GetProperty
if the property is found on a non-native object, get handler of
proxy (only if the object is a
proxy) or its jsobjectops.getproperty method is called.
JS_ObjectIsFunction
note that the result may be false even for some callable objects, such as regular expression objects or
proxy objects see also mxr id search for js_objectisfunction js_valuetofunction js_objectisfunction ...
JS_SetProperty
if obj is a
proxy, the js_setproperty [[set]] internal method defined in es2015 (rev 29 9.5.9) is performed.
Zest tools
the following tools currently support zest: owasp zed attack
proxy the zap add-on allows the user to create, edit and run zest scripts.
Components.utils
isdeadwrapper() determines whether this object is backed by a deadobject
proxy.
Observer Notifications
http-on-opening-request similar to http-on-modify-request, but called earlier (synchronously during the channel's asyncopen() call), and some channel attributes (
proxyinfo) may be missing.
imgIRequest
status_load_partial 0x2 used internally by imgrequest to flag that a request is being cancelled as a result of a failure of a
proxy holder and not an internal failure.
nsICachingChannel
unlike load_bypass_cache, it does not force an end-to-end load (that is, it does not affect
proxy caches).
nsIRequest
note: this will prevent
proxy authentications from working, so use this flag with caution.
nsIStreamConverter
use this method when you want to
proxy (and convert) nsistreamlistener callbacks asynchronously.
nsITaskbarPreview
note: changing this value is computationally expensive for tab previews, because doing so causes the
proxy window to be destroyed and rebuilt, then re-registered with the taskbar.
XPCOM Interface Reference
iplacesviewnsipluginhostnsiprefbranch2nsipreflocalizedstringnsiprefservicensiprincipalnsiprinterenumeratornsiprintingpromptnsiprivatebrowsingservicensiprocessnsiprocess2nsiprocessscriptloadernsiprofilensiprofilelocknsiprofileunlockernsiprogramminglanguagensiprogresseventsinknsipromptnsipromptservicensipropertiesnsipropertynsipropertybagnsipropertybag2nsipropertyelementnsiprotocolhandlernsiprotocol
proxycallbacknsiprotocol
proxyfilternsiprotocol
proxyservicensi
proxyinfonsipushmessagensipushservicensipushsubscriptionnsiradiointerfacelayernsirandomgeneratornsirequestnsirequestobservernsiresumablechannelnsirunnablensishentrynsishistorynsishistorylistenernsisockssocketinfonsisslerrorlistenernsisslsocketcontrolnsiscreennsiscreenmanagernsiscripterrornsiscripterror2nsiscriptableionsiscriptableinputstreamn...
XPCOM Interface Reference by grouping
channel nsichannel nsichanneleventsink nsirequest nsirequestobserver nsiresumablechannel nsidnsservice nsiftpchannel nsiftpeventsink nsihttpchannel nsihttpchannelinternal nsihttpheadervisitor nsiidnservice nsiprotocolhandler nsiprotocol
proxycallback nsiprotocol
proxyfilter nsiprotocol
proxyservice nsi
proxyinfo preferences nsiiniparser nsiiniparserfactory nsiprefbranch nsiprefbranch2 nsipreflocalizedstring nsiprefservice nsistringbundle nsistringbundleservice security cookies ...
Reference Manual
an nsiweakreference is an xpcom object that acts as a
proxy for another object.
xptcall FAQ
these facilities are also used by xpcom/
proxy.
Using JS in Mozilla code
js standard library features feature standard can be used in code new
proxy(target, handler) es2015 yes, but getprototypeof and setprototypeof handlers are not yet implemented.
WebIDL bindings
this takes an unsigned integer which corresponds to the flags passed to the iterate
proxy trap and returns a list of property names.
Zombie compartments
compartment(http://techcrunch.com/) compartment(http://www.facebook.com/plugins/like.php?...) compartment(https://plusone.google.com/_/+1/fastbutton?...) compartment(http://platform.twitter.com/widgets/...utton.html?...) compartment(http://cdn.at.atwola.com/_media/uac/tcode3.html) compartment(https://s-static.ak.fbcdn.net/connec..._
proxy.php?...) compartment(http://ads.tw.adsonar.com/adserving/getads.jsp?...) (some of those compartment urls are long and have been truncated.) another thing to beware is each compartment is created for an origin (e.g.
Scripting plugins - Plugins
future revisions to this api might provide a mechanism for
proxying calls from one thread to another to aid in using this api from other threads.
Debugger - Firefox Developer Tools
an html5 window
proxy object (an “outer window”, in firefox terminology), which is treated as if the window object of the browsing context’s active document (the “inner window”) were passed.
Debugger-API - Firefox Developer Tools
the process of running a timer callback function: a running javascript program and its debugger shadows this diagram shows the various types of shadow objects that make up the debugger api (which all follow some general conventions): a debugger.object represents a debuggee object, offering a reflection-oriented api that protects the debugger from accidentally invoking getters, setters,
proxy traps, and so on.
CloseEvent - Web APIs
[ref] 1014 bad gateway the server was acting as a gateway or
proxy and received an invalid response from the upstream server.
HTMLIFrameElement - Web APIs
htmliframeelement.contentwindow read only returns a window
proxy, the window
proxy for the nested browsing context.
HTMLObjectElement - Web APIs
htmlobjectelement.contentwindow read only returns a window
proxy representing the window
proxy of the object element's nested browsing context, if any; otherwise null.
Ajax navigation example - Web APIs
information", 204: "no content", 205: "reset content", 206: "partial content", 207: "multi-status", 208: "already reported", 226: "im used", 300: "multiple choices", 301: "moved permanently", 302: "found", 303: "see other", 304: "not modified", 305: "use
proxy", 306: "reserved", 307: "temporary redirect", 308: "permanent redirect", 400: "bad request", 401: "unauthorized", 402: "payment required", 403: "forbidden", 404: "not found", 405: "method not allowed", 406: "not acceptable", 407: "
proxy authentication required", ...
MessageEvent - Web APIs
messageevent.source read only a messageeventsource (which can be a window
proxy, messageport, or serviceworker object) representing the message emitter.
Using Service Workers - Web APIs
note: your service worker functions like a
proxy server, allowing you to modify requests and responses, replace them with items from its own cache, and more.
Service Worker API - Web APIs
service workers essentially act as
proxy servers that sit between web applications, the browser, and the network (when available).
TimeEvent - Web APIs
timeevent.view read only is a window
proxy that identifies the window from which the event was generated.
UIEvent() - Web APIs
view: optional and defaulting to null, of type window
proxy, that is the window associated with the event .
Using Web Workers - Web APIs
other types of worker in addition to dedicated and shared web workers, there are other types of worker available: serviceworkers essentially act as
proxy servers that sit between web applications, and the browser and network (when available).
Web Workers API - Web APIs
serviceworkers essentially act as
proxy servers that sit between web applications, the browser, and the network (when available).
Window.onuserproximity - Web APIs
the window.onuser
proxymity property represents an eventhandler, that is a function to be called when the userproximity event occurs.
Window.open() - Web APIs
return value a window
proxy object, which is basically a thin wrapper for the window object representing the newly created window, and has all its features available.
ARIA - Accessibility
much as how browser emulators and simulators are not an effective solution for testing full support,
proxy assistive technology solutions aren't sufficient to fully guarantee functionality.
image-set() - CSS: Cascading Style Sheets
resolution can be used as a
proxy for filesize — a user agent on a slow mobile connection with a high-resolution screen may prefer to receive lower-resolution images rather than waiting for a higher resolution image to load.
Warning - HTTP
199 miscellaneous warning arbitrary, non-specific warning 214 transformation applied added by a
proxy if it applies any transformation to the representation, such as changing the content-coding, media-type or the like.
X-Forwarded-Proto - HTTP
the x-forwarded-proto (xfp) header is a de-facto standard header for identifying the protocol (http or https) that a client used to connect to your
proxy or load balancer.
X-Frame-Options - HTTP
configuring ha
proxy to configure ha
proxy to send the x-frame-options header, add this to your front-end, listen, or backend configuration: rspadd x-frame-options:\ sameorigin alternatively, in newer versions: http-response set-header x-frame-options sameorigin configuring express to configure express to send the x-frame-options header, you can use helmet which uses frameguard to set the header.
203 Non-Authoritative Information - HTTP
the http 203 non-authoritative information response status indicates that the request was successful but the enclosed payload has been modified by a transforming
proxy from that of the origin server's 200 (ok) response .
502 Bad Gateway - HTTP
the hypertext transfer protocol (http) 502 bad gateway server error response code indicates that the server, while acting as a gateway or
proxy, received an invalid response from the upstream server.
504 Gateway Timeout - HTTP
the hypertext transfer protocol (http) 504 gateway timeout server error response code indicates that the server, while acting as a gateway or
proxy, did not get a response in time from the upstream server that it needed in order to complete the request.
JavaScript Guide - JavaScript
set weakset working with objects objects and properties creating objects defining methods getter and setter details of the object model prototype-based oop creating object hierarchies inheritance promises guarantees chaining error propagation composition timing iterators and generators iterators iterables generators meta programming
proxy handlers and traps revocable
proxy reflect javascript modules exporting importing default exports renaming features aggregating modules dynamic module loading next » ...
Promise - JavaScript
description a promise is a
proxy for a value not necessarily known when the promise is created.
Reflect.has() - JavaScript
examples using reflect.has() reflect.has({x: 0}, 'x') // true reflect.has({x: 0}, 'y') // false // returns true for properties in the prototype chain reflect.has({x: 0}, 'tostring') //
proxy with .has() handler method obj = new
proxy({}, { has(t, k) { return k.startswith('door') } }); reflect.has(obj, 'doorbell') // true reflect.has(obj, 'dormitory') // false reflect.has returns true for any inherited properties, like the in operator: const a = {foo: 123} const b = {__proto__: a} const c = {__proto__: b} // the prototype chain is: c -> b -> a reflect.has(c, 'foo') // true s...
TypedArray.from() - JavaScript
hence, when working with
proxy objects, it calls handler.set to create new elements rather than handler.defineproperty().
TypedArray.of() - JavaScript
hence, when working with
proxy objects, it calls handler.set to create new elements rather than handler.defineproperty.
globalThis - JavaScript
html and the window
proxy in many engines globalthis will be a reference to the actual global object, but in web browsers, due to iframe and cross-window security considerations, it references a
proxy around the actual global object (which you can't directly access).
Standard built-in objects - JavaScript
promise generator generatorfunction asyncfunction reflection reflect
proxy internationalization additions to the ecmascript core for language-sensitive functionalities.
JavaScript reference - JavaScript
nt8array uint8clampedarray int16array uint16array int32array uint32array float32array float64array bigint64array biguint64array keyed collections map set weakmap weakset structured data arraybuffer sharedarraybuffer atomics dataview json control abstraction promise generator generatorfunction asyncfunction reflection reflect
proxy internationalization intl intl.collator intl.datetimeformat intl.displaynames intl.listformat intl.locale intl.numberformat intl.pluralrules intl.relativetimeformat webassembly webassembly webassembly.module webassembly.instance webassembly.memory webassembly.table webassembly.compileerror webassembly.linkerror webassembly.runtimeerror ...
Optimizing startup performance - Web Performance
while you can use web workers to run even very large, long-duration chunks of javascript code asynchronously, there's a huge caveat that: workers don't have access to webgl or audio, and they can't send synchronous messages to the main thread, so you can't even
proxy those apis to the main thread.
Transport Layer Security - Web security
to assist you in configuring your site, mozilla provides a helpful tls configuration generator that will generate configuration files for the following web servers: apache nginx lighttpd ha
proxy amazon web services cloudformation elastic load balancer using the configurator is a recommended way to create the configuration to meet your needs; then copy and paste it into the appropriate file on your server and restart the server to pick up the changes.