Remove deprecated nsICacheEntry methods
Categories
(Core :: Networking: Cache, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | fixed |
People
(Reporter: valentin, Assigned: sekim, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [necko-triaged])
Attachments
(1 file)
These methods were used by the previous cache implementation and are no longer required.
We can remove them from the interface and their implementations.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Updated•1 year ago
|
Comment 3•1 year ago
|
||
Backed out for causing bustage on nsHttpChannel.cpp
- backout: https://hg.mozilla.org/integration/autoland/rev/83df047ffc0096eefc44970755508262c8594e79
- push: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&revision=8abbf422db5c4e71f0254068906e718fb134aacd
- failure log: https://treeherder.mozilla.org/logviewer?job_id=458584335&repo=autoland&lineNumber=88723
[task 2024-05-17T09:47:18.459Z] 09:47:18 INFO - In file included from Unified_cpp_protocol_http4.cpp:56:
[task 2024-05-17T09:47:18.459Z] 09:47:18 ERROR - /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:951:29: error: too many arguments to function call, expected 0, have 1
[task 2024-05-17T09:47:18.459Z] 09:47:18 INFO - 951 | Unused << ReadFromCache(true);
[task 2024-05-17T09:47:18.459Z] 09:47:18 INFO - | ~~~~~~~~~~~~~ ^~~~
[task 2024-05-17T09:47:18.460Z] 09:47:18 INFO - /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.h:404:26: note: 'ReadFromCache' declared here
[task 2024-05-17T09:47:18.460Z] 09:47:18 INFO - 404 | [[nodiscard]] nsresult ReadFromCache(void);
[task 2024-05-17T09:47:18.460Z] 09:47:18 INFO - | ^
[task 2024-05-17T09:47:18.460Z] 09:47:18 INFO - In file included from Unified_cpp_protocol_http4.cpp:56:
[task 2024-05-17T09:47:18.461Z] 09:47:18 ERROR - /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:983:26: error: too many arguments to function call, expected 0, have 1
[task 2024-05-17T09:47:18.461Z] 09:47:18 INFO - 983 | rv = ReadFromCache(true);
[task 2024-05-17T09:47:18.461Z] 09:47:18 INFO - | ~~~~~~~~~~~~~ ^~~~
[task 2024-05-17T09:47:18.461Z] 09:47:18 INFO - /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.h:404:26: note: 'ReadFromCache' declared here
[task 2024-05-17T09:47:18.462Z] 09:47:18 INFO - 404 | [[nodiscard]] nsresult ReadFromCache(void);
[task 2024-05-17T09:47:18.462Z] 09:47:18 INFO - | ^
[task 2024-05-17T09:47:18.462Z] 09:47:18 INFO - In file included from Unified_cpp_protocol_http4.cpp:56:
[task 2024-05-17T09:47:18.462Z] 09:47:18 ERROR - /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:3597:39: error: too many arguments to function call, expected 0, have 1
[task 2024-05-17T09:47:18.462Z] 09:47:18 INFO - 3597 | nsresult rv = self->ReadFromCache(false);
[task 2024-05-17T09:47:18.462Z] 09:47:18 INFO - | ~~~~~~~~~~~~~~~~~~~ ^~~~~
| Assignee | ||
Comment 4•1 year ago
|
||
(In reply to Natalia Csoregi [:nataliaCs] from comment #3)
Backed out for causing bustage on nsHttpChannel.cpp
- backout: https://hg.mozilla.org/integration/autoland/rev/83df047ffc0096eefc44970755508262c8594e79
- push: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&revision=8abbf422db5c4e71f0254068906e718fb134aacd
- failure log: https://treeherder.mozilla.org/logviewer?job_id=458584335&repo=autoland&lineNumber=88723
[task 2024-05-17T09:47:18.459Z] 09:47:18 INFO - In file included from Unified_cpp_protocol_http4.cpp:56: [task 2024-05-17T09:47:18.459Z] 09:47:18 ERROR - /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:951:29: error: too many arguments to function call, expected 0, have 1 [task 2024-05-17T09:47:18.459Z] 09:47:18 INFO - 951 | Unused << ReadFromCache(true); [task 2024-05-17T09:47:18.459Z] 09:47:18 INFO - | ~~~~~~~~~~~~~ ^~~~ [task 2024-05-17T09:47:18.460Z] 09:47:18 INFO - /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.h:404:26: note: 'ReadFromCache' declared here [task 2024-05-17T09:47:18.460Z] 09:47:18 INFO - 404 | [[nodiscard]] nsresult ReadFromCache(void); [task 2024-05-17T09:47:18.460Z] 09:47:18 INFO - | ^ [task 2024-05-17T09:47:18.460Z] 09:47:18 INFO - In file included from Unified_cpp_protocol_http4.cpp:56: [task 2024-05-17T09:47:18.461Z] 09:47:18 ERROR - /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:983:26: error: too many arguments to function call, expected 0, have 1 [task 2024-05-17T09:47:18.461Z] 09:47:18 INFO - 983 | rv = ReadFromCache(true); [task 2024-05-17T09:47:18.461Z] 09:47:18 INFO - | ~~~~~~~~~~~~~ ^~~~ [task 2024-05-17T09:47:18.461Z] 09:47:18 INFO - /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.h:404:26: note: 'ReadFromCache' declared here [task 2024-05-17T09:47:18.462Z] 09:47:18 INFO - 404 | [[nodiscard]] nsresult ReadFromCache(void); [task 2024-05-17T09:47:18.462Z] 09:47:18 INFO - | ^ [task 2024-05-17T09:47:18.462Z] 09:47:18 INFO - In file included from Unified_cpp_protocol_http4.cpp:56: [task 2024-05-17T09:47:18.462Z] 09:47:18 ERROR - /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:3597:39: error: too many arguments to function call, expected 0, have 1 [task 2024-05-17T09:47:18.462Z] 09:47:18 INFO - 3597 | nsresult rv = self->ReadFromCache(false); [task 2024-05-17T09:47:18.462Z] 09:47:18 INFO - | ~~~~~~~~~~~~~~~~~~~ ^~~~~
Fixed the issue and rebased the change, thank you!
| Assignee | ||
Updated•1 year ago
|
Comment 7•1 year ago
|
||
Backed out changeset 9866ca157a60 (bug 1894995) for causing several xpcshell failures.
Failure logs:
- https://treeherder.mozilla.org/logviewer?job_id=459260167&repo=autoland
- https://treeherder.mozilla.org/logviewer?job_id=459234234&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/4decf144658a
Bug 1559200 has been relanded.
Sean, there's no need to close the bugs after landing, they will be closed only when they reach mozilla-central as it's deemed as stable code after testing.
| Assignee | ||
Comment 8•1 year ago
|
||
@cosminS(In reply to Cosmin Sabou [:CosminS] from comment #7)
Backed out changeset 9866ca157a60 (bug 1894995) for causing several xpcshell failures.
Failure logs:
- https://treeherder.mozilla.org/logviewer?job_id=459260167&repo=autoland
- https://treeherder.mozilla.org/logviewer?job_id=459234234&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/4decf144658a
Bug 1559200 has been relanded.
Sean, there's no need to close the bugs after landing, they will be closed only when they reach mozilla-central as it's deemed as stable code after testing.
Oops, thank you for letting me know
Comment 10•1 year ago
|
||
| bugherder | ||
Description
•