Warning in logs about declaration of ScreencastIface and ES6 standard
Affected version
Fedora 32, GNOME 3.36.6, XOrg
Bug summary
Warnings appearing in the logs when using the EasyScreenCast extension which uses the screencast service:
Oct 07 10:46:20 machine gnome-shell[6181]: Some code accessed the property
'ScreencastIface' on the module 'screencast'. That property was defined with
'let' or 'const' inside the module. This was previously supported, but is not
correct according to the ES6 standard. Any symbols to be exported from a module
must be defined with 'var'. The property access will work as previously for the
time being, but please fix your code anyway.
Steps to reproduce
- Enable the EasyScreenCast extension, start a GNOME session
- Check the logs: journalctl -b0 | grep "ScreencastIface"
What happened
According to the message ScreencastIface definition needs to be updated.
What did you expect to happen
Clean logs.
Relevant logs, screenshots, screencasts etc.
None.