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

Unified Diff: content/test/gpu/gpu_tests/webgl_debug_renderer_info.js

Issue 48113021: Expose WebGL extension WEBGL_debug_renderer_info to Google domains (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update the test Created 7 years, 2 months 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: content/test/gpu/gpu_tests/webgl_debug_renderer_info.js
diff --git a/content/test/gpu/gpu_tests/pixel.js b/content/test/gpu/gpu_tests/webgl_debug_renderer_info.js
similarity index 80%
copy from content/test/gpu/gpu_tests/pixel.js
copy to content/test/gpu/gpu_tests/webgl_debug_renderer_info.js
index c17ab4a07c80f1fc18850457356d4c2928f827cd..56bfade13d47a9953f6920825854749c75b38938 100644
--- a/content/test/gpu/gpu_tests/pixel.js
+++ b/content/test/gpu/gpu_tests/webgl_debug_renderer_info.js
@@ -9,18 +9,15 @@
var domAutomationController = {};
domAutomationController._succeeded = false;
- domAutomationController._finished = false;
domAutomationController.setAutomationId = function(id) {};
domAutomationController.send = function(msg) {
- domAutomationController._finished = true;
-
- if(msg.toLowerCase() == "success") {
+ msg = msg.toLowerCase();
+ if (msg == "success")
domAutomationController._succeeded = true;
- } else {
+ else
domAutomationController._succeeded = false;
- }
};
window.domAutomationController = domAutomationController;
« no previous file with comments | « content/test/data/gpu/webgl_debug_renderer_info.html ('k') | content/test/gpu/gpu_tests/webgl_debug_renderer_info.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698