Closed
Bug 949241
Opened 11 years ago
Closed 11 years ago
enhance HAWK tests
Categories
(Cloud Services :: Server: Firefox Accounts, defect)
Cloud Services
Server: Firefox Accounts
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla29
People
(Reporter: warner, Assigned: warner)
References
Details
(Whiteboard: [qa?])
Attachments
(1 file)
1.17 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
This patch adds an extra test for the HAWK code inside services/crypto/modules/utils.js . Unlike the rest of our code, HAWK uses a non-URL-safe base64 encoding for its payload ".hash" and HMAC output ".mac" fields. The test cases in the upstream (node.js) HAWK source code don't exercise the /+ characters in the payload hash, so this adds one that does.
This is aimed at mozilla-central.
Attachment #8346246 -
Flags: review?(rnewman)
Updated•11 years ago
|
Whiteboard: [qa?]
Comment 1•11 years ago
|
||
Comment on attachment 8346246 [details] [diff] [review]
hawk-test.diff
Review of attachment 8346246 [details] [diff] [review]:
-----------------------------------------------------------------
Always nice to see test-only patches!
Attachment #8346246 -
Flags: review?(rnewman) → review+
Updated•11 years ago
|
Keywords: checkin-needed
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/bc1774f6eece
Thanks for the patch, Brian! One request - in the future, please make sure you patches include the necessary commit information. Makes life much easier for those checking in on your behalf. Thanks! :)
https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
Comment 3•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa?][fixed-in-fx-team] → [qa?]
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•