diff options
author | wangxianzhu@chromium.org <wangxianzhu@chromium.org> | 2014-12-10 19:57:52 +0000 |
---|---|---|
committer | wangxianzhu@chromium.org <wangxianzhu@chromium.org> | 2014-12-10 19:57:52 +0000 |
commit | aca4a20d7355e8244c146fe878f58ace3d37bf3e (patch) | |
tree | 25c32045f8ebf13fc9f53816856be289ad4b007a /third_party/WebKit/LayoutTests/platform/linux/http/tests | |
parent | 2904a72b41d8d1f39d4f0931b443e2c5a7c0d7dc (diff) | |
download | chromium_src-aca4a20d7355e8244c146fe878f58ace3d37bf3e.zip chromium_src-aca4a20d7355e8244c146fe878f58ace3d37bf3e.tar.gz chromium_src-aca4a20d7355e8244c146fe878f58ace3d37bf3e.tar.bz2 |
Auto-rebaseline for r186800
http://src.chromium.org/viewvc/blink?view=revision&revision=186800
BUG=419101
TBR=robhogan@gmail.com
Review URL: https://codereview.chromium.org/792883004
git-svn-id: svn://svn.chromium.org/blink/trunk@186873 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/platform/linux/http/tests')
2 files changed, 27 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt new file mode 100644 index 0000000..bce9ddb --- /dev/null +++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt @@ -0,0 +1,17 @@ +layer at (0,0) size 800x600 + RenderView at (0,0) size 800x600 +layer at (0,0) size 800x91 + RenderBlock {HTML} at (0,0) size 800x91 + RenderBody {BODY} at (8,8) size 784x75 + RenderText {#text} at (0,0) size 758x19 + text run at (0,0) width 758: "This test shows what alt content looks like when an image errors out on a page with a CSP that blocks data: URIs for images. " + RenderBlock {IMG} at (0,20) size 50x50 + RenderText {#text} at (0,0) size 0x0 +layer at (8,28) size 50x50 clip at (9,29) size 48x48 + RenderBlock {DIV} at (0,0) size 50x50 [border: (1px solid #C0C0C0)] + RenderImage {IMG} at (2,2) size 16x16 +layer at (26,30) size 30x40 + RenderBlock {DIV} at (18,2) size 30x40 + RenderText {#text} at (0,0) size 22x39 + text run at (0,0) width 14: "alt" + text run at (0,20) width 22: "text" diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-expected.txt new file mode 100644 index 0000000..8193404 --- /dev/null +++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-expected.txt @@ -0,0 +1,10 @@ +CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/. +CONSOLE ERROR: line 18: Refused to load the image 'http://127.0.0.1:8000/security/resources/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'". + +PingLoader dispatched to 'http://localhost:8080/security/contentSecurityPolicy/resources/save-report.php?test=report-cross-origin-no-cookies.html'. +CSP report received: +CONTENT_TYPE: application/csp-report +HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-cross-origin-no-cookies.html +REQUEST_METHOD: POST +=== POST DATA === +{"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPolicy/report-cross-origin-no-cookies.html","referrer":"","violated-directive":"img-src 'none'","effective-directive":"img-src","original-policy":"img-src 'none'; report-uri http://localhost:8080/security/contentSecurityPolicy/resources/save-report.php?test=report-cross-origin-no-cookies.html","blocked-uri":"http://127.0.0.1:8000/security/resources/abe.png","status-code":200}} |