Closed Bug 1224961 Opened 10 years ago Closed 10 years ago

Remove non-standard JS features from WebExtension code

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
mozilla45
Iteration:
45.2 - Nov 30
Tracking Status
firefox45 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

Details

Attachments

(1 file)

I had to do this locally in order to instrument code for coverage tests. Array comprehensions have been dropped from the ES7 spec, and catch guards aren't on any standards track that I know of. Since we've been trying to avoid non-standard features in WebExtension code, and these have already interfered with some tooling, they should probably be removed.
Attachment #8687729 - Flags: review?(wmccloskey) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Iteration: 44.3 - Nov 2 → 45.2 - Nov 30
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: