Commit 8f5d075c authored by Wim Leers's avatar Wim Leers Committed by Wim Leers
Browse files

Issue #3290829 by Wim Leers: Remove conditional CSS/JS test coverage

parent 3570fa10
Loading
Loading
Loading
Loading
−8
Changes for tests/src/Functional/LinkHeaderTest.php: 0 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -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);
  }

}