Commit 86285aba authored by Marijn Kruisselbrink's avatar Marijn Kruisselbrink Committed by Commit Bot

Remove message-port-start-and-close-different-microtask.html

This test makes assumptions about ordering of different task sources
that are not guaranteed by either the spec or the implementation.

Bug: 784909
Change-Id: I6c5d25fd5c684594ca272a84a664692c90caff6e
Reviewed-on: https://chromium-review.googlesource.com/896034
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: default avatarAlex Clarke <alexclarke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#534179}
parent 827b0b6c
...@@ -110,9 +110,6 @@ crbug.com/644433 virtual/gpu/fast/canvas/OffscreenCanvas-2d-pattern-in-worker.ht ...@@ -110,9 +110,6 @@ crbug.com/644433 virtual/gpu/fast/canvas/OffscreenCanvas-2d-pattern-in-worker.ht
crbug.com/702006 paint/invalidation/compositing/scrolling-neg-z-index-descendants-should-cause-repaint.html [ Failure ] crbug.com/702006 paint/invalidation/compositing/scrolling-neg-z-index-descendants-should-cause-repaint.html [ Failure ]
crbug.com/702006 virtual/spv175/paint/invalidation/compositing/scrolling-neg-z-index-descendants-should-cause-repaint.html [ Skip ] crbug.com/702006 virtual/spv175/paint/invalidation/compositing/scrolling-neg-z-index-descendants-should-cause-repaint.html [ Skip ]
crbug.com/784909 [ Win7 ] fast/events/message-port-start-and-close-different-microtask.html [ Failure Pass ]
crbug.com/784909 [ Win7 ] virtual/mouseevent_fractional/fast/events/message-port-start-and-close-different-microtask.html [ Failure Pass ]
crbug.com/784956 fast/history/frameset-repeated-name.html [ Pass Failure ] crbug.com/784956 fast/history/frameset-repeated-name.html [ Pass Failure ]
########## Genuinely flaky ########## ########## Genuinely flaky ##########
......
...@@ -80,9 +80,6 @@ crbug.com/644433 virtual/gpu/fast/canvas/OffscreenCanvas-2d-pattern-in-worker.ht ...@@ -80,9 +80,6 @@ crbug.com/644433 virtual/gpu/fast/canvas/OffscreenCanvas-2d-pattern-in-worker.ht
crbug.com/702006 paint/invalidation/compositing/scrolling-neg-z-index-descendants-should-cause-repaint.html [ Failure ] crbug.com/702006 paint/invalidation/compositing/scrolling-neg-z-index-descendants-should-cause-repaint.html [ Failure ]
crbug.com/702006 virtual/spv175/paint/invalidation/compositing/scrolling-neg-z-index-descendants-should-cause-repaint.html [ Skip ] crbug.com/702006 virtual/spv175/paint/invalidation/compositing/scrolling-neg-z-index-descendants-should-cause-repaint.html [ Skip ]
crbug.com/784909 [ Win7 ] fast/events/message-port-start-and-close-different-microtask.html [ Failure Pass ]
crbug.com/784909 [ Win7 ] virtual/mouseevent_fractional/fast/events/message-port-start-and-close-different-microtask.html [ Failure Pass ]
crbug.com/784956 fast/history/frameset-repeated-name.html [ Pass Failure ] crbug.com/784956 fast/history/frameset-repeated-name.html [ Pass Failure ]
########## Genuinely flaky ########## ########## Genuinely flaky ##########
......
Test whether opening and closing a messageport in different microtasks correctly receives an in-flight message.
Should be a START message, followed by a HELLO message then DONE.
START
PASS. Got Message: HELLO before close
DONE
<body>
<p>Test whether opening and closing a messageport in different microtasks correctly receives an in-flight message.</p>
<p>Should be a START message, followed by a HELLO message then DONE.</p>
<pre id=log></pre>
<script>
function log(message)
{
document.getElementById("log").innerHTML += message + "<br>";
}
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
log("START");
var channel = new MessageChannel;
channel.port2.postMessage("HELLO");
openThenPostClose();
done();
function openThenPostClose() {
setTimeout(function() {
channel.port1.onmessage = function(evt) {
log("PASS. Got Message: " + evt.data + " before close");
}
setTimeout(function() {
channel.port1.close();
}, 0);
}, 0);
}
function done() {
// Wait a short period of time to ensure no messages come in from previous tests.
setTimeout(function() {
log("DONE");
if (window.testRunner)
testRunner.notifyDone();
}, 100);
}
</script>
</body>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment