WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
206064
EventSource Http Status: 200 but Showing Error
https://bugs.webkit.org/show_bug.cgi?id=206064
Summary
EventSource Http Status: 200 but Showing Error
Dhruvesh Parikh
Reported
2020-01-10 05:56:41 PST
Created
attachment 387331
[details]
safari eventsource with close When using EventSource (
https://developer.mozilla.org/en-US/docs/Web/API/EventSource
) library in Safari 13, with closing the connection when done, Ex: var source = new window.EventSource("someurl"); source.onmessage = function(event) { source.close(); }; I am getting error in WebInspector inspite the status code is 200. Means behaviour is as intended, only showing error in WebInspector UI. I have explained in image the same. Image: bug-safari-eventsource-close.jpeg When we are not closing the EventSource object it works fine #source.close() Can we solve this ? Link:
https://jsfiddle.net/parikhdhruvesh1/kxos7yjz/24/
Attachments
safari eventsource with close
(796.54 KB, image/jpeg)
2020-01-10 05:56 PST
,
Dhruvesh Parikh
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-01-10 13:55:32 PST
<
rdar://problem/58489814
>
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