mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Bug 652294 - Adding diagnostics to test_hashcompleter.js for intermittent orange. (test only)
This commit is contained in:
parent
3b5f6cea92
commit
ef7343e000
@ -264,6 +264,16 @@ function callback(completion) {
|
||||
}
|
||||
callback.prototype = {
|
||||
completion: function completion(hash, table, chunkId, trusted) {
|
||||
// This check was added as part of diagnostics for bug 652294.
|
||||
if (!this._completion.expectCompletion) {
|
||||
dump("Did not expect a completion for this result. Provided values:\n" +
|
||||
"hash: " + JSON.stringify(hash) + "\ntable: " + table + "chunkId: " +
|
||||
chunkId + "\n");
|
||||
dump("Actual values:\nhash: " + JSON.stringify(this._completion.hash) +
|
||||
"\ntable: " + this._completion.table + "\nchunkId: " +
|
||||
this.completion.chunkId + "\n");
|
||||
}
|
||||
|
||||
do_check_true(this._completion.expectCompletion);
|
||||
|
||||
if (this._completion.multipleCompletions) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user