Name Description Size
BodyExtractor.cpp 5936
BodyExtractor.h 1396
ChannelInfo.cpp 3405
ChannelInfo.h 2385
ChannelInfo.ipdlh 339
EmptyBody.cpp static 2971
EmptyBody.h 2122
Fetch.cpp 47291
Fetch.h Creates an nsIInputStream based on the fetch specifications 'extract a byte stream algorithm' - Stores content type in out param aContentType. 9767
FetchDriver.cpp 57305
FetchDriver.h Provides callbacks to be called when response is available or on error. Implemenations usually resolve or reject the promise returned from fetch(). The callbacks can be called synchronously or asynchronously from FetchDriver::Fetch. 6834
FetchIPCTypes.h 2497
FetchObserver.cpp 2635
FetchObserver.h 1333
FetchStreamReader.cpp static 11873
FetchStreamReader.h 2520
FetchTypes.ipdlh 2161
FetchUtil.cpp 17744
FetchUtil.h Sets outMethod to a valid HTTP request method string based on an input method. Implements checks and normalization as specified by the Fetch specification. Returns NS_ERROR_DOM_SECURITY_ERR if the method is invalid. Otherwise returns NS_OK and the normalized method via outMethod. 2723
Headers.cpp static 2678
Headers.h This Headers class is only used to represent the content facing Headers object. It is actually backed by an InternalHeaders implementation. Gecko code should NEVER use this, except in the Request and Response implementations, where they must always be created from the backing InternalHeaders object. 3932
InternalHeaders.cpp 17266
InternalHeaders.h 6059
InternalRequest.cpp 15742
InternalRequest.h The mapping of RequestDestination and nsContentPolicyType is currently as the following. RequestDestination| nsContentPolicyType ------------------+-------------------- "audio" | TYPE_INTERNAL_AUDIO "audioworklet" | TYPE_INTERNAL_AUDIOWORKLET "document" | TYPE_DOCUMENT "embed" | TYPE_INTERNAL_EMBED "font" | TYPE_FONT, TYPE_INTERNAL_FONT_PRELOAD "frame" | TYPE_INTERNAL_FRAME "iframe" | TYPE_SUBDOCUMENT, TYPE_INTERNAL_IFRAME "image" | TYPE_INTERNAL_IMAGE, TYPE_INTERNAL_IMAGE_PRELOAD, | TYPE_IMAGE, TYPE_INTERNAL_IMAGE_FAVICON, TYPE_IMAGESET "manifest" | TYPE_WEB_MANIFEST "object" | TYPE_INTERNAL_OBJECT, TYPE_OBJECT "paintworklet" | TYPE_INTERNAL_PAINTWORKLET "report" | TYPE_CSP_REPORT "script" | TYPE_INTERNAL_SCRIPT, TYPE_INTERNAL_SCRIPT_PRELOAD, | TYPE_INTERNAL_MODULE, TYPE_INTERNAL_MODULE_PRELOAD, | TYPE_SCRIPT, | TYPE_INTERNAL_SERVICE_WORKER, | TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS, | TYPE_INTERNAL_CHROMEUTILS_COMPILED_SCRIPT | TYPE_INTERNAL_FRAME_MESSAGEMANAGER_SCRIPT "sharedworker" | TYPE_INTERNAL_SHARED_WORKER "serviceworker" | The spec lists this as a valid value for the enum, | however it is impossible to observe a request with this | destination value. "style" | TYPE_INTERNAL_STYLESHEET, | TYPE_INTERNAL_STYLESHEET_PRELOAD, | TYPE_STYLESHEET "track" | TYPE_INTERNAL_TRACK "video" | TYPE_INTERNAL_VIDEO "worker" | TYPE_INTERNAL_WORKER "xslt" | TYPE_XSLT "" | Default for everything else. 14234
InternalResponse.cpp static 12245
InternalResponse.h 11250
Request.cpp 22012
Request.h 4348
Response.cpp static 16641
Response.h 3998 1515
tests 7