summaryrefslogtreecommitdiff
path: root/tools/wpt
diff options
context:
space:
mode:
authorJamie <5964236+jamsinclair@users.noreply.github.com>2023-12-06 22:20:28 +0900
committerGitHub <noreply@github.com>2023-12-06 14:20:28 +0100
commit8c0fb9003d874fcbee0b1a6f6ee30dfb58c668bc (patch)
tree643966c1543346f803e373329d6c8bb28e199621 /tools/wpt
parentdadd8b3d660fd2fd56803f29e1d8b6dd7a2adde9 (diff)
feat(ext/web): add ImageData Web API (#21183)
Fixes #19288 Adds the `ImageData` Web API. This would be beneficial to projects using `ImageData` as a convenient transport layer for pixel data. This is common in Web Assembly projects that manipulate images. Having this global available in Deno would improve compatibility of existing JS libraries. **References** - [MDN ImageData Web API](https://developer.mozilla.org/en-US/docs/Web/API/ImageData) - [whatwg HTML Standard Canvas Spec](https://html.spec.whatwg.org/multipage/canvas.html#pixel-manipulation)
Diffstat (limited to 'tools/wpt')
-rw-r--r--tools/wpt/expectation.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index 3b4b3b9d4..2c9aa8ceb 100644
--- a/tools/wpt/expectation.json
+++ b/tools/wpt/expectation.json
@@ -7011,6 +7011,11 @@
}
},
"embedded-content": {
+ "the-canvas-element": {
+ "imagedata.html": [
+ "ImageData(buffer, w, opt h), Uint8ClampedArray argument type check"
+ ]
+ },
"the-iframe-element": {
"cross-origin-to-whom-part-2.window.html": false,
"cross-origin-to-whom.window.html": false,
@@ -8389,7 +8394,6 @@
"interface-objects": {
"001.worker.html": [
"The SharedWorker interface object should be exposed.",
- "The ImageData interface object should be exposed.",
"The ImageBitmap interface object should be exposed.",
"The CanvasGradient interface object should be exposed.",
"The CanvasPattern interface object should be exposed.",