Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial fix for #12415: expose WebGL interfaces #13493

Merged
merged 1 commit into from Oct 12, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -6,7 +6,6 @@
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.7
//

[Exposed=(Window,Worker)]
interface WebGLActiveInfo {
readonly attribute GLint size;
readonly attribute GLenum type;
@@ -6,6 +6,5 @@
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.4
//

[Exposed=(Window,Worker)]
interface WebGLBuffer : WebGLObject {
};
@@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.15
[Constructor(DOMString type, optional WebGLContextEventInit eventInit), Exposed=(Window,Worker)]
[Constructor(DOMString type, optional WebGLContextEventInit eventInit)]
interface WebGLContextEvent : Event {
readonly attribute DOMString statusMessage;
};
@@ -6,6 +6,5 @@
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.7
//

[Exposed=(Window,Worker)]
interface WebGLFramebuffer : WebGLObject {
};
@@ -6,6 +6,5 @@
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.3
//

[Exposed=(Window,Worker)]
interface WebGLObject {
};
@@ -6,6 +6,5 @@
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.6
//

[Exposed=(Window,Worker)]
interface WebGLProgram : WebGLObject {
};
@@ -6,6 +6,5 @@
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.5
//

[Exposed=(Window,Worker)]
interface WebGLRenderbuffer : WebGLObject {
};
@@ -41,7 +41,7 @@ dictionary WebGLContextAttributes {
GLboolean failIfMajorPerformanceCaveat = false;
};

[NoInterfaceObject, Exposed=(Window,Worker)]
[NoInterfaceObject]
interface WebGLRenderingContextBase
{

@@ -730,7 +730,6 @@ interface WebGLRenderingContextBase
void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
};

[Exposed=(Window,Worker)]
interface WebGLRenderingContext
{
};
@@ -6,6 +6,5 @@
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.8
//

[Exposed=(Window,Worker)]
interface WebGLShader : WebGLObject {
};
@@ -6,7 +6,6 @@
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.7
//

[Exposed=(Window,Worker)]
interface WebGLShaderPrecisionFormat {
readonly attribute GLint rangeMin;
readonly attribute GLint rangeMax;
@@ -6,6 +6,5 @@
// https://www.khronos.org/registry/webgl/specs/latest/#5.9
//

[Exposed=(Window,Worker)]
interface WebGLTexture : WebGLObject {
};
@@ -6,6 +6,5 @@
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.10
//

[Exposed=(Window,Worker)]
interface WebGLUniformLocation {
};
@@ -106,18 +106,6 @@ test_interfaces([
"URL",
"URLSearchParams",
"ValidityState",
"WebGLRenderingContext",
"WebGLUniformLocation",
"WebGLBuffer",
"WebGLContextEvent",
"WebGLFramebuffer",
"WebGLRenderbuffer",
"WebGLTexture",
"WebGLProgram",
"WebGLShader",
"WebGLObject",
"WebGLActiveInfo",
"WebGLShaderPrecisionFormat",
"WebSocket",
"Window",
"Worker",
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.