1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:17:46 +00:00

LibWeb: Replace ad-hoc EventHandler type with callback function typedef

This commit is contained in:
Idan Horowitz 2022-03-30 23:35:42 +03:00 committed by Andreas Kling
parent 1c4f128fd1
commit f45d361f03
12 changed files with 15 additions and 23 deletions

View file

@ -1,3 +1,6 @@
#import <DOM/EventTarget.idl>
#import <DOM/EventHandler.idl>
[Exposed=(Window)]
interface Worker : EventTarget {
constructor(DOMString scriptURL, optional WorkerOptions options = {});