This line causes Firefox to log a warning in the browser's console every time a file loads:
WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.
So apparently instead of using:
var r = gl.getExtension("WEBGL_debug_renderer_info").UNMASKED_VENDOR_WEBGL; gl.getParameter(r);
we'd have to do this:
Now the info it returns seems pretty limited in most cases. For instance on my device:
WEBGL_debug_renderer_info returns "Google Inc.".
gl.RENDERER returns "ANGLE (Intel(R) HD Graphics 400 Direct3D11 vs_5_0 ps_5_0)".
WEBGL_debug_renderer_info returns "Google Inc. (Intel)".
gl.RENDERER returns "WebKit WebGL".
Apparently the info RENDERER returns being limited is by design. That said, there has been no word about when WEBGL_debug_renderer_info "will be removed", and MDN doesn't even say it's deprecated: https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info.
https://bugzilla.mozilla.org/show_bug.cgi?id=1715690: Original issue related to RENDERER, saying it exposes more info than necessary
https://bugzilla.mozilla.org/show_bug.cgi?id=1722113: Issue that disabled WEBGL_debug_renderer_info in nightly, which caused an issue
https://bugzilla.mozilla.org/show_bug.cgi?id=1722782: Issue that led to the current message, re-enabling WEBGL_debug_renderer_info but describing it as deprecated and stating it will be removed. The last comment on that issue notes that "The deprecation of WEBGL_debug_renderer_info is not documented on MDN"
Response about Firefox deprecation: https://bugzilla.mozilla.org/show_bug.cgi?id=1722782#c10
Considering RENDERER provides less useful info, I don't think replacing WEBGL_debug_renderer_info needs to be a priority until and unless a decision is made about whether or not to unship WEBGL_debug_renderer_info.
|Issue Title||Created Date||Updated Date|