Previously, an instance of HttpParams would retain its list of mutations after they have been materialized as a result of a read operation. Not only does this unnecessarily hold onto memory, more importantly does it introduce a bug where branching of off a materialized instance would reconsider the set of mutations that had already been applied, resulting in repeated application of mutations. This commit fixes the bug by clearing the list of pending mutations after they have been materialized, such that they will not be considered once again for branched off instances. Fixes #20430 PR Close #29045 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
client_spec.ts | ||
headers_spec.ts | ||
jsonp_mock.ts | ||
jsonp_spec.ts | ||
module_spec.ts | ||
params_spec.ts | ||
request_spec.ts | ||
response_spec.ts | ||
xhr_mock.ts | ||
xhr_spec.ts | ||
xsrf_spec.ts |