mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement initial version of navigator.sendBeacon
(#38301)
Gated behind the feature flag `dom_navigator_sendbeacon_enabled` as the `keep-alive` fetch parameter is crucial for real-life use cases such as analytics requests. Part of #4577 Part of #38302 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
181f97879d
commit
dbb886fad2
22 changed files with 237 additions and 29 deletions
|
@ -99,6 +99,7 @@ pub struct Preferences {
|
|||
pub dom_microdata_testing_enabled: bool,
|
||||
pub dom_mouse_event_which_enabled: bool,
|
||||
pub dom_mutation_observer_enabled: bool,
|
||||
pub dom_navigator_sendbeacon_enabled: bool,
|
||||
pub dom_notification_enabled: bool,
|
||||
pub dom_offscreen_canvas_enabled: bool,
|
||||
pub dom_permissions_enabled: bool,
|
||||
|
@ -279,6 +280,7 @@ impl Preferences {
|
|||
dom_microdata_testing_enabled: false,
|
||||
dom_mouse_event_which_enabled: false,
|
||||
dom_mutation_observer_enabled: true,
|
||||
dom_navigator_sendbeacon_enabled: false,
|
||||
dom_notification_enabled: false,
|
||||
dom_offscreen_canvas_enabled: false,
|
||||
dom_permissions_enabled: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue