Skip to content

Commit

Permalink
Bug 558404 - Add more information to assertProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
whimboo committed Apr 9, 2010
1 parent 85a5603 commit eeec5c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mozmill/extension/resource/modules/controller.js
Expand Up @@ -779,9 +779,9 @@ MozMillController.prototype.assertProperty = function(el, attrib, val) {
res = true;
}
if (res) {
frame.events.pass({'function':'Controller.assertProperty()'});
frame.events.pass({'function':'Controller.assertProperty("' + el.getInfo() + '") : ' + val});
} else {
throw new Error('Controller.assertProperty() failed');
throw new Error("Controller.assertProperty(" + el.getInfo() + ") : " + val + " == " + value);
}

return res;
Expand Down

0 comments on commit eeec5c1

Please sign in to comment.