Files
vectorcraft/crates/engine
dotCooCoo 606157cc34 Scripts: XMPFile methods take only XMPFile objects, and x-default updates its matches
- XMPFile's methods refuse an object the XMPFile constructor did not
  make, so a plain object or one made from XMPFile.prototype with
  properties of the same names is not read or written as a file.
- setLocalizedText for x-default also changes the items that had the
  text of the x-default item.

Tests: a_script_cannot_change_the_state_of_an_xmp_file in
crates/engine/src/tests/script_xmp.rs and
localized_text_for_x_default_changes_the_items_that_matched_it in
crates/js/src/xmp_tests.rs.
2026-11-22 11:09:01 -08:00
..