summaryrefslogtreecommitdiffstats
path: root/layout/reftests
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-10-22 20:43:08 +0000
committerMoonchild <moonchild@palemoon.org>2020-10-24 10:38:35 +0000
commitd7a05ea9e50f7484d09caf93c554b4be0c9e887d (patch)
tree4daed2639a81534338b204f809d7d5af8cfe9f91 /layout/reftests
parent10bf4a6d5b651141171e648fde1b0ba25a87d37d (diff)
downloadUXP-d7a05ea9e50f7484d09caf93c554b4be0c9e887d.tar
UXP-d7a05ea9e50f7484d09caf93c554b4be0c9e887d.tar.gz
UXP-d7a05ea9e50f7484d09caf93c554b4be0c9e887d.tar.lz
UXP-d7a05ea9e50f7484d09caf93c554b4be0c9e887d.tar.xz
UXP-d7a05ea9e50f7484d09caf93c554b4be0c9e887d.zip
[DOM] When failing to create a channel and an image request, make sure to set
the image blocking status appropriately. This is the same status as we do for known no-data protocols and ensures we treat these two cases the same.
Diffstat (limited to 'layout/reftests')
-rw-r--r--layout/reftests/image/reftest.list2
-rw-r--r--layout/reftests/image/unknown-protocol-ref.html1
-rw-r--r--layout/reftests/image/unknown-protocol.html1
3 files changed, 4 insertions, 0 deletions
diff --git a/layout/reftests/image/reftest.list b/layout/reftests/image/reftest.list
index 1a610811d..0eddb61fc 100644
--- a/layout/reftests/image/reftest.list
+++ b/layout/reftests/image/reftest.list
@@ -126,3 +126,5 @@ fuzzy(1,1) == image-orientation-background.html?90&flip image-orientation-r
== image-resize-percent-height.html image-resize-ref.html
== image-resize-percent-width.html image-resize-ref.html
+
+== unknown-protocol.html unknown-protocol-ref.html
diff --git a/layout/reftests/image/unknown-protocol-ref.html b/layout/reftests/image/unknown-protocol-ref.html
new file mode 100644
index 000000000..b5bb326ee
--- /dev/null
+++ b/layout/reftests/image/unknown-protocol-ref.html
@@ -0,0 +1 @@
+<img src="mailto://foo">
diff --git a/layout/reftests/image/unknown-protocol.html b/layout/reftests/image/unknown-protocol.html
new file mode 100644
index 000000000..ef06881b7
--- /dev/null
+++ b/layout/reftests/image/unknown-protocol.html
@@ -0,0 +1 @@
+<img src="foobar://baz">