Building A Personal Cross-Browser Testing Checklist From Hard-Won Mistakes

2026年12月1日

AI 摘要 AI 生成,可能有误

本文阐述了如何从真实的生产环境 bug 而非泛泛的类别出发,构建一份有效的跨浏览器测试清单,并通过具体示例说明日期解析、100vh/100vw 视口单位、Chrome 的设备模式、User-Agent 检测、第三方 Cookie 以及性能指标等功能特性,在桌面端和真实移动设备上的 Chrome、Edge、Firefox 和 Safari 中表现如何不一致。文章认为,有用的清单条目应当指明浏览器/设备、触发条件以及可观察的结果,并且每当有跨浏览器 bug 漏入生产环境时,团队都应该添加新的条目。最后,文章展示了如何通过 CI 任务、视觉回归测试、lint 规则以及在真实设备上进行测试来自动化每一项检查。

This article is a sponsored by TestMu AI

Pass the string "10-03-2024" to new Date(), and the answer is browser-dependent. Chrome, Edge, and Firefox all return 3rd October 2024 with no warning. Safari returns Invalid Date. A user in Berlin who entered the 10th of March has the wrong booking in three browsers, and the form will simply not submit in the fourth. Neither of those results looks like a browser bug until a support ticket comes in.

I ran that line (along with a few dozen others) in Chrome, Edge, Firefox, and Safari on desktop and in Safari and Chrome on a real iPhone and a real Pixel using the TestMu AI grid. The majority of the differences we’ve found are minor and are already documented somewhere. All of them are completely invisible if you’re only testing in the browser that you develop in.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Smashing Magazine

A Little Magic In December’s Hustle (2026 Wallpapers Edition)

AI 摘要As part of a monthly tradition running for more than 15 years, this post presents a collection of December 2026 desktop wallpapers created by artists and designers from around the world, available in a wide range of screen resolutions and in versions with or without a calendar. The wallpapers cover festive and wintry themes such as gingerbread houses, snowy walks, and Christmas traditions, with each artist given full creative freedom over their design. The post invites readers to contribute their own creations for future editions.

Meet AI 2027 Conference (Dec 1)

AI 摘要SmashingConf is hosting AI 2027, a live online half-day conference on December 1, 2026, focused on how AI can improve workflows for UX designers, front-end engineers, and design system teams, without the hype. The event features practical sessions from experts including Vitaly Friedman, Anna Arteeva, Christine Vallaure, TJ Pitre, Brad Frost, and Luke Murphy, covering topics like designing AI experiences, prototyping AI functionality, Figma MCPs, AI-ready design systems, and documentation for coding agents, followed by moderated breakout rooms. Tickets cost $55 for individuals and $44 per person for teams of four or more.

AI Sped Up The Build: How Can Accessibility Testing Keep Up?

AI 摘要The article, drawing on Level Access's 2026 State of Digital Accessibility Report, argues that AI has dramatically accelerated planning, design, and development in the software lifecycle while accessibility testing has lagged behind, creating a two-speed workflow. Survey data shows that AI adoption alone isn't the differentiator—organizations with mature accessibility practices (training, culture, communication) benefit most, using AI as an amplifier rather than a solution. The author recommends embedding human judgment at three checkpoints—finding issues early (via design handoffs, CI/CD gates, and assigned ownership), fixing issues while context is fresh, and documenting evidence—integrated into existing workflows so accessibility keeps pace with AI-driven development speed.

Should You Actually Add AI To That? A Four-Question Audit For Product Teams

AI 摘要The article proposes a four-question audit that helps product teams decide whether an AI feature earns its place by weighing what it returns users (removed effort, caught errors, consistency) against the attention and identity costs it imposes, framed as a 'break-even line.' The four questions ask whether the feature reduces total task effort for a specific user segment, whether it beats the user's current method, whether users can realistically catch errors, and whether users will retain the judgment to detect AI mistakes after a year of use. Each question yields a concrete design condition, such as scoping features to the users they serve, adding provenance displays for low-visibility high-consequence errors, and building verification mechanisms like blind review into workflows.

A New Community For In-House UX People

AI 摘要Paul Boag, a longtime Smashing Magazine contributor, is launching UX Insiders on January 5, 2027 — a paid, application-only community for in-house UX professionals who often struggle alone with challenges like difficult stakeholders, stalled projects, and emerging questions around AI. Members get weekly calls, a private Slack, recorded sessions, and a shared library of proven templates and business cases, with founder pricing of £49/month billed annually for the first 25 members (the launch is canceled and no one is charged if fewer than 15 join). For freelancers and agency owners, Boag's existing Agency Academy community is available at a discounted rate for Smashing readers until the end of November.