diff --git a/html/canvas/element/manual/layers/unclosed-layers.html b/html/canvas/element/manual/layers/unclosed-layers.html
index afb53cfbebc679..1e6f4797107876 100644
--- a/html/canvas/element/manual/layers/unclosed-layers.html
+++ b/html/canvas/element/manual/layers/unclosed-layers.html
@@ -13,7 +13,7 @@
unclosed-layers
ctx.fillStyle = 'purple';
ctx.fillRect(60, 60, 75, 50);
- ctx.beginLayer({filter: {name: 'dropShadow', dx: -2, dy: 2}});
+ ctx.beginLayer();
ctx.fillRect(40, 40, 75, 50);
ctx.fillStyle = 'grey';
ctx.fillRect(50, 50, 75, 50);
diff --git a/html/canvas/offscreen/manual/layers/unclosed-layers.html b/html/canvas/offscreen/manual/layers/unclosed-layers.html
index 4fee600d6cbf7b..715a39080cbf58 100644
--- a/html/canvas/offscreen/manual/layers/unclosed-layers.html
+++ b/html/canvas/offscreen/manual/layers/unclosed-layers.html
@@ -16,7 +16,7 @@ unclosed-layers
ctx.fillStyle = 'purple';
ctx.fillRect(60, 60, 75, 50);
- ctx.beginLayer({filter: {name: 'dropShadow', dx: -2, dy: 2}});
+ ctx.beginLayer();
ctx.fillRect(40, 40, 75, 50);
ctx.fillStyle = 'grey';
ctx.fillRect(50, 50, 75, 50);
diff --git a/html/canvas/offscreen/manual/layers/unclosed-layers.w.html b/html/canvas/offscreen/manual/layers/unclosed-layers.w.html
index a0014bb5976863..df810398b77d0a 100644
--- a/html/canvas/offscreen/manual/layers/unclosed-layers.w.html
+++ b/html/canvas/offscreen/manual/layers/unclosed-layers.w.html
@@ -16,7 +16,7 @@ unclosed-layers
ctx.fillStyle = 'purple';
ctx.fillRect(60, 60, 75, 50);
- ctx.beginLayer({filter: {name: 'dropShadow', dx: -2, dy: 2}});
+ ctx.beginLayer();
ctx.fillRect(40, 40, 75, 50);
ctx.fillStyle = 'grey';
ctx.fillRect(50, 50, 75, 50);