According to mozilla, the second parameter for canvas.toDataURL(1,2) is:
If the requested type is image/jpeg or image/webp, then the second argument, if it is between 0.0 and 1.0, is treated as indicating image quality; if the second argument is anything else, the default value for image quality is used. Other arguments are ignored.
But I can't find anywhere that tells me what the default value actually is.
According to the spec, it alludes to the default being browser dependant:
The second argument, if it is a number in the range 0.0 to 1.0 inclusive, must be treated as the desired quality level. If it is not a number or is outside that range, the user agent must use its default value, as if the argument had been omitted.
Edit: According to one user the default for Firefox is 0.92.
You can specify the JPEG quality as the second parameter to the toDataURL function. The default quality in Firefox is 0.92 (92%).
And according to this webkit bug report Chrome uses the same.
...Adds a libjpeg-based image encoder for Skia bitmaps. Default encoding quality is 92 to match Mozilla...