RESOLVED FIXED129722
[WebGL] Use WKSI to see what the system policy for WebGL is
https://bugs.webkit.org/show_bug.cgi?id=129722
Summary [WebGL] Use WKSI to see what the system policy for WebGL is
Dean Jackson
Reported 2014-03-04 18:39:13 PST
WKSI exposes the system policy for WebGL. Query that when creating a context, and let the client know about the state.
Attachments
Patch (17.73 KB, patch)
2014-03-04 18:48 PST, Dean Jackson
no flags
Patch (16.63 KB, patch)
2014-03-05 11:16 PST, Dean Jackson
no flags
Patch (14.06 KB, patch)
2014-03-05 16:33 PST, Dean Jackson
thorton: review+
Dean Jackson
Comment 1 2014-03-04 18:40:25 PST
Dean Jackson
Comment 2 2014-03-04 18:48:35 PST
Dean Jackson
Comment 3 2014-03-04 18:49:07 PST
This patch won't compile until the WKSI bits land, but it is ready for review.
WebKit Commit Bot
Comment 4 2014-03-04 18:50:24 PST
Attachment 225839 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/API/C/WKPage.cpp:989: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 1 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Brent Fulgham
Comment 5 2014-03-05 09:10:13 PST
This looks fine to me (I was all set to reject for missing iOS, but of course that doesn't apply here!). I think you need an official WK2 reviewer, which I am not. But the OGL and WKSI side of things look great to me.
Dean Jackson
Comment 6 2014-03-05 11:16:11 PST
Dean Jackson
Comment 7 2014-03-05 11:18:20 PST
This also won't compile until WKSI is in, and will complain about style... again.
WebKit Commit Bot
Comment 8 2014-03-05 11:18:33 PST
Attachment 225893 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/API/C/WKPage.cpp:989: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 1 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dean Jackson
Comment 9 2014-03-05 16:33:58 PST
Dean Jackson
Comment 10 2014-03-05 16:35:03 PST
Might build now :)
WebKit Commit Bot
Comment 11 2014-03-05 16:35:47 PST
Attachment 225927 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/API/C/WKPage.cpp:989: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 1 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dean Jackson
Comment 12 2014-03-05 17:16:53 PST
Note You need to log in before you can comment on or make changes to this bug.