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

RESOLVED FIXED in Firefox 40

Status

()

Toolkit
Telemetry
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: ferjm, Assigned: ferjm)

Tracking

unspecified
mozilla41
Points:
---

Firefox Tracking Flags

(firefox40 fixed, firefox41 fixed)

Details

(Whiteboard: [uplift])

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
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)

Updated

3 years ago
Assignee: nobody → ferjmoreno
(Assignee)

Comment 1

3 years ago
Created attachment 8614009 [details] [diff] [review]
v1
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+

Comment 3

3 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/b4d93e7f990a
Blocks: 1162538
https://hg.mozilla.org/mozilla-central/rev/b4d93e7f990a
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox41: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
status-firefox40: --- → affected
Whiteboard: [uplift]
Comment on attachment 8614009 [details] [diff] [review]
v1

1170520
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+
https://hg.mozilla.org/releases/mozilla-aurora/rev/5f544f1f1c63
status-firefox40: affected → fixed
You need to log in before you can comment on or make changes to this bug.