Revision 3a8328470d53c4501e31cec2775c4d33821c2275 authored by Robert Ma on 20 March 2018, 18:52:04 UTC, committed by Robert Ma on 20 March 2018, 20:32:14 UTC
* Renaming `check_stability.run` breaks commands.json and naming conventions, so rename the other `run` in that module instead. * Only return errors for empty results when we know for sure tests are affected.
1 parent 7e214e8
missing_arguments.html
<!DOCTYPE HTML>
<html>
<head>
<title>WebStorage Test: missing arguments</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<h1>missing_arguments</h1>
<div id="log"></div>
<script>
var tests = [
function() { localStorage.key(); },
function() { localStorage.getItem(); },
function() { localStorage.setItem(); },
function() { localStorage.setItem("a"); },
function() { localStorage.removeItem(); },
function() { sessionStorage.key(); },
function() { sessionStorage.getItem(); },
function() { sessionStorage.setItem(); },
function() { sessionStorage.setItem("a"); },
function() { sessionStorage.removeItem(); },
function() { new StorageEvent(); }
];
tests.forEach(function(fun) {
test(function() {
assert_throws(new TypeError(), fun);
}, "Should throw TypeError for " + format_value(fun) + ".");
});
</script>
</body>
</html>
Computing file changes ...