Closed Bug 1321220 Opened 3 years ago Closed 3 years ago

Remove legacy generator from image/.

Categories

(Firefox :: General, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
Firefox 53
Tracking Status
firefox53 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

Just replaced legacy generator with ES6 generator.

some notes:

* image/test/mochitest/test_has_transparency.html
  ES6 generator doesn't throw StopIteration, but returns object with {done, value} properties
Attachment #8815634 - Flags: review?(tnikkel)
Attachment #8815634 - Flags: review?(tnikkel) → review?(aosmond)
Comment on attachment 8815634 [details] [diff] [review]
Remove legacy generator from image/.

Review of attachment 8815634 [details] [diff] [review]:
-----------------------------------------------------------------

TIL the new syntax, thanks :).
Attachment #8815634 - Flags: review?(aosmond) → review+
https://hg.mozilla.org/mozilla-central/rev/d29194b9a835
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
[bugday-20170104] Bug verified
You need to log in before you can comment on or make changes to this bug.