| var windowFunctions = [ |
| // Functions implemented on the Window object's prototype |
| "getSelection", |
| "focus", |
| "blur", |
| "close", |
| "print", |
| "stop", |
| "alert", |
| "confirm", |
| "prompt", |
| "find", |
| "scrollBy", |
| "scrollTo", |
| "scroll", |
| "moveBy", |
| "moveTo", |
| "resizeBy", |
| "resizeTo", |
| "getComputedStyle", |
| "getMatchedCSSRules", |
| "openDatabase", |
| "postMessage", |
| |
| // Functions currently implemented on the Window object itself. NOTE: these should be moved to the prototype. |
| "atob", |
| "btoa", |
| "open", |
| "setTimeout", |
| "clearTimeout", |
| "setInterval", |
| "clearInterval", |
| "addEventListener", |
| "removeEventListener", |
| "showModalDialog", |
| "captureEvents", |
| "releaseEvents", |
| |
| // Functions from the Global Object |
| "eval", |
| "parseInt", |
| "parseFloat", |
| "isNaN", |
| "isFinite", |
| "escape", |
| "unescape", |
| "decodeURI", |
| "decodeURIComponent", |
| "encodeURI", |
| "encodeURIComponent", |
| |
| // Functions from Object.prototype |
| "toString", |
| "toLocaleString", |
| "valueOf", |
| "hasOwnProperty", |
| "propertyIsEnumerable", |
| "isPrototypeOf", |
| "__defineGetter__", |
| "__defineSetter__", |
| "__lookupGetter__", |
| "__lookupSetter__" |
| ]; |