resultType is *undefined* according to the chromium debugger.