From dfe528198d363ebc883da84dc816bce112ecd24b Mon Sep 17 00:00:00 2001 From: crowlKats <13135287+crowlKats@users.noreply.github.com> Date: Mon, 10 May 2021 12:02:47 +0200 Subject: feat: add WebStorage API (#7819) This commit introduces localStorage and sessionStorage. --- tools/wpt/expectation.json | 60 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) (limited to 'tools/wpt/expectation.json') diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index 983f73e53..afdc0cb1f 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -1064,6 +1064,66 @@ } } }, + "webstorage": { + "defineProperty.window.html": true, + "set.window.html": true, + "storage_enumerate.window.html": true, + "storage_in.window.html": true, + "event_constructor.window.html": false, + "event_initstorageevent.window.html": false, + "missing_arguments.window.html": true, + "storage_builtins.window.html": true, + "storage_clear.window.html": true, + "storage_functions_not_overwritten.window.html": true, + "storage_getitem.window.html": true, + "storage_indexing.window.html": true, + "storage_key.window.html": true, + "storage_key_empty_string.window.html": true, + "storage_length.window.html": true, + "storage_local_setitem_quotaexceedederr.window.html": true, + "storage_local_window_open.window.html": false, + "storage_removeitem.window.html": true, + "storage_session_setitem_quotaexceedederr.window.html": true, + "storage_session_window_noopener.window.html": false, + "storage_session_window_open.window.html": false, + "storage_set_value_enumerate.window.html": true, + "storage_setitem.window.html": [ + "localStorage[\"\ud800\"]", + "localStorage[] = \"\ud800\"", + "localStorage[\"\udbff\"]", + "localStorage[] = \"\udbff\"", + "localStorage[\"\udc00\"]", + "localStorage[] = \"\udc00\"", + "localStorage[\"\udfff\"]", + "localStorage[] = \"\udfff\"", + "localStorage[\"\\ufffd\"]", + "localStorage[] = \"\\ufffd\"", + "localStorage[\"\ud83ca\"]", + "localStorage[] = \"\ud83ca\"", + "localStorage[\"a\udf4d\"]", + "localStorage[] = \"a\udf4d\"", + "sessionStorage[\"\ud800\"]", + "sessionStorage[] = \"\ud800\"", + "sessionStorage[\"\udbff\"]", + "sessionStorage[] = \"\udbff\"", + "sessionStorage[\"\udc00\"]", + "sessionStorage[] = \"\udc00\"", + "sessionStorage[\"\udfff\"]", + "sessionStorage[] = \"\udfff\"", + "sessionStorage[\"\\ufffd\"]", + "sessionStorage[] = \"\\ufffd\"", + "sessionStorage[\"\ud83ca\"]", + "sessionStorage[] = \"\ud83ca\"", + "sessionStorage[\"a\udf4d\"]", + "sessionStorage[] = \"a\udf4d\"" + ], + "storage_string_conversion.window.html": true, + "storage_supported_property_names.window.html": true, + "symbol-props.window.html": [ + "localStorage: defineProperty not configurable", + "sessionStorage: defineProperty not configurable" + ] + }, "xhr": { "formdata": { "append.any.html": true, -- cgit v1.2.3