https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 81cd21da1bc6a665a2b8a3439a065aa00dd5c14b authored by Aryeh Gregor on 26 October 2016, 13:20:08 UTC
Remove more numbers from test names
Tip revision: 81cd21d
local_change_item_iframe.html
<!DOCTYPE HTML>
<html>
  <body>
    <script>
        if (('localStorage' in window) && window.localStorage !== null){
            try {
                localStorage.setItem("name", "user1");
                localStorage.setItem("name", "user2");
            } catch (e) {
                parent.fail("setItem method is failed.");
            }
            localStorage.clear();
        } else {
            parent.fail("localStorage is not supported.");
        }
    </script>
  </body>
</html>
back to top