Multiple errors with Safari connector [macOS 27 Beta] [Lockdown Mode]
Hello,
Report ID: 1464695908.
After updating to v10, the connector is unusable on Safari (v27.0 (22625.1.29.11.24 on MacOS 27.0 Beta 6, 26A5416b, Lockdown Mode enabled). I can see several errors in the Extension tab related to the connector:
Unable to find “_locales/en_US/messages.json” in the extension’s resources. It is an invalid path.
TypeError: undefined is not a constructor (evaluating 'new AC') (lib/SingleFile/single-file.js:1:778772)
undefined is not a constructor (evaluating 'new AC') at webkit-masked-url://hidden/:1 (zotero.js:309:17)
SyntaxError: Can't create duplicate variable: 'ZOTERO_CONFIG'
SyntaxError: Can't create duplicate variable: 'MAX_BACKOFF'
SyntaxError: Can't create duplicate variable: 'Schema'
SyntaxError: Can't create duplicate variable: 'TranslateWeb'
SyntaxError: Can't create duplicate variable: 'PRIMARY_ATTACHMENT_TYPES'
SyntaxError: Can't create duplicate variable: 'SITE_ACCESS_LIMIT_TRANSLATORS'
TypeError: undefined is not an object (evaluating 'Zotero.Schema.init') (schema.js:2:31)
SyntaxError: Can't create duplicate variable: 'MESSAGE_SEPARATOR'
SyntaxError: Can't create duplicate variable: 'MessagingGeneric'
SyntaxError: Can't create duplicate variable: 'FETCH_REQUEST_EVENT'
SyntaxError: Can't create duplicate variable: 'lastReportedHistoryURL'
SyntaxError: Can't create duplicate variable: 'isAllowedIframeContentType'
Report ID: 1464695908.
After updating to v10, the connector is unusable on Safari (v27.0 (22625.1.29.11.24 on MacOS 27.0 Beta 6, 26A5416b, Lockdown Mode enabled). I can see several errors in the Extension tab related to the connector:
Unable to find “_locales/en_US/messages.json” in the extension’s resources. It is an invalid path.
TypeError: undefined is not a constructor (evaluating 'new AC') (lib/SingleFile/single-file.js:1:778772)
undefined is not a constructor (evaluating 'new AC') at webkit-masked-url://hidden/:1 (zotero.js:309:17)
SyntaxError: Can't create duplicate variable: 'ZOTERO_CONFIG'
SyntaxError: Can't create duplicate variable: 'MAX_BACKOFF'
SyntaxError: Can't create duplicate variable: 'Schema'
SyntaxError: Can't create duplicate variable: 'TranslateWeb'
SyntaxError: Can't create duplicate variable: 'PRIMARY_ATTACHMENT_TYPES'
SyntaxError: Can't create duplicate variable: 'SITE_ACCESS_LIMIT_TRANSLATORS'
TypeError: undefined is not an object (evaluating 'Zotero.Schema.init') (schema.js:2:31)
SyntaxError: Can't create duplicate variable: 'MESSAGE_SEPARATOR'
SyntaxError: Can't create duplicate variable: 'MessagingGeneric'
SyntaxError: Can't create duplicate variable: 'FETCH_REQUEST_EVENT'
SyntaxError: Can't create duplicate variable: 'lastReportedHistoryURL'
SyntaxError: Can't create duplicate variable: 'isAllowedIframeContentType'
Upgrade Storage
Lockdown Mode disables the FileReader API, which is used by the Zotero Connector (or technically the SingleFile extension we use) when saving snapshots. That shouldn't actually cause saving of item metadata to fail, and you may find that the items are being saved to Zotero without snapshots.
We'll see if we can improve things under Lockdown Mode.
It’s not just the snapshots not working. Clicking on the button in Safari to save a page does not work at all. Nothing happens.