[Webkit-unassigned] [Bug 170985] New: Failed to fetch with undefined headers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 19 02:38:28 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=170985
Bug ID: 170985
Summary: Failed to fetch with undefined headers
Product: WebKit
Version: Safari 10
Hardware: Unspecified
OS: OS X 10.11
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cyb.ai.815 at gmail.com
When I tried to use `fetch` with `undefined` headers, the promise will be rejected with `TypeError: undefined is not an object`.
Ex. `fetch('/my-awesome-api', { headers: undefined })`
```
TypeError: undefined is not an object
anonymous
fillFetchHeaders
initializeFetchRequest
[native code]
fetch
tryCatch
invoke
step
(anonymous function)
run
(anonymous function)
flush
```
I'm using OSX 10.11 El Capitan and on Safari 10.1 (11603.1.30.0.34).
I know there's another [bugzilla issue](https://bugs.webkit.org/show_bug.cgi?id=168043) about this issue.
However, I still face this issue.
If the fix is released yet, please kindly help me to close this issue.
Thanks.
--
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/20170419/069dbeb8/attachment.html>
More information about the webkit-unassigned
mailing list