Firefox prints bogus error message for readPixels

RESOLVED WORKSFORME

Status

()

Core
Canvas: WebGL
RESOLVED WORKSFORME
11 months ago
10 months ago

People

(Reporter: Gregg Tavares, Unassigned)

Tracking

55 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 months ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36

Steps to reproduce:

Run the WebGL readPixels conformance test 

https://www.khronos.org/registry/webgl/sdk/tests/conformance/reading/read-pixels-test.html?webglVersion=1&quiet=0

or this example

https://jsfiddle.net/greggman/dfwnqv69/


Actual results:

Check the Web Console, Firefox printed the misleading message

Error: WebGL: readPixels: Out-of-bounds reads with readPixels are deprecated, and may be slow.


Expected results:

At most Firefox should print

Warning: WebGL: readPixels: Out-of-bounds reads with readPixels may be slow.

Reading out of bounds pixels is not an error nor is it deprecated. See WebGL1 and WebGL2 specs

Updated

11 months ago
Component: Untriaged → Canvas: WebGL
Product: Firefox → Core
(Reporter)

Comment 1

10 months ago
This is now fixed in nightly 55.0a1 (2017-04-16) (64-bit)
(Reporter)

Updated

10 months ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.