diff options
author | Narfinger <Narfinger@users.noreply.github.com> | 2025-05-13 14:54:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-13 12:54:18 +0000 |
commit | 991be359a3b896c204778cd3f3b226e16f9435b8 (patch) | |
tree | 8dc9b81799a9afee02de84aed25c2901028a35e2 /tests/wpt/css-tests/css-transforms-1_dev/xhtml1/svg-patternTransform-014.xht | |
parent | 91c4c7b9982556bc11a39d47081984cbdfa6280e (diff) | |
download | servo-main.tar.gz servo-main.zip |
This change adds a new `WebView` API `evaluate_javascript()`, which
allows embedders to
execute JavaScript code and wait for a reply asynchronously. Ongoing
script execution is
tracked by a libservo `JavaScriptEvaluator` struct, which maps an id to
the callback passed
to the `evaluate_javascript()` method. The id is used to track the
script and its execution
through the other parts of Servo.
Testing: This changes includes `WebView` unit tests.
---------
Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'tests/wpt/css-tests/css-transforms-1_dev/xhtml1/svg-patternTransform-014.xht')
0 files changed, 0 insertions, 0 deletions