| Index: LayoutTests/imported/web-platform-tests/webstorage/storage_key_empty_string.html
|
| diff --git a/LayoutTests/imported/web-platform-tests/webstorage/storage_key_empty_string.html b/LayoutTests/imported/web-platform-tests/webstorage/storage_key_empty_string.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..161a3f35f21bd45639dcd1ca259a9839fbe1a8fb
|
| --- /dev/null
|
| +++ b/LayoutTests/imported/web-platform-tests/webstorage/storage_key_empty_string.html
|
| @@ -0,0 +1,20 @@
|
| +<!DOCTYPE html>
|
| +<meta charset="utf-8">
|
| +<title>WebStorage Test: Storage - key with empty string</title>
|
| +<link rel="author" title="Intel" href="http://www.intel.com">
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +<div id="log"></div>
|
| +<script>
|
| + ["localStorage", "sessionStorage"].forEach(function(name) {
|
| + test(function () {
|
| + var storage = window[name];
|
| + storage.clear();
|
| +
|
| + storage.setItem("", "empty string");
|
| + assert_equals(storage.getItem(""), "empty string");
|
| +
|
| + }, name + ".key with empty string");
|
| + });
|
| +</script>
|
| +
|
|
|