Closed Bug 891806 Opened 11 years ago Closed 11 years ago

Fix "yield without a value is deprecated, and illegal in ES6" warnings

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 25

People

(Reporter: ttaubert, Assigned: ttaubert)

References

Details

Attachments

(4 files)

      No description provided.
Blocks: 885463
Attachment #773208 - Flags: review?(jaws) → review+
Comment on attachment 773219 [details] [diff] [review]
part 2 - replace 'yield;' with 'yield undefined;' in content/

Super ugly, but I guess I need to accept this for now.
Attachment #773219 - Flags: review?(bugs) → review+
Attachment #773220 - Flags: review?(bugs) → review+
Comment on attachment 773221 [details] [diff] [review]
part 4 - replace 'yield;' with 'yield undefined;' in dom/

This has 
-  yield; yield;
+  yield undefined; yield;
few times.
Should be yield undefined; yield undefined;
(Don't know why the test has yield; yield;)
Attachment #773221 - Flags: review?(bugs) → review+
(In reply to Olli Pettay [:smaug] from comment #7)
> This has 
> -  yield; yield;
> +  yield undefined; yield;
> few times.
> Should be yield undefined; yield undefined;
> (Don't know why the test has yield; yield;)

Good catch, will correct.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: