Changelog

tc39/ecma262 · · 3 commits

Snapshot warning UX and JSON text cleanup

Escape now dismisses the snapshot warning, internal navigation re-collapses it correctly, and a small JSON serialization assertion was fixed.

Escape now dismisses the snapshot warning (gibson0420394941)

The snapshot warning overlay can now be collapsed with the Escape key, improving keyboard accessibility and making it easier to get back to the spec. The handler stops propagation when it closes the warning so it doesn't interfere with other shortcuts.

Internal preview navigation restores auto-collapse (gibson04264b30cb)

The warning once again collapses automatically when navigating within the same snapshot on the internal preview host. The logic now compares the relevant spec path prefix more robustly, instead of relying on the old ci.tc39.es preview URL shape.

Other misc changes

  • Editorial fix in SerializeJSONProperty: removed an incorrect assertion about arrays not being proxies.
  • Signature cleanup for SerializeJSONArray in the rendered spec text.