Closed Bug 1396398 Opened 7 years ago Closed 7 years ago

wrong comment for MAGIC_NUMBER in lz4.js

Categories

(Toolkit Graveyard :: OS.File, defect)

defect
Not set
trivial

Tracking

(firefox57 fixed)

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

https://dxr.mozilla.org/mozilla-central/rev/f5d99e9f3d7bf19c8a222db97bedc924da27fd58/toolkit/components/lz4/lz4.js#28
> const MAGIC_NUMBER = new Uint8Array([109, 111, 122, 76, 122, 52, 48, 0]); // "mozLz4a\0"

it's "mozLz40\0", not "mozLz4a\0"
Version: 53 Branch → Trunk
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Attachment #8904028 - Flags: review?(dteller)
Comment on attachment 8904028 [details] [diff] [review]
Fix comment for MAGIC_NUMBER.

Review of attachment 8904028 [details] [diff] [review]:
-----------------------------------------------------------------

Good catch, thanks.
Attachment #8904028 - Flags: review?(dteller) → review+
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1d76fe320d1a
Fix comment for MAGIC_NUMBER. r=Yoric
https://hg.mozilla.org/mozilla-central/rev/1d76fe320d1a
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: