monome / maiden

web based editor and repl for norns
GNU General Public License v3.0
47 stars 34 forks source link

migrate to https / service workers (non-secure app cache deprecation) #130

Closed pq closed 3 years ago

pq commented 6 years ago

chrome dev console warns:

Application Cache is deprecated in non-secure contexts, and will be restricted to secure contexts in M69, around September 2018. Please consider migrating your application to HTTPS, and eventually shifting over to Service Workers. See https://goo.gl/rStTGz for more details.

full trace:

index.js:51 [Deprecation] Application Cache is deprecated in non-secure contexts, and will be restricted to secure contexts in M69, around September 2018. Please consider migrating your application to HTTPS, and eventually shifting over to Service Workers. See https://goo.gl/rStTGz for more details.
(anonymous) @ index.js:51
(anonymous) @ index.js:62
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ index.js:3
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ index.js:3
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ lua.js:7
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ main.7947dec5.js:27635
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ main.7947dec5.js:57284
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ main.7947dec5.js:40298
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ main.7947dec5.js:40141
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ main.7947dec5.js:29781
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ main.7947dec5.js:38325
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ main.7947dec5.js:38307
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ main.7947dec5.js:38293
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ main.7947dec5.js:36249
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ main.7947dec5.js:35265
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ bootstrap f328cc147f79d51a44f8:62
(anonymous) @ bootstrap f328cc147f79d51a44f8:62
pq commented 6 years ago

another related trace:

worker.js:67 Error during service worker registration: DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).
(anonymous) @ worker.js:67
Promise.catch (async)
i @ worker.js:66
(anonymous) @ worker.js:36
load (async)
r @ worker.js:28
(anonymous) @ index.js:19
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ main.7947dec5.js:35265
t @ bootstrap f328cc147f79d51a44f8:19
(anonymous) @ bootstrap f328cc147f79d51a44f8:62
(anonymous) @ bootstrap f328cc147f79d51a44f8:62
Sushil231088 commented 6 years ago

I have the same warning from modernizr-2.6.2.min.js:4