Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 685156 - WebGL's hint function incorrectly generates an invalid enumeration
: WebGL's hint function incorrectly generates an invalid enumeration
: testcase
Product: Core
Classification: Components
Component: Canvas: WebGL (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla14
Assigned To: Jeff Gilbert [:jgilbert]
: Milan Sreckovic [:milan] (PTO through Oct 23)
Depends on:
Blocks: webgl-conformance
  Show dependency treegraph
Reported: 2011-09-07 07:54 PDT by Patrick Cozzi
Modified: 2012-04-05 11:25 PDT (History)
8 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Testcase to reproduce the problem (1.41 KB, text/html)
2011-09-07 07:54 PDT, Patrick Cozzi
no flags Details
webgl.hint() must accept GENERATE_MIPMAP_HINT (1.15 KB, patch)
2012-04-02 17:25 PDT, Jeff Gilbert [:jgilbert]
jacob.benoit.1: review+
Details | Diff | Splinter Review

Description Patrick Cozzi 2011-09-07 07:54:15 PDT
Created attachment 558807 [details]
Testcase to reproduce the problem

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.:


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.
Comment 1 Virgil Dicu [:virgil] [QA] 2011-09-20 02:24:34 PDT
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.
Comment 2 Jeff Gilbert [:jgilbert] 2012-04-02 16:40:44 PDT
This appears to be a regression from bug 684853.
Comment 3 Jeff Gilbert [:jgilbert] 2012-04-02 17:25:22 PDT
Created attachment 611663 [details] [diff] [review]
webgl.hint() must accept GENERATE_MIPMAP_HINT

Adds GENERATE_MIPMAP_HINT to the 'list' of acceptable inputs.
Try run:
Comment 5 :Ehsan Akhgari (Away Oct 25 - Nov 9) 2012-04-05 11:25:02 PDT

Note You need to log in before you can comment on or make changes to this bug.