From d1248b667694caaefcaad7e679c8011a409e1d33 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Tue, 26 Sep 2017 12:37:36 -0700 Subject: [PATCH] Add RPC handling for the type and optional properties --- lib/browser/collections.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/browser/collections.js b/lib/browser/collections.js index c3d89c0b..0b331539 100644 --- a/lib/browser/collections.js +++ b/lib/browser/collections.js @@ -117,6 +117,12 @@ export function createCollection(prototype, realmId, info, _mutable) { 'length': { get: getterForProperty('length'), }, + 'type': { + get: getterForProperty('type'), + }, + 'optional': { + get: getterForProperty('optional'), + }, '-1': { value: undefined, },