aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/fetch/methods.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2025-04-04 17:41:14 -0400
committerGitHub <noreply@github.com>2025-04-04 21:41:14 +0000
commit944e79560609ee2fb5f7bfdde2f56be2c1cee01a (patch)
tree7985a563a6a1f00bb11eb7fa89a28f05a9501a1d /components/net/fetch/methods.rs
parentad95a602f8419775563be634c4f671dec2764631 (diff)
downloadservo-944e79560609ee2fb5f7bfdde2f56be2c1cee01a.tar.gz
servo-944e79560609ee2fb5f7bfdde2f56be2c1cee01a.zip
constellation: Only return focused browsing contexts that exist. (#36330)
The webdriver server relies on the constellation to report which browsing context is focused, and assumes that a focused context is ready for interaction. However, new browsing contexts exist in a weird state where they are not tracked by the constellation until the initial load is complete, which leads to the constellation rejecting attempts to navigate a browsing context right after it's created. These changes ensure the constellation does not report a browsing context as focused until it's actually created and ready for interaction. Testing: Run `./mach test-wpt --product servodriver tests/wpt/mozilla/tests/mozilla/DOMParser.html`, which now runs to completion. Fixes: #34551 Fixes: #36328 Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/net/fetch/methods.rs')
0 files changed, 0 insertions, 0 deletions