Skip to content

Commit

Permalink
Add properties drawingBufferColorSpace and unpackColorSpace to consta…
Browse files Browse the repository at this point in the history
…nts-and-properties (#3408)

Follow-on to #3292 .

Related to https://crbug.com/1208480 .
  • Loading branch information
ccameron-chromium authored May 16, 2022
1 parent 2be1eff commit 91203c5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,11 @@

// Other non-function properties on the WebGL object
var otherProperties = {
drawingBufferWidth : "number",
drawingBufferHeight : "number",
canvas : "implementation-dependent"
drawingBufferWidth : "number",
drawingBufferHeight : "number",
drawingBufferColorSpace : "string",
unpackColorSpace : "string",
canvas : "implementation-dependent"
};

// Properties to be ignored (as a list of strings) because they were
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,9 +464,11 @@

// Other non-function properties on the WebGL object
var otherProperties = {
drawingBufferWidth : "number",
drawingBufferHeight : "number",
canvas : "implementation-dependent"
drawingBufferWidth : "number",
drawingBufferHeight : "number",
drawingBufferColorSpace : "string",
unpackColorSpace : "string",
canvas : "implementation-dependent"
};

// Properties to be ignored (as a list of strings) because they were
Expand Down
8 changes: 5 additions & 3 deletions sdk/tests/conformance/context/constants-and-properties.html
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,11 @@

// Other non-function properties on the WebGL object
var otherProperties = {
drawingBufferWidth : "number",
drawingBufferHeight : "number",
canvas : "implementation-dependent"
drawingBufferWidth : "number",
drawingBufferHeight : "number",
drawingBufferColorSpace : "string",
unpackColorSpace : "string",
canvas : "implementation-dependent"
};

// Properties to be ignored (as a list of strings) because they were
Expand Down

0 comments on commit 91203c5

Please sign in to comment.