Permalink
sidoshi
Add restricted globals package (#2286)
c36d1a0
Jan 15, 2018
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Find file
Copy path
create-react-app/packages/confusing-browser-globals/index.js /
Find file
Copy path
| /** | |
| * Copyright (c) 2015-present, Facebook, Inc. | |
| * | |
| * This source code is licensed under the MIT license found in the | |
| * LICENSE file in the root directory of this source tree. | |
| */ | |
| 'use strict'; | |
| module.exports = [ | |
| 'addEventListener', | |
| 'blur', | |
| 'close', | |
| 'closed', | |
| 'confirm', | |
| 'defaultStatus', | |
| 'defaultstatus', | |
| 'event', | |
| 'external', | |
| 'find', | |
| 'focus', | |
| 'frameElement', | |
| 'frames', | |
| 'history', | |
| 'innerHeight', | |
| 'innerWidth', | |
| 'length', | |
| 'location', | |
| 'locationbar', | |
| 'menubar', | |
| 'moveBy', | |
| 'moveTo', | |
| 'name', | |
| 'onblur', | |
| 'onerror', | |
| 'onfocus', | |
| 'onload', | |
| 'onresize', | |
| 'onunload', | |
| 'open', | |
| 'opener', | |
| 'opera', | |
| 'outerHeight', | |
| 'outerWidth', | |
| 'pageXOffset', | |
| 'pageYOffset', | |
| 'parent', | |
| 'print', | |
| 'removeEventListener', | |
| 'resizeBy', | |
| 'resizeTo', | |
| 'screen', | |
| 'screenLeft', | |
| 'screenTop', | |
| 'screenX', | |
| 'screenY', | |
| 'scroll', | |
| 'scrollbars', | |
| 'scrollBy', | |
| 'scrollTo', | |
| 'scrollX', | |
| 'scrollY', | |
| 'self', | |
| 'status', | |
| 'statusbar', | |
| 'stop', | |
| 'toolbar', | |
| 'top', | |
| ]; |