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)
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)
2.10 KB,
patch
|
jdm
:
review+
|
Details | Diff | Splinter Review |
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)
Comment 1•11 years ago
|
||
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 :)
Updated•11 years ago
|
Whiteboard: [mentor=jdm][lang=js][good first bug]
Assignee | ||
Comment 2•11 years ago
|
||
I think this should work.jdm please review!
Attachment #798028 -
Flags: review?(josh)
Comment 3•11 years ago
|
||
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+
Comment 4•11 years ago
|
||
Also, please write a commit message for the patch that describes the change; the bug's summary is not very informative.
Assignee | ||
Comment 5•11 years ago
|
||
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)
Assignee | ||
Comment 6•11 years ago
|
||
Improved the commit message.
Attachment #798115 -
Attachment is obsolete: true
Attachment #798115 -
Flags: review?(josh)
Attachment #798116 -
Flags: review?(josh)
Comment 7•11 years ago
|
||
Comment on attachment 798116 [details] [diff] [review]
changed all occurances of yield; to yield undefined
Excellent. Thanks!
Attachment #798116 -
Flags: review?(josh) → review+
Updated•11 years ago
|
Keywords: checkin-needed
Updated•11 years ago
|
Assignee: nobody → Sahilc.2200
Reporter | ||
Comment 8•11 years ago
|
||
Keywords: checkin-needed
Reporter | ||
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Comment 10•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•