aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/tests/dom/observable/tentative/observable-inspect.any.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/tests/dom/observable/tentative/observable-inspect.any.js')
-rw-r--r--tests/wpt/tests/dom/observable/tentative/observable-inspect.any.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wpt/tests/dom/observable/tentative/observable-inspect.any.js b/tests/wpt/tests/dom/observable/tentative/observable-inspect.any.js
index 8aff741d267..2b67dd9f3d3 100644
--- a/tests/wpt/tests/dom/observable/tentative/observable-inspect.any.js
+++ b/tests/wpt/tests/dom/observable/tentative/observable-inspect.any.js
@@ -391,7 +391,7 @@ test(() => {
const controller = new AbortController();
- self.on('error').take(1).subscribe(e =>
+ self.when('error').take(1).subscribe(e =>
results.push(e.message + ', from report exception'));
result.subscribe({