@admc.com/eslint-plugin-sn
Version:
ESLint plugin for ServiceNow scriptlets
1,405 lines (1,403 loc) • 31.8 kB
JavaScript
;
const kNames = [
"$",
"$$",
"$A",
"$F",
"$H",
"$LAB",
"$R",
"$break",
"$continue",
"$j",
"$j_glide",
"$w",
"AJAXCompleter",
"AJAXEmailClientCompleter",
"AJAXEvaluate",
"AJAXEvaluateResponse",
"AJAXEvaluateSynchronously",
"AJAXFunction",
"AJAXOtherCompleter",
"AJAXReferenceChoice",
"AJAXReferenceCompleter",
"AJAXReferenceCompleterMulti",
"AJAXReferenceControls",
"AJAXTableCompleter",
"AJAXTextSearchCompleter",
"ANGULAR_BOOTSTRAPPER",
"Abstract",
"Ajax",
"AttachmentUploader",
"AutoComplete",
"CachedEvent",
"CalculateTotalCost",
"Class",
"CloudApiSCClient",
"ConnectionUtils",
"ContextMenuExportHandler",
"CookieJar",
"CustomEventManager",
"DAY_NAMES",
"DEFAULT_BORDER",
"DEFAULT_NAME",
"DEFAULT_WIDTH",
"DataLookup",
"DaysOfWeekElement",
"DerivedFields",
"DynamicTranslation",
"Enumerable",
"Field",
"FieldListElement",
"Form",
"GET_DETECTED_LANGUAGE",
"GET_DETECTED_LANGUAGES",
"GET_DYNAMIC_TRANSLATION",
"GET_DYNAMIC_TRANSLATIONS",
"GJSV",
"GlideAjax",
"GlideAjaxForm",
"GlideBox",
"GlideClientCache",
"GlideClientCacheEntry",
"GlideConditionRow",
"GlideDecoration",
"GlideDialogForm",
"GlideDialogWindow",
"GlideDraggable",
"GlideDuration",
"GlideEncodedQuery",
"GlideEvent",
"GlideEventHandler",
"GlideFieldPolicy",
"GlideFilter",
"GlideFilterChoice",
"GlideFilterChoiceDynamic",
"GlideFilterCurrency",
"GlideFilterCurrency2",
"GlideFilterDate",
"GlideFilterDateEncrypted",
"GlideFilterDescription",
"GlideFilterDuration",
"GlideFilterHandler",
"GlideFilterItemVariables",
"GlideFilterLabels",
"GlideFilterNumber",
"GlideFilterQuestions",
"GlideFilterReference",
"GlideFilterReferenceMulti",
"GlideFilterSection",
"GlideFilterSnapshotChoice",
"GlideFilterString",
"GlideFilterStringMulti",
"GlideFilterVariableMap",
"GlideFilterVariables",
"GlideFilterVariablesChoiceDynamic",
"GlideFlow",
"GlideForm",
"GlideFormPrefixHandler",
"GlideListAggregates",
"GlideListEditor",
"GlideListElement",
"GlideMandatoryDerivedUIElement",
"GlideMenu",
"GlideModal",
"GlideModalForm",
"GlideOverlay",
"GlidePane",
"GlidePaneForm",
"GlideQueryPart",
"GlideRecord",
"GlideSectionCondition",
"GlideSortSection",
"GlideSortSpec",
"GlideSubCondition",
"GlideTabs2",
"GlideTabs2State",
"GlideTabs2Tab",
"GlideTemplateBar",
"GlideTimeElement",
"GlideTimerElement",
"GlideTransactionScope",
"GlideUI",
"GlideUIDefault",
"GlideUIElement",
"GlideUINotification",
"GlideURL",
"GlideURLElement",
"GlideUser",
"GlideUserImageElement",
"GlideVideoPlayer",
"GlideWebAnalytics",
"GlideWindow",
"GwtCellEditor",
"GwtCellSelector",
"GwtContextMenu",
"GwtCursor",
"GwtDate",
"GwtDateTimePicker",
"GwtDraggable",
"GwtDraggableSnap",
"GwtExportScheduleDialog",
"GwtGridEdit",
"GwtListEditAjaxChangeSaver",
"GwtListEditAjaxValueLoader",
"GwtListEditBoolean",
"GwtListEditCalendar",
"GwtListEditCurrency2",
"GwtListEditDependent",
"GwtListEditDocumentationField",
"GwtListEditDuration",
"GwtListEditEncryptedText",
"GwtListEditError",
"GwtListEditField",
"GwtListEditGList",
"GwtListEditGlideRecord",
"GwtListEditGridSelector",
"GwtListEditInternalType",
"GwtListEditJournal",
"GwtListEditMultiText",
"GwtListEditPassword",
"GwtListEditRecord",
"GwtListEditRecordDecorations",
"GwtListEditReference",
"GwtListEditRelatedTags",
"GwtListEditSavePolicy",
"GwtListEditSelect",
"GwtListEditTableController",
"GwtListEditTablename",
"GwtListEditText",
"GwtListEditTranslatedField",
"GwtListEditUpdateTablename",
"GwtListEditValueRenderer",
"GwtListEditWindow",
"GwtListEditor",
"GwtListEditorPendingChanges",
"GwtMessage",
"GwtObservable",
"GwtPollDialog",
"HOME_PAUSE_SPEED",
"HOME_RESUME_SPEED",
"HOME_SCROLL_SPEED",
"Hash",
"HighchartsBuilder",
"IS_ENABLED",
"Insertion",
"JS_GS",
"KEY_ARROWDOWN",
"KEY_ARROWLEFT",
"KEY_ARROWRIGHT",
"KEY_ARROWUP",
"KEY_BACKSPACE",
"KEY_DELETE",
"KEY_END",
"KEY_ENTER",
"KEY_ESC",
"KEY_HOME",
"KEY_INSERT",
"KEY_PAGEDOWN",
"KEY_PAGEUP",
"KEY_RETURN",
"KEY_TAB",
"LZ",
"MAIN_LAYER",
"MESSAGES_CONDITION_RELATED_FILES",
"MESSAGES_FILTER_BUTTONS",
"MESSAGES_FILTER_MISC",
"MONTH_NAMES",
"MagellanCreateFavorites",
"NOW",
"NO_INVISIBLE",
"NameMapEntry",
"NotificationMessage",
"ONE_TO_MANY",
"ObjectRange",
"OpticsInspector",
"OrderListElement",
"PLACEHOLDER",
"PLACEHOLDERFIELD",
"PeriodicalExecuter",
"Point",
"Position",
"Prototype",
"RadioButton",
"RadioGroup",
"SERVICE_WORKER_MANAGER_CONFIG",
"SN",
"SNCredStoreFormUtil",
"ScopedGFormGenerator",
"ScopedGlideAjaxGenerator",
"ScopedGlideDialogWindowGenerator",
"ScriptLoader",
"Select",
"Select2",
"Selector",
"Sizzle",
"SlushBucket",
"StopWatch",
"TAG_DIV",
"TAG_SPAN",
"TEXTQUERY",
"Table",
"TableElement",
"TableExtension",
"Template",
"TemplateRecord",
"TestClient",
"TextAreaElement",
"Toggle",
"Try",
"UserRolesElement",
"VALID_IMAGE_SUFFIX",
"WFStageSet",
"WindowSize",
"XMLTemplate",
"XML_HTTP",
"__TECTONIC__amb_client_js",
"__core-js_shared__",
"_collapseComplete",
"_createFilterSelect",
"_expandComplete",
"_frameChanged",
"_frameChangedTimer",
"_getInt",
"_glideListGetAllSelected",
"_hasEmptyAncestor",
"_hideRevealDirect",
"_isInteger",
"_returnedValue",
"_returnedValueTimeout",
"_runInlineScripts",
"_saveAttachmentClose",
"_saveAttachmentConfirm",
"_timingStartTime",
"_toggleDisplay",
"acKeyDown",
"acKeyUp",
"acReferenceKeyDown",
"acReferenceKeyPress",
"acReferenceKeyUp",
"acSetTopLeftWidth",
"accessibilityEnabled",
"addActionItems",
"addAfterPageLoadedEvent",
"addAttachmentNameToDialog",
"addAttachmentNameToForm",
"addChild",
"addClassName",
"addCondition",
"addConditionSpec",
"addDomainParameters",
"addEllipsesToAttachments",
"addEllipsisStyle",
"addEmailAddressToList",
"addFields",
"addFirstLevelFields",
"addForm",
"addGlideListChoice",
"addGlideListFromSelect",
"addGlideListReference",
"addHidden",
"addInput",
"addLateLoadEvent",
"addLoadEvent",
"addOnChangeEvent",
"addOnSubmitEvent",
"addOperators",
"addOption",
"addOptionAt",
"addQueryFilter",
"addQuestionActionItems",
"addRenderEvent",
"addRenderEventLogged",
"addRenderEventToArray",
"addSetDerivedReadOnlyListener",
"addSortSpec",
"addTextArea",
"addTextInput",
"addTinymceLoadEvent",
"addTopRenderEvent",
"addTouchScrollClassToBody",
"addUnloadEvent",
"addfieldBackgroundText",
"adjustAttachmentsVisibility",
"adjustEmailHeight",
"ajaxHelper",
"ajaxRequest",
"alert",
"alertError",
"allowConditionsForJournal",
"allowInPlaceEditModification",
"amb",
"angular",
"appendCannedText",
"appendSelectOption",
"applyPresenceArray",
"applyTemplate",
"assetSetDomainParameters",
"assignLabel",
"assignLabelActionViaLookupModal",
"assignLabelToCheckedSysIds",
"assignLabelViaLookup",
"atob",
"autosize",
"blur",
"btoa",
"buildFieldsPerType",
"buildMap",
"buildQueryClause",
"buildURL",
"caches",
"calcReturn",
"calcReturn0",
"calendarPopups",
"calendarPromise",
"calendars",
"callChangeHandler",
"callChangeHandler0",
"callChangeHandlers",
"callOnChange",
"cancel",
"cancelAnimationFrame",
"cancelIdleCallback",
"captureEvents",
"cel",
"celQuery",
"changeCount",
"checkDirtyForm",
"checkEnter",
"checkFilterSize",
"checkForClientKeystroke",
"checkForDirty",
"checkSave",
"checkSaveID",
"checkSaveURL",
"chrome",
"classExtendForScope",
"clearCacheDone",
"clearCacheSniperly",
"clearDependents",
"clearDropdownOptions",
"clearInterval",
"clearLabelRefresh",
"clearMenus",
"clearNodes",
"clearRelated",
"clearTimeout",
"clearValueThenResetDerivedWaiting",
"clearWatchField",
"clientInformation",
"clientScriptOnChange",
"close",
"closeDialogForm",
"closed",
"cmViews",
"collapseAnimationEffect",
"collapseEffect",
"collapsedState",
"collectionQueryCalculator",
"columns",
"columnsGet",
"columnsGetWithFilter",
"compareDates",
"computeAttachmentWidth",
"confirm",
"confirmAndDeleteFromForm",
"confirmDeletion",
"containsOnlyChars",
"contextAction",
"contextConfirm",
"contextHide",
"contextMenuHide",
"contextMenus",
"contextQuestionLabel",
"contextShow",
"contextTimeout",
"convertUserTimeToUtcTimeMs",
"convertUtcTimeToUserTimeMs",
"cookieStore",
"copyAttributes",
"copyRowToClipboard",
"copySelectOptionToIndex",
"copyToClipboard",
"core",
"countWatchers",
"createChild",
"createCondFilter",
"createDropDown",
"createIcon",
"createImage",
"createImageBitmap",
"createLabelMod",
"createPageShim",
"createRowSysId",
"createStyleSheet",
"crossOriginIsolated",
"crypto",
"ctimeVal",
"currentTable",
"customElements",
"dateOnlyTypes",
"dateTimeTypes",
"dateTypes",
"debounceContextScroll",
"debugId",
"decodeFilter",
"defaultStatus",
"default_on_submit",
"defaultstatus",
"deleteAttachment",
"deleteCompleted",
"deleteFileAttachment",
"deleteFilterByID",
"deletePreference",
"deleteStyleSheet",
"deleteUserImage",
"dependantCacheObjArray",
"derivedFromChoiceListHasValue",
"destroyUpdateField",
"devicePixelRatio",
"dirtyFormFocus",
"disabled",
"displayContextMenu",
"dlg",
"doAssignLabel",
"doNothing",
"doRemoveLabel",
"doUpdate",
"document",
"doubleDigitFormat",
"dropDownHilight",
"edge_equality_Types",
"edge_order_Types",
"editList",
"editListRegisterOnSubmit",
"editListSaveRow",
"editListSetGlideList",
"editListWithFormAddRow",
"editListWithFormDeleteRow",
"editScopes",
"elementAction",
"emailClientOpen",
"emailClientOpenPop",
"emailInputKeyPress",
"emailResizeObserved",
"emptySubstr",
"emptyWithoutNoneRefChoiceListOnLoadHandler",
"encodeText",
"encoded_record_list",
"endsWithImageExtension",
"endsWithVideoExtension",
"enterSubmitsForm",
"errorHandler",
"estimateWidth",
"ethereum",
"evalScript",
"executeRecentSearch",
"expandAnimationEffect",
"expandCollapseAllSections",
"expandEffect",
"exportToPDF",
"external",
"extopers",
"f39a04e43fa9b476b97e8c475ad4efe5f",
"f39a04e43fa9b476b97e8c475ad4efe5f_constructor",
"fetch",
"fieldBlurred",
"fieldChange",
"fieldChangeResponse",
"fieldChangeSlush",
"fieldChangeSlush1",
"fieldChangeSlush2",
"fieldChanged",
"fieldComparisonOperators",
"fieldMatches",
"fieldProcess",
"fieldProcessNow",
"fieldSet",
"fieldTyped",
"filter",
"filterExpanded",
"find",
"findFirstEditableElement",
"findInArray",
"findParentByTag",
"findRelatedZeroString",
"fireAllChangeHandlers",
"fireChange",
"fireOnFormat",
"firePageTimer",
"fireSetValueEvent",
"fireTinymceLoadEvent",
"firstTable",
"fixSelectLabel",
"focus",
"focusFirstElement",
"focusTrap",
"forceHide",
"forceHideWithTitle",
"forceReveal",
"formChangeKeepAlive",
"formFuncError",
"formatCents",
"formatClean",
"formatCurrency",
"formatDate",
"formatDateServer",
"formatDollar",
"formatMessage",
"formatNumber",
"formatPhone",
"foundAMandatoryField",
"frameElement",
"frames",
"fromRelList",
"gActiveContext",
"gFormSW",
"g_GlideUI",
"g_IconBrowseHelpers",
"g_acWaitTime",
"g_ac_objects",
"g_accessibility",
"g_accessibility_screen_reader_table",
"g_accessibility_tooltip_duration",
"g_accessibility_tooltips",
"g_accessibility_visual_patterns",
"g_afterPageLoadedFunctions",
"g_allow_field_dependency_for_templates",
"g_ambClient",
"g_api",
"g_autoRequest",
"g_builddate",
"g_cancelPreviousTransaction",
"g_ck",
"g_concourse_onmessage_enforce_same_origin",
"g_concourse_onmessage_enforce_same_origin_whitelist",
"g_current_table",
"g_date_picker_first_day_of_week",
"g_detail_row",
"g_enhanced_activated",
"g_evalScriptCache",
"g_event_handler_ids",
"g_event_handlers",
"g_event_handlers_localCache",
"g_event_handlers_onCellEdit",
"g_event_handlers_onChange",
"g_event_handlers_onLoad",
"g_event_handlers_onSubmit",
"g_event_handlers_queryTracking",
"g_export_warn_threshold",
"g_filter_extension_map",
"g_first_day_of_week",
"g_fontSize",
"g_fontSizePreference",
"g_form",
"g_formDirtyFocus",
"g_form_dirty_autosave",
"g_form_dirty_message",
"g_form_dirty_support",
"g_full_calendar_edit",
"g_glideBoxes",
"g_glide_list_filter_max_length",
"g_glide_list_separator",
"g_hasRunAfterAllLoaded",
"g_isInternetExplorer",
"g_jsErrorNotify",
"g_key_delay",
"g_keyboard_shortcuts",
"g_label_status",
"g_lang",
"g_late_load_functions",
"g_loadTime",
"g_load_functions",
"g_logClientViewRoles",
"g_max_table_length",
"g_navigation",
"g_optics_inspect_handler",
"g_popup_timeout",
"g_related_list_timing",
"g_render_functions",
"g_scratchpad",
"g_searchWaitTime",
"g_section_contents",
"g_serverTime",
"g_submitted",
"g_swLoadTime",
"g_system_lang",
"g_tabs2List",
"g_tabs2Sections",
"g_tabs_preference",
"g_tabs_print",
"g_tabs_reference",
"g_text_direction",
"g_tiny_url",
"g_tz_offset",
"g_tz_user_offset",
"g_ui_policy",
"g_user",
"g_user_date_format",
"g_user_date_time_format",
"g_user_decimal_separator",
"g_user_grouping_separator",
"gb_BodyFrameTemplate",
"gb_BodyTemplate",
"gb_BoxIFrameBody",
"gb_BoxTemplateInner",
"gb_FooterTemplate",
"gb_LoadingBody",
"gb_ToolbarTemplate",
"gcm",
"gcmSection",
"gel",
"getAC",
"getActiveUser",
"getAttachedFile",
"getAttributeValue",
"getBounds",
"getBrowserWindowHeight",
"getBrowserWindowWidth",
"getCascadeDelTablesDoneForm",
"getChecked",
"getClientScriptContextName",
"getComputedStyle",
"getConditionTextFromFilterRow",
"getControlForm",
"getCurrentAttachmentNumber",
"getCurrentPageURL",
"getCurrentTable",
"getDataType",
"getDateFromFormat",
"getDecimalSeparator",
"getDefaultOption",
"getDependantCacheObj",
"getDependent",
"getDependentValue",
"getDisplaySize",
"getDurationString",
"getEvent",
"getEventCoords",
"getFavoriteURL",
"getFilter",
"getFilterColumnsResponse",
"getFilterViaTableDiv",
"getFilterVisibility",
"getFontWindowList",
"getFormByTableName",
"getFormContentParent",
"getFormForElement",
"getFormForList",
"getFormView",
"getFormattedDate",
"getFormattedDateAndTime",
"getFormattedTime",
"getFullLabel",
"getGroupSaveOption",
"getGroupingSeparator",
"getHeight",
"getHiddenInputValuesMap",
"getIFrameDocument",
"getKeyCode",
"getMainFormWindow",
"getMainWindow",
"getMenuByName",
"getMessage",
"getMessages",
"getNameFromElement",
"getNavWindow",
"getNormalLabel",
"getOffset",
"getPlusMoreAttachmentList",
"getPref",
"getPreference",
"getQueryForList",
"getQueryForTR",
"getQueryString",
"getRealEvent",
"getRefQualURI",
"getRelativeTop",
"getRequest",
"getRowID",
"getRules",
"getScreenDetails",
"getScrollBarWidthPx",
"getScrollOffset",
"getScrollX",
"getScrollY",
"getSelectedOption",
"getSelection",
"getSrcElement",
"getTableColumns",
"getTableColumnsResponse",
"getTableFromOption",
"getTableLabel",
"getTableReference",
"getTextValue",
"getThing",
"getTinyEditor",
"getTopWindow",
"getUserDateTime",
"getValue",
"getView",
"getVisibleAttachmentsLimit",
"getWidth",
"getXMLIsland",
"getXMLString",
"getacPerInput",
"glideListGetSelected",
"glideListInit",
"glideListPopupSelection",
"glideListSaveList",
"glideListViewSelection",
"glideUIElement",
"gotShowRelated",
"gotTemplateResponseWithRef",
"gotoLineKeyPress",
"gotoLinePopup",
"gotoPart",
"gotoUrl",
"grabMenuInfo",
"grabOffsetLeft",
"grabOffsetTop",
"grabScrollLeft",
"grabScrollTop",
"gsftConfirm",
"gsftPrompt",
"gsftSubmit",
"gsftSubmitBack",
"gsftSubmitOnExternalClick",
"guid",
"handleAriaInvalidState",
"handleClickedDropDown",
"handleErrorResponse",
"handleMaxMinHeights",
"handleMouseOutDropDown",
"handleMouseOverDropDown",
"hasClassName",
"hasDepends",
"hasOptions",
"hide",
"hideLoading",
"hideLoadingDialog",
"hideObject",
"hideReveal",
"hideRevealWithTitle",
"history",
"htmlEscape",
"htmlEscapeDoubleQuote",
"htmlEscapeQuote",
"htmlView",
"http",
"ie5",
"ifFieldHasElementMappingPrefix",
"imageBrowseOpen",
"imageListOpen",
"imageListPick",
"imagePickedCustomEvent",
"inFrame",
"indexedDB",
"initAngularForm",
"initAutoCompleteField",
"initFilterExtension",
"initLabelStatus",
"initListEdit",
"inner",
"innerHeight",
"innerWidth",
"insertAtCursor",
"insertFieldName",
"insertScriptVar",
"isAlpha",
"isAlphaNum",
"isCatalogGlideList",
"isChrome",
"isDate",
"isDigit",
"isDirtyFormAutosave",
"isDoctype",
"isEdge",
"isEmailValid",
"isEmailValidWithReason",
"isFilterExtension",
"isFilterField",
"isFirefox",
"isFormDataBig",
"isHex",
"isLeftClick",
"isMSIE",
"isMSIE10",
"isMSIE11",
"isMSIE6",
"isMSIE7",
"isMSIE8",
"isMSIE9",
"isMacintosh",
"isMicrosoftXMLHTTP",
"isNotValidAdditionalParameters",
"isNotValidInputText",
"isNotValidString",
"isNotValidTargetLanguages",
"isNotValidTexts",
"isNotValidTranslator",
"isNumber",
"isPolaris",
"isPolarisTemplate",
"isPolarisWrapper",
"isReferenceType",
"isRenderEventRegistered",
"isSafari",
"isSafari5",
"isSecureContext",
"isTextDirectionRTL",
"isTinyMCEIncluded",
"isTouchDevice",
"isTouchEvent",
"isTouchRightClick",
"isValidTouchDevice",
"isWebKit",
"itemHeight",
"iterateList",
"jQuery",
"journalModel",
"jslog",
"jsonView",
"labelClicked",
"labelsGetRequest",
"labelsGetResponse",
"lastActivity",
"lastMouseX",
"lastMouseY",
"length",
"lightWeightReferenceLink",
"listCollection",
"listQuery",
"listSecurity",
"loadFields",
"loadFieldsWithValue",
"loadFilterColumns",
"loadFilterTableReference",
"loadXML",
"localStorage",
"location",
"locationbar",
"lock",
"lockPopup",
"lockPopupID",
"mExport",
"mHistory",
"mModify",
"mailTo",
"matchMedia",
"maximumCharacterLimit",
"menuIsEmpty",
"menubar",
"messages",
"module",
"mousePositionSave",
"moveBy",
"moveTo",
"mswDisabledValue",
"multiKeyDown",
"multiModified",
"mv",
"name",
"navigator",
"newAC",
"newGlideUIElement",
"newLabel",
"newLabelPromptListAction",
"newLabelRequest",
"newSubRow",
"nextCalendarAction",
"noConditionals",
"noOps",
"noSort",
"notifyFromWrappedScopedObject",
"nowapi",
"numberOfAttachments",
"numericTypes",
"objSysId",
"objectResizer",
"oldStatus",
"onChange",
"onChangeLabelProcess",
"onChangeLabelProcessByEl",
"onLoad_acd1bb9a07d011100049f9fc7c1ed0c4",
"onLoad_ecd1bb9a07d011100049f9fc7c1ed0c4",
"onSelChange",
"onWindowClose",
"onabort",
"onafterprint",
"onanimationend",
"onanimationiteration",
"onanimationstart",
"onappinstalled",
"onauxclick",
"onbeforeinstallprompt",
"onbeforeprint",
"onbeforeunload",
"onbeforexrselect",
"onblur",
"oncancel",
"oncanplay",
"oncanplaythrough",
"onchange",
"onclick",
"onclose",
"oncontextlost",
"oncontextmenu",
"oncontextrestored",
"oncuechange",
"ondblclick",
"ondevicemotion",
"ondeviceorientation",
"ondeviceorientationabsolute",
"ondrag",
"ondragend",
"ondragenter",
"ondragleave",
"ondragover",
"ondragstart",
"ondrop",
"ondurationchange",
"onemptied",
"onended",
"onerror",
"onfocus",
"onformdata",
"ongotpointercapture",
"onhashchange",
"oninput",
"oninvalid",
"onkeydown",
"onkeypress",
"onkeyup",
"onlanguagechange",
"onload",
"onloadeddata",
"onloadedmetadata",
"onloadstart",
"onlostpointercapture",
"onmessage",
"onmessageerror",
"onmousedown",
"onmouseenter",
"onmouseleave",
"onmousemove",
"onmouseout",
"onmouseover",
"onmouseup",
"onmousewheel",
"onoffline",
"ononline",
"onpagehide",
"onpageshow",
"onpause",
"onplay",
"onplaying",
"onpointercancel",
"onpointerdown",
"onpointerenter",
"onpointerleave",
"onpointermove",
"onpointerout",
"onpointerover",
"onpointerrawupdate",
"onpointerup",
"onpopstate",
"onprogress",
"onratechange",
"onrejectionhandled",
"onreset",
"onresize",
"onscroll",
"onsearch",
"onsecuritypolicyviolation",
"onseeked",
"onseeking",
"onselect",
"onselectionchange",
"onselectstart",
"onslotchange",
"onstalled",
"onstorage",
"onsubmit",
"onsuspend",
"ontimeupdate",
"ontoggle",
"ontransitioncancel",
"ontransitionend",
"ontransitionrun",
"ontransitionstart",
"onunhandledrejection",
"onunload",
"onvolumechange",
"onwaiting",
"onwebkitanimationend",
"onwebkitanimationiteration",
"onwebkitanimationstart",
"onwebkittransitionend",
"onwheel",
"open",
"openDatabase",
"openInNewWindow",
"opener",
"operators",
"opersNS",
"opticsLog",
"optionWasSelected",
"orderBy",
"origin",
"originAgentCluster",
"outerHeight",
"outerWidth",
"padLeft",
"pageLoaded",
"pageXOffset",
"pageYOffset",
"parent",
"parseDate",
"parseFraction",
"pd7c8b28f7cb047f4a36738091dfbb6cd",
"performance",
"personalbar",
"personalizeChoices",
"personalizeControl",
"personalizeField",
"personalizeFields",
"personalizeList",
"personalizeResponses",
"personalizeSecurity",
"personalizer",
"picklistOpen",
"picklistPick",
"popCatDiv",
"popDiv",
"popForm",
"popHistoryDiv",
"popIssueDiv",
"popKnowledgeDiv",
"popLightWeightReferenceDiv",
"popListDiv",
"popRecordDiv",
"popReferenceDiv",
"popReportInfoDiv",
"popTestClient",
"populateLeftAndRightScopeEditor",
"populateParmQuery",
"popupClose",
"popupCurrent",
"popupOpen",
"popupOpenEmailClient",
"popupOpenFocus",
"popupOpenStandard",
"postMessage",
"print",
"printList",
"processReqChange",
"prompt",
"pushNotAvailableMessage",
"queryNumber",
"queueColumns",
"queueFilters",
"queueMicrotask",
"queueTables",
"reMajor",
"reSafariVersion",
"reconstruct",
"record_row",
"record_rows",
"refFieldChangeResponse",
"refFlipImage",
"refFlipImageDisplay",
"refcount",
"reflistOpen",
"reflistOpenUrl",
"reflistOpenUrlAllowDotwalkReference",
"reflistPick",
"refreshFilter",
"refreshLabelRate",
"refreshLabelTimer",
"refreshLabels",
"refreshNav",
"refreshNavIfNotDoctypeUI",
"refreshRateProperty",
"rel",
"releaseEvents",
"reloadWindow",
"removeAC",
"removeClassName",
"removeCommentsFromClientScript",
"removeLabel",
"removeLabelActionViaLookupModal",
"removeLabelById",
"removeLabelByName",
"removeLabelFromCheckedSysIds",
"removeLabelResponse",
"removeLabelViaLookup",
"removeMappingPrefix",
"removeNewlinesFromClientScript",
"removePageShim",
"removeSpacesFromClientScript",
"removefieldBackgroundText",
"renderSaveChangesDialog",
"replaceAll",
"replaceRegEx",
"reportError",
"requestAnimationFrame",
"requestIdleCallback",
"resetDerivedWaitingThenclearValue",
"resetFilters",
"resizeBy",
"resizeTextAreaIframe",
"resizeTinymce",
"resizeTo",
"resolveDependentValue",
"restoreSelection",
"results",
"retrieveStorage",
"returnUrl",
"rowSysId",
"runAfterAllLoaded",
"runAfterPageLoadedEvents",
"runBeforeRender",
"runFilter",
"runFilter0",
"runFilterCallBack",
"runFilterHandlers",
"runThisFilter",
"sGetHours",
"sGetMinutes",
"sGetSeconds",
"safeAriaLiveAssertive",
"sanitizeHtml",
"saveAllSelected",
"saveAndRedirect",
"saveAttachment",
"saveFileAttachment",
"saveFilterRadioChange",
"saveUserImage",
"scheduler",
"screen",
"screenLeft",
"screenTop",
"screenX",
"screenY",
"scroll",
"scrollBy",
"scrollTo",
"scrollX",
"scrollY",
"scrollbars",
"scroller",
"searchForData",
"securityQueryCalculator",
"selResponse",
"selResponseHelper",
"selectFromFieldList",
"selectMenuItem",
"selectResizer",
"self",
"sendEmail",
"serverRequest",
"serverRequestPost",
"serverRequestWait",
"serviceWorkerManager",
"serviceWorkers",
"sessionStorage",
"setAllText",
"setAttributeValue",
"setCannedText",
"setCheckBox",
"setCollapseAllIcons",
"setColorSwatch",
"setDisplay",
"setDrivedFieldsValues",
"setDropDownSize",
"setDropDownSizes",
"setElementStyle",
"setEmailBody",
"setImage",
"setInterval",
"setKbSortOrder",
"setLightWeightLink",
"setLightWeightLinkDisplay",
"setMandatoryExplained",
"setNodes",
"setPreference",
"setPreferredFont",
"setPreferredFontSize",
"setPreviousText",
"setRedirectFields",
"setReferenceField",
"setRemovalNotification",
"setSavedText",
"setSelectValue",
"setSourceInParms",
"setStack",
"setStyle",
"setTextField",
"setTextValue",
"setTimeGraph",
"setTimeout",
"setWatchField",
"setup",
"shortcuts",
"shouldSkipContextMenu",
"show",
"showDictionary",
"showGoToLine",
"showHidePlusMore",
"showItem",
"showLabelLookupWindow",
"showList",
"showLoading",
"showLoadingDialog",
"showObject",
"showObjectInline",
"showObjectInlineBlock",
"showOpticsDebugger",
"showPopupLiveFeedList",
"showQuickForm",
"showRelated",
"showTagForm",
"showUIActionContext",
"showWatchField",
"simpleRemoveOption",
"simpleStorage",
"slushbucketDOMcheck",
"slushbucketPopulateHelper",
"snWebaConfig",
"sortByFilter",
"sortIndex",
"sortSelect",
"sortSupported",
"speechSynthesis",
"stackName",
"startRefresh",
"status",
"statusbar",
"stop",
"stopSelection",
"storeResults",
"storeZeroString",
"stripNewlines",
"structuredClone",
"styleMedia",
"submitTextSearch",
"swapImage",
"switchView",
"synchCache",
"sysopers",
"sysopers_template",
"sysvalues",
"tabbable",
"tabs2Init",
"tabs2Toggle",
"tblName",
"tearOff",
"tearOffAttachment",
"tearOffReference",
"tearOffWindowID",
"textareaResize",
"textareaResizer",
"textareaSizer",
"textareaSizer_Expand",
"textareaSizer_Related",
"textareaSizer_Related0",
"textareaSizer_Resize",
"textareaSizer_initialize",
"tiny_html_editor",
"toggleAddMe",
"toggleAttributeValue",
"toggleDebug",
"toggleDisplaySetPreference",
"toggleDivDisplay",
"toggleDivDisplayAndReturn",
"toggleGlideListIcons",
"toggleHelp",
"toggleInline",
"toggleItems",
"toggleItemsEventHandler",
"togglePreference",
"toggleQuestionRows",
"toggleSectionDisplay",
"toggleWorkflow",
"toolbar",
"top",
"triggerEvent",
"trim",
"tripleDigitFormat",
"trustCtrlKeyResponse",
"trustedTypes",
"tsIndexCreatorPopup",
"uiDeferredListPolicies",
"uiPolicies",
"ui_policy_add",
"ui_policy_currencyTypes",
"ui_policy_dateTypes",
"ui_policy_numberTypes",
"ui_policy_onLoad",
"unlock",
"updateAndFlip",
"updateAndOrButtonAria",
"updateAriaLabels",
"updateAttachmentCount",
"updateAttachmentCount2",
"updateFields",
"updateFilterAria",
"updateLabelReadCount",
"updateMenuItems",
"updateOperatorAria",
"updateRelated",
"updateRelatedGivenNameAndValue",
"updateRemoveButtonAria",
"updateSlushField",
"updateSortFields",
"url",
"urlMaxLength",
"useAnimation",
"useTextareas",
"userAgentLowerCase",
"validateAudioFile",
"validateFunctionDeclaration",
"validateHex",
"validateImageFile",
"validateNoServerObjectsInClientScript",
"validateNotCallingFunction",
"validateOptionalParameters",
"validateSize",
"validateSizeAndExt",
"validateStartEndDate",
"validateUIScriptIIFEPattern",
"validateVideoFile",
"validateWithExtensions",
"valueExistsInArray",
"viewSelection",
"views_sa",
"visualViewport",
"webkitCancelAnimationFrame",
"webkitRequestAnimationFrame",
"webkitRequestFileSystem",
"webkitResolveLocalFileSystemURL",
"webkitStorageInfo",
"widget",
"window",
"writeDynamicTitle",
"writeTitle",
"x",
"xmlView",
];
function onLoad() { // eslint-disable-line no-unused-vars
const visibles = kNames.filter(k => {
let t;
try {
t = eval(`${k} === null ? "<null>" : typeof(${k});`); // eslint-disable-line no-eval
} catch (_dummy) {
console.error(`FAILED on: ${k}`);
return false;
}
return t !== "undefined" && t !== "<null>";
});
// eslint-disable-next-line prefer-template
console.warn(`${visibles.length} visibles:\n` + visibles.join("\n"));
}