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

Unified Diff: content/test/data/gpu/webgl.html

Issue 2152283004: Abort ContextLost.WebGLContextLostFromQuantity if context creation fails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/context_lost.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/gpu/webgl.html
diff --git a/content/test/data/gpu/webgl.html b/content/test/data/gpu/webgl.html
index 2946981947e276d03106f641e3f5880dcaf803b3..7dd2cb334869887ab236896446f08fe399c5ba91 100644
--- a/content/test/data/gpu/webgl.html
+++ b/content/test/data/gpu/webgl.html
@@ -74,6 +74,9 @@ function testQuantityLoss() {
var ctx = c.getContext("experimental-webgl");
if (!ctx) {
+ console.log("Failed to fetch WebGL context number " + count);
+ window.domAutomationController.send("LOADED");
+ window.domAutomationController.send("FAILED");
return false;
}
ctx.clear(gl.COLOR_BUFFER_BIT);
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/context_lost.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698