netwerk/base/nsIURIWithSpecialOrigin.idl
author Oana Pop Rus <opoprus@mozilla.com>
Fri, 19 Jul 2019 00:52:35 +0300
changeset 483372 bc0fdcef296f2d429e3f4b5f29e264ffc185163d
parent 429644 01533e16608569eeb2bbe413cb6cc892e912f12b
permissions -rw-r--r--
Merge inbound to mozilla-central. a=merge

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

interface nsIURI;

/**
 * nsIURIWithSpecialOrigin is implemented by URIs need to supply an origin that
 * does not match the spec. This is exclusively used in comm-central's Mailnews module.
 */
[scriptable, builtinclass, uuid(4f65569b-d6fc-4580-94d9-21e775658a2a)]
interface nsIURIWithSpecialOrigin : nsISupports
{
    /**
     * Special origin.
     */
    readonly attribute nsIURI origin;
};