animationsPlayBackRateMultiplier is a synced BrowsingContext field whose CanSet requires IsTop(). When a root target actor (e.g. the Browser Toolbox) has an iframe selected as the currently targeted document via the iframe picker, this.browsingContext is no longer the top context, so setting the multiplier on it crashed with "CanSet failed for field(s): AnimationsPlayBackRateMultiplier". Set the field on this.browsingContext.top instead, which matches the field's getter (which reads from Top()) and is a no-op for the regular tab toolbox where the targeted context is already top. Differential Revision: https://phabricator.services.mozilla.com/D305790
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[DEFAULT]
|
|
tags = "devtools"
|
|
subsuite = "devtools"
|
|
support-files = [
|
|
"!/devtools/client/shared/test/shared-head.js",
|
|
"target_configuration_test_doc.sjs",
|
|
"head.js",
|
|
]
|
|
|
|
["browser_target_configuration_command.js"]
|
|
|
|
["browser_target_configuration_command_animations_playback_rate_multiplier.js"]
|
|
|
|
["browser_target_configuration_command_animations_playback_rate_multiplier_root_actor.js"]
|
|
|
|
["browser_target_configuration_command_color_scheme.js"]
|
|
skip-if = [
|
|
"os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11' && debug && http3", # Bug 1829298
|
|
]
|
|
|
|
["browser_target_configuration_command_custom_user_agent.js"]
|
|
skip-if = [
|
|
"os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11' && debug && http3", # Bug 1829298
|
|
]
|
|
|
|
["browser_target_configuration_command_dppx.js"]
|
|
skip-if = [
|
|
"os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11' && debug && http3", # Bug 1829298
|
|
]
|
|
|
|
["browser_target_configuration_command_touch_events.js"]
|
|
skip-if = [
|
|
"os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11' && debug && http3", # Bug 1829298
|
|
]
|