Bug 129386

Summary: [WebGL] Protect more WebGL entry points for pending contexts
Product: WebKit Reporter: Dean Jackson <dino>
Component: WebGLAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, gyuyoung.kim, kondapallykalyan, roger_fong, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+

Description Dean Jackson 2014-02-26 13:11:20 PST
There are more entry points into WebGL than the public API. For example, drawing a WebGL canvas into another canvas.
Comment 1 Radar WebKit Bug Importer 2014-02-26 13:12:02 PST
<rdar://problem/16176389>
Comment 2 Dean Jackson 2014-02-26 13:13:05 PST
Created attachment 225287 [details]
Patch
Comment 3 Jon Lee 2014-02-26 13:16:12 PST
Comment on attachment 225287 [details]
Patch

Provisional r=me!
Comment 4 Tim Horton 2014-02-26 13:17:56 PST
Comment on attachment 225287 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=225287&action=review

> Source/WebCore/html/canvas/WebGLRenderingContext.cpp:811
> +        return 0;

nullptr
Comment 5 Dean Jackson 2014-02-26 13:26:44 PST
Committed r164744: <http://trac.webkit.org/changeset/164744>