mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:47:35 +00:00
LibWeb: Add basic Navigator send beacon support
This commit is contained in:
parent
d262670729
commit
9939b028c6
9 changed files with 156 additions and 0 deletions
7
Userland/Libraries/LibWeb/HTML/NavigatorBeacon.idl
Normal file
7
Userland/Libraries/LibWeb/HTML/NavigatorBeacon.idl
Normal file
|
@ -0,0 +1,7 @@
|
|||
#import <Fetch/BodyInit.idl>
|
||||
|
||||
// https://w3c.github.io/beacon/#sendbeacon-method
|
||||
// FIXME: This is a partial interface not an interface mixin
|
||||
interface mixin NavigatorBeacon {
|
||||
boolean sendBeacon(USVString url, optional BodyInit? data = null);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue