Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5826)

Unified Diff: chrome/test/data/extensions/api_test/webstore_private/get_webgl_status_blocked.html

Issue 8772031: Add a JS API for detecting WebGL availability. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/webstore_private/get_webgl_status_blocked.html
===================================================================
--- chrome/test/data/extensions/api_test/webstore_private/get_webgl_status_blocked.html (revision 0)
+++ chrome/test/data/extensions/api_test/webstore_private/get_webgl_status_blocked.html (revision 0)
@@ -0,0 +1,11 @@
+<script src="common.js"></script>
+<script>
+
+runTests([
+ function testGetWebGLStatus() {
+ chrome.webstorePrivate.getWebGLStatus(callbackPass(
+ function(result) { assertEq(result, "webgl_blocked");}));
+ }
+]);
+
+</script>
Property changes on: chrome/test/data/extensions/api_test/webstore_private/get_webgl_status_blocked.html
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698