Skip to content

Commit 31184e7

Browse files
committed
Fix setTextContainingScript Test #1466
This commit fixes the test org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser.test_setTextContainingScript_applicationLayerProgressListenerMustSeeUpToDateDom() as Edge seems to misbehave sporadically when an invalid script source is added using Edge:setText. Hence, with this commit we replace the script tag with a valid statement in the test and enable it. Contributes to #1466
1 parent 84f02de commit 31184e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ public void test_setTextContainingScript_applicationLayerProgressListenerMustSee
11621162
browser.setText("""
11631163
<html>
11641164
<head>
1165-
<script src=\"file:///does/not/really/needs/to/exist.js\"></script>
1165+
<script>console.log("test");</script>
11661166
</head>
11671167
<body>
11681168
<h1>Hello, World!</h1>

0 commit comments

Comments
 (0)