Skip to content

Bug 724428 - provide uuid parsing from uuid module #337

Merged
merged 5 commits into from Feb 7, 2012

2 participants

@Gozala
Mozilla member
Gozala commented Feb 5, 2012

It looks like there are few cases where one might want to parse UUID instead of generating a new one:

https://github.com/mozilla/openwebapps/blob/develop/addons/activities/lib/main.js#L43

This change:

  • Add's a way to parse existing uuid from the uuid module
  • Replaces old license block
  • Adds documentation for uuid module

https://bugzilla.mozilla.org/show_bug.cgi?id=724428

@ochameau ochameau was assigned Feb 5, 2012
@ochameau
Mozilla member
ochameau commented Feb 6, 2012

I looked at C++ code for Components.ID and generateUUID. Both of them returns nsIJSID
https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIJSID

Looks good. r+

@Gozala Gozala merged commit 215e619 into mozilla:master Feb 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.