dom/interfaces/html/nsIDOMHTMLFrameElement.idl

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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 #include "nsIDOMHTMLElement.idl"
     8 /**
     9  * The nsIDOMHTMLFrameElement interface is the interface to a [X]HTML
    10  * frame element.
    11  *
    12  * This interface is trying to follow the DOM Level 2 HTML specification:
    13  * http://www.w3.org/TR/DOM-Level-2-HTML/
    14  *
    15  * with changes from the work-in-progress WHATWG HTML specification:
    16  * http://www.whatwg.org/specs/web-apps/current-work/
    17  */
    19 [scriptable, uuid(60ab25b9-3246-4f50-b0d4-21e73ba88cd6)]
    20 interface nsIDOMHTMLFrameElement : nsISupports
    21 {
    22            attribute DOMString        frameBorder;
    23            attribute DOMString        longDesc;
    24            attribute DOMString        marginHeight;
    25            attribute DOMString        marginWidth;
    26            attribute DOMString        name;
    27            attribute boolean          noResize;
    28            attribute DOMString        scrolling;
    29            attribute DOMString        src;
    30   // Introduced in DOM Level 2:
    31   readonly attribute nsIDOMDocument   contentDocument;
    32   readonly attribute nsIDOMWindow     contentWindow;
    33 };

mercurial