We currently return undefined whenever we had an error trying return the evaluation result by error. The most common error is "execution context destroyed". This produces very unexpected undefined from methods that do not ever expect undefined. Instead, we should throw because we were not able to return the result. |
||
|---|---|---|
| .. | ||
| attributeSelectorEngine.ts | ||
| cssSelectorEngine.ts | ||
| injectedScript.ts | ||
| injectedScript.webpack.config.js | ||
| README.md | ||
| selectorEngine.ts | ||
| textSelectorEngine.ts | ||
| utilityScript.ts | ||
| utilityScript.webpack.config.js | ||
| webpack-inline-source-plugin.js | ||
| xpathSelectorEngine.ts | ||
Injected
This directory contains helper sources which are injected into the page.
These sources are bundled with webpack to src/generated to be used as a compile-time source constants. See *.webpack.config.js for configs.