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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/hidpi/image-srcset-invalid-inputs-except-one-expected.txt
diff --git a/LayoutTests/fast/hidpi/image-srcset-invalid-inputs-except-one-expected.txt b/LayoutTests/fast/hidpi/image-srcset-invalid-inputs-except-one-expected.txt
index 8ec35218957ddc42ff4b55cee323aeaa68d9645c..e54c863cb0adef0dff045ea10ff5da45bf63abf5 100644
--- a/LayoutTests/fast/hidpi/image-srcset-invalid-inputs-except-one-expected.txt
+++ b/LayoutTests/fast/hidpi/image-srcset-invalid-inputs-except-one-expected.txt
@@ -1,3 +1,27 @@
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
+CONSOLE ERROR: Dropped srcset candidate bar.jpg
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown descriptor.
+CONSOLE ERROR: Dropped srcset candidate foo.jpg
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
+CONSOLE ERROR: Dropped srcset candidate bar.jpg
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
+CONSOLE ERROR: Dropped srcset candidate bar.jpg
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown descriptor.
+CONSOLE ERROR: Dropped srcset candidate foo.jpg
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
+CONSOLE ERROR: Dropped srcset candidate bar.jpg
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
+CONSOLE ERROR: Dropped srcset candidate bar.jpg
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown descriptor.
+CONSOLE ERROR: Dropped srcset candidate foo.jpg
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
+CONSOLE ERROR: Dropped srcset candidate bar.jpg
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has multiple 'h' descriptors or a mix of 'x' and 'h' descriptors.
+CONSOLE ERROR: Dropped srcset candidate bar.jpg
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since it has an unknown descriptor.
+CONSOLE ERROR: Dropped srcset candidate foo.jpg
+CONSOLE ERROR: Failed parsing 'srcset' attribute value since its 'x' descriptor is invalid.
+CONSOLE ERROR: Dropped srcset candidate bar.jpg
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698