Repository navigation
Conversation
The pending request callbacks of a connecting client session and the single-value header names tracked by buildNgHeaderString() were collected with .push() on private arrays, which looks up Array.prototype.push at call time. Replacing that method from user code changed how these paths ran. Use indexed assignments instead. Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
|
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #67890 +/- ##
=======================================
Coverage 90.58% 90.59%
=======================================
Files 802 802
Lines 286659 286660 +1
Branches 55370 55367 -3
=======================================
+ Hits 259676 259686 +10
- Misses 17083 17084 +1
+ Partials 9900 9890 -10
🚀 New features to boost your workflow:
|
ljharb
left a comment
There was a problem hiding this comment.
it'd be really nice to do these in one PR instead of dozens
|
I agree @ljharb but some have already merged so whatever at this point 🤷♂️ |
Failed to start CIFull Auto Start CI output |
|
i mean if livia requested it then that's fine, but i'd much rather review 1000 of the same changes than review 100 PRs each with the same changes, personally. |
|
Yeah if there is more to come then one PR would be preferred. But I think? we are at the end of it anyways. |
|
Thanks again @Ethan-Arrowood and @ljharb for reviewing these, and for your comments. Since the stream, HTTP, and BlockList changes are already open, as are the inspector and TLS changes, I would like to leave the existing PRs in place rather than restart those reviews. If I find any more private-array |
The pending request callbacks of a connecting client session and the single-value header names tracked by
buildNgHeaderString()used.push()on private arrays. If user code replacedArray.prototype.push, these paths went through it. This uses indexed assignments instead. Same approach as #67748, #67751 and #67752: private arrays only.