Bug 196874

Summary: Web Inspector: Uncaught Exception: Can't find variable: WebGL2RenderingContext
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, hi, inspector-bugzilla-changes, joepeck, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: https://webkit.org/
See Also: https://bugs.webkit.org/show_bug.cgi?id=196932
Attachments:
Description Flags
Patch none

Description Devin Rousso 2019-04-12 11:54:28 PDT
-------
Inspected URL:        https://webkit.org/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko)

Uncaught Exceptions:
 - Can't find variable: WebGL2RenderingContext (at RecordingAction.js:214:102)
    getContent @ RecordingAction.js:214:102
    process @ RecordingAction.js:230:39
    ? @ Recording.js:809:31
    asyncFunctionResume @ [native code]
    ? @ [native code]
    promiseReactionJob @ [native code]
-------

# STEPS TO REPRODUCE:
1. load a page with a "bitmaprenderer" <canvas>
2. take a recording
Comment 1 Radar WebKit Bug Importer 2019-04-12 11:55:13 PDT
<rdar://problem/49858912>
Comment 2 Devin Rousso 2019-04-12 13:59:21 PDT
Created attachment 367344 [details]
Patch
Comment 3 WebKit Commit Bot 2019-04-15 10:29:31 PDT
Comment on attachment 367344 [details]
Patch

Clearing flags on attachment: 367344

Committed r244270: <https://trac.webkit.org/changeset/244270>
Comment 4 WebKit Commit Bot 2019-04-15 10:29:33 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Joseph Pecoraro 2019-04-15 13:49:45 PDT
Should we be enabling WebGL2 in the Inspector page in case someone has enabled it in the inspected page?
Comment 6 Devin Rousso 2019-04-15 13:55:07 PDT
(In reply to Joseph Pecoraro from comment #5)
> Should we be enabling WebGL2 in the Inspector page in case someone has enabled it in the inspected page?
Good call. <https://webkit.org/b/196932>