Update web-platform-tests to revision 2bed10ac31899a4812f7e1d32ac69ade0bbe7f4f

This commit is contained in:
WPT Sync Bot 2019-02-16 20:54:46 -05:00
parent 0c10702e4b
commit 9c112bc2a2
12 changed files with 63 additions and 35 deletions

View file

@ -24,14 +24,14 @@ typedef unrestricted float GLclampf;
enum WebGLPowerPreference { "default", "low-power", "high-performance" };
dictionary WebGLContextAttributes {
GLboolean alpha = true;
GLboolean depth = true;
GLboolean stencil = false;
GLboolean antialias = true;
GLboolean premultipliedAlpha = true;
GLboolean preserveDrawingBuffer = false;
boolean alpha = true;
boolean depth = true;
boolean stencil = false;
boolean antialias = true;
boolean premultipliedAlpha = true;
boolean preserveDrawingBuffer = false;
WebGLPowerPreference powerPreference = "default";
GLboolean failIfMajorPerformanceCaveat = false;
boolean failIfMajorPerformanceCaveat = false;
};
[Exposed=(Window,Worker)]
@ -84,7 +84,8 @@ typedef (ImageBitmap or
ImageData or
HTMLImageElement or
HTMLCanvasElement or
HTMLVideoElement) TexImageSource;
HTMLVideoElement or
OffscreenCanvas) TexImageSource;
typedef ([AllowShared] Float32Array or sequence<GLfloat>) Float32List;
typedef ([AllowShared] Int32Array or sequence<GLint>) Int32List;
@ -510,7 +511,8 @@ interface mixin WebGLRenderingContextBase
const GLenum UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
const GLenum BROWSER_DEFAULT_WEBGL = 0x9244;
[Exposed=Window] readonly attribute HTMLCanvasElement canvas;
[Exposed=Window] readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
[Exposed=Worker] readonly attribute OffscreenCanvas canvas;
readonly attribute GLsizei drawingBufferWidth;
readonly attribute GLsizei drawingBufferHeight;