Open
Bug 2032021
Opened 4 months ago
Updated 4 months ago
[wdspec] Fix test_preload_script_properties_available_immediately[popup-data_url] for blocked top-level data: URL navigations
Categories
(Remote Protocol :: WebDriver BiDi, task, P3)
Remote Protocol
WebDriver BiDi
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [webdriver:backlog])
On bug 1895528 we get rid of the preference security.data_uri.block_toplevel_data_uri_navigations which gets set to false for web-platform tests under: https://searchfox.org/firefox-main/rev/23974e2d947e31e4ae42ae2758a4416c9a6d8671/testing/profiles/unittest-required/user.js#209-212
With the removal it is no longer possible to navigate to a data URL via scripting for a top-level browsing context. As such the test will start to fail with Firefox, while it's already failing a while for Chrome. Given that browsers should behave the same we should update the test to handle this particular case.
A quick has shown the following:
- There is a new browsing context created and we emit the event. But no load takes place.
- The browsing context gets immediately closed but we miss to send a
browsingContext.contextDestroyedevent. - The test should not wait for
on_loadedfor the popup/dataURL case. - Further eval scripts and closing the popup will fail because it doesn't exist anymore.
| Reporter | ||
Updated•4 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•