[Webkit-unassigned] [Bug 70117] New: Only expose window.WebGLRenderingContext to Web content when WebGL is enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 14 10:57:24 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=70117

           Summary: Only expose window.WebGLRenderingContext to Web
                    content when WebGL is enabled
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eoconnor at apple.com
                CC: simon.fraser at apple.com, dino at apple.com,
                    cmarrin at apple.com, kbr at google.com


JavaScript developers wanting to detect WebGL might think to write a check like so:

if (window.WebGLRenderingContext) {
 ...
}

but window.WebGLRenderingContext is defined even when WebGL is disabled.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list