Loading tests/src/Functional/LinkHeaderTest.php −8 Changes for tests/src/Functional/LinkHeaderTest.php: 0 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -66,14 +66,6 @@ class LinkHeaderTest extends BrowserTestBase { // Assert that the expected Server Push Link response headers are present. $this->assertSame($expected_link_response_headers, $session->getResponseHeaders()['Link']); // @todo test more explicitly that browser-conditional CSS and JS does not get a Server Push Link header. This is a bit difficult because DOMXPath automatically ignores this HTML. $conditional_script_html = <<<HTML <!--[if lte IE 8]> <script HTML; $this->assertSession()->responseContains($conditional_script_html); } } Loading
tests/src/Functional/LinkHeaderTest.php −8 Changes for tests/src/Functional/LinkHeaderTest.php: 0 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -66,14 +66,6 @@ class LinkHeaderTest extends BrowserTestBase { // Assert that the expected Server Push Link response headers are present. $this->assertSame($expected_link_response_headers, $session->getResponseHeaders()['Link']); // @todo test more explicitly that browser-conditional CSS and JS does not get a Server Push Link header. This is a bit difficult because DOMXPath automatically ignores this HTML. $conditional_script_html = <<<HTML <!--[if lte IE 8]> <script HTML; $this->assertSession()->responseContains($conditional_script_html); } }