Test from #18912 failing
While preparing to uplift our patch for #18912 (moved), I rebased it to mozilla-central but found one of the mochitests is failing. I then ran the test in the latest tor-browser.git branch (tor-browser-52.6.0esr-8.0-2) and saw the same test failure:
<div style="font-family: monospace; white-space: pre-wrap;">
0 INFO TEST-START | Shutdown
1 INFO Passed: 30
2 INFO Failed: 1
3 INFO Todo: 0
4 INFO Mode: non-e10s
5 INFO SimpleTest FINISHED
The following tests failed:
56 INFO TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/chrome/test_0790_check_certPinning_noUpdate.xul | Checking update.errorCode == MOZILLA_PKIX_ERROR_KEY_PINNING_FAILURE - got 2153390067, expected 2153398272
SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:271:5
checkErrorCode@chrome://mochitests/content/chrome/toolkit/mozapps/update/tests/chrome/test_0790_check_certPinning_noUpdate.xul:61:3
defaultCallback@chrome://mochitests/content/chrome/toolkit/mozapps/update/tests/chrome/utils.js:429:5
</div>
Somehow we're not getting the desired error code.