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. 32957 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. 11004 100 %
moz.build 1070 -
MozNewTabWallpaperProtocolHandler.cpp 6010 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 3399 100 %
MozSrcProtocolHandler.cpp 2180 77 %
MozSrcProtocolHandler.h MozSrcProtocolHandler_h_ 1630 100 %
nsIResProtocolHandler.idl Protocol handler interface for the resource:// protocol 494 -
nsISubstitutingProtocolHandler.idl Protocol handler superinterface for a protocol which performs substitutions from URIs of its scheme to URIs of another scheme. 1995 -
nsResProtocolHandler.cpp 6403 95 %
nsResProtocolHandler.h aEnforceFileOrJar = 2690 100 %
PageThumbProtocolHandler.cpp 9831 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. 5039 100 %
RemoteStreamGetter.cpp 3882 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. 1962 100 %
SubstitutingJARURI.h 8f8c54ed-aba7-4ebf-ba6f-e58aec0aba4c 8533 0 %
SubstitutingProtocolHandler.cpp virtual 21794 60 %
SubstitutingProtocolHandler.h SubstitutingProtocolHandler_h_ 4532 88 %
SubstitutingURL.h SubstitutingURL_h 1713 78 %