Created attachment 322616 [details] Testcase Consider the attached testcase. It should have green text per spec: the HTML spec uses fetch to get the resources referenced by <link> elements (see <https://html.spec.whatwg.org/multipage/semantics.html#obtaining-a-resource-from-a-link-element>) and fetch is always an async operation. In Safari, the text is green the first time I load the testcase in a tab, but becomes red if I reload it. That's broken.
Note also https://bugs.chromium.org/p/chromium/issues/detail?id=771425
<rdar://problem/34814066>
That's because the seconds time we get the already decoded resource synchronously from the memory cache.
I am not able to reproduce this bug in Safari 16.1 and Safari Technology Preview 156 and it shows "Green" color text and as it should be. I tested it in "Private" window as well to avoid any cache issue. It is matching Firefox Nightly 108 while Chrome Canary 109 still show text as "red". Is it resolved and can we mark this as "RESOLVED CONFIGURATION CHANGED". Thanks!
(In reply to Ahmad Saleem from comment #4) > I am not able to reproduce this bug in Safari 16.1 and Safari Technology > Preview 156 and it shows "Green" color text and as it should be. I tested it > in "Private" window as well to avoid any cache issue. It is matching Firefox > Nightly 108 while Chrome Canary 109 still show text as "red". > > Is it resolved and can we mark this as "RESOLVED CONFIGURATION CHANGED". > Thanks! Actually ignore my comment, it reproduces in this case: "In Safari, the text is green the first time I load the testcase in a tab, but becomes red if I reload it. That's broken."
But it is same with Firefox Nightly 108, where on first load it is "Green" and on reload, it is "Red".