forked from ElevenGiants/eleven-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workaround for Array builtin call on proxied array
Calling the builtin function 'sort' on an array wrapped in an ES6 proxy results in "illegal access" being thrown (a string, not an Error). This is probably related in some way to these issues: tvcutsem/harmony-reflect#6 tvcutsem/harmony-reflect#19 This change fixes the problem for the time being through a rather explicit workaround; if the issue also occurs for other functions, it will likely surface again. (also, the change in Session.js makes sure error log entry is nicely formatted even when strings are thrown)
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters