mirror of
https://github.com/servo/servo.git
synced 2025-10-17 00:39:15 +01:00
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> |
||
---|---|---|
.. | ||
browsingcontext.rs | ||
Cargo.toml | ||
constellation.rs | ||
event_loop.rs | ||
lib.rs | ||
logging.rs | ||
pipeline.rs | ||
process_manager.rs | ||
sandboxing.rs | ||
serviceworker.rs | ||
session_history.rs | ||
tracing.rs | ||
webview_manager.rs |