Files
servo/components/script/dom
atbrakhi 67d15c706f libservo: Fix panic in Reload of ContextMenuAction (#40430)
Right now when the Reload action is selected from a right-click context
menu, Servo would panic. Context menu's Reload action was calling
`Location.Reload()`, which caused the panic. As per [HTML
spec](https://html.spec.whatwg.org/multipage/#dom-location-reload) it
looks like, to perform a user-requested reload we should be using
`reload_without_origin_check()` instead.

Testing: Added a test for `ContextMenuAction::Relaod` action.

Signed-off-by: atbrakhi <atbrakhi@igalia.com>
2025-11-06 12:34:03 +00:00
..
2025-08-19 11:07:53 +00:00