From 2170a41d975dbdc4680eb0ea346fdb5056bfa57b Mon Sep 17 00:00:00 2001 From: Andreu Botella Date: Sun, 3 Oct 2021 17:21:49 +0200 Subject: feat(web): Implement `DOMException`'s `stack` property. (#12294) As per WebIDL (https://heycam.github.io/webidl/#es-DOMException-specialness), if `Error` objects have a `stack` property, so should `DOMException` instances. --- tools/wpt/expectation.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tools/wpt') diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index 72c276d7b..ab8ebe447 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -13603,9 +13603,7 @@ "DOMException-constants.any.html": true, "DOMException-constructor-and-prototype.any.html": true, "DOMException-constructor-behavior.any.html": true, - "DOMException-custom-bindings.any.html": [ - "If the implementation has a stack property on normal errors, it also does on DOMExceptions" - ] + "DOMException-custom-bindings.any.html": true }, "class-string-interface.any.html": true, "class-string-iterator-prototype-object.any.html": true, @@ -15339,4 +15337,4 @@ "Pattern: [] Inputs: []" ] } -} \ No newline at end of file +} -- cgit v1.2.3