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

Side by Side Diff: LayoutTests/fast/hidpi/image-srcset-invalid-inputs-except-one-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 multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
2 CONSOLE ERROR: Dropped srcset candidate bar.jpg
3 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
4 CONSOLE ERROR: Dropped srcset candidate foo.jpg
5 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
6 CONSOLE ERROR: Dropped srcset candidate bar.jpg
7 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
8 CONSOLE ERROR: Dropped srcset candidate bar.jpg
9 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
10 CONSOLE ERROR: Dropped srcset candidate foo.jpg
11 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
12 CONSOLE ERROR: Dropped srcset candidate bar.jpg
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 bar.jpg
15 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
16 CONSOLE ERROR: Dropped srcset candidate foo.jpg
17 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
18 CONSOLE ERROR: Dropped srcset candidate bar.jpg
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 bar.jpg
21 CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown d escriptor.
22 CONSOLE ERROR: Dropped srcset candidate foo.jpg
23 CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
24 CONSOLE ERROR: Dropped srcset candidate bar.jpg
1 PASS successfullyParsed is true 25 PASS successfullyParsed is true
2 26
3 TEST COMPLETE 27 TEST COMPLETE
4 PASS document.getElementById("foo").clientWidth==200 is true 28 PASS document.getElementById("foo").clientWidth==200 is true
5 This test passes if the img tag below is a green square regardless of the scale factor. It ensures that invalid inputs are ignored and well-formed images are ch osen regardless of their qualifiers, once they are the only candidate left 29 This test passes if the img tag below is a green square regardless of the scale factor. It ensures that invalid inputs are ignored and well-formed images are ch osen regardless of their qualifiers, once they are the only candidate left
6 30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698