https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a50b8dadb93e9a7a20d2e31a7e5d0449ce37cd2c authored by Harald Alvestrand on 22 March 2018, 18:59:43 UTC
Add memory of last SDP offer/answer created
Tip revision: a50b8da
local_set_item_iframe.html
<!DOCTYPE HTML>
<html>
 <body>
    <script>
        if (('localStorage' in window) && window.localStorage !== null){
            try {
                localStorage.setItem("name", "user1");
            } catch (e) {
                parent.fail("setItem method is failed.");
            }
        } else {
            parent.fail("localStorage is not supported.");
        }
    </script>
 </body>
</html>
back to top