| Index: LayoutTests/storage/quota/storagequota-request-persistent-quota.html
|
| diff --git a/LayoutTests/storage/quota/storagequota-request-persistent-quota.html b/LayoutTests/storage/quota/storagequota-request-persistent-quota.html
|
| index da350db14f21f78c88852feb2bd33bbfacb8494e..942b349e866b9903b5046da5092d540917fbf55e 100644
|
| --- a/LayoutTests/storage/quota/storagequota-request-persistent-quota.html
|
| +++ b/LayoutTests/storage/quota/storagequota-request-persistent-quota.html
|
| @@ -32,8 +32,11 @@ function runRequestQuotaTest() {
|
|
|
| function runRequestQuotaWithMisingArgumentTest() {
|
| debug("* Requesting persistent quota with missing argument.");
|
| - shouldThrow("navigator.storageQuota.requestPersistentQuota()");
|
| - runNextTest();
|
| + navigator.storageQuota.requestPersistentQuota().then(function() {
|
| + testFailed('resolved unexpectedly');
|
| + }, function(e) {
|
| + testPassed('rejected as expected: ' + e);
|
| + }).then(runNextTest);
|
| }
|
|
|
| function runRequestQuotaWithNegativeValueTest() {
|
|
|