Name Description Size Coverage
CalendarAttachmentUtils.sys.mjs Generate the URL for an icon representing the file of a calendar event attachment. Tries to determine the file type by the file extension or if provided an explicit mime type and then generates the special moz-icon URI for it. The exception are cloud file/FileLink attachments, where we prefer to show the service icon if we don't have a mime type for the attachment. That's because the attachment willthen often point at a web page to download the file instead of a direct link to a file. @param {calIAttachment} attachment - The attachment to get an icon URL for. @returns {string} Typically a moz-icon URI without any get parameters. If the attachment is stored with cloudfile, returns the cloud file icon. 1787 -
JoinLinkParser.sys.mjs Parses a string and returns a string of a link that joins a video conference on any of the apps listed in JOIN_LINK_PATTERNS. If a join link can't be found, null is returned. @param {string} text - String that will be parsed. @returns {?string} - Join video conference link string. 1591 -