blob: 5ddd6173039f7bb8df19f5b6530c430a6ac78ed5 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
ImplementedAs=DOMWindowStorage,
] partial interface Window {
// https://html.spec.whatwg.org/#the-sessionstorage-attribute
[LogActivity=GetterOnly, RaisesException=Getter] readonly attribute Storage sessionStorage;
// https://html.spec.whatwg.org/#the-localstorage-attribute
[LogActivity=GetterOnly, RaisesException=Getter] readonly attribute Storage localStorage;
};