Skip navigation
Side-by-side test for building dialogs: standard agent vs. agent with Modern Web Guidance 🏁
0:00 / 1:40

Side-by-side test for building dialogs: standard agent vs. agent with Modern Web Guidance 🏁

Chrome for Developers

@ChromiumDev426K followers

Visit on X
94 likesDownloadOriginal post

11,435 views

Side-by-side test for building dialogs: standard agent vs. agent with Modern Web Guidance 🏁 Both generate similar UIs, but the guided version skips four separate event listeners in favor of `commandfor` and `command` attributes, with less code overall. Which approach would you rather maintain in your codebase? →

5 Comments

Comments from the original post on X (Twitter)

  • 𝚅𝚎𝚐𝚊 𝙱𝚊𝚜𝚎's profile picture

    @snowjacuzzi

    Title: Heavy rendering glitches in embedded Chromium on a virtual display without a GPU (VNC stream) Description: Chromium runs on a Linux virtual machine with no real GPU. The display is a virtual X server streamed over VNC, under the xfwm4 window manager. Rendering glitches heavily and keeps doing it. Observed (Oct 14, 2026): The VNC stream failed its readiness check twice in a row, and the virtual display and VNC server restarted. xfwm4 couldn't reach the accessibility bus or the session manager. The kernel logs "crng reseeded due to virtual machine fork" about every 5 minutes. The Chrome debug log has no GPU or crash entries. Expected: Stable rendering with no flicker or glitching. Questions: Is --disable-gpu-compositing or swiftshader software rendering the recommended setup for GPU-less virtual displays? Can frequent virtual machine forks or display reconnects cause the compositor to glitch? Screenshots or a screen recording would make it stronger. ---- Reported on Chromium Issue Tracker

  • notgwapo's profile picture

    @notgwap0

    honestly, i'd go with the modern web guidance. less code, less hassle. 💻

  • Aditya Reddy's profile picture

    @adityareddydev

    four event listeners gone, thats the kind of negative diff I wanna see

  • OnFinality's profile picture

    @OnFinality

    The listener count is the tell. Fewer moving parts means less for an agent to get subtly wrong, and `commandfor`/`command` keeps the wiring declarative instead of scattered across handlers. Curious whether the guided version also holds up when the dialog logic gets stateful.

  • AriesZhou's profile picture

    @AriesZhou

    but the code generated this way is only compatible with the new version, right? how does it perform on the old version?