From a68656524d84c95eb309965fe316397029d01eda Mon Sep 17 00:00:00 2001 From: nupurbaghel Date: Sun, 22 Jul 2018 20:20:18 +0530 Subject: [PATCH] adding tests --- tests/wpt/metadata/MANIFEST.json | 10 ++++++++ .../the-img-element/null-image-source.html | 23 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/null-image-source.html diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 51ada8ced2782..e4e9f2203e03a 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -346299,6 +346299,12 @@ {} ] ], + "html/semantics/embedded-content/the-img-element/null-image-source.html": [ + [ + "/html/semantics/embedded-content/the-img-element/null-image-source.html", + {} + ] + ], "html/semantics/embedded-content/the-img-element/relevant-mutations.html": [ [ "/html/semantics/embedded-content/the-img-element/relevant-mutations.html", @@ -585444,6 +585450,10 @@ "3752b0f4f5b31ca0bf55b99a400dd8cd7a12b8a7", "testharness" ], + "html/semantics/embedded-content/the-img-element/null-image-source.html": [ + "51f18333486ef4d560c57437255a1b0ada784a59", + "testharness" + ], "html/semantics/embedded-content/the-img-element/relevant-mutations.html": [ "3b4171a783f97facca39bcc342df253597876412", "testharness" diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/null-image-source.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/null-image-source.html new file mode 100644 index 0000000000000..a0c01d288dbea --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/null-image-source.html @@ -0,0 +1,23 @@ + + +Loading a null image source with empty src, empty srcset or having parent picture should fire an error + + +
+ + + +