> I got Javascript errors for assertLineDrawn with a {strokeStyle: ...} predicate since
> apparently half the "call" elements didn't have properties, so I changed the conditional
> to treat those as not matching.

I wonder how the call elements didn't have properties. It seems as though you're masking another problem. If you look at Proxy.log__, it should always include properties:


Proxy.prototype.log__ = function(name, args) {
  var properties = {};
  for (var propIdx in this.propertiesToTrack__) {
    var prop = this.propertiesToTrack__[propIdx];
    properties[prop] = this.delegate__[prop];
  }
  var call = { name : name, args : args, properties: properties };
  this.calls__.push(call);
};