chat/modules/moz.build
author Ping Chen <remotenonsense@gmail.com>
Mon, 14 Jun 2021 13:29:26 +0300
changeset 32814 81f4842d2dd7e44befef8edc478a014ffff14f19
parent 32624 20c21ea84c4a9b4012b31016e096654e3bd60a56
permissions -rw-r--r--
Bug 1715713 - Prevent showing multiple newmailalert.xhtml notification windows. r=mkmelin This patch makes two changes: 1. If a newmailalert.xhtml window is already shown, save the folder and show a new notification only after the current notification is closed. 2. Pass new message keys to newmailalert.js. Previously, newmailalert.js receives a root folder and scans all subfolders for NEW messages, which is unnecessary and may incorrectly include old messages. Differential Revision: https://phabricator.services.mozilla.com/D117617

# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell.ini"]

EXTRA_JS_MODULES += [
    "CLib.jsm",
    "imContentSink.jsm",
    "imServices.jsm",
    "imSmileys.jsm",
    "imStatusUtils.jsm",
    "imTextboxUtils.jsm",
    "imThemes.jsm",
    "imXPCOMUtils.jsm",
    "InteractiveBrowser.jsm",
    "jsProtoHelper.jsm",
    "NormalizedMap.jsm",
    "OTR.jsm",
    "OTRLib.jsm",
    "OTRUI.jsm",
    "socket.jsm",
    "ToLocaleFormat.jsm",
]