Closed
Bug 1580082
Opened 5 years ago
Closed 5 years ago
body arg for Response constructor should have a null default value
Categories
(Core :: DOM: Networking, task, P2)
Core
DOM: Networking
Tracking
()
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
The spec at https://fetch.spec.whatwg.org/#response-class says:
Constructor(optional BodyInit? body = null, optional ResponseInit init = {})
but we don't have the = null
bit on our body
arg. The impl then checks for "was passed and is not null" before using it...
Updated•5 years ago
|
Priority: -- → P2
Whiteboard: [necko-triaged]
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f616c411ea92
Align Response constructor IDL with spec. r=baku
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•