-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8
-
Windows 7 x64
JDK 8 b106, x86
Let's start some test for workers:
That's output we see:
....
-do-test-run-single:
[junit] Testsuite: com.sun.fx.webnode.tests.webworkers.AccessingTest
[junit] Loading jemmy properties from C:\Users\aurora\.jemmy.properties
[junit] Property file C:\Users\aurora\.jemmy.properties does not exists. Ignoring.
[junit] Testsuite: com.sun.fx.webnode.tests.webworkers.AccessingTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit]
[junit] Testcase: com.sun.fx.webnode.tests.webworkers.AccessingTest:accessParent: Caused an ERROR
[junit] Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit] junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit]
[junit]
[junit] Test com.sun.fx.webnode.tests.webworkers.AccessingTest FAILED (crashed)
....
_________
The code, which crashes JVM:
engine.load(getAbsolutePathToResource("resources/documentAccessingPage.html"));
_________
Content of the page:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>
var worker = new Worker('documentAccessingWorker.js');
worker.addEventListener('message', function(event) {
document.getElementById("result").innerHTML = event.data;
}, false);
worker.postMessage();
</script>
</head>
<body>
<div id="result"></div>
</body>
</html>
That's output we see:
....
-do-test-run-single:
[junit] Testsuite: com.sun.fx.webnode.tests.webworkers.AccessingTest
[junit] Loading jemmy properties from C:\Users\aurora\.jemmy.properties
[junit] Property file C:\Users\aurora\.jemmy.properties does not exists. Ignoring.
[junit] Testsuite: com.sun.fx.webnode.tests.webworkers.AccessingTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit]
[junit] Testcase: com.sun.fx.webnode.tests.webworkers.AccessingTest:accessParent: Caused an ERROR
[junit] Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit] junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
[junit]
[junit]
[junit] Test com.sun.fx.webnode.tests.webworkers.AccessingTest FAILED (crashed)
....
_________
The code, which crashes JVM:
engine.load(getAbsolutePathToResource("resources/documentAccessingPage.html"));
_________
Content of the page:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>
var worker = new Worker('documentAccessingWorker.js');
worker.addEventListener('message', function(event) {
document.getElementById("result").innerHTML = event.data;
}, false);
worker.postMessage();
</script>
</head>
<body>
<div id="result"></div>
</body>
</html>
- duplicates
-
JDK-8123763 Worker tests (DRT) are failing after fix for RT-21460
- Closed