Closed Bug 1850353 Opened 2 years ago Closed 2 years ago

change download API code_filename to code_file

Categories

(Tecken :: General, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

References

Details

Attachments

(1 file)

In bug #1746940, we discovered the Tecken download API has a code_filename query string param, but we implemented use of it as code_file in the stackwalker:

https://github.com/rust-minidump/rust-minidump/blob/7cda551f9f082f8ba5a286f931b5ad24e34861d9/breakpad-symbols/src/http.rs#L210-L211

I think the code_id and code_filename querystring params are Mozilla enhancements and nothing else other than the stackwalker uses them. If that's true, then we can change code_filename to code_file.

This bug covers verifying that and doing it.

We should also add notes to the documentation about how these parameters are Mozilla enhancements.

Assignee: nobody → willkg
Blocks: 1746940
Status: NEW → ASSIGNED

Gabriele points out this is documented wrong in the Tecken download API docs. The query string param is code_file.

I'll fix the docs.

I pushed this to prod just now with bug #1851888. Marking as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: