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. 1700 -
CalendarEventEdit.sys.mjs Orders saves of the same event across dialog documents. These documents use this shared system-module instance, but each has its own Redux store. Keeping this queue here makes a later Save wait for an earlier Save before reloading the event. The queue does not write events; the supplied `edit` callback does. An identity contains calendarId, eventId, and an optional recurrenceId. Moving an event changes its calendarId. Moving a repeating series can change recurrenceId, the original date that identifies one occurrence in the series. Pending requests must follow these changes to edit the intended saved item. Independent copies in different calendars retain separate identities. Queue entries exist only while work is pending. They are not saved to disk and do not track completed moves after the queue becomes empty. 10729 -
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. 1653 -