Closed Bug 909283 Opened 11 years ago Closed 11 years ago

"System JS : WARNING /builds/slave/test/build/tests/xpcshell/tests/netwerk/test/unit/test_cache_jar.js:51 yield without a value is deprecated, and illegal in ES6 (use 'yield undefined' instead)" in xpcshell runs

Categories

(Core :: Networking: JAR, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26
Tracking Status
firefox24 --- unaffected
firefox25 --- fixed
firefox26 --- fixed

People

(Reporter: RyanVM, Assigned: Sahilc.2200)

References

Details

(Keywords: intermittent-failure, Whiteboard: [mentor=jdm][lang=js][good first bug])

Attachments

(1 file, 2 obsolete files)

https://tbpl.mozilla.org/php/getParsedLog.php?id=26945334&tree=Mozilla-Central

Ubuntu VM 12.04 mozilla-central debug test xpcshell on 2013-08-23 15:33:01 PDT for push 6dea0e001df0
slave: tst-linux32-ec2-048

15:52:05     INFO -  System JS : WARNING /builds/slave/test/build/tests/xpcshell/tests/netwerk/test/unit/test_cache_jar.js:51
15:52:05     INFO -                       yield without a value is deprecated, and illegal in ES6 (use 'yield undefined' instead)
15:52:05     INFO -  System JS : WARNING /builds/slave/test/build/tests/xpcshell/tests/netwerk/test/unit/test_cache_jar.js:71
15:52:05     INFO -                       yield without a value is deprecated, and illegal in ES6 (use 'yield undefined' instead)
15:52:05     INFO -  System JS : WARNING /builds/slave/test/build/tests/xpcshell/tests/netwerk/test/unit/test_cache_jar.js:85
15:52:05     INFO -                       yield without a value is deprecated, and illegal in ES6 (use 'yield undefined' instead)
This warning was introduced in bug 885463 by jorendorff and Waldo.  The solution here is for an owner of this code to change to "yield undefined".  (I don't find the warning terribly helpful given the other differences in ES6, but whatever :)
Whiteboard: [mentor=jdm][lang=js][good first bug]
No longer blocks: 892958
Blocks: log-SnR
I think this should work.jdm please review!
Attachment #798028 - Flags: review?(josh)
Comment on attachment 798028 [details] [diff] [review]
changed yield; to yield undefined

Can you fix the others in this file as well?
Attachment #798028 - Flags: review?(josh) → feedback+
Also, please write a commit message for the patch that describes the change; the bug's summary is not very informative.
Thanks for the feedback! I made the changes you asked for. Here is the new patch. Please review.
Attachment #798028 - Attachment is obsolete: true
Attachment #798115 - Flags: review?(josh)
Improved the commit message.
Attachment #798115 - Attachment is obsolete: true
Attachment #798115 - Flags: review?(josh)
Attachment #798116 - Flags: review?(josh)
Comment on attachment 798116 [details] [diff] [review]
changed all occurances of yield; to yield undefined

Excellent. Thanks!
Attachment #798116 - Flags: review?(josh) → review+
Keywords: checkin-needed
Assignee: nobody → Sahilc.2200
https://hg.mozilla.org/mozilla-central/rev/3287472e22f4
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Blocks: 920191
No longer blocks: log-SnR
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: