Script Editor: Compiled JXA files are automatically modified when opened
| Originator: | adriannier | ||
| Number: | rdar://21398737 | Date Originated: | 16-Jun-2015 10:40 AM |
| Status: | Open | Resolved: | |
| Product: | OS X | Product Version: | 10.11 (15A178w) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
When opening a previously saved JXA file with the suffix .scpt in Script Editor 2.7 (179), the document is immediately marked as edited.
Steps to Reproduce:
1. Create a new document in Script Editor 2.7 (179)
2. Set the language to JavaScript
3. Write some code. Example: Application('Finder').activate()
4. Save the script using the Script file format
5. Close the document's window
6. Reopen the document
Expected Results:
As it is untouched by the user, the document is not marked as Edited.
Actual Results:
The document is immediately marked as Edited, although the user did not modify it.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!