Closed
      
        Bug 559987
      
      
        Opened 15 years ago
          Closed 14 years ago
      
        
    
  
getContextAttributes is throwing an exception  
    Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
        RESOLVED
        DUPLICATE
          of bug 539771
        
    
  
People
(Reporter: andorsalga, Unassigned)
Details
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a5pre) Gecko/20100416 Minefield/3.7a5pre
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a5pre) Gecko/20100416 Minefield/3.7a5pre
WebGL getContextAttributes() is throwing an exception, 
"TypeError: curContext.getContextAttributes is not a function"
Both Chromium and Webkit return [object WebGLContextAttributes]
Reproducible: Always
Steps to Reproduce:
1. Call context.getContextAttributes() after right after context is created.
Actual Results:  
Exception is thrown.
Expected Results:  
getContextAttributes should return an object.
| Reporter | ||
          Comment 1•15 years ago
           
         | 
      ||
Here is a link to a live demo:
http://matrix.senecac.on.ca/~asalga/getContextAttributes/
          Comment 2•15 years ago
           
         | 
      ||
Not yet implemented. Please be patient :) and thanks for the heads up.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•