Home
last modified time | relevance | path

Searched refs:other_url (Results 1 – 25 of 57) sorted by relevance

123

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/cookies/
H A Dsite_for_cookies_unittest.cc42 for (const GURL& other_url : distinct) { in TestEquivalentAndDistinct() local
43 SiteForCookies other = SiteForCookies::FromUrl(other_url); in TestEquivalentAndDistinct()
46 base::StrCat({other_url.scheme(), "://", other_url.host(), "/"})); in TestEquivalentAndDistinct()
50 EXPECT_FALSE(equiv_a.IsFirstParty(other_url)) in TestEquivalentAndDistinct()
51 << equiv_a.ToDebugString() << " " << other_url.spec(); in TestEquivalentAndDistinct()
54 EXPECT_TRUE(other.IsFirstParty(other_url)); in TestEquivalentAndDistinct()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/permissions/
H A Dchrome_permission_manager_unittest.cc54 const GURL other_url("https://other.url"); in TEST_F() local
70 EXPECT_EQ(other_url, in TEST_F()
72 ContentSettingsType::GEOLOCATION, other_url, other_url)); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/search/
H A Dsearch.cc47 bool MatchesOrigin(const GURL& my_url, const GURL& other_url) { in MatchesOrigin() argument
48 return my_url.scheme_piece() == other_url.scheme_piece() && in MatchesOrigin()
49 my_url.host_piece() == other_url.host_piece() && in MatchesOrigin()
50 my_url.port() == other_url.port(); in MatchesOrigin()
59 bool MatchesOriginAndPath(const GURL& my_url, const GURL& other_url) { in MatchesOriginAndPath() argument
60 return MatchesOrigin(my_url, other_url) && in MatchesOriginAndPath()
61 my_url.path_piece() == other_url.path_piece(); in MatchesOriginAndPath()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/network/public/cpp/cors/
H A Dpreflight_cache_unittest.cc74 const GURL other_url("http://www.test.com/B"); in TEST_F() local
82 AppendEntry(origin, other_url, net::NetworkIsolationKey()); in TEST_F()
110 const GURL other_url("http://www.test.com/B"); in TEST_F() local
115 AppendEntry(origin, other_url, net::NetworkIsolationKey()); in TEST_F()
134 CheckEntryAndRefreshCache(origin, other_url, net::NetworkIsolationKey())); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/network/public/cpp/cors/
H A Dpreflight_cache_unittest.cc74 const GURL other_url("http://www.test.com/B"); in TEST_F() local
82 AppendEntry(origin, other_url, net::NetworkIsolationKey()); in TEST_F()
110 const GURL other_url("http://www.test.com/B"); in TEST_F() local
115 AppendEntry(origin, other_url, net::NetworkIsolationKey()); in TEST_F()
134 CheckEntryAndRefreshCache(origin, other_url, net::NetworkIsolationKey())); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/cookies/
H A Dsite_for_cookies_unittest.cc54 for (const GURL& other_url : distinct) { in TestEquivalentAndDistinct() local
55 SiteForCookies other = SiteForCookies::FromUrl(other_url); in TestEquivalentAndDistinct()
58 base::StrCat({other_url.scheme(), "://", other_url.host(), "/"})); in TestEquivalentAndDistinct()
62 EXPECT_FALSE(equiv_a.IsFirstParty(other_url)) in TestEquivalentAndDistinct()
63 << equiv_a.ToDebugString() << " " << other_url.spec(); in TestEquivalentAndDistinct()
66 EXPECT_TRUE(other.IsFirstParty(other_url)); in TestEquivalentAndDistinct()
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/tasks/gitlab/
H A Dweb_hook_rake_spec.rb49 let!(:other_url_hook) { create(:project_hook, url: other_url, project: project1) }
57 expect(hook_urls).to contain_exactly(other_url)
65 expect(hook_urls).to contain_exactly(other_url)
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/toolbar/
H A Dlocation_bar_model_unittest.cc248 const std::string other_url = "https://www.foo.com"; in TEST_F() local
254 controller->LoadURL(GURL(other_url), content::Referrer(), in TEST_F()
257 EXPECT_EQ(base::ASCIIToUTF16(other_url), in TEST_F()
263 EXPECT_EQ(base::ASCIIToUTF16(other_url), in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/browser/
H A Durl_loader_factory_manager_browsertest.cc365 GURL other_url("http://other.com"); local
366 EXPECT_FALSE(DoContentScriptsMatch_Tab1_FooFrame(other_url));
367 EXPECT_FALSE(DoContentScriptsMatch_Tab1_BarFrame(other_url));
368 EXPECT_FALSE(DoContentScriptsMatch_Tab1_FooBlankFrame(other_url));
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/browser/
H A Durl_loader_factory_manager_browsertest.cc366 GURL other_url("http://other.com"); local
367 EXPECT_FALSE(DoContentScriptsMatch_Tab1_FooFrame(other_url));
368 EXPECT_FALSE(DoContentScriptsMatch_Tab1_BarFrame(other_url));
369 EXPECT_FALSE(DoContentScriptsMatch_Tab1_FooBlankFrame(other_url));
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/media/
H A Dmedia_engagement_browsertest.cc653 const GURL& other_url = http_server().GetURL("/engagement_test_audio.html"); in IN_PROC_BROWSER_TEST_F() local
658 OpenTabAndWaitForPlayAndAudible(other_url); in IN_PROC_BROWSER_TEST_F()
668 const GURL& other_url = http_server_origin2().GetURL("/engagement_test.html"); in IN_PROC_BROWSER_TEST_F() local
673 OpenTabAndWaitForPlayAndAudible(other_url); in IN_PROC_BROWSER_TEST_F()
685 const GURL& other_url = http_server().GetURL("/engagement_test_audio.html"); in IN_PROC_BROWSER_TEST_F() local
690 OpenTabAndWaitForPlayAndAudible(other_url); in IN_PROC_BROWSER_TEST_F()
694 ASSERT_EQ(other_url, GetWebContents()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/
H A Dchild_process_security_policy_unittest.cc974 const GURL other_url(GetWebUIURL("not-thumb/")); in TEST_F() local
987 EXPECT_FALSE(p->CanCommitURL(kRendererID, other_url)); in TEST_F()
988 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1000 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1010 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1027 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1039 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1049 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1066 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1079 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/
H A Dchild_process_security_policy_unittest.cc977 const GURL other_url(GetWebUIURL("not-thumb/")); in TEST_F() local
990 EXPECT_FALSE(p->CanCommitURL(kRendererID, other_url)); in TEST_F()
991 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1003 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1013 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1030 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1042 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1052 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1069 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
1082 EXPECT_TRUE(p->CanRedirectToURL(other_url)); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/public/test/
H A Ddevtools_permission_overrides_unittest.cc188 Origin other_url = Origin::Create(GURL("https://pinterest.com/index.php")); in TEST() local
191 overrides.Set(other_url, PermissionType::GEOLOCATION, in TEST()
195 EXPECT_EQ(*overrides.Get(other_url, PermissionType::GEOLOCATION), in TEST()
200 EXPECT_EQ(*overrides.Get(other_url, PermissionType::GEOLOCATION), in TEST()
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/support/shared_examples/lib/sentry/
H A Dclient_shared_examples.rb17 let!(:redirected_req_stub) { stub_sentry_request(other_url) }
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/sessions/
H A Dsession_restore_browsertest.cc2276 url::Origin other_origin = url::Origin::Create(other_url); in IN_PROC_BROWSER_TEST_F()
2280 old_popup, content::JsReplace("location = $1", other_url))); in IN_PROC_BROWSER_TEST_F()
2283 EXPECT_EQ(other_url, old_popup->GetMainFrame()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_F()
2295 EXPECT_EQ(other_url, new_popup->GetMainFrame()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_F()
2329 url::Origin other_origin = url::Origin::Create(other_url); in IN_PROC_BROWSER_TEST_F()
2333 old_tab, content::JsReplace("location = $1", other_url))); in IN_PROC_BROWSER_TEST_F()
2336 EXPECT_EQ(other_url, old_tab->GetMainFrame()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_F()
2348 EXPECT_EQ(other_url, new_tab->GetMainFrame()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_F()
2402 url::Origin other_origin = url::Origin::Create(other_url); in IN_PROC_BROWSER_TEST_F()
2406 new_popup, content::JsReplace("location = $1", other_url))); in IN_PROC_BROWSER_TEST_F()
[all …]
H A Dtab_restore_browsertest.cc1466 GURL other_url = embedded_test_server()->GetURL("bar.com", "/title1.html"); in IN_PROC_BROWSER_TEST_F() local
1467 url::Origin other_origin = url::Origin::Create(other_url); in IN_PROC_BROWSER_TEST_F()
1471 old_popup, content::JsReplace("location = $1", other_url))); in IN_PROC_BROWSER_TEST_F()
1474 EXPECT_EQ(other_url, old_popup->GetMainFrame()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_F()
1492 EXPECT_EQ(other_url, new_popup->GetMainFrame()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_F()
/dports/devel/elixir-hex/hex-1.0.1/test/mix/tasks/
H A Dhex.repo_test.exs142 Mix.Tasks.Hex.Repo.run(["set", "reponame", "--url", "other_url"])
143 assert ["$repos": %{"reponame" => %{url: "other_url"}}] = Hex.Config.read()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/signin/
H A Dsignin_ui_util_unittest.cc463 GURL other_url = GURL("http://example.com"); in TEST_F() local
464 AddTab(browser(), other_url); in TEST_F()
466 ASSERT_EQ(other_url, tab_strip->GetActiveWebContents()->GetVisibleURL()); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/downgrade/
H A Duser_data_snapshot_browsertest.cc249 const bookmarks::BookmarkNode* other_url = in ValidateUserActions() local
251 EXPECT_EQ(other_url->GetTitledUrlNodeTitle(), other_url_title_); in ValidateUserActions()
252 EXPECT_EQ(other_url->url(), other_url_); in ValidateUserActions()
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/grafana/
H A Dclient_spec.rb25 let!(:redirected_req_stub) { stub_grafana_request(other_url) }
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/passwords/
H A Dwell_known_change_password_navigation_throttle_browsertest.cc506 const GURL& other_url,
535 const GURL& other_url, in CreateResponse() argument
546 other_facet->set_id(other_url.spec()); in CreateResponse()
/dports/www/py-django-cms/django-cms-3.7.1/cms/tests/
H A Dtest_publisher.py811 other_url = other.get_absolute_url()
824 self.assertEqual(page.get_absolute_url(), other_url + "page/")
825 self.assertEqual(child.get_absolute_url(), other_url + "page/child/")
827 self.assertEqual(page.publisher_public.get_absolute_url(), other_url + "page/")
828 self.assertEqual(child.publisher_public.get_absolute_url(), other_url + "page/child/")
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/permissions/
H A Dpermission_manager_unittest.cc183 const GURL& other_url() const { return other_url_; } in other_url() function in permissions::PermissionManagerTest
424 other_url(), url(), ContentSettingsType::GEOLOCATION, in TEST_F()
441 url(), other_url(), ContentSettingsType::STORAGE_ACCESS, in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/content_settings/
H A Dcontent_settings_browsertest.cc827 GURL other_url = embedded_test_server()->GetURL("b.com", "/title1.html"); in IN_PROC_BROWSER_TEST_F() local
842 ui_test_utils::NavigateToURL(browser(), other_url); in IN_PROC_BROWSER_TEST_F()
861 GURL other_url = embedded_test_server()->GetURL("b.com", "/title1.html"); in IN_PROC_BROWSER_TEST_F() local
873 ui_test_utils::NavigateToURL(browser(), other_url); in IN_PROC_BROWSER_TEST_F()

123