nsIWorkerChannelInfo.idl (847B)
1 /* -*- Mode: C++; 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/. */ 5 6 #include "nsISupports.idl" 7 8 webidl BrowsingContext; 9 10 [scriptable, builtinclass, uuid(bf9a175a-03bc-4d7b-ba2f-76347cf40d7b)] 11 interface nsIWorkerChannelLoadInfo : nsISupports 12 { 13 [infallible] attribute unsigned long long workerAssociatedBrowsingContextID; 14 [infallible] readonly attribute BrowsingContext workerAssociatedBrowsingContext; 15 }; 16 17 [scriptable, builtinclass, uuid(df1fffe4-dac6-487e-979a-629ac8c64831)] 18 interface nsIWorkerChannelInfo : nsISupports 19 { 20 attribute nsIWorkerChannelLoadInfo loadInfo; 21 [must_use] readonly attribute uint64_t channelId; 22 };