DOM Thread Overload Example

Click on the "Start Concierge Load" button. It will load the concierge script, and start the initialization process. In the storage bridge script, there is a Promise that waits for shared storage to be accessible. If it doesn't resolve after the specified number of milliseconds, an exception is raised.

There is now a conditional check to look for test mode, and if that conditional is true, it sends an event that the promise has been initiated. This page then looks for that event. If it finds it, it begins the process of writing to session storage however many times the user has picked. This is repeated until the page crashes, or the timeout exception is raised, and then the action is halted.

It's recommended that you clear your storage with the "Clear Storage" button when you are finished.

As an aside, if you enable hardware acceleration you'll see that the dom is not halted.

number of documents to store:

Storage Type:

This Box is to show the DOM struggling to keep up with the heavy JS Load

space invaders