mozilla/localForage — pull request #322 by thgreasi (2014-12-12 08:34:57+00:00)
Title: fix(localStorageWrapper): fix early resolve of setItem for Blobs

Fix the early resolution of the setItem promise in case a Blob is used with localStorageDriver.
Wraps the _serialize call found in setItem method of localStorageDriver with a Promise.

Fixes #317.
Because of https://github.com/ariya/phantomjs/issues/11013 the Blob test does not currently run on PhantomJS. This will be fixed in PhantomJS v2.0. As a result, I used grunt serve + Firefox + Chrome to test on actual browsers. [Here](http://plnkr.co/edit/FA23NrkysU5prFwj0Yaj?p=preview) is a plunker based on the on provided by @ocombe in #317.