Closed Bug 1544707 Opened 5 years ago Closed 5 years ago

Some slight improvements for the Raptor web extension

Categories

(Testing :: Raptor, enhancement, P1)

Version 3
enhancement

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

Details

Attachments

(2 files)

It's just a first step for a clean-up of the web extension. More has to follow when I have time or the needs for it.

What is changed right now is:

  • Use switch statements instead of if/elif blocks
  • Use format strings instead of concatenating strings and values
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/04234ce7c13f
[raptor] Move most of if/elif blocks for testType to switch statements. r=rwood
https://hg.mozilla.org/integration/autoland/rev/25f3c9bd8831
[raptor] Use format strings instead of concatenating log messages. r=rwood
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: