1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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
"nsISupports.idl"
9 * Represents an object with a name, such as a runnable or a timer.
12 [scriptable
, uuid(0c5fe7de
-7e83
-4d0d
-a8a6
-4a6518b9a7b3
)]
13 interface nsINamed
: nsISupports
16 * A string describing the purpose of the runnable/timer/whatever. Useful
17 * for debugging. This attribute is read-only, but you can change it to a
18 * compile-time string literal with setName.
20 * WARNING: This attribute will be included in telemetry, so it should
21 * never contain privacy sensitive information.
23 readonly attribute AUTF8String name
;