Home
last modified time | relevance | path

Searched refs:GetPrincipal (Results 1 – 25 of 975) sorted by relevance

12345678910>>...39

/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/Test/System.Web.UI.WebControls/
H A DRoleGroupTest.cs49 private IPrincipal GetPrincipal (string name) in GetPrincipal() method in MonoTests.System.Web.UI.WebControls.RoleGroupTest
54 private IPrincipal GetPrincipal (string name, string role) in GetPrincipal() method in MonoTests.System.Web.UI.WebControls.RoleGroupTest
120 Assert.IsFalse (rg.ContainsUser (GetPrincipal ("me")), "me"); in ContainsUser_NoRoles()
128 Assert.IsTrue (rg.ContainsUser (GetPrincipal ("me1", "mono")), "me+mono"); in ContainsUser_In()
129 Assert.IsTrue (rg.ContainsUser (GetPrincipal ("me2", "hackers")), "me+hackers"); in ContainsUser_In()
134 Assert.IsTrue (rg.ContainsUser (GetPrincipal ("me5", "MoNo")), "case+me+mono"); in ContainsUser_In()
135 Assert.IsTrue (rg.ContainsUser (GetPrincipal ("me6", "hAcKeRs")), "case+me+hackers"); in ContainsUser_In()
143 Assert.IsFalse (rg.ContainsUser (GetPrincipal ("me", "m0n0")), "m0n0"); in ContainsUser_Out()
144 Assert.IsFalse (rg.ContainsUser (GetPrincipal ("me", "h4ck")), "h4ck"); in ContainsUser_Out()
H A DRoleGroupCollectionTest.cs45 private IPrincipal GetPrincipal (string name) in GetPrincipal() method in MonoTests.System.Web.UI.WebControls.RoleGroupCollectionTest
50 private IPrincipal GetPrincipal (string name, string role) in GetPrincipal() method in MonoTests.System.Web.UI.WebControls.RoleGroupCollectionTest
116 RoleGroup result = rgc.GetMatchingRoleGroup (GetPrincipal ("me")); in GetMatchingRoleGroup_NoRoles()
119 result = rgc.GetMatchingRoleGroup (GetPrincipal ("me", "mono")); in GetMatchingRoleGroup_NoRoles()
133 RoleGroup result = rgc.GetMatchingRoleGroup (GetPrincipal ("me", "mono")); in GetMatchingRoleGroup_In()
137 result = rgc.GetMatchingRoleGroup (GetPrincipal ("me", "hackers")); in GetMatchingRoleGroup_In()
151 result = rgc.GetMatchingRoleGroup (GetPrincipal ("me", "MoNo")); in GetMatchingRoleGroup_In()
155 result = rgc.GetMatchingRoleGroup (GetPrincipal ("me", "hAcKeRs")); in GetMatchingRoleGroup_In()
170 RoleGroup result = rgc.GetMatchingRoleGroup (GetPrincipal ("me", "m0n0")); in ContainsUser_Out()
173 result = rgc.GetMatchingRoleGroup (GetPrincipal ("me", "h4ck")); in ContainsUser_Out()
H A DLoginNameTest.cs137 private IPrincipal GetPrincipal (string name) in GetPrincipal() method in MonoTests.System.Web.UI.WebControls.LoginNameTest
192 ln.Page = new ContextPage (GetPrincipal ("me")); in CacheIdentity()
194 ln.Page = new ContextPage (GetPrincipal ("you")); in CacheIdentity()
223 ContextPage page = new ContextPage (GetPrincipal (String.Empty)); in Render_Anonymous_IPrincipal()
235 ContextPage page = new ContextPage (GetPrincipal ("me")); in Render_User()
261 ContextPage page = new ContextPage (GetPrincipal ("me")); in Render_StringFormat()
271 ContextPage page = new ContextPage (GetPrincipal ("me")); in Render_StringFormat_Empty()
281 ContextPage page = new ContextPage (GetPrincipal ("me")); in Render_StringFormat_NoVar()
292 ContextPage page = new ContextPage (GetPrincipal ("me")); in Render_StringFormat_TwoVars()
/dports/www/firefox/firefox-99.0/toolkit/components/antitracking/test/gtest/
H A DTestStoragePrincipalHelper.cpp135 rv = StoragePrincipalHelper::GetPrincipal( in TEST()
142 rv = StoragePrincipalHelper::GetPrincipal( in TEST()
152 rv = StoragePrincipalHelper::GetPrincipal( in TEST()
181 rv = StoragePrincipalHelper::GetPrincipal( in TEST()
188 rv = StoragePrincipalHelper::GetPrincipal( in TEST()
198 rv = StoragePrincipalHelper::GetPrincipal( in TEST()
/dports/www/firefox-esr/firefox-91.8.0/dom/xhr/
H A DXMLHttpRequest.cpp43 net::CookieJarSettings::Create(principal->GetPrincipal()); in Constructor()
47 req->Construct(principal->GetPrincipal(), cookieJarSettings, false); in Constructor()
/dports/www/firefox/firefox-99.0/dom/xhr/
H A DXMLHttpRequest.cpp43 net::CookieJarSettings::Create(principal->GetPrincipal()); in Constructor()
47 req->Construct(principal->GetPrincipal(), cookieJarSettings, false); in Constructor()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/xhr/
H A DXMLHttpRequest.cpp43 net::CookieJarSettings::Create(principal->GetPrincipal()); in Constructor()
47 req->Construct(principal->GetPrincipal(), cookieJarSettings, false); in Constructor()
/dports/www/firefox-esr/firefox-91.8.0/dom/media/eme/
H A DMediaKeySystemAccessPermissionRequest.cpp31 if (!innerWindow->GetPrincipal()) { in NS_IMPL_CYCLE_COLLECTION_INHERITED()
42 : ContentPermissionRequestBase(aWindow->GetPrincipal(), aWindow, in MediaKeySystemAccessPermissionRequest()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/media/eme/
H A DMediaKeySystemAccessPermissionRequest.cpp32 if (!innerWindow->GetPrincipal()) { in NS_IMPL_CYCLE_COLLECTION_INHERITED()
44 aWindow->GetPrincipal(), aWindow, in MediaKeySystemAccessPermissionRequest()
/dports/www/firefox/firefox-99.0/dom/media/eme/
H A DMediaKeySystemAccessPermissionRequest.cpp31 if (!innerWindow->GetPrincipal()) { in NS_IMPL_CYCLE_COLLECTION_INHERITED()
42 : ContentPermissionRequestBase(aWindow->GetPrincipal(), aWindow, in MediaKeySystemAccessPermissionRequest()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/eme/
H A DMediaKeySystemAccessPermissionRequest.cpp31 if (!innerWindow->GetPrincipal()) { in NS_IMPL_CYCLE_COLLECTION_INHERITED()
42 : ContentPermissionRequestBase(aWindow->GetPrincipal(), aWindow, in MediaKeySystemAccessPermissionRequest()
/dports/www/firefox-esr/firefox-91.8.0/dom/storage/
H A DStorageNotifierService.cpp77 aEvent->GetPrincipal(), observer->GetEffectiveStoragePrincipal())) { in Broadcast()
91 event->GetPrincipal(), in Broadcast()
/dports/www/firefox/firefox-99.0/dom/storage/
H A DStorageNotifierService.cpp77 aEvent->GetPrincipal(), observer->GetEffectiveStoragePrincipal())) { in Broadcast()
91 event->GetPrincipal(), in Broadcast()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/storage/
H A DStorageNotifierService.cpp77 aEvent->GetPrincipal(), observer->GetEffectiveStoragePrincipal())) { in Broadcast()
91 event->GetPrincipal(), in Broadcast()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/storage/
H A DStorageNotifierService.cpp75 if (!StorageUtils::PrincipalsEqual(aEvent->GetPrincipal(), in Broadcast()
76 observer->GetPrincipal())) { in Broadcast()
/dports/www/firefox/firefox-99.0/dom/serviceworkers/
H A DServiceWorkerInterceptController.cpp53 controller.ref().GetPrincipal().unwrap(); in NS_IMPL_ISUPPORTS()
70 nsresult rv = StoragePrincipalHelper::GetPrincipal( in NS_IMPL_ISUPPORTS()
/dports/lang/spidermonkey60/firefox-60.9.0/js/xpconnect/src/
H A DXPCWrappedNativeScope.cpp114 nsIPrincipal* principal = GetPrincipal(); in XPCWrappedNativeScope()
148 nsIPrincipal* p = GetPrincipal(); in GetComponentsJSObject()
273 nsIPrincipal* principal = GetPrincipal(); in EnsureContentXBLScope()
296 nsContentUtils::AllowXULXBLForPrincipal(GetPrincipal())); in AllowContentXBLScope()
326 nsContentUtils::IsSystemPrincipal(nativeScope->GetPrincipal()); in GetScopeForXBLExecution()
365 MOZ_ASSERT(nsContentUtils::IsSystemPrincipal(GetPrincipal())); in EnsureAddonScope()
390 nsresult rv = CreateSandboxObject(cx, &v, GetPrincipal(), options); in EnsureAddonScope()
409 if (nativeScope->GetPrincipal() != nsXPConnect::SystemPrincipal()) { in GetAddonScope()
/dports/www/firefox-esr/firefox-91.8.0/dom/permission/
H A DPermissionObserver.cpp76 nsCOMPtr<nsIPrincipal> sinkPrincipal = sink->GetPrincipal(); in Notify()
100 perm->GetPrincipal(getter_AddRefs(principal)); in Observe()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/permission/
H A DPermissionObserver.cpp77 nsCOMPtr<nsIPrincipal> sinkPrincipal = sink->GetPrincipal(); in Notify()
101 perm->GetPrincipal(getter_AddRefs(principal)); in Observe()
/dports/www/firefox/firefox-99.0/dom/permission/
H A DPermissionObserver.cpp76 nsCOMPtr<nsIPrincipal> sinkPrincipal = sink->GetPrincipal(); in Notify()
100 perm->GetPrincipal(getter_AddRefs(principal)); in Observe()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/permission/
H A DPermissionObserver.cpp77 nsCOMPtr<nsIPrincipal> sinkPrincipal = sink->GetPrincipal(); in Notify()
101 perm->GetPrincipal(getter_AddRefs(principal)); in Observe()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/permission/
H A DPermissionObserver.cpp89 nsCOMPtr<nsIPrincipal> sinkPrincipal = sink->GetPrincipal(); in Notify()
115 perm->GetPrincipal(getter_AddRefs(principal)); in Observe()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/permission/
H A DPermissionObserver.cpp76 nsCOMPtr<nsIPrincipal> sinkPrincipal = sink->GetPrincipal(); in Notify()
100 perm->GetPrincipal(getter_AddRefs(principal)); in Observe()
/dports/www/firefox/firefox-99.0/toolkit/components/antitracking/
H A DStoragePrincipalHelper.h292 static nsresult GetPrincipal(nsIChannel* aChannel,
295 static nsresult GetPrincipal(nsPIDOMWindowInner* aWindow,
/dports/lang/spidermonkey60/firefox-60.9.0/dom/notification/
H A DNotification.cpp271 mWorkerPrivate->GetPrincipal(), result); in MainThreadRun()
507 NotificationPermissionRequest::GetPrincipal( in GetPrincipal() function in mozilla::dom::NotificationPermissionRequest
864 nsresult rv = GetOrigin(GetPrincipal(), alertName); in SetAlertName()
945 rv = GetOrigin(GetPrincipal(), origin); in PersistNotification()
980 nsresult rv = GetOrigin(GetPrincipal(), origin); in UnpersistNotification()
1050 nsIPrincipal* Notification::GetPrincipal() { in NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED()
1053 return mWorkerPrivate->GetPrincipal(); in NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED()
1057 return sop->GetPrincipal(); in NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED()
1542 nsIPrincipal* principal = GetPrincipal(); in ShowInternal()
1598 nsCOMPtr<nsIPrincipal> principal = sop->GetPrincipal(); in RequestPermission()
[all …]

12345678910>>...39