News for hackers. Stuff that matters.
Re:Leaking silhouettes of cross-origin images by jannes on Tuesday January 12, 2021 @01:10PM (#25750832)
The most interesting part for me is that Firefox and Chrome use the same drawing library for 2D canvas.

Does this mean that all engines use the same library? Or does WebKit use something else?

It reminds me of the Web SQL situation where everyone used the same library (SQLite). Eventually, the standard got deprecated because of that.

Re:Leaking silhouettes of cross-origin images by meibo on Tuesday January 12, 2021 @02:09PM (#25751820)
WebKit used to use Skia as well afaik, but switched to Cairo(a FOSS 2d graphics library without any connections to Google) after Google forked WebKit.

The same thing happened to V8, Apple made JavaScriptCore to remove dependencies on any Google-owned code after Google stopped contributing to WebKit itself.

https://trac.webkit.org/wiki/WebKitGTK/Dependencies

Re:Leaking silhouettes of cross-origin images by gsnedders on Wednesday January 13, 2021 @03:18AM (#25759514)
> WebKit used to use Skia as well afaik, but switched to Cairo(a FOSS 2d graphics library without any connections to Google) after Google forked WebKit.

IIRC, Skia and Cairo were supported simultaneously before the Blink fork.

The Apple ports have always used Core Graphics, provided by the system (or with Apple software—notably iTunes—on Windows).

> The same thing happened to V8, Apple made JavaScriptCore to remove dependencies on any Google-owned code after Google stopped contributing to WebKit itself.

JavaScriptCore far predates V8: it's a fork of KJS dating back to the KHTML/KJS fork into WebCore/JavaScriptCore.

Re:Leaking silhouettes of cross-origin images by saagarjha on Tuesday January 12, 2021 @07:38PM (#25756277)
Apple has, as far as I can tell, always used CoreText on macOS.
Re:Leaking silhouettes of cross-origin images by meibo on Tuesday January 12, 2021 @08:50PM (#25756953)
Yeah, you're right, my bad - It seems I was misremembering about that part, too late to edit now.
Re:Leaking silhouettes of cross-origin images by ronaldj on Tuesday January 12, 2021 @05:29PM (#25754860)
Pretty sure JavaScriptCore predates Chrome. V8 was Chrome only.