mozilla/webpagemaker — pull request #592 by toolness (2012-11-05 19:50:05+00:00)
Title: Super ghetto feedback mechanism.

This is a super hacked-up logging system for QA that monitors
credited behaviors, earned badges, user agent strings, ajax
success/error information, and window.onerror information, while
doing its best to strip out PII. When the user clicks 'feedback', they
are asked for comments and a JSON blob containing their log and comments
are posted via hackpub (an S3 proxy) to bugs.hksr.us.

This should fix #591.

I am not very proud of this. We should excise it from the codebase once we are done w/ pre-moztfest QA and not bring anything like it back until we can do it the Right way.

Example log:

```javascript
{"comments":"","log":[[0,"user-agent","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"],[0,"location","http://localhost:8000/en-US/editor"],[541,"credit","LOGGED_IN"],[567,"ajaxSuccess","http://fake-clopenbadger/v1/badges",200],[582,"change:earnedBadges",[]],[593,"ajaxSuccess","http://fake-clopenbadger/v1/user",200],[594,"change:earnedBadges",["FIRST_LOGIN"]],[605,"award",["FIRST_LOGIN"]],[611,"ajaxSuccess","http://fake-clopenbadger/v1/user/behavior/LOGGED_IN/credit",201],[812,"ajaxSuccess","/media/friendlycode/templates/default-content.html",200]]}
```

The numbers at the beginning of each log item are the number of ms passed since the page was loaded.