


Weekly Platform News: Event Timing, Google Earth for Web, undead session cookies
Šime regularly shares developer-focused content on webplatform.news. This week's highlights include Wikipedia's use of Event Timing to pinpoint slow click handlers, the web debut of Google Earth, enhanced CSS support for SVG properties, and best practices for handling persistent session cookies.
Optimizing Event Handlers with Event Timing
Chrome's experimental Event Timing API (available via Origin Trial) aids in identifying slow event handlers. Wikipedia's participation in the trial revealed three frequently occurring slow click handlers, primarily due to JavaScript-induced style recalculations and layout issues.
(via Gilles Dubuc)
Google Earth Arrives on the Web
A beta version of Google Earth, leveraging WebAssembly, is now accessible in Chromium-based browsers and Firefox. While it functions single-threaded in browsers without fully enabled SharedArrayBuffer, Safari's limited WebGL2 support currently prevents its use.
(via Jordon Mears)
Expanded CSS Support for SVG Geometry
Firefox Nightly now supports SVG geometry properties (like x
, y
, and r
) within CSS. This functionality is already present in Chrome and Safari, with expected inclusion in Firefox 69 (September release).
(via Jérémie Patonnier)
Managing Persistent Session Cookies
Chrome and Firefox's session restoration feature maintains session cookies and sessionStorage
data even after browser closure. This necessitates careful handling of potentially outdated session cookies to prevent unexpected behavior; redirecting users to login pages instead of displaying errors is recommended.
(via Eric Lawrence)
The above is the detailed content of Weekly Platform News: Event Timing, Google Earth for Web, undead session cookies. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

It's out! Congrats to the Vue team for getting it done, I know it was a massive effort and a long time coming. All new docs, as well.

With the recent climb of Bitcoin’s price over 20k $USD, and to it recently breaking 30k, I thought it’s worth taking a deep dive back into creating Ethereum

I had someone write in with this very legit question. Lea just blogged about how you can get valid CSS properties themselves from the browser. That's like this.

I'd say "website" fits better than "mobile app" but I like this framing from Max Lynch:

The other day, I spotted this particularly lovely bit from Corey Ginnivan’s website where a collection of cards stack on top of one another as you scroll.

There are a number of these desktop apps where the goal is showing your site at different dimensions all at the same time. So you can, for example, be writing

If we need to show documentation to the user directly in the WordPress editor, what is the best way to do it?

Questions about purple slash areas in Flex layouts When using Flex layouts, you may encounter some confusing phenomena, such as in the developer tools (d...
