//! SVG Interactivity: event attributes (https://www.w3.org/TR/SVG11/script.html#EventAttributes)
//! and `
"#);
let (doc, warnings) = import_with(&text, &ImportOptions { folder: Some("/tmp"), read: Some(&read) }).unwrap();
let asked = asked.lock().unwrap().clone();
assert!(asked.iter().any(|p| p.contains("photo.png")) && !asked.iter().any(|p| p.contains("evil")), "read {asked:?}");
assert_eq!(doc.svg_scripts, ["evil.js"], "each link once, the inline script left out");
assert!(warnings.iter().any(|w| w.contains("inline scripts were left out")), "{warnings:?}");
assert_eq!(events(&doc, "shape"), [pair("onclick", "fetch('https://example.com')")]);
assert_eq!(doc.title, "Untitled-1", "the inline script didn't run");
}
/// Import keeps the first 64 different `