Comment 2 for bug 587250

Revision history for this message
Johan Euphrosine (proppy) wrote :

You could turn hackit_reload and hackit_alert function definition into:

var hackit = {
      document: document,
      alert: alert
};

This way it will generate coverage data for the declaration, and you will still be able to mockup implementation in tests.