mirror of
https://github.com/servo/servo.git
synced 2025-08-14 01:45:33 +01:00
dom: Add missing event handlers
Adding: * global event handlers, * window event handlers, * document and element handlers, * and support for BeforeUnloadEvent. Signed-off-by: Piotr Stankiewicz <bionicrift@gmail.com>
This commit is contained in:
parent
4590fe230f
commit
d1af39c114
21 changed files with 373 additions and 861 deletions
11
components/script/dom/webidls/BeforeUnloadEvent.webidl
Normal file
11
components/script/dom/webidls/BeforeUnloadEvent.webidl
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
/*
|
||||
* For more information on this interface please see
|
||||
* https://html.spec.whatwg.org/multipage/#beforeunloadevent
|
||||
*/
|
||||
|
||||
interface BeforeUnloadEvent : Event {
|
||||
attribute DOMString returnValue;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue