Bug 196874 - Web Inspector: Uncaught Exception: Can't find variable: WebGL2RenderingContext
Summary: Web Inspector: Uncaught Exception: Can't find variable: WebGL2RenderingContext
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL: https://webkit.org/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-04-12 11:54 PDT by Devin Rousso
Modified: 2019-04-15 13:55 PDT (History)
6 users (show)

See Also:


Attachments
Patch (2.73 KB, patch)
2019-04-12 13:59 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>