One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| /** | |
| * GlobalsDebugger | |
| * | |
| * Inspect the stack when a global variable is being set on the window object. | |
| * Given a global variable name, it proxies the variable name in the window | |
| * object adding some custom code that will be invoked whenever the variable | |
| * is set. The custom code will log the current stack trace and halt the code | |
| * execution to allow inspecting the stack and context in your browser DevTools. | |
| * You can use the "globalsToInspect" query-parameter to set a comma-separated | |
| * list of names of the variables you want to inspect. |
| /** | |
| * RuntimeGlobalsChecker | |
| * | |
| * You can use this utility to quickly check what variables have been added (or | |
| * leaked) to the global window object at runtime (by JavaScript code). | |
| * By running this code, the globals checker itself is attached as a singleton | |
| * to the window object as "__runtimeGlobalsChecker__". | |
| * You can check the runtime globals programmatically at any time by invoking | |
| * "window.__runtimeGlobalsChecker__.getRuntimeGlobals()". | |
| * |