Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt

Issue 481753002: Use Shadow DOM to display fallback content for images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6df0a6a7e902ded16773cf3a5fa34d38f2978799
--- /dev/null
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/image-blocked-alt-content-expected.txt
@@ -0,0 +1,19 @@
+CONSOLE ERROR: Refused to load the image 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABO0lEQVR4XpWRTytEYRTG3/tHLGQrNfEBpKQkmc8gG0ulxpRsfQ0TTXbI3kZ2ys4tsyBZjN1N8idlYUYaxJzzOKf7ztG1MfN0ens69/x6n/eeYPuo7npS9bCOriXDMQOCTVbO3X+6Wp9mICZWAHqquE1qAA8EQRiFcmYMsQKsAHM2DeKV4qj48ZHB++bHwcXTQ+Mz6u/rABwSIQO0wKW5wuLU8E5yWzlJS7OFvaUJMGelAFkkYici1NIXB4DQbH1JY2ggVoD4N1Kb2AAA149vUmLLxbHaTaNynIJggAz7G7jTyjB5wOv79/LupT47Cu0rcT6S/ai755YUiMM4cgw4/I3ERAaI3y/PiFnYPHOBtfORLKX38AaBERaJbHFeAOY3Eu8ZOYByi7Pl+hzWN+nwWjVB15LhYHXr1PWiH0AYTw4BBjO9AAAAAElFTkSuQmCC' because it violates the following Content Security Policy directive: "img-src 'self'".
+
+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"

Powered by Google App Engine
This is Rietveld 408576698