Index: Source/core/html/canvas/WebGLContextAttributes.idl |
diff --git a/Source/core/html/canvas/WebGLContextAttributes.idl b/Source/core/html/canvas/WebGLContextAttributes.idl |
index ecd211a783a302f43cf70105ab00c073a20b989f..9a48073e9748fc4fdf6ef2080fbec93bf1005aa6 100644 |
--- a/Source/core/html/canvas/WebGLContextAttributes.idl |
+++ b/Source/core/html/canvas/WebGLContextAttributes.idl |
@@ -24,15 +24,14 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-[ |
- NoInterfaceObject, |
- WillBeGarbageCollected, |
-] interface WebGLContextAttributes { |
- attribute boolean alpha; |
- attribute boolean depth; |
- attribute boolean stencil; |
- attribute boolean antialias; |
- attribute boolean premultipliedAlpha; |
- attribute boolean preserveDrawingBuffer; |
- attribute boolean failIfMajorPerformanceCaveat; |
+// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.2 |
+ |
+dictionary WebGLContextAttributes { |
+ boolean alpha = true; |
+ boolean depth = true; |
+ boolean stencil = false; |
+ boolean antialias = true; |
+ boolean premultipliedAlpha = true; |
+ boolean preserveDrawingBuffer = false; |
+ boolean failIfMajorPerformanceCaveat = false; |
}; |