Yomguithereal / baobab

JavaScript & TypeScript persistent and optionally immutable data tree with cursors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Constructing a tree in Firefox 49 fails with some objects

orivej opened this issue · comments

Here drone-ui is constructing a Baobab tree with a document.location. Starting with Firefox 49, this fails with TypeError: can't prevent extensions on this proxy object. May it be that Baobab should intercept the TypeError and consider such an object unfreezable?

drone-ui issue: https://github.com/drone/drone-ui/issues/59