Skip to content

Commit 2ca6159

Browse files
authored
Editorial: align with IDL (void → undefined)
1 parent 76df585 commit 2ca6159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fullscreen.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ dictionary FullscreenOptions {
173173
};
174174

175175
partial interface Element {
176-
Promise<void> requestFullscreen(optional FullscreenOptions options = {});
176+
Promise<undefined> requestFullscreen(optional FullscreenOptions options = {});
177177

178178
attribute EventHandler onfullscreenchange;
179179
attribute EventHandler onfullscreenerror;
@@ -183,7 +183,7 @@ partial interface Document {
183183
[LegacyLenientSetter] readonly attribute boolean fullscreenEnabled;
184184
[LegacyLenientSetter, Unscopable] readonly attribute boolean fullscreen; // historical
185185

186-
Promise<void> exitFullscreen();
186+
Promise<undefined> exitFullscreen();
187187

188188
attribute EventHandler onfullscreenchange;
189189
attribute EventHandler onfullscreenerror;

0 commit comments

Comments
 (0)