Changeset 195374 in webkit


Ignore:
Timestamp:
Jan 20, 2016 1:32:05 PM (8 years ago)
Author:
dbates@webkit.org
Message:

CSP: Add tests to ensure that alternative text of an image is rendered when CSP blocks its load
https://bugs.webkit.org/show_bug.cgi?id=153280

Reviewed by Alexey Proskuryakov.

These tests were inspired by the Blink test
<https://src.chromium.org/viewvc/blink/trunk/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content.html?revision=186800>.

  • http/tests/security/contentSecurityPolicy/image-blocked-alt-text-expected.html: Added.
  • http/tests/security/contentSecurityPolicy/image-blocked-alt-text.html: Added.
  • http/tests/security/contentSecurityPolicy/image-data-URL-blocked-alt-text-expected.html: Added.
  • http/tests/security/contentSecurityPolicy/image-data-URL-blocked-alt-text.html: Added.
Location:
trunk/LayoutTests
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r195367 r195374  
     12016-01-20  Daniel Bates  <dabates@apple.com>
     2
     3        CSP: Add tests to ensure that alternative text of an image is rendered when CSP blocks its load
     4        https://bugs.webkit.org/show_bug.cgi?id=153280
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        These tests were inspired by the Blink test
     9        <https://src.chromium.org/viewvc/blink/trunk/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content.html?revision=186800>.
     10
     11        * http/tests/security/contentSecurityPolicy/image-blocked-alt-text-expected.html: Added.
     12        * http/tests/security/contentSecurityPolicy/image-blocked-alt-text.html: Added.
     13        * http/tests/security/contentSecurityPolicy/image-data-URL-blocked-alt-text-expected.html: Added.
     14        * http/tests/security/contentSecurityPolicy/image-data-URL-blocked-alt-text.html: Added.
     15
    1162016-01-20  Daniel Bates  <dabates@apple.com>
    217
Note: See TracChangeset for help on using the changeset viewer.