Skip to main content

install_local_storage

Function install_local_storage 

Source
pub fn install_local_storage(
    cx: &mut JSContext,
    global: Handle<'_, *mut JSObject>,
)
Expand description

Install localStorage on the global (CLI surface; browser pages keep servo’s own implementation, so installation only fills a missing slot).