dom/interfaces/core/nsIDOMCharacterData.idl

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     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 "nsIDOMNode.idl"
     8 /**
     9  * The nsIDOMCharacterData interface extends nsIDOMNode with a set of 
    10  * attributes and methods for accessing character data in the DOM.
    11  * 
    12  * For more information on this interface please see 
    13  * http://www.w3.org/TR/DOM-Level-2-Core/
    14  */
    16 [scriptable, uuid(84f72a38-1873-46f8-937c-1df22d7e7cae)]
    17 interface nsIDOMCharacterData : nsIDOMNode
    18 {
    19            attribute DOMString            data;
    20                                   // raises(DOMException) on setting
    21                                   // raises(DOMException) on retrieval
    23   readonly attribute unsigned long        length;
    24   DOMString                 substringData(in unsigned long offset, 
    25                                           in unsigned long count)
    26                                   raises(DOMException);
    27   void                      appendData(in DOMString arg)
    28                                   raises(DOMException);
    29   void                      insertData(in unsigned long offset, 
    30                                        in DOMString arg)
    31                                   raises(DOMException);
    32   void                      deleteData(in unsigned long offset, 
    33                                        in unsigned long count)
    34                                   raises(DOMException);
    35   void                      replaceData(in unsigned long offset, 
    36                                         in unsigned long count, 
    37                                         in DOMString arg)
    38                                   raises(DOMException);
    40   [binaryname(MozRemove)]
    41   void remove();
    42 };

mercurial