This bug is not currently tracked.
PR_FileDesc2NativeHandle always expects bottom NSPR layer to be present. In case
of custom layer being the only one or the bottom-most one - it'll simply crash.
I will attach a patch.
Created attachment 62794 [details] [diff] [review]
The fix has been checked in on the tip and client branch