This changeset updates the Parent JSWindowActor for MessageHandler to send "ping" messages when a command takes more than 10 seconds to reply. The "ping" message is expected to respond under 1 second, otherwise a warning will be logged. In the future, the JSWindowActor pair should be marked as blocked if the ping fails and all pending commands should be canceled, future commands should be rejected. A browser mochitest is added to make sure the expected logs are generated. Differential Revision: https://phabricator.services.mozilla.com/D239391
20 lines
754 B
Plaintext
20 lines
754 B
Plaintext
# 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/.
|
|
|
|
BROWSER_CHROME_MANIFESTS += [
|
|
"listeners/test/browser/browser.toml",
|
|
"messagehandler/test/browser/broadcast/browser.toml",
|
|
"messagehandler/test/browser/browser.toml",
|
|
"messagehandler/test/browser/browser_retry_fallback.toml",
|
|
"messagehandler/test/browser/browser_timeout.toml",
|
|
"messagehandler/test/browser/webdriver/browser.toml",
|
|
"test/browser/browser.toml",
|
|
]
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += [
|
|
"messagehandler/test/xpcshell/xpcshell.toml",
|
|
"test/xpcshell/xpcshell.toml",
|
|
"webdriver/test/xpcshell/xpcshell.toml",
|
|
]
|