A host class registered with construct: None still has a constructor
function that throws when called, so Promise.resolve and the other
statics accepted it as a constructor. The class entry now records
whether a construct function was supplied, and the statics check that.
`new` on such a class still throws its existing TypeError.
A panel readout that cannot be copied (an empty value, a disabled row or
a value clipped out of view) still told screen readers it had a Copy
action, and the action did nothing. An empty Link Info row, such as
Color Space for a placed document, showed it. The Copy description and
click action are now added only when a click on the value would copy.
New tests in panel_readout_copy.rs:
- empty_link_info_values_do_not_offer_copy: the empty Color Space row of
a placed .vectorcraft link has no Copy action, and a forged click on it
copies nothing.
- info_readout_copy_requires_the_press_and_release_inside_its_bounds: on
the Info panel's W readout, a press outside followed by a release
inside copies nothing, with the release in the same frame or the next.
- link_info_stays_visible_while_a_long_image_list_scrolls: with 32 images
in each thumbnail size, Link Info stays in place and copyable while
the list scrolls to its end.
Follows #8826 by @yoriswind.
Two SVG import tests asserted elapsed time (1 s and 5 s), so a loaded
machine could fail them and a slower but still bounded run could pass.
- prepass.rs: a test-only counter adds up the numbers Edits::id tries
for a made-up id. The test asserts 55,000 tries for 5,000 ids made up
past 50,000 taken ones. With each id starting again at the number of
ids made so far, as before the fix it covers, the count is 237,507,500
and the assertion fails.
- entities.rs: the run of 1 MiB of `&` keeps its check that nothing is
expanded and drops the timing. The scan is craft_svg::guard in
craft-libs, whose own test checks the linear read.
The script's 160-minute wait is timed from the cache warm leg's start, and
the leg starts only after gate / select legs and a free runner. The job's
200-minute timeout left 40 minutes for that; a push to main on 2026-11-28
took 44 minutes from the run's start to the leg's start. A later start
ended the job with a timeout instead of the script's error.
The script now fails with its own error when the leg has not started 120
minutes after the script started, and the job's timeout is 290 minutes,
longer than the start wait and the 160-minute save wait together. A test
reads both timeouts from ci.yml and checks them against the script's
limits.
main added a test named wrappers_go_stale_after_revert and passes the
command id to dom::before_command by reference.
- The revert test of this branch is renamed
objects_read_before_a_revert_are_stale_and_ones_read_after_are_the_loaded_ones.
- command_value takes `id` as a &str, so the call passes it as it is,
which clippy's needless_borrow check requires.
The Scale and Width row that art and pattern brushes share read the
slider's in-progress value, so a held drag ended with Escape left the
dragged value in the dialog and rounded a fractional stored value. Main
reads brush option sliders, fields and menus through landed() and
committed() so a canceled or unfinished edit does not reach the brush
(#9752); the row now does the same and keeps the exact opening value.
The new test drags Pattern Brush Options' Scale slider, cancels with
Escape while the dialog stays open and checks the field still holds the
opening 100.25 %, then checks a released drag is kept by OK. The Art
brush width test now finds the mode menu by its name, Width: Mode.
When a live-effect plug-in returned a piece whose effects list a raster
effect before a Transform effect that makes copies, the Transform effect
copied the bare geometry and the raster effect was drawn once around all
of the copies. dress_piece applied the piece's geometry effects to its
geometry alone and kept every raster effect on the group around them.
dress_piece now builds such a piece through copied_raster_art, as an
object's copies are built: each copy carries its own raster effects,
moved, turned, reflected and scaled with it. copied_raster_art takes an
optional budget and completion flag, so the piece still keeps to the room
it is given and is refused when its copies or its geometry effects would
stop short. The piece's fills and strokes keep their own effects for
their own stage.
Enter and Escape found OK and Cancel by their own enabled and visible flags only, so an OK button inside a disabled or hidden group could become the default element and the usable OK button after it could not. A control is now usable only when every container that holds it is enabled and shown.
While a question such as the one quitting asks was open over the ScriptUI dialog, each frame still gave the run the dialog's queued events, so a queued click on OK could close the dialog before the question was answered. The events now wait until the dialog is on top again.
In a realm with the ES2015 option, the `find` function of a reflection
had configurable `length` and `name` properties, so Object.isFrozen gave
false and a script could delete or redefine them. Both are now
non-writable and non-configurable, as the reflection's other parts are.