mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Expose PageTransitionEvent only in Window
This commit is contained in:
parent
ba0bf3a066
commit
bd5ffd2833
5 changed files with 10 additions and 13 deletions
|
@ -3,7 +3,8 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#the-pagetransitionevent-interface
|
||||
[Constructor(DOMString type, optional PageTransitionEventInit eventInitDict), Exposed=(Window,Worker)]
|
||||
[Constructor(DOMString type, optional PageTransitionEventInit eventInitDict),
|
||||
Exposed=Window]
|
||||
interface PageTransitionEvent : Event {
|
||||
readonly attribute boolean persisted;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue