Home | History | Annotate | Download | only in browser

Lines Matching defs:referrer

62   // Returns the expected title for the tab with the given (full) referrer and
66 std::string referrer;
69 referrer = "Referrer is empty";
72 referrer = "Referrer is " + url.spec();
75 referrer = "Referrer is " + url.GetWithEmptyPath().spec();
78 return base::ASCIIToUTF16(referrer);
130 // reported referrer matches the expectation.
132 // referrer_policy: The referrer policy to test.
139 // expected_referrer: The kind of referrer to expect.
155 std::string("files/referrer-policy-start.html?") + "policy=" +
214 // The basic behavior of referrer policies is covered by layout tests in
215 // http/tests/security/referrer-policy-*. These tests cover (hopefully) all
500 // Tests history navigation actions: Navigate from A to B with a referrer
545 // the referrer.
569 // Test that an iframes gets the parent frames referrer and referrer policy if
585 std::string("files/referrer-policy-iframe.html?") +
589 // Verify that the referrer policy was honored and the main page's origin was
590 // send as referrer.
598 EXPECT_EQ("Referrer is " + ssl_test_server_->GetURL(std::string()).spec(),
612 // Verify that the full url of the iframe was used as referrer.
617 EXPECT_EQ("Referrer is " +
618 test_server_->GetURL("files/referrer-policy-log.html").spec(),