Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 5a81743

Browse files
author
Jay Bhaskar
committed
8338886: JavaFX debug builds fail on macOS
Reviewed-by: angorya Backport-of: 48497168892f5625f77936eccf19e836a6c1971e
1 parent 4030ad9 commit 5a81743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/javafx.web/src/main/native/Source/WebCore/bindings/java/JavaDOMUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace WebCore {
4747

4848
static void raiseDOMErrorException(JNIEnv* env, WebCore::ExceptionCode ec)
4949
{
50-
ASSERT(ec);
50+
ASSERT(ec == ExceptionCode::TypeError);
5151

5252
auto description = DOMException::description(ec);
5353

0 commit comments

Comments
 (0)