mirror of
https://github.com/servo/servo
synced 2026-05-15 11:26:50 +02:00
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>