You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run this Sandcastle, check the (actual, browser) console. You will see
Cannot add property method, object is not extensible
Somebody, somewhere, is freezing the return value from defaultClone before options.method is assigned here, only in the case where options is undefined. As you can see in the example, passing an empty object works around this. The cheap fix would be to change L1106 to options = defaultClone(options || {}, defaultValue.EMPTY_OBJECT); but it would probably be more helpful in the long run to ensure that defaultClone can never return a frozen object.
Also, in filing this issue, I discovered that your sample data for the "GeoJSON and TopoJSON" Sandcastle demo is missing -- just open that page and try to click any button, you should get a 404.
The text was updated successfully, but these errors were encountered:
Run this Sandcastle, check the (actual, browser) console. You will see
Somebody, somewhere, is freezing the return value from
defaultClone
beforeoptions.method
is assigned here, only in the case whereoptions
is undefined. As you can see in the example, passing an empty object works around this. The cheap fix would be to change L1106 tooptions = defaultClone(options || {}, defaultValue.EMPTY_OBJECT);
but it would probably be more helpful in the long run to ensure that defaultClone can never return a frozen object.Also, in filing this issue, I discovered that your sample data for the "GeoJSON and TopoJSON" Sandcastle demo is missing -- just open that page and try to click any button, you should get a 404.
The text was updated successfully, but these errors were encountered: