Lines Matching refs:actual
49 const actual = property.value;
50 assert_true(Object.isExtensible(actual), `${key}: extensible`);
54 assert_exported_function(actual, expected, `value of ${key}`);
57 assert_equals(Object.getPrototypeOf(actual), WebAssembly.Global.prototype,
59 assert_equals(actual.value, expected.value, `value of ${key}: value`);
60 assert_equals(actual.valueOf(), expected.value, `value of ${key}: valueOf()`);
63 assert_equals(Object.getPrototypeOf(actual), WebAssembly.Memory.prototype,
65 assert_equals(Object.getPrototypeOf(actual.buffer), ArrayBuffer.prototype,
67 assert_equals(actual.buffer.byteLength, 0x10000 * expected.size, `value of ${key}: size of buffer`);
68 const array = new Uint8Array(actual.buffer);
73 assert_equals(Object.getPrototypeOf(actual), WebAssembly.Table.prototype,
75 assert_equals(actual.length, expected.length, `value of ${key}: length of table`);
81 function assert_WebAssemblyInstantiatedSource(actual, expected_exports={}) {
82 assert_equals(Object.getPrototypeOf(actual), Object.prototype,
84 assert_true(Object.isExtensible(actual), "Extensibility");
86 const module = Object.getOwnPropertyDescriptor(actual, "module");
94 const instance = Object.getOwnPropertyDescriptor(actual, "instance");