[Webkit-unassigned] [Bug 263013] Canvas.drawImage() is very slow in private mode
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 15 10:48:03 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=263013
Paul Neave <paul.neave at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paul.neave at gmail.com
--- Comment #2 from Paul Neave <paul.neave at gmail.com> ---
This bug occurs when Advanced Tracking and Fingerprinting Protection is enabled. This is on by default for private tabs in Safari 17.
I've filed an example in bug #266473. Try the following example code with "Use advanced tracking and fingerprinting protection" setting enabled under Settings > Advanced > Privacy. Website are unusable in this state.
`
<html>
<body>
<canvas id="canvas"></canvas>
<script>
const width = 800;
const height = 800;
const canvas = document.getElementById('canvas');
canvas.width = width;
canvas.height = height;
const context = canvas.getContext('2d');
const imageCanvas = document.createElement('canvas');
imageCanvas.width = width;
imageCanvas.height = height;
const imageContext = imageCanvas.getContext('2d');
imageContext.fillStyle = 'red';
imageContext.fillRect(0, 0, width, height);
console.time('drawImage');
context.drawImage(imageCanvas, 0, 0);
console.timeEnd('drawImage');
</script>
</body>
</html>
`
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231215/abd37196/attachment-0001.htm>
More information about the webkit-unassigned
mailing list