Closed
Bug 685156
Opened 14 years ago
Closed 13 years ago
WebGL's hint function incorrectly generates an invalid enumeration
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: pjcozziAGI, Assigned: jgilbert)
References
Details
(Keywords: testcase)
Attachments
(2 files)
1.41 KB,
text/html
|
Details | |
1.15 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0
Build ID: 20110622232440
Steps to reproduce:
Made valid calls to WebGL's hint function from JavaScript, e.g.:
gl.hint(gl.GENERATE_MIPMAP_HINT, gl.DONT_CARE);
Actual results:
The call generated an gl.INVALID_ENUM.
Expected results:
No error should be generated, e.g., calling gl.getError() should return gl.NO_ERROR, and WeGL's mipmap hint state should change.
Updated•14 years ago
|
Attachment #558807 -
Attachment mime type: text/plain → text/html
Updated•14 years ago
|
Component: General → Canvas: WebGL
Keywords: testcase
Product: Fennec → Core
QA Contact: general → canvas.webgl
Version: Firefox 7 → Trunk
Comment 1•14 years ago
|
||
Mozilla/5.0 (Windows NT 5.1; rv:9.0a1) Gecko/20110919 Firefox/9.0a1
Mozilla/5.0 (X11; Linux x86_64; rv:9.0a1) Gecko/20110918 Firefox/9.0a1
Mozilla/5.0 (Windows NT 6.1; rv:9.0a1) Gecko/20110919 Firefox/9.0a1
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0a1) Gecko/20110915 Firefox/9.0a1
Reproducible on Ubuntu 11.04, Mac OS 10.7, Windows XP and 7 using the test case provided in Comment 0. Invalid enumeration error is generated for all functions, contrary to other browsers.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: x86_64 → All
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → jgilbert
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•13 years ago
|
||
This appears to be a regression from bug 684853.
Assignee | ||
Comment 3•13 years ago
|
||
Adds GENERATE_MIPMAP_HINT to the 'list' of acceptable inputs.
Try run:
https://tbpl.mozilla.org/?tree=Try&rev=29a579aab730
Attachment #611663 -
Flags: review?(bjacob)
Updated•13 years ago
|
Attachment #611663 -
Flags: review?(bjacob) → review+
Updated•13 years ago
|
Blocks: webgl-conformance
Assignee | ||
Comment 4•13 years ago
|
||
Target Milestone: --- → mozilla14
Comment 5•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•