errors: dont call null object in ERR_INVALID_RETURN_PROPERTY_VALUE
Since typeof null is 'object', you sometimes get confusing messages like: Expected string to be returned for the "url" from the loader resolve function but got type object.
While this is technically true, it is still hard to understand on a glance.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines