Created attachment 1342606 [details]
Fix a crash which causes when there is no keyboard
Description of problem:
I found an issue that some uninitialized variable are used in nsClipboardWayland.cpp of Firefox on Wayland. It will causes crash when no keyboard presents. Please see the attached patch for more detail.
The crash is reproduced on my embedded board but not confirmed on Fedora yet.
Moving upstream, https://bugzilla.mozilla.org/show_bug.cgi?id=1431049