[Webkit-unassigned] [Bug 278477] File icons and filenames are not displayed on OneDrive website on Safari TP 201

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 28 17:36:31 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=278477

Karl Dubost <karlcow at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karlcow at apple.com

--- Comment #10 from Karl Dubost <karlcow at apple.com> ---
I can NOT reproduce it from Japan 

testing on 
* STP 201
* with the domain https://onedrive.live.com/ (not a sharepoint hosted version) 


As for the log

```
[Info] Successfully preconnected to https://res-1.cdn.office.net/
[Log] Session ID: – "***" (plt.listviewdataprefetch.js, line 71)
[Log] Time in UTC:  – "Thu, 29 Aug 2024 00:22:14 GMT" (plt.listviewdataprefetch.js, line 71)
[Log] [SPWebWorker] : processed 4 message event(s) from queue. (spwebworker.js, line 9)
[Warning] Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include:  (67.js, line 143)
emptyFolder, emptyFolderWithDrop, emptyFolder, emptyFolderWithDrop, svg/access_16x1.svg, png/access_16x1.png, svg/delve_16x1.svg, png/delve_16x1.png, svg/excel_16x1.svg, png/excel_16x1.png (+ 262 more)
[Error] Unhandled Promise Rejection: TypeError: null is not an object (evaluating 't.fci')
        (anonymous function) (plt.listviewdataprefetch.js:51:21466)
[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (GetUserInfo, line 0)
[Warning] Promise with no error callback:2 (plt.listviewdataprefetch.js, line 47)
[Log] {exception: null, error: Object, promise: e, handler: undefined, id: 2, …} (plt.listviewdataprefetch.js, line 47)
[Info] Successfully preconnected to https://res.cdn.office.net/
[Error] Source Map loading errors (x2)
[Error] Failed to load resource: the server responded with a status of 404 () (meInlineBackCompat.min.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (meInlineBackCompat.min.js.map, line 0)
```

the t.fci error is visible in my case too. So that seems irrelevant for the bug. 

@laiz+webkit at laiz.xyz
I see only error messages and no warnings and logs in your console report. 
Do you have only Error selected at the top of the console?

in my log one interesting message is 

```
[Warning] Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include:  (67.js, line 143)
emptyFolder, emptyFolderWithDrop, emptyFolder, emptyFolderWithDrop, svg/access_16x1.svg, png/access_16x1.png, svg/delve_16x1.svg, png/delve_16x1.png, svg/excel_16x1.svg, png/excel_16x1.png (+ 262 more)
```

The warning is coming from
https://res-1.cdn.office.net/files/odsp-web-prod_2024-08-16.002/odclightspeedwebpack.manifest/67.js

```
        function Ye(e) {
            var t = void 0,
                n = Ge.__options;
            if (e = e ? We(e) : "", e = Ge.__remapped[e] || e)
                if (t = Ge[e]) {
                    var i = t.subset;
                    i && i.fontFace && (i.isRegistered || ((0, ze.a)(i.fontFace), i.isRegistered = !0), i.className || (i.className = (0, a.b)(i.style, {
                        fontFamily: i.fontFace.fontFamily,
                        fontWeight: i.fontFace.fontWeight || "normal",
                        fontStyle: i.fontFace.fontStyle || "normal"
                    })))
                } else
                    !n.disableWarnings && n.warnOnMissingIcons && (0, Ve.a)('The icon "'.concat(e, '" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.'));
            return t
        }
```

and


```
        var Je = [],
            Xe = void 0;
        function Ze(e) {
            Ge.__options.disableWarnings || (Je.push(e), void 0 === Xe && (Xe = setTimeout(function() {
                (0, Ve.a)("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n" + Je.slice(0, 10).join(", ") + (Je.length > 10 ? " (+ ".concat(Je.length - 10, " more)") : "")),
                Xe = void 0,
                Je = []
            }, 2e3)))
        }
```


if I set a breakpoint and I go step by step

```
[Warning] The icon "chevrondownmed" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information. (67.js, line 143)
[Warning] The icon "chevrondownmed" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information. (67.js, line 143, x4)

… etc.
```

That said my icons are *displayed*.

Also the link https://github.com/microsoft/fluentui/wiki/Using-icons is not relevant anymore.
Maybe the modern version is https://react.fluentui.dev/?path=/docs/icons-overview--docs


I also do not have all the CSP errors displayed above.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240829/5a1b2358/attachment-0001.htm>


More information about the webkit-unassigned mailing list