[Scripting] Document.findObject() incorrectly targets activeDocument
System: Indesign 18.4, MacOS 13.4.1
1. Open two documents, each with a filled frame 100% tint.
2. Run attached script "findObject bug.js"
3. Note the console output.
4. Refer to this forum post for notes and commentary.
doc.findObject() will return found items from both open documents.
doc.findObject() returns only items from active document.
Note that using app.findObject() is not a viable workaround in some cases, such as the issue in this post.