/* *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Private "control" methods on the Window Watcher. These are annoying bookkeepingmethods,notpartofthepublic(embedding)interface.
*/
#include"nsISupports.idl"
%{ C++ #include"mozilla/dom/UserActivation.h" class nsDocShellLoadState; namespace mozilla::dom { class WindowFeatures;
}
%}
@noteThismethodmayexaminetheJScontextstackforpurposesof determiningthesecuritycontexttouseforthesearchforagiven windownamedaName. @noteThismethodshouldtrytosetthedefaultcharsetforthenew windowtothedefaultcharsetofthedocumentinthecallingwindow (whichisdeterminedbasedontheJSstackandthevalueof aParent).Thisisnotguaranteed,however.
*/
[noscript]
BrowsingContext openWindow2(in mozIDOMWindowProxy aParent, in nsIURI aUri,
in ACString aName, in ACString aFeatures,
in UserActivationModifiersRef aModifiers,
in boolean aCalledFromScript,
in boolean aDialog,
in boolean aNavigate,
in nsIArray aArgs,
in boolean aIsPopupSpam,
in boolean aForceNoOpener,
in boolean aForceNoReferrer,
in nsPIWindowWatcher_PrintKind aPrintKind,
in nsDocShellLoadStatePtr aLoadState);
/** *OpensanewwindowsothatthewindowthataOpeningTabbelongsto *issetastheparentwindow.Thenewlyopenedwindowwillalso *inheritloadcontextinformationfromaOpeningTab. * *@paramaOpeningTab *ThensIRemoteTabthatisrequestingthenewwindowbeopened. *@paramaFeatures *Windowfeaturesifcalledwithwindow.openorsimilar. *@paramaModifiers *Themodifiersassociatedwiththeuseractivation,or *UserActivation::Modifiers::None()ifthisisnotinitiatedby *useractivation. *@paramaCalledFromJS *Trueifcalledviawindow.openorsimilar. *@paramaOpenerFullZoom *Thecurrentzoommultiplierfortheopenertab.Thisisthen *appliedtothenewlyopenedwindow. *@paramaOpenWindowInfo *Informationusedtocreatetheinitialcontentbrowserinthenew *window. * *@returnthensIRemoteTaboftheinitialbrowserforthenewlyopened *window.
*/
nsIRemoteTab openWindowWithRemoteTab(in nsIRemoteTab aOpeningTab,
in WindowFeaturesRef aFeatures,
in UserActivationModifiersRef aModifiers,
in boolean aCalledFromJS,
in float aOpenerFullZoom,
in nsIOpenWindowInfo aOpenWindowInfo);
};
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.