blob: 9c46221c2920f65855b18855c06a34e37d759e7b [file] [log] [blame]
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
UI DELEGATE APPLICATION CACHE CALLBACK: exceededApplicationCacheOriginQuotaForSecurityOrigin:{http, 127.0.0.1, 8000} totalSpaceNeeded:~30000
CONSOLE MESSAGE: Application Cache update failed, because size quota was exceeded.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
This test checks that per-origin application cache quotas are enforced.
This test sets the quota for the origin to 20kb, and attempts to fill it up with 2 iframes that are 13kb each. The application cache download process should fail on the 2nd iframe and the UI Delegate should be informed of the exceeded quota. Increasing the size to 40kb. A 3rd iframe is added, which should succeed.
PASS - cached iframe-1
PASS - error caching iframe-2 as expected
PASS - cached iframe-3