1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 // object contains either a CollectedFileListValue or a CollectedNonMultipleSelectValue or Sequence<DOMString>
7 typedef (DOMString or boolean or object) FormDataValue;
9 [ChromeOnly, Exposed=Window]
10 interface SessionStoreFormData {
12 readonly attribute ByteString? url;
15 readonly attribute record<DOMString, FormDataValue>? id;
18 readonly attribute record<DOMString, FormDataValue>? xpath;
21 readonly attribute DOMString? innerHTML;
23 [Cached, Frozen, Pure]
24 readonly attribute sequence<SessionStoreFormData?>? children;
29 [GenerateConversionToJS]
30 dictionary SessionStoreDisplaySize {
35 [GenerateConversionToJS]
36 dictionary SessionStoreZoomData {
38 SessionStoreDisplaySize displaySize;
41 [ChromeOnly, Exposed=Window]
42 interface SessionStoreScrollData {
44 readonly attribute ByteString? scroll;
47 readonly attribute sequence<SessionStoreScrollData?>? children;
52 [GenerateConversionToJS]
53 dictionary UpdateSessionStoreData {
54 // This is docshell caps, but on-disk format uses the disallow property name.
57 SessionStoreFormData? formdata;
58 SessionStoreScrollData? scroll;