[Chromium] webkitStorageInfo methods (for quota API) should not crash when error callback is not given.
webkitStorageInfo.queryUsageAndQuota() and webkitStorageInfo.requestQuota() take error callback as optional argument, but it crashes when null is given as the error callback.
Created attachment 95518 [details]
Comment on attachment 95518 [details]
Why the patch has no test?
Created attachment 95542 [details]
Added tests. (We have not added DRT/test-shell support for quota API yet and it is chromium-only fix, so the test is currently marked to be skipped everywhere for now.)
Comment on attachment 95542 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=95542&action=review
> + * storage/storageinfo-query-usage.html: Removed unnecessary js inclusion.
> + * storage/storageinfo-request-quota.html: Removed unnecessary js inclusion.
Are they related to this bug?
> +<script src="script-tests/storageinfo-no-callbacks.js"></script>
nit: We may merge the .js file to this.
Created attachment 95544 [details]
Comment on attachment 95544 [details]
Committed r87772: <http://trac.webkit.org/changeset/87772>