Comment #4 on issue 3832 by [email protected]: Array variable suddenly becomes number
https://code.google.com/p/v8/issues/detail?id=3832

This happens when processing real-time updates to the document content. Updates are received via a Web Socket, and they are batched so that they are only processed every 500ms. The flow is:

1. Receive update and invoke document.batchUpdate(input)
2. Check that this.updateBatch_ is null
3. If it is null, assign input to this.updateBatch_ and set a timeout for processing for 500ms later
4. Receive another update
5. Extend this.updateBatch_ with the input

It is at step 5 that the exception happens, but it's possible that this.updateBatch_ became bogus at step 3.

Your best bet to reproduce is to create a new doc and start editing it (your own edits will generate Web Socket updates -- I have seen this when running Quip locally and thus there were no other users to generate updates). However, having other users editing the doc (even yourself in a separate tab) will presumably increase the likelihood of this happening.

I've seen this happen with my own account, so I don't think it's specific to a Quip user (we just don't have a lot of users on the dev or canary channels). Happy to run Chrome with any additional flags that would track this down.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to