grip.js (1445B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ 4 5 const stubs = new Map(); 6 7 stubs.set("proto-properties-symbols", { 8 ownProperties: { 9 a: { 10 configurable: true, 11 enumerable: true, 12 writable: true, 13 value: 1, 14 }, 15 }, 16 from: "server2.conn13.child19/propertyIterator160", 17 prototype: { 18 type: "object", 19 actor: "server2.conn13.child19/obj162", 20 class: "Object", 21 extensible: true, 22 frozen: false, 23 sealed: false, 24 ownPropertyLength: 15, 25 preview: { 26 kind: "Object", 27 ownProperties: {}, 28 ownSymbols: [], 29 ownPropertiesLength: 15, 30 ownSymbolsLength: 0, 31 safeGetterValues: {}, 32 }, 33 }, 34 ownSymbols: [ 35 { 36 name: "Symbol()", 37 descriptor: { 38 configurable: true, 39 enumerable: true, 40 writable: true, 41 value: "hello", 42 }, 43 }, 44 ], 45 }); 46 47 stubs.set("longs-string-safe-getter", { 48 ownProperties: { 49 baseVal: { 50 getterValue: { 51 type: "longString", 52 initial: "data:image/png;base64,initial", 53 length: 95080, 54 actor: "server1.conn1.child1/longString28", 55 }, 56 getterPrototypeLevel: 1, 57 enumerable: true, 58 writable: true, 59 }, 60 }, 61 from: "server1.conn1.child1/propertyIterator30", 62 }); 63 64 module.exports = stubs;