Files
dotCooCoo 95a66e534c craft-pdf: two cos loading tests count parses and references instead of timing
a_stream_whose_length_is_itself_and_never_ends_loads_quickly and
selectors_that_lead_to_selectors_load_at_once loaded their files on a
thread and passed only when it answered within 20 s and 120 s. Both now
load on the test's thread and count the work with test-only counters
that fail the test as soon as the work passes its limit.

- Document::load counts each parse of a file object at an offset, by
  object number. The length test allows two parses of each object. With
  the parse at the shifted-header offset tried even when the header is
  not shifted, object 6 is parsed a third time and the test fails. The
  test no longer needs a thread, so it also builds for the web.
- following() counts each reference it follows on the thread, across
  every FollowScope. The selector ladder test allows MAX_FOLLOWED (32)
  for its one read; the read follows 32. With the budget check removed,
  the test fails at the 33rd reference.
2026-11-27 18:55:24 -08:00
..