// Copyright 2022 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.d8.file.execute("test/mjsunit/wasm/wasm-module-builder.js");for(letsection=kLastKnownSectionCode+1;section<=kLastKnownSectionCode+20;section++){letmodule=Uint8Array.from([kWasmH0,kWasmH1,kWasmH2,kWasmH3,kWasmV0,kWasmV1,kWasmV2,kWasmV3,section,0]);lethex=section.toString(16).padStart(2,'0');letmsg=`WebAssembly.Module(): unknown section code #0x${hex} @+10`;assertThrows(()=>newWebAssembly.Instance(newWebAssembly.Module(module)),WebAssembly.CompileError,msg);}