Bug 170341
| Summary: | readPixels generates INVALID_ENUM for RGBA/UNSIGNED_BYTE | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kirill S. Dmitrenko <kdmitrenko> |
| Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Major | CC: | dino, jonlee, mail, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 10 | ||
| Hardware: | Mac | ||
| OS: | macOS 10.12 | ||
Kirill S. Dmitrenko
Here's code to reproduce: http://jsbin.com/jemafubamo/edit?js,console,output
Expected both reads to be OK:
0
true
0
true
But in both Safari and Safari TP second one fails:
0
true
1280
false
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/31391650>