tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

AnonymousContent.webidl (670B)


      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 file,
      4 * You can obtain one at http://mozilla.org/MPL/2.0/.
      5 */
      6 
      7 /*
      8 * This file declares the AnonymousContent interface which is used to
      9 * manipulate content that has been inserted into the document's canvasFrame
     10 * anonymous container. See Document.insertAnonymousContent.
     11 * Users of this API must never remove the host of the shadow root.
     12 */
     13 
     14 [ChromeOnly, Exposed=Window]
     15 interface AnonymousContent {
     16  readonly attribute ShadowRoot root;
     17 };