This commit is contained in:
deepak1556 2015-05-12 18:03:00 +05:30
parent 2785a4cc48
commit add7f8a4aa
2 changed files with 6 additions and 1 deletions

View file

@ -20,7 +20,6 @@
#include "chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h"
#include "chrome/browser/speech/tts_message_filter.h"
#include "content/public/browser/browser_ppapi_host.h"
#include "content/public/browser/quota_permission_context.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/resource_dispatcher_host.h"

View file

@ -82,3 +82,9 @@ describe 'chromium feature', ->
iframe.onload = ->
assert.equal iframe.contentWindow.test, 'undefined undefined undefined'
done()
describe 'storage', ->
it 'requesting persitent quota works', (done) ->
navigator.webkitPersistentStorage.requestQuota 1024 * 1024, (grantedBytes) ->
assert.equal grantedBytes, 1048576
done()