Name Description Size
ChannelMap.sys.mjs FinalizationRegistry callback, see https://searchfox.org/mozilla-central/source/js/src/builtin/FinalizationRegistryObject.h Will be invoked when the channel corresponding to the weak reference is "destroyed", at which point we can cleanup the corresponding entry in our regular map. 4012
moz.build 681
NetworkHelper.sys.mjs Creator: Joe Hewitt Contributors John J. Barton (IBM Almaden) Jan Odvarko (Mozilla Corp.) Max Stepanov (Aptana Inc.) Rob Campbell (Mozilla Corp.) Hans Hillen (Paciello Group, Mozilla) Curtis Bartley (Mozilla Corp.) Mike Collins (IBM Almaden) Kevin Decker Mike Ratcliffe (Comartis AG) Hernan Rodríguez Colmeiro Austin Andrews Christoph Dorn Steven Roussey (AppCenter Inc, Network54) Mihai Sucan (Mozilla Corp.) 29534
NetworkObserver.sys.mjs NetworkObserver is the main class in DevTools to observe network requests out of many events fired by the platform code. 43300
NetworkOverride.sys.mjs This modules focuses on redirecting requests to a particular local file. 2208
NetworkResponseListener.sys.mjs The network response listener implements the nsIStreamListener and nsIRequestObserver interfaces. This is used within the NetworkObserver feature to get the response body of the request. The code is mostly based on code listings from: http://www.softwareishard.com/blog/firebug/ nsitraceablechannel-intercept-http-traffic/ @constructor @param {Object} httpActivity HttpActivity object associated with this request. See NetworkObserver more information. @param {Map} decodedCertificateCache A Map of certificate fingerprints to decoded certificates, to avoid repeatedly decoding previously-seen certificates. 18248
NetworkThrottleManager.sys.mjs Construct a new nsIStreamListener that buffers data and provides a method to notify another listener when data is available. This is used to throttle network data on a per-channel basis. After construction, @see setOriginalListener must be called on the new object. @param {NetworkThrottleQueue} queue the NetworkThrottleQueue to which status changes should be reported 13824
NetworkUtils.sys.mjs Convert a nsIContentPolicy constant to a display string 21684
README.md # Network Observer modules 373
test
WildcardToRegexp.sys.mjs Converts a URL-like string which might include the `*` character as a wildcard to a regular expression. They are used to match against actual URLs for the request blocking feature from DevTools. The returned regular expression is case insensitive. @param {string} url A URL-like string which can contain one or several `*` as wildcard characters. @return {RegExp} A regular expression which can be used to match URLs compatible with the provided url "template". 994