Fixed firefox crash due to call to chrome only webkit