Closed
Bug 1167254
Opened 9 years ago
Closed 9 years ago
convert the test added in bug 234856 to an xpcshell test
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: keeler, Assigned: Cykesiopka)
References
Details
Attachments
(1 file, 1 obsolete file)
10.70 KB,
patch
|
Cykesiopka
:
review+
|
Details | Diff | Splinter Review |
Bug 234856 added a mochitest-chrome test to ensure that some properties of a certificate are decoded properly. However, I can determine no compelling reason for it to be a mochitest-chrome test rather than an xpcshell test. Since mochitests require more test resources, we should just convert it to an xpcshell test.
Assignee | ||
Comment 1•9 years ago
|
||
/r/9423 - Bug 1167254 - Convert test_bug234856.html mochitest to an xpcshell test. Pull down this commit: hg pull -r 9194594f4e2f36d7955a16775bb615c9780ac34a https://reviewboard-hg.mozilla.org/gecko/
Attachment #8611085 -
Flags: review?(dkeeler)
Assignee | ||
Comment 2•9 years ago
|
||
https://reviewboard.mozilla.org/r/9421/#review8173 I didn't do a |hg rename| because I touch every single line, and because no changes have been made to test_bug234856.html since it landed. However, I can redo the patch using |hg rename| if preferred. ::: security/manager/ssl/tests/unit/test_nsIX509Cert_utf8.js:45 (Diff revision 1) > + equal(cert.nickname, "(no nickname)", I left out the first five checks before this one, because I don't see how they are relevant to what this test is supposed to be testing.
Reporter | ||
Comment 3•9 years ago
|
||
https://reviewboard.mozilla.org/r/9423/#review8219 Great - thanks. The new file should have a license, though. ::: security/manager/ssl/tests/unit/test_nsIX509Cert_utf8.js:1 (Diff revision 1) > +// -*- indent-tabs-mode: nil; js-indent-level: 2 -*- nit: this file needs a license, I think. Either MPL 2.0 or public domain should work.
Reporter | ||
Comment 4•9 years ago
|
||
https://reviewboard.mozilla.org/r/9423/#review8223
Reporter | ||
Comment 5•9 years ago
|
||
Comment on attachment 8611085 [details] MozReview Request: bz://1167254/Cykesiopka https://reviewboard.mozilla.org/r/9421/#review8225
Attachment #8611085 -
Flags: review?(dkeeler) → review+
Assignee | ||
Comment 6•9 years ago
|
||
https://reviewboard.mozilla.org/r/9423/#review8309 > nit: this file needs a license, I think. Either MPL 2.0 or public domain should work. The original file was added before 2014-09-23 (see "PD Test Code" in https://www.mozilla.org/MPL/license-policy.html ), so just to be safe, MPL it is.
Assignee | ||
Comment 7•9 years ago
|
||
+ Add license header
Assignee: nobody → cykesiopka.bmo
Attachment #8611085 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8612180 -
Flags: review+
Assignee | ||
Comment 8•9 years ago
|
||
Thanks for the review. https://treeherder.mozilla.org/#/jobs?repo=try&revision=484d723e6da2
Keywords: checkin-needed
Comment 11•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/43ac1e38b7ac
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•