IDE - Very Slow in Safari

Hi,

I might be exposing myself to criticism here, but is anyone else having issues using the IDE in Safari on Mac? It might be a Safari setting, as it was never this slow before. In larger apps, it can take 5+ seconds to open any form or module. In smaller apps, performance is slightly better.

Safari Error Logs

[Error] Unable to post message to https://7bfwwu5azvwm5ivb.anvil.app. Recipient has origin https://anvil.works.

	postMessage
	raiseEvent (ide.js:17:186799)
	(anonymous function) (ide.js:17:123450)
	au (vendors-ide~manager~pyspace.js:2:298732)
	Sl (vendors-ide~manager~pyspace.js:2:318855)
	(anonymous function) (vendors-ide~manager~pyspace.js:2:317597)
	kl (vendors-ide~manager~pyspace.js:2:317660)
	ll (vendors-ide~manager~pyspace.js:2:311418)
	Ua (vendors-ide~manager~pyspace.js:2:252145)
	(anonymous function) (vendors-ide~manager~pyspace.js:2:308823)
[Error] [Internal error]:
TypeError: undefined is not an object (evaluating 'OneSignal.log.setLevel')
Global Code — designer2.html:1602
	(anonymous function) (designer2.bundle.js:651:19010)
[Error] TypeError: undefined is not an object (evaluating 'OneSignal.log.setLevel')
	Global Code (designer2.html:1602)
[Error] Source Map loading errors (x3)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap-theme.min.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap-theme.min.css.map, line 0)
[Error] Not allowed to request resource
[Error] Cannot load webpack://Anvil/node_modules/react-dom/cjs/react-dom.production.min.js due to access control checks.
[Error] WebSocket connection to 'wss://anvil.works/ide/ws' failed: The operation couldn’t be completed. Socket is not connected
[Error] Not allowed to request resource
[Error] Cannot load webpack://Anvil/node_modules/react-redux/dist/react-redux.mjs due to access control checks.

It’s worth noting that safari is not an officially supported browser for the IDE.
Though we do try to ensure we don’t break things.

I would suggest opening the IDE in an incognito tab and seeing if you have the same issues. This should eliminate any browser plugins you’re using having a negative impact on performance.

It would be useful to know, since when have you noticed a slow down?

Thanks, Stu.

Noted that Safari is not officially supported. Incognito definitely resolved this. To be honest, I didn’t really pay attention to when I first noticed it, but it was maybe 3-4 weeks ago. I don’t always use Safari.

Thanks for the update

if incognito resolved the issue, then try clearing the browser cache, and or removing any safari extensions you’re using.

1 Like