Closed Bug 1170520 Opened 10 years ago Closed 10 years ago

JavaScript Warning: "SyntaxError: unreachable code after return statement" {file: "resource://gre/modules/TelemetryStorage.jsm" ...

Categories

(Toolkit :: Telemetry, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox40 --- fixed
firefox41 --- fixed

People

(Reporter: ferjm, Assigned: ferjm)

References

Details

(Whiteboard: [uplift])

Attachments

(1 file)

I am seeing this warning on a b2g build with the latest m-i W/GeckoConsole( 206): [JavaScript Warning: "SyntaxError: unreachable code after return statement" {file: "resource://gre/modules/TelemetryStorage.jsm" line: 1267 column: 45 source: " return (yield OS.File.stat(path)).size;; W/GeckoConsole( 206): "}]
Assignee: nobody → ferjmoreno
Attached patch v1Splinter Review
Attachment #8614009 - Flags: review?(alessio.placitelli)
Comment on attachment 8614009 [details] [diff] [review] v1 Review of attachment 8614009 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for submitting this. Could you change the commit message a bit to something like "Bug XXX - Remove the redundant semi-colon in ..." r=me with the changed commit message.
Attachment #8614009 - Flags: review?(alessio.placitelli) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Whiteboard: [uplift]
Attachment #8614009 - Flags: approval-mozilla-aurora?
Comment on attachment 8614009 [details] [diff] [review] v1 Unified telemetry is an important new feature. It is blocking some other projects. Taking it.
Attachment #8614009 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: