aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/ply/example/BASIC/gosub.bas
diff options
context:
space:
mode:
authorAndrei Volykhin <andrei.volykhin@gmail.com>2025-04-29 16:48:30 +0300
committerGitHub <noreply@github.com>2025-04-29 13:48:30 +0000
commit6b2a755736c1367beaa03fce265c7fb8a6a5d397 (patch)
treebbabe97319b569d46d4509ef6bd96e38d6ab432b /components/script/dom/bindings/codegen/ply/example/BASIC/gosub.bas
parentbd6928f3dc4b5fcf80efaac631aa608dce1bf0e6 (diff)
downloadservo-6b2a755736c1367beaa03fce265c7fb8a6a5d397.tar.gz
servo-6b2a755736c1367beaa03fce265c7fb8a6a5d397.zip
canvas: Apply large size limitations (#36445)
To prevent any potential crash/OOM issues with "canvas" element from "rogue" applications let's apply large size limitations for context canvas2d's draw target to Servo (similar approach in Firefox/Chromium - they limits width and height to 32767/65535 pixels). Fixes: #36155, #34117, #30164, #24710 -- - [x] ./mach build -d does not report any errors - [x] ./mach test-tidy does not report any errors - [x] There are tests for these changes tests/wpt/tests/html/canvas/element/canvas-host/2d.canvas.host.size.large.html tests/wpt/tests/html/canvas/offscreen/canvas-host/2d.canvas.host.size.large.html tests/wpt/tests/html/canvas/offscreen/canvas-host/2d.canvas.host.size.large.worker.js Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
Diffstat (limited to 'components/script/dom/bindings/codegen/ply/example/BASIC/gosub.bas')
0 files changed, 0 insertions, 0 deletions