Skip to content

lowercase_s_in_fullscreen - #4318

Merged
juj merged 1 commit into
emscripten-core:incomingfrom
juj:lowercase_s_in_fullscreen
May 27, 2016
Merged

juj merged 1 commit into
emscripten-core:incomingfrom
juj:lowercase_s_in_fullscreen

Conversation

@juj

@juj juj commented May 13, 2016

Copy link
Copy Markdown
Collaborator

Rename "requestFullScreen" to "requestFullscreen" and "cancelFullScreen" to "exitFullscreen" to strictly adhere to the same function naming as the Fullscreen API spec. Rename internal APIs to use lower case 's' as well for 'fullscreen' where applicable. Remove a bunch of capitalizations for symbol names that no browser ever implemented, e.g. afaik 'mozFullscreenElement' never existed, but was always 'mozFullScreenElement'. Relates to #4310.

…en" to "exitFullscreen" to strictly adhere to the same function naming as the Fullscreen API spec. Rename internal APIs to use lower case 's' as well for 'fullscreen' where applicable. Remove a bunch of capitalizations for symbol names that no browser ever implemented, e.g. afaik 'mozFullscreenElement' never existed, but was always 'mozFullScreenElement'. Relates to emscripten-core#4310.
@kripken

kripken commented May 13, 2016

Copy link
Copy Markdown
Member

lgtm

@juj

juj commented May 27, 2016

Copy link
Copy Markdown
Collaborator Author

Ok, merging this in. There is a chance that some user code can break if they are referring to undocumented direct member fields instead of calling functions, i.e. Browser.isFullScreen and JSEvents.fullscreenHandlersInstalled, but given that those fields are not documented in public API, I think that should be ok. All the function forms do have both variants for backwards compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants