diff --git a/priority-hints/img-attr-named-constructor.tentative.html b/priority-hints/img-attr-named-constructor.tentative.html index d9dd22a9c5de2c..ce677ccc177b6c 100644 --- a/priority-hints/img-attr-named-constructor.tentative.html +++ b/priority-hints/img-attr-named-constructor.tentative.html @@ -19,6 +19,8 @@ assert_equals(img5.importance, "auto", "missing importance reflects as 'auto' IDL attribute on the image element"); }, "importance attribute on elements should reflect valid IDL values"); - const img = new Image(); - assert_equals(img.importance, "auto"); + test(() => { + const img = new Image(); + assert_equals(img.importance, "auto"); + }, "importance of new Image() is 'auto'");