Index: modules/storage/WindowStorage.idl |
diff --git a/modules/storage/WindowStorage.idl b/modules/storage/WindowStorage.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5ddd6173039f7bb8df19f5b6530c430a6ac78ed5 |
--- /dev/null |
+++ b/modules/storage/WindowStorage.idl |
@@ -0,0 +1,12 @@ |
+// 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; |
+}; |