Bug 837821 - When calling a JNI function from a library that hasn't been loaded yet, throw a Java exception. r=glandium
Bug 837821 - Guard against exception when calling scheduleComposite before libxul is loaded. r=gbrown