playwright/src/injected
Dmitry Gozman 064a0a1154
fix(webkit): do not swallow errors when returning by value (#2723)
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.
2020-06-26 09:50:57 -07:00
..
attributeSelectorEngine.ts feat(cli): introduce basic playwright CLI tool (#2571) 2020-06-14 17:24:45 -07:00
cssSelectorEngine.ts fix(css selector): handle missing spaces between [] and > (#2612) 2020-06-17 23:20:12 -07:00
injectedScript.ts fix(logs): streaming logs from InjectedScriptPoll without exception (#2712) 2020-06-25 13:13:10 -07:00
injectedScript.webpack.config.js chore: refactor injected script harness (#2259) 2020-05-15 15:21:49 -07:00
README.md feat(engines): introduce a css selector engine and a way to query it (#50) 2019-11-22 15:36:17 -08:00
selectorEngine.ts api(selectors): pass selector name when registering, allow file path (#1162) 2020-02-28 15:34:07 -08:00
textSelectorEngine.ts feat(cli): introduce basic playwright CLI tool (#2571) 2020-06-14 17:24:45 -07:00
utilityScript.ts fix(webkit): do not swallow errors when returning by value (#2723) 2020-06-26 09:50:57 -07:00
utilityScript.webpack.config.js chore: introduce utility script for evaluate helpers (#2306) 2020-05-20 15:55:33 -07:00
webpack-inline-source-plugin.js chore(license): use Apache 2.0 (#389) 2020-01-06 18:22:35 -08:00
xpathSelectorEngine.ts api(selectors): pass selector name when registering, allow file path (#1162) 2020-02-28 15:34:07 -08:00

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.