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

Side by Side Diff: LayoutTests/fast/hidpi/image-srcset-invalid-descriptor-expected.txt

Issue 649183007: Add console errors and usecounter when srcset candidates are dropped (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: improved log messages Created 6 years, 2 months 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 unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
2 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
3 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
4 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
5 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
6 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
7 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
8 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
9 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'w' descriptors or a mix of 'x' and 'w' descriptors.
10 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
11 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'w' descriptors or a mix of 'x' and 'w' descriptors.
12 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
13 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
14 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
15 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
16 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
17 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
18 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
19 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
20 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
21 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'w' descriptors or a mix of 'x' and 'w' descriptors.
22 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
23 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'w' descriptors or a mix of 'x' and 'w' descriptors.
24 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
25 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'w' descriptor is invalid.
26 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
27 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'w' descriptor is invalid.
28 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
29 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'h' descriptor is invalid.
30 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
31 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'h' descriptor is invalid.
32 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
33 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
34 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
35 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
36 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
37 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an 'h' descr iptor and no 'w' descriptor.
38 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
39 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an 'h' descr iptor and no 'w' descriptor.
40 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
41 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
42 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
43 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
44 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
45 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
46 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
47 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
48 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
49 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'w' descriptors or a mix of 'x' and 'w' descriptors.
50 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
51 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'w' descriptors or a mix of 'x' and 'w' descriptors.
52 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
53 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
54 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
55 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
56 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
57 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
58 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
59 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
60 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
61 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'w' descriptors or a mix of 'x' and 'w' descriptors.
62 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
63 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'w' descriptors or a mix of 'x' and 'w' descriptors.
64 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
65 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'w' descriptor is invalid.
66 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
67 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'w' descriptor is invalid.
68 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
69 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'h' descriptor is invalid.
70 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
71 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'h' descriptor is invalid.
72 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
73 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
74 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
75 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
76 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
77 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an 'h' descr iptor and no 'w' descriptor.
78 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
79 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an 'h' descr iptor and no 'w' descriptor.
80 CONSOLE ERROR: Dropped srcset candidate resources/blue-100-px-square.png
1 PASS successfullyParsed is true 81 PASS successfullyParsed is true
2 82
3 TEST COMPLETE 83 TEST COMPLETE
4 PASS document.getElementById("foo").clientWidth==200 is true 84 PASS document.getElementById("foo").clientWidth==200 is true
5 PASS document.getElementById("foo2").clientWidth==200 is true 85 PASS document.getElementById("foo2").clientWidth==200 is true
86 PASS document.getElementById("foo3").clientWidth==200 is true
87 PASS document.getElementById("foo4").clientWidth==200 is true
88 PASS document.getElementById("foo5").clientWidth==200 is true
89 PASS document.getElementById("foo6").clientWidth==200 is true
90 PASS document.getElementById("foo7").clientWidth==200 is true
91 PASS document.getElementById("foo8").clientWidth==200 is true
92 PASS document.getElementById("foo9").clientWidth==200 is true
93 PASS document.getElementById("foo10").clientWidth==200 is true
6 This test passes if the image below is a 200px green square when the deviceScale Factor is 1. 94 This test passes if the image below is a 200px green square when the deviceScale Factor is 1.
7 It tests that the 1x resource is ignored since it contains invalid descriptors. 95 It tests that the 1x resource is ignored since it contains invalid descriptors.
8 The 2x resource has an intrinsic width of 200px, since it's a 400px wide image a t 2x DPR. 96 The 2x resource has an intrinsic width of 200px, since it's a 400px wide image a t 2x DPR.
9 97
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698