Open Bug 1393606 Opened 7 years ago Updated 2 years ago

[nosdk] create instances of Arg, Option and RetVal using "new"

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(firefox57 fix-optional)

Tracking Status
firefox57 --- fix-optional

People

(Reporter: jdescottes, Unassigned)

References

Details

(Whiteboard: [reserve-nosdk] )

The Arg, Option and RetVal classes exported from devtools protocol.js are used as follows:

> let myArg = Arg(...)

They used to be classes created via the SDK helper where the constructor function could be both used with or without the new keyword. 

We would like to use standard ES6 classes for them, so we should use new to create instances.
Whiteboard: [reserve-nosdk]
Flags: qe-verify-
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Priority: P3 → P1
Target Milestone: --- → Firefox 57
Assignee: jdescottes → nobody
Severity: normal → enhancement
Status: ASSIGNED → NEW
Priority: P1 → P3
Whiteboard: [reserve-nosdk] → [reserve-nosdk]
Target Milestone: Firefox 57 → ---
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.