Integrate native repeat boxes and PDF bookmarks

This commit is contained in:
gloamxun committed 2026-11-19 16:06:28 +08:00
1 parent 5163fc9854
commit 38e4822370
33 files changed
+1208 -143

No files matched your search

@@ -334,7 +334,7 @@ fn old_schema_and_missing_unicode_state_are_rejected_even_with_valid_checksums()
let envelope: serde_json::Value = serde_json::from_slice(&encoded).unwrap();
let original: serde_json::Value =
serde_json::from_str(envelope["payload"].as_str().unwrap()).unwrap();
assert_eq!(original["schema"], 25);
assert_eq!(original["schema"], 27);
for (schema, expected) in [
(1, "incompatible native format"),
(2, "incompatible native format"),
@@ -360,7 +360,9 @@ fn old_schema_and_missing_unicode_state_are_rejected_even_with_valid_checksums()
(22, "incompatible native format"),
(23, "incompatible native format"),
(24, "incompatible native format"),
(25, "glyph_unicode"),
(25, "incompatible native format"),
(26, "incompatible native format"),
(27, "glyph_unicode"),
] {
let mut payload = original.clone();
payload["schema"] = schema.into();