Closed Bug 1074286 Opened 5 years ago Closed 5 years ago
Fix Headers::Fill(const Headers&, Error
It should use Append instead of just copying the nsTArray so that the guard can be enforced.
We should add a test for this case as well.
5 years ago
Assignee: nobody → nsm.nikhil
Status: NEW → ASSIGNED
Comment on attachment 8496972 [details] [diff] [review] Fix Headers::Fill(const Headers&, ErrorResult&) I still think we can should add a test case for this in dom/tests/mochitest/fetch/test_headers_mainthread.js. Those tests already manipulate the guard.
Attachment #8496972 - Flags: review?(bkelly) → review+
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.