Web IDE not rendering file type icons in safari browser
Summary
In Safari browser, the file type icons are not displayed in the file explorer of GitLab Web IDE. This issue affects all file types, including Ruby files, and makes it difficult to quickly identify and navigate to the desired files.
I have confirmed that this issue does not occur in other browsers, such as Chrome and Firefox. It seems to be specific to Safari.
Steps to reproduce
- Open the project files using Web IDE specifically in safari browser
What is the current bug behavior?
File type icons are not displayed in Web IDE while using safari browser.
What is the expected correct behavior?
Web IDE should render the file icons.
Relevant logs and/or screenshots
Output of checks
Safari console logs:
[Warning] The web worker extension host is started in a same-origin iframe! (workbench.web.main.js, line 1565)
[Log] INFO – "Ignoring fetching additional builtin extensions from gallery as it is disabled." (workbench.web.main.js, line 613)
[Error] Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.) (loader.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.) (webPackagePaths.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.) (workbench.web.main.nls.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.) (workbench.web.main.js.map, line 0)
[Log] DEBUG – "[Registering Log Channel] File does not exist. Waiting for 1s to retry." – "vscode-log:/20230423T175425/editSessions.log" (workbench.web.main.js, line 613)
[Error] Error while parsing the 'sandbox' attribute: 'allow-downloads' is an invalid sandbox flag.
cb (workbench.web.main.js:1191:7805)
N (workbench.web.main.js:1191:4279)
construct
createInstance (workbench.web.main.js:608:790)
createWebviewElement (workbench.web.main.js:2029:41120)
createWebviewElement
(anonymous function) (workbench.web.main.js:2547:59330)
Wb (workbench.web.main.js:2547:60790)
(anonymous function) (workbench.web.main.js:2547:61506)
Xb (workbench.web.main.js:2547:61633)
jc (workbench.web.main.js:2547:76669)
(anonymous function) (workbench.web.main.js:2547:65304)
ac (workbench.web.main.js:2547:65387)
(anonymous function) (workbench.web.main.js:2547:54294)
[Log] DEBUG – "Webview(cd656fcb-e294-4bb8-af2e-2625be5d7adc): will update content" (workbench.web.main.js, line 613)
[Error] Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.) (layout.contribution.darwin.js.map, line 0)
[Log] INFO – "Ignoring fetching additional builtin extensions from gallery as it is disabled." (workbench.web.main.js, line 613, x2)
[Error] Failed to load resource: the server responded with a status of 404 (The specified blob does not exist.) (workerMain.js.map, line 0)
[Log] INFO – "Ignoring fetching additional builtin extensions from gallery as it is disabled." (workbench.web.main.js, line 613, x3)
[Log] DEBUG – "[Registering Log Channel] File does not exist. Waiting for 1s to retry." – "vscode-log:/20230423T175425/exthost/webWorker/exthost.log" (workbench.web.main.js, line 613)
[Log] DEBUG – "Webview(cd656fcb-e294-4bb8-af2e-2625be5d7adc): webview ready" (workbench.web.main.js, line 613)
[Error] Error while parsing the 'sandbox' attribute: 'allow-downloads' is an invalid sandbox flag.
cb (workbench.web.main.js:1191:7805)
N (workbench.web.main.js:1191:4279)
construct
createInstance (workbench.web.main.js:608:790)
createWebviewElement (workbench.web.main.js:2029:41120)
createWebviewElement
(anonymous function) (workbench.web.main.js:2547:58311)
Wb (workbench.web.main.js:2547:60790)
(anonymous function) (workbench.web.main.js:2547:61506)
Xb (workbench.web.main.js:2547:61633)
jc (workbench.web.main.js:2547:76669)
(anonymous function) (workbench.web.main.js:2547:64663)
ac (workbench.web.main.js:2547:65387)
(anonymous function) (workbench.web.main.js:2547:54294)
[Error] Failed to load resource: the server responded with a status of 404 () (main.js.map, line 0)
[Log] DEBUG – "Webview(590aef2f-faa5-47ac-9a54-49e3b7b044f5): will update content" (workbench.web.main.js, line 613)
[Log] DEBUG – "Webview(590aef2f-faa5-47ac-9a54-49e3b7b044f5): webview ready" (workbench.web.main.js, line 613)
[Log] INFO – "Ignoring fetching additional builtin extensions from gallery as it is disabled." (workbench.web.main.js, line 613)
[Log] INFO – "Ignoring fetching additional builtin extensions from gallery as it is disabled." (workbench.web.main.js, line 613)
[Log] INFO – "Ignoring fetching additional builtin extensions from gallery as it is disabled." (workbench.web.main.js, line 613)
[Log] INFO – "Updating additional builtin extensions cache" (workbench.web.main.js, line 613)
Results of GitLab environment info
Reproducible in GitLab.com
Safari version: Version 16.4 (18615.1.26.11.23)
Edited by sameer shaik