I expect every page to have a memory limit similar to the jvm, after which trying to push to the array would result in Error("out of memory")
Perhaps a dialog asking if we want to let the page use more, like the long running script dialog in most browsers.
The sandbox is suppose to protect us from malicious pranks, like browsers these days protect us from an endless loop of alert boxes by asking us if we want to see more, and endless loops in general with the long running terminate dialog.
Perhaps a dialog asking if we want to let the page use more, like the long running script dialog in most browsers.
The sandbox is suppose to protect us from malicious pranks, like browsers these days protect us from an endless loop of alert boxes by asking us if we want to see more, and endless loops in general with the long running terminate dialog.