blob: 58dfe0d8c9386d597bc19aa80ced9ddb474504a8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script src="../../resources/js-test.js"></script>
<script>
description("This tests that storage methods throw exceptions when storage is disabled with reasonable messages.");
if (window.testRunner)
testRunner.setStorageAllowed(false);
shouldThrow('window.sessionStorage');
shouldThrow('window.localStorage');
</script>
</body>
</html>