Index: LayoutTests/fast/workers/shared-worker-messageevent-source.html |
diff --git a/LayoutTests/fast/css/dynamic-style-attribute-query.html b/LayoutTests/fast/workers/shared-worker-messageevent-source.html |
similarity index 55% |
copy from LayoutTests/fast/css/dynamic-style-attribute-query.html |
copy to LayoutTests/fast/workers/shared-worker-messageevent-source.html |
index e63f1f93f687daafba6dcf55d920ce900880d98d..756bcd19d8ae50db5d49b81d0d537872c5414b9b 100644 |
--- a/LayoutTests/fast/css/dynamic-style-attribute-query.html |
+++ b/LayoutTests/fast/workers/shared-worker-messageevent-source.html |
@@ -3,12 +3,11 @@ |
<script src="../js/resources/js-test-pre.js"></script> |
</head> |
<body> |
-<div id="testDiv"> |
-</div> |
<script> |
-document.getElementById('testDiv').style.top = 0; |
-shouldNotBe("document.querySelector('#testDiv[style]')", "null"); |
+description("Make sure that MessageEvent.source is properly set in connect event."); |
+ |
+startWorker("resources/messageevent-source.js", true); |
</script> |
-</body> |
<script src="../js/resources/js-test-post.js"></script> |
+</body> |
</html> |