add test
This commit is contained in:
parent
2785a4cc48
commit
add7f8a4aa
2 changed files with 6 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue