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
415 B
TOML
20 lines
415 B
TOML
[DEFAULT]
|
|
tags = "remote"
|
|
subsuite = "remote"
|
|
support-files = [
|
|
"head.js",
|
|
"resources/*"
|
|
]
|
|
prefs = [
|
|
"remote.messagehandler.modulecache.useBrowserTestRoot=true",
|
|
"remote.messagehandler.test.command.delay=3000",
|
|
]
|
|
|
|
["browser_handle_command_timeout.js"]
|
|
skip-if = [
|
|
"!opt", # This test exercises timeouts and could fail on slow platforms.
|
|
"asan", # See above
|
|
"ccov", # See above
|
|
"tsan", # See above
|
|
]
|