Name Description Size Coverage
ExtensionProtocolHandler.cpp Helper class used with SimpleChannel to asynchronously obtain an input stream or file descriptor from the parent for a remote moz-extension load from the child. 33078 83 %
ExtensionProtocolHandler.h To be called in the parent process to obtain an input stream for a a web accessible resource from an unpacked WebExtension dir. @param aChildURI a moz-extension URI sent from the child that refers to a web accessible resource file in an enabled unpacked extension @param aTerminateSender out param set to true when the params are invalid and indicate the child should be terminated. If |aChildURI| is not a moz-extension URI, the child is in an invalid state and should be terminated. @return NS_OK with |aTerminateSender| set to false on success. On failure, returns an error and sets |aTerminateSender| to indicate whether or not the child process should be terminated. A moz-extension URI from the child that doesn't resolve to a resource file within the extension could be the result of a bug in the extension and doesn't result in |aTerminateSender| being set to true. 11084 100 %
moz.build 1159 -
MozNewTabWallpaperProtocolHandler.cpp 6131 43 %
MozNewTabWallpaperProtocolHandler.h Obtains an input stream for a user-uploaded New Tab wallpaper. @param aChildURI moz-newtab-wallpaper URI from child process @param aTerminateSender set to true if URI is invalid (terminates child) @return RemoteStreamPromise resolving to RemoteStreamInfo on success or nsresult on failure 3479 100 %
MozSrcProtocolHandler.cpp 2260 77 %
MozSrcProtocolHandler.h MozSrcProtocolHandler_h_ 1710 100 %
nsIResProtocolHandler.idl Protocol handler interface for the resource:// protocol 574 -
nsISubstitutingProtocolHandler.idl Protocol handler superinterface for a protocol which performs substitutions from URIs of its scheme to URIs of another scheme. 2075 -
nsResProtocolHandler.cpp 6483 95 %
nsResProtocolHandler.h aEnforceFileOrJar = 2770 100 %
PageThumbProtocolHandler.cpp 9952 86 %
PageThumbProtocolHandler.h To be called in the parent process to obtain an input stream for the given thumbnail. @param aChildURI a moz-page-thumb URI sent from the child. @param aTerminateSender out param set to true when the params are invalid and indicate the child should be terminated. If |aChildURI| is not a moz-page-thumb URI, the child is in an invalid state and should be terminated. This outparam will be set synchronously. @return RemoteStreamPromise The RemoteStreamPromise will resolve with an RemoteStreamInfo on success, and reject with an nsresult on failure. 5119 100 %
RemoteStreamGetter.cpp 4003 86 %
RemoteStreamGetter.h Helper class used with SimpleChannel to asynchronously obtain an input stream and metadata from the parent for a remote protocol load from the child. 2083 100 %
SubstitutingJARURI.h 8f8c54ed-aba7-4ebf-ba6f-e58aec0aba4c 8654 0 %
SubstitutingProtocolHandler.cpp virtual 21915 60 %
SubstitutingProtocolHandler.h SubstitutingProtocolHandler_h_ 4653 88 %
SubstitutingURL.h SubstitutingURL_h 1834 78 %