WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
177847
data: stylesheets sometimes applied sync and sometimes async
https://bugs.webkit.org/show_bug.cgi?id=177847
Summary
data: stylesheets sometimes applied sync and sometimes async
Boris Zbarsky
Reported
2017-10-03 16:56:33 PDT
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.
Attachments
Testcase
(452 bytes, text/html)
2017-10-03 16:56 PDT
,
Boris Zbarsky
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Boris Zbarsky
Comment 1
2017-10-03 17:02:18 PDT
Note also
https://bugs.chromium.org/p/chromium/issues/detail?id=771425
Radar WebKit Bug Importer
Comment 2
2017-10-04 10:10:48 PDT
<
rdar://problem/34814066
>
Antti Koivisto
Comment 3
2017-10-04 10:41:10 PDT
That's because the seconds time we get the already decoded resource synchronously from the memory cache.
Ahmad Saleem
Comment 4
2022-10-25 01:29:34 PDT
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!
Ahmad Saleem
Comment 5
2022-10-25 01:30:41 PDT
(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."
Ahmad Saleem
Comment 6
2022-10-25 01:31:37 PDT
But it is same with Firefox Nightly 108, where on first load it is "Green" and on reload, it is "Red".
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug