From 3b224b2b26a553e575ebee805e3cc74c8f35e4b3 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Thu, 22 Oct 2020 20:43:08 +0000 Subject: [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. --- layout/reftests/image/reftest.list | 2 ++ layout/reftests/image/unknown-protocol-ref.html | 1 + layout/reftests/image/unknown-protocol.html | 1 + 3 files changed, 4 insertions(+) create mode 100644 layout/reftests/image/unknown-protocol-ref.html create mode 100644 layout/reftests/image/unknown-protocol.html (limited to 'layout/reftests') 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 @@ + 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 @@ + -- cgit v1.2.3