Task #81156
closed
Safari on Mac in incognito mode > Backend tabs not working
Added by Riccardo De Contardi over 7 years ago.
Updated almost 7 years ago.
Category:
Backend JavaScript
Description
Steps to reproduce:
1) open Safari window in incognito mode (privage browsing)
2) open the TYPO3 backend
3) edit a page
4) click on a tab
Result: not working¶
Javascript error:
[Error] QuotaExceededError (DOM Exception 22): The quota has been exceeded.
setItem (Tabs.js:57)
storeActiveTab (Tabs.js:57)
(funzione anonima) (Tabs.js:82)
dispatch (jquery-3.2.1.min-2c4cb0f1e959a187919f13035a2bc894.js:3:10322)
trigger (jquery-3.2.1.min-2c4cb0f1e959a187919f13035a2bc894.js:4:5634)
(funzione anonima) (jquery-3.2.1.min-2c4cb0f1e959a187919f13035a2bc894.js:4:6146)
each (jquery-3.2.1.min-2c4cb0f1e959a187919f13035a2bc894.js:2:2720)
show (bootstrap.js:24:1253)
(funzione anonima) (bootstrap.js:24:818)
each (jquery-3.2.1.min-2c4cb0f1e959a187919f13035a2bc894.js:2:2720)
e (bootstrap.js:24:2335)
dispatch (jquery-3.2.1.min-2c4cb0f1e959a187919f13035a2bc894.js:3:10322)
Tested with both 7.6.16 and 8.7.1
seems to be a design problem of safari in incognito mode.
(found some discussion on this topic here: https://github.com/marcuswestin/store.js/issues/42 -
'When Safari (OS X or iOS) is in private browsing mode, it appears as though localStorage is available, but trying to call .setItem throws an exception')
So safari forbids websites from writing a file locally in incognito mode.
A solution might be to catch the exception and give the user a warning instead, that he should change the browser mode or browser...
- Tracker changed from Bug to Task
This is not really a core bug but more of a task to give the user a proper warning/alert
- Status changed from New to Accepted
agree, we can and should catch this exception and show warning. maybe we could add a global check (e.g. try to write to localStorage) and if the check fail, show a Notification.
it looks like it is fixes since Safari 11, can anyone confirm that this bug is fixed in Safari 11 and still available in Safari 10?
- Status changed from Accepted to Under Review
I can confirm that it is fixed for Safari 11. Cannot reproduce it with the description I wrote on the issue. Tested with 7.6.23, 8.7.8, 9.0.0-dev (latest master)
- Assignee set to Frank Nägler
Thank you for the feedback, we need a system with safari 10 on os x to test the patch.
- Status changed from Under Review to Rejected
we will reject this issue, because affected safari verison is very old
Also available in: Atom
PDF