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

Unified Diff: LayoutTests/fast/canvas/webgl/webgl-context-attributes-default-value-expected.txt

Issue 290143007: canvas.getContext with alpha:undefined should behave like alpha:true (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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: LayoutTests/fast/canvas/webgl/webgl-context-attributes-default-value-expected.txt
diff --git a/LayoutTests/fast/canvas/webgl/webgl-context-attributes-default-value-expected.txt b/LayoutTests/fast/canvas/webgl/webgl-context-attributes-default-value-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6fd57ae3fd4a932e8eb98fc086cd76a583ac6d6
--- /dev/null
+++ b/LayoutTests/fast/canvas/webgl/webgl-context-attributes-default-value-expected.txt
@@ -0,0 +1,28 @@
+Testing default value:
+PASS actualContextAttributes.alpha is true
+PASS actualContextAttributes.depth is true
+PASS actualContextAttributes.stencil is false
+PASS actualContextAttributes.premultipliedAlpha is true
+PASS actualContextAttributes.preserveDrawingBuffer is false
+PASS actualContextAttributes.failIfMajorPerformanceCaveat is false
+
+Testing undefined value:
+PASS actualContextAttributes.alpha is true
+PASS actualContextAttributes.depth is true
+PASS actualContextAttributes.stencil is false
+PASS actualContextAttributes.premultipliedAlpha is true
+PASS actualContextAttributes.preserveDrawingBuffer is false
+PASS actualContextAttributes.failIfMajorPerformanceCaveat is false
+
+Testing null value:
+PASS actualContextAttributes.alpha is true
+PASS actualContextAttributes.depth is true
+PASS actualContextAttributes.stencil is false
+PASS actualContextAttributes.premultipliedAlpha is true
+PASS actualContextAttributes.preserveDrawingBuffer is false
+PASS actualContextAttributes.failIfMajorPerformanceCaveat is false
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698