From 6ff58084620839fd52a63d50543aa3c345b7924a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=8A?= =?UTF-8?q?=D1=80=20=D0=9A=D1=83=D1=80=D1=82=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Fri, 13 Dec 2024 13:40:48 +0200 Subject: [PATCH] No need to check that webkit is used on gtk in tests It's the only option. --- .../swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java index 7ed5d135d21..a004c2c7bd2 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java @@ -180,7 +180,7 @@ public void setUp() { isEdge = browser.getBrowserType().equals("edge"); String shellTitle = name.getMethodName(); - if (SwtTestUtil.isGTK && browser.getBrowserType().equals("webkit")) { + if (SwtTestUtil.isGTK) { // Note, webkitGtk version is only available once Browser is instantiated. String webkitGtkVersionStr = System.getProperty("org.eclipse.swt.internal.webkitgtk.version"); //$NON-NLS-1$