From 6e1eba2a09c57fc9e2e553d89ab191f8630b433d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 30 Apr 2025 14:16:24 +0200 Subject: [PATCH] Enable strict mode testing for sm/DataView --- test/staging/sm/DataView/detach-after-construction.js | 4 +--- test/staging/sm/DataView/get-set-index-range.js | 2 -- test/staging/sm/DataView/getter-name.js | 2 -- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/test/staging/sm/DataView/detach-after-construction.js b/test/staging/sm/DataView/detach-after-construction.js index 7257a88f66..8a751e55be 100644 --- a/test/staging/sm/DataView/detach-after-construction.js +++ b/test/staging/sm/DataView/detach-after-construction.js @@ -2,16 +2,14 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -flags: - - noStrict description: | pending esid: pending ---*/ + var buf = new ArrayBuffer([1,2]); var bufView = new DataView(buf); $262.detachArrayBuffer(buf); assert.throws(TypeError, () => bufView.getInt8(0)); - diff --git a/test/staging/sm/DataView/get-set-index-range.js b/test/staging/sm/DataView/get-set-index-range.js index 6eb232382f..b9010517ac 100644 --- a/test/staging/sm/DataView/get-set-index-range.js +++ b/test/staging/sm/DataView/get-set-index-range.js @@ -2,8 +2,6 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -flags: - - noStrict description: | pending esid: pending diff --git a/test/staging/sm/DataView/getter-name.js b/test/staging/sm/DataView/getter-name.js index 56d2224d60..2c4adba521 100644 --- a/test/staging/sm/DataView/getter-name.js +++ b/test/staging/sm/DataView/getter-name.js @@ -2,8 +2,6 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -flags: - - noStrict description: | DataView getters should have get prefix esid: pending