Bug 1067141 - Scratchpad Open File uses fallbackCharsetList on UTF-8 NS_ERROR_ILLEGAL_INPUT. r=fitzgen

---
 browser/devtools/scratchpad/scratchpad.js          |   75 +++++++++++++++++--
 .../scratchpad/test/NS_ERROR_ILLEGAL_INPUT.txt     |    2 +
 browser/devtools/scratchpad/test/browser.ini       |    2 +
 .../scratchpad/test/browser_scratchpad_open.js     |   27 +++++++-
 .../chrome/browser/devtools/scratchpad.properties  |    4 +
 5 files changed, 101 insertions(+), 9 deletions(-)
 create mode 100644 browser/devtools/scratchpad/test/NS_ERROR_ILLEGAL_INPUT.txt