UNPKG

jscrewit

Version:

Converts plain JavaScript into JSFuck code, which consists of only six different characters: ! ( ) + [ ]

904 lines (790 loc) 27.9 kB
import { ElementaryFeature, PredefinedFeature } from './feature'; export interface FeatureAll { /** Features available in Android Browser 4.0. */ ANDRO_4_0: PredefinedFeature; /** Features available in Android Browser 4.1 to 4.3. */ ANDRO_4_1: PredefinedFeature; /** Features available in Android Browser 4.4. */ ANDRO_4_4: PredefinedFeature; /** * Existence of the global object document whose string representation starts with "\[object " and ends with "Document\]". * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. This feature is not available inside web workers. */ ANY_DOCUMENT: ElementaryFeature; /** * Existence of the global object self whose string representation starts with "\[object " and ends with "Window\]". * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. This feature is not available inside web workers. */ ANY_WINDOW: ElementaryFeature; /** * The property that the string representation of Array.prototype.entries\(\) starts with "\[object Array" and ends with "\]" at index 21 or 22. * * @remarks * * Available in Chrome, Edge, Firefox, Safari 7.1+, Opera, and Node.js 0.12+. */ ARRAY_ITERATOR: ElementaryFeature; /** * Support for arrow functions. * * @remarks * * Available in Chrome, Edge, Firefox, Safari 10.0+, Opera, and Node.js 4+. */ ARROW: ElementaryFeature; /** * Support for async functions, which return Promise object. * * @remarks * * Available in Chrome, Edge, Firefox, Safari 10.1+, Opera, and Node.js 7.6+. */ ASYNC_FUNCTION: ElementaryFeature; /** * Existence of the native function Array.prototype.at. * * @remarks * * Available in Chrome, Edge, Firefox, Safari 15.4+, Opera, and Node.js 16.6+. */ AT: ElementaryFeature; /** * Existence of the global functions atob and btoa. * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer 10+, Safari, Opera, Android Browser, and Node.js 16.0+. This feature is not available inside web workers in Safari before 10.0. */ ATOB: ElementaryFeature; /** Features available in the current environment. */ AUTO: PredefinedFeature; /** * Existence of the global object statusbar having the string representation "\[object BarProp\]". * * @remarks * * Available in Chrome, Edge, Firefox, Safari, Opera, and Android Browser 4.4. This feature is not available inside web workers. */ BARPROP: ElementaryFeature; /** * Features available in all browsers. * * No support for Node.js. */ BROWSER: PredefinedFeature; /** * The ability to call a function on the global object when invoking Function.prototype.call without binding. * * @remarks * * Available in Android Browser before 4.1. */ CALL_ON_GLOBAL: ElementaryFeature; /** * The property that the various string methods returning HTML code such as String.prototype.big or String.prototype.link have both the tag name and attributes written in capital letters. * * @remarks * * Available in Internet Explorer. */ CAPITAL_HTML: ElementaryFeature; /** * Features available in the current stable versions of Chrome, Edge and Opera. * * An alias for `CHROME_122`. */ CHROME: PredefinedFeature; /** * Features available in Chrome 122, Edge 122 and Opera 108 or later. * * @remarks * * This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `CHROME` or `CHROME_PREV` instead of `CHROME_122` for long term support. * * @see * * [Engine Support Policy](https://github.com/fasttime/JScrewIt#engine-support-policy) */ CHROME_122: PredefinedFeature; /** * Features available in the previous to current versions of Chrome and Edge. * * An alias for `CHROME_122`. */ CHROME_PREV: PredefinedFeature; /** * All new browsers' features. * * No support for Node.js and older browsers like Internet Explorer, Safari 17.3 or Android Browser. */ COMPACT: PredefinedFeature; /** * Existence of the global object console having the string representation "\[object Console\]". * * This feature may become unavailable when certain browser extensions are active. * * @remarks * * Available in Internet Explorer 10+, Safari before 14.1, and Android Browser. This feature is not available inside web workers in Safari before 7.1 and Android Browser 4.4. */ CONSOLE: ElementaryFeature; /** * Existence of the function document.createElement. * * An alias for `ANY_DOCUMENT`. */ CREATE_ELEMENT: ElementaryFeature; /** Minimum feature level, compatible with all supported engines in all environments. */ DEFAULT: PredefinedFeature; /** * Existence of the global object document having the string representation "\[object Document\]". * * @remarks * * Available in Internet Explorer before 11. This feature is not available inside web workers. */ DOCUMENT: ElementaryFeature; /** * Existence of the global object self having the string representation "\[object DOMWindow\]". * * @remarks * * Available in Android Browser before 4.4. This feature is not available inside web workers. */ DOMWINDOW: ElementaryFeature; /** * The property that double quotation mark, less than and greater than characters in the argument of String.prototype.fontcolor are escaped into their respective HTML entities. * * @remarks * * Available in Android Browser and Node.js before 0.12. */ ESC_HTML_ALL: ElementaryFeature; /** * The property that double quotation marks in the argument of String.prototype.fontcolor are escaped as "\"". * * @remarks * * Available in Chrome, Edge, Firefox, Safari, Opera, Android Browser, and Node.js. */ ESC_HTML_QUOT: ElementaryFeature; /** * The property that only double quotation marks and no other characters in the argument of String.prototype.fontcolor are escaped into HTML entities. * * @remarks * * Available in Chrome, Edge, Firefox, Safari, Opera, and Node.js 0.12+. */ ESC_HTML_QUOT_ONLY: ElementaryFeature; /** * Having regular expressions created with the RegExp constructor use escape sequences starting with a backslash to format line feed characters \("\\n"\) in their string representation. * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Node.js 12+. */ ESC_REGEXP_LF: ElementaryFeature; /** * Having regular expressions created with the RegExp constructor use escape sequences starting with a backslash to format slashes \("/"\) in their string representation. * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Node.js 4+. */ ESC_REGEXP_SLASH: ElementaryFeature; /** * Features available in the current stable version of Firefox. * * An alias for `FF_134`. */ FF: PredefinedFeature; /** * Features available in Firefox 131 to 133. * * @remarks * * This feature may be replaced or removed in the near future when current browser versions become obsolete. * * @see * * [Engine Support Policy](https://github.com/fasttime/JScrewIt#engine-support-policy) */ FF_131: PredefinedFeature; /** * Features available in Firefox 134 or later. * * @remarks * * This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `FF` or `FF_PREV` instead of `FF_134` for long term support. * * @see * * [Engine Support Policy](https://github.com/fasttime/JScrewIt#engine-support-policy) */ FF_134: PredefinedFeature; /** * Features available in Firefox 90 to 130. * * @remarks * * This feature may be replaced or removed in the near future when current browser versions become obsolete. Use `FF_ESR` instead of `FF_90` for long term support. * * @see * * [Engine Support Policy](https://github.com/fasttime/JScrewIt#engine-support-policy) */ FF_90: PredefinedFeature; /** * Features available in the current version of Firefox ESR. * * An alias for `FF_90`. */ FF_ESR: PredefinedFeature; /** * Features available in the previous to current version of Firefox. * * An alias for `FF_134`. */ FF_PREV: PredefinedFeature; /** * A string representation of native functions typical for Firefox and Safari. * * Remarkable traits are the lack of line feed characters at the beginning and at the end of the string and the presence of a line feed followed by four whitespaces \("\\n "\) before the "\[native code\]" sequence. * * @remarks * * Available in Firefox and Safari. */ FF_SRC: ElementaryFeature; /** * Existence of the native function Array.prototype.fill. * * @remarks * * Available in Chrome, Edge, Firefox, Safari 7.1+, Opera, and Node.js 4+. */ FILL: ElementaryFeature; /** * Existence of the native function Array.prototype.flat. * * @remarks * * Available in Chrome, Edge, Firefox, Safari 12+, Opera, and Node.js 11+. */ FLAT: ElementaryFeature; /** * Existence of the object document.forms with string representation "\[object HTMLCollection\]". * * An alias for `ANY_DOCUMENT`. */ FORMS: ElementaryFeature; /** * Existence of the function String.fromCodePoint. * * @remarks * * Available in Chrome, Edge, Firefox, Safari 9+, Opera, and Node.js 4+. */ FROM_CODE_POINT: ElementaryFeature; /** * A string representation of dynamically generated functions where the character at index 19 is a line feed \("\\n"\). * * @remarks * * Available in Chrome, Edge, Firefox, Safari 17.4+, Opera, and Node.js 10+. */ FUNCTION_19_LF: ElementaryFeature; /** * A string representation of dynamically generated functions where the character at index 22 is a line feed \("\\n"\). * * @remarks * * Available in Internet Explorer, Safari 9+ before 17.4, Android Browser, and Node.js before 10. */ FUNCTION_22_LF: ElementaryFeature; /** * Ability to call Array.prototype.toString with a non-array binding. * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, Android Browser 4.1+, and Node.js. */ GENERIC_ARRAY_TO_STRING: ElementaryFeature; /** * Having the global function toString return the string "\[object Undefined\]" when invoked without a binding. * * @remarks * * Available in Chrome, Edge, Firefox, Safari, Opera, and Node.js. */ GLOBAL_UNDEFINED: ElementaryFeature; /** * Presence of the text "GMT" after the first 25 characters in the string returned by Date\(\). * * The string representation of dates is implementation dependent, but most engines use a similar format, making this feature available in all supported engines except Internet Explorer 9 and 10. * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari, Opera, Android Browser, and Node.js. */ GMT: ElementaryFeature; /** * Existence of the global object history having the string representation "\[object History\]". * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. This feature is not available inside web workers. */ HISTORY: ElementaryFeature; /** * Existence of the global object Audio whose string representation starts with "function HTMLAudioElement". * * @remarks * * Available in Android Browser 4.4. This feature is not available inside web workers. */ HTMLAUDIOELEMENT: ElementaryFeature; /** Features available in Internet Explorer 10. */ IE_10: PredefinedFeature; /** Features available in Internet Explorer 11. */ IE_11: PredefinedFeature; /** Features available in Internet Explorer 11 on Windows 10. */ IE_11_WIN_10: PredefinedFeature; /** Features available in Internet Explorer 9. */ IE_9: PredefinedFeature; /** * A string representation of native functions typical for Internet Explorer. * * Remarkable traits are the presence of a line feed character \("\\n"\) at the beginning and at the end of the string and a line feed followed by four whitespaces \("\\n "\) before the "\[native code\]" sequence. * * @remarks * * Available in Internet Explorer. */ IE_SRC: ElementaryFeature; /** * The ability to use unary increment operators with string characters, like in \( ++"some string"\[0\] \): this will result in a TypeError in strict mode in ECMAScript compliant engines. * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, Android Browser, and Node.js. This feature is not available when strict mode is enforced in Chrome, Edge, Firefox, Internet Explorer 10+, Safari, Opera, and Node.js 5+. */ INCR_CHAR: ElementaryFeature; /** * Existence of the global object Intl. * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 0.12+. */ INTL: ElementaryFeature; /** * Availability of iterator helpers. * * @remarks * * Available in Chrome, Edge, Firefox 131+, Safari 18.4+, Opera, and Node.js 22.0+. */ ITERATOR_HELPER: ElementaryFeature; /** * Japanese string representation of Infinity ending with "∞". * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 0.12+. */ JAPANESE_INFINITY: ElementaryFeature; /** * Language sensitive string representation of Infinity as "∞". * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 10, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 0.12+. */ LOCALE_INFINITY: ElementaryFeature; /** * Features shared by all engines capable of localized number formatting, including output of Arabic digits, the Arabic decimal separator "٫", the letters in the first word of the Arabic string representation of NaN \("ليس"\), Persian digits and the Persian digit group separator "٬". * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer 11, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 13+. */ LOCALE_NUMERALS: ElementaryFeature; /** * Localized number formatting for Bengali. * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 10, Safari 10.0+ before 18.4, Opera, Android Browser 4.4, and Node.js 13+. */ LOCALE_NUMERALS_BN: ElementaryFeature; /** * Extended localized number formatting. * * This includes all features of LOCALE_NUMERALS plus the output of the first three letters in the second word of the Arabic string representation of NaN \("رقم"\), the letters in the Russian string representation of NaN \("не число"\) and the letters in the Persian string representation of NaN \("ناعدد"\). * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer 11 on Windows 10, Safari 10.0+, Opera, Android Browser 4.4, and Node.js 13+. This feature is not available inside web workers in Safari 18.4+. */ LOCALE_NUMERALS_EXT: ElementaryFeature; /** * Existence of the global object location with the property that Object.prototype.toString.call\(location\) evaluates to a string that starts with "\[object " and ends with "Location\]". * * @remarks * * Available in Chrome, Edge, Firefox, Safari, Opera, and Android Browser. */ LOCATION: ElementaryFeature; /** * Existence of user agent string navigator.userAgent that starts with "Mozilla". * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. */ MOZILLA: ElementaryFeature; /** * Existence of the name property for functions. * * @remarks * * Available in Chrome, Edge, Firefox, Safari, Opera, Android Browser, and Node.js. */ NAME: ElementaryFeature; /** * Existence of the global object Node having the string representation "\[object NodeConstructor\]". * * @remarks * * Available in Safari before 10.0. This feature is not available inside web workers. */ NODECONSTRUCTOR: ElementaryFeature; /** Features available in Node.js 0.10. */ NODE_0_10: PredefinedFeature; /** Features available in Node.js 0.12. */ NODE_0_12: PredefinedFeature; /** Features available in Node.js 10. */ NODE_10: PredefinedFeature; /** Features available in Node.js 11. */ NODE_11: PredefinedFeature; /** Features available in Node.js 12. */ NODE_12: PredefinedFeature; /** Features available in Node.js 13 and Node.js 14. */ NODE_13: PredefinedFeature; /** Features available in Node.js 15. */ NODE_15: PredefinedFeature; /** Features available in Node.js 16.0 to 16.5. */ NODE_16_0: PredefinedFeature; /** Features available in Node.js 16.6 to 21. */ NODE_16_6: PredefinedFeature; /** Features available in Node.js 22.0 to 22.11 and Node.js 23.0 to 23.2. */ NODE_22: PredefinedFeature; /** Features available in Node.js 22.12 to 22.14 and Node.js 23.3 or later. */ NODE_22_12: PredefinedFeature; /** Features available in Node.js 4. */ NODE_4: PredefinedFeature; /** Features available in Node.js 5 to 7.5. */ NODE_5: PredefinedFeature; /** Features available in Node.js 7.6 to 9. */ NODE_7_6: PredefinedFeature; /** * Existence of the string document.nodeName that starts with a number sign \("#"\). * * An alias for `ANY_DOCUMENT`. */ NODE_NAME: ElementaryFeature; /** * A string representation of native functions typical for V8 or for Internet Explorer but not for Firefox and Safari. * * @remarks * * Available in Chrome, Edge, Internet Explorer, Opera, Android Browser, and Node.js. */ NO_FF_SRC: ElementaryFeature; /** * A string representation of native functions typical for most engines with the notable exception of Internet Explorer. * * A remarkable trait of this feature is the lack of line feed characters at the beginning and at the end of the string. * * @remarks * * Available in Chrome, Edge, Firefox, Safari, Opera, Android Browser, and Node.js. */ NO_IE_SRC: ElementaryFeature; /** * The property that the string representation of Array.prototype.entries\(\) evaluates to "\[object Array Iterator\]". * * @remarks * * Available in Chrome, Edge, Firefox, Safari 9+, Opera, and Node.js 0.12+. */ NO_OLD_SAFARI_ARRAY_ITERATOR: ElementaryFeature; /** * A string representation of native functions typical for Firefox, Internet Explorer and Safari. * * A most remarkable trait of this feature is the presence of a line feed followed by four whitespaces \("\\n "\) before the "\[native code\]" sequence. * * @remarks * * Available in Firefox, Internet Explorer, and Safari. */ NO_V8_SRC: ElementaryFeature; /** * The property that the Array.prototype.entries\(\).constructor is the Object constructor. * * @remarks * * Available in Firefox before 131, Safari 9+ before 18.4, and Node.js 0.12+ before 22.0. */ OBJECT_ARRAY_ENTRIES_CTOR: ElementaryFeature; /** * Existence of the global function location.constructor whose string representation starts with "\[object L". * * @remarks * * Available in Internet Explorer and Safari before 10.0. This feature is not available inside web workers. */ OBJECT_L_LOCATION_CTOR: ElementaryFeature; /** * Having the function Object.prototype.toString return the string "\[object Undefined\]" when invoked without a binding. * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer 10+, Safari, Opera, Android Browser 4.1+, and Node.js. */ OBJECT_UNDEFINED: ElementaryFeature; /** * The property that the string representation of the global object self starts with "\[object W". * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser 4.4. This feature is not available inside web workers in Chrome, Edge, Firefox, Safari, Opera, and Android Browser 4.4. */ OBJECT_W_SELF: ElementaryFeature; /** * Existence of the global object location.constructor whose string representation starts with "\[object " and ends with "LocationConstructor\]". * * @remarks * * Available in Safari before 10.0. */ OLD_SAFARI_LOCATION_CTOR: ElementaryFeature; /** * Existence of the global object Intl having the string representation "\[object Object\]". * * @remarks * * Available in Internet Explorer 11, Safari 10.0+ before 14.0.1, Android Browser 4.4, and Node.js 0.12+ before 15. */ PLAIN_INTL: ElementaryFeature; /** * The property that the string representation of String.prototype.matchAll\(\) evaluates to "\[object RegExp String Iterator\]". * * @remarks * * Available in Chrome, Edge, Firefox, Safari 13+, Opera, and Node.js 12+. */ REGEXP_STRING_ITERATOR: ElementaryFeature; /** * Features available in the current stable version of Safari. * * An alias for `SAFARI_18_4`. */ SAFARI: PredefinedFeature; /** Features available in Safari 10.0. */ SAFARI_10_0: PredefinedFeature; /** Features available in Safari 10.1 and Safari 11. */ SAFARI_10_1: PredefinedFeature; /** Features available in Safari 12. */ SAFARI_12: PredefinedFeature; /** Features available in Safari 13 and Safari 14.0.0. */ SAFARI_13: PredefinedFeature; /** Features available in Safari 14.0.1 to 14.0.3. */ SAFARI_14_0_1: PredefinedFeature; /** Features available in Safari 14.1 to 15.3. */ SAFARI_14_1: PredefinedFeature; /** Features available in Safari 15.4 to 17.3. */ SAFARI_15_4: PredefinedFeature; /** Features available in Safari 17.4 to 17.6. */ SAFARI_17_4: PredefinedFeature; /** Features available in Safari 18.0 to 18.3. */ SAFARI_18_0: PredefinedFeature; /** Features available in Safari 18.4 or later. */ SAFARI_18_4: PredefinedFeature; /** Features available in Safari 7.0. */ SAFARI_7_0: PredefinedFeature; /** Features available in Safari 7.1 and Safari 8. */ SAFARI_7_1: PredefinedFeature; /** Features available in Safari 9. */ SAFARI_9: PredefinedFeature; /** An alias for `ANY_WINDOW`. */ SELF: ElementaryFeature; /** * Existence of the global object self whose string representation starts with "\[object ". * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. This feature is not available inside web workers in Safari 7.1+ before 10.0. */ SELF_OBJ: ElementaryFeature; /** * Support for the two-letter locale name "ar" to format decimal numbers as Arabic numerals. * * @remarks * * Available in Firefox before 134, Internet Explorer 11, Safari 10.0+ before 18.0, Android Browser 4.4, and Node.js 13+ before 22.12–22.14 and 23.3. */ SHORT_LOCALES: ElementaryFeature; /** * Existence of the global string status. * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser. This feature is not available inside web workers. */ STATUS: ElementaryFeature; /** * The property that Object.prototype.toString.call\(\) evaluates to "\[object Undefined\]". * * This behavior is specified by ECMAScript, and is enforced by all engines except Android Browser versions prior to 4.1.2, where this feature is not available. * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, Android Browser 4.1+, and Node.js. */ UNDEFINED: ElementaryFeature; /** * A string representation of native functions typical for the V8 engine. * * Remarkable traits are the lack of line feed characters at the beginning and at the end of the string and the presence of a single whitespace before the "\[native code\]" sequence. * * @remarks * * Available in Chrome, Edge, Opera, Android Browser, and Node.js. */ V8_SRC: ElementaryFeature; /** * Existence of the global object self having the string representation "\[object Window\]". * * @remarks * * Available in Chrome, Edge, Firefox, Internet Explorer, Safari, Opera, and Android Browser 4.4. This feature is not available inside web workers. */ WINDOW: ElementaryFeature; } /** Name of an elementary feature. */ type ElementaryFeatureName = | 'ANY_DOCUMENT' | 'ANY_WINDOW' | 'ARRAY_ITERATOR' | 'ARROW' | 'ASYNC_FUNCTION' | 'AT' | 'ATOB' | 'BARPROP' | 'CALL_ON_GLOBAL' | 'CAPITAL_HTML' | 'CONSOLE' | 'DOCUMENT' | 'DOMWINDOW' | 'ESC_HTML_ALL' | 'ESC_HTML_QUOT' | 'ESC_HTML_QUOT_ONLY' | 'ESC_REGEXP_LF' | 'ESC_REGEXP_SLASH' | 'FF_SRC' | 'FILL' | 'FLAT' | 'FROM_CODE_POINT' | 'FUNCTION_19_LF' | 'FUNCTION_22_LF' | 'GENERIC_ARRAY_TO_STRING' | 'GLOBAL_UNDEFINED' | 'GMT' | 'HISTORY' | 'HTMLAUDIOELEMENT' | 'IE_SRC' | 'INCR_CHAR' | 'INTL' | 'ITERATOR_HELPER' | 'JAPANESE_INFINITY' | 'LOCALE_INFINITY' | 'LOCALE_NUMERALS' | 'LOCALE_NUMERALS_BN' | 'LOCALE_NUMERALS_EXT' | 'LOCATION' | 'MOZILLA' | 'NAME' | 'NODECONSTRUCTOR' | 'NO_FF_SRC' | 'NO_IE_SRC' | 'NO_OLD_SAFARI_ARRAY_ITERATOR' | 'NO_V8_SRC' | 'OBJECT_ARRAY_ENTRIES_CTOR' | 'OBJECT_L_LOCATION_CTOR' | 'OBJECT_UNDEFINED' | 'OBJECT_W_SELF' | 'OLD_SAFARI_LOCATION_CTOR' | 'PLAIN_INTL' | 'REGEXP_STRING_ITERATOR' | 'SELF_OBJ' | 'SHORT_LOCALES' | 'STATUS' | 'UNDEFINED' | 'V8_SRC' | 'WINDOW' ; /** Name of a predefined feature. */ type PredefinedFeatureName = ElementaryFeatureName | 'ANDRO_4_0' | 'ANDRO_4_1' | 'ANDRO_4_4' | 'AUTO' | 'BROWSER' | 'CHROME_122' | 'COMPACT' | 'DEFAULT' | 'FF_131' | 'FF_134' | 'FF_90' | 'IE_10' | 'IE_11' | 'IE_11_WIN_10' | 'IE_9' | 'NODE_0_10' | 'NODE_0_12' | 'NODE_10' | 'NODE_11' | 'NODE_12' | 'NODE_13' | 'NODE_15' | 'NODE_16_0' | 'NODE_16_6' | 'NODE_22' | 'NODE_22_12' | 'NODE_4' | 'NODE_5' | 'NODE_7_6' | 'SAFARI_10_0' | 'SAFARI_10_1' | 'SAFARI_12' | 'SAFARI_13' | 'SAFARI_14_0_1' | 'SAFARI_14_1' | 'SAFARI_15_4' | 'SAFARI_17_4' | 'SAFARI_18_0' | 'SAFARI_18_4' | 'SAFARI_7_0' | 'SAFARI_7_1' | 'SAFARI_9' ;