Skip to content

Commit 4849716

Browse files
author
Jay Bhaskar
committed
8338886: JavaFX debug builds fail on macOS
Reviewed-by: kcr
1 parent aa52f7e commit 4849716

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)