mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-07 11:48:19 +02:00
DelayedDeleteRunnable would schedule itself twice and use input priority for the second time because it only wants to run after everything that could possibly touch this tab. This was needed because we were strict with IPC messages. However, this is no longer needed because IPC messages with destroyed actors will be discarded nowadays, so we don't have to use input priority anymore. Another reason for making this change is that input events could be suspended when the runnable is about to run, so we need to either use a different priority or resume input events. Differential Revision: https://phabricator.services.mozilla.com/D100345
40 lines
900 B
Python
40 lines
900 B
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
MOCHITEST_MANIFESTS += ["test/mochitest.ini"]
|
|
|
|
BROWSER_CHROME_MANIFESTS += ["test/browser.ini"]
|
|
|
|
XPIDL_SOURCES += [
|
|
"nsIAlertsService.idl",
|
|
]
|
|
|
|
XPIDL_MODULE = "alerts"
|
|
|
|
EXPORTS += [
|
|
"nsAlertsUtils.h",
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
"AlertNotification.h",
|
|
"AlertNotificationIPCSerializer.h",
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
"AlertNotification.cpp",
|
|
"nsAlertsService.cpp",
|
|
"nsAlertsUtils.cpp",
|
|
"nsXULAlerts.cpp",
|
|
]
|
|
|
|
include("/ipc/chromium/chromium-config.mozbuild")
|
|
|
|
FINAL_LIBRARY = "xul"
|
|
|
|
JAR_MANIFESTS += ["jar.mn"]
|
|
|
|
with Files("**"):
|
|
BUG_COMPONENT = ("Toolkit", "Notifications and Alerts")
|