New issue
Advanced search Search tips

Issue 673526 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue 769835



Sign in to add a comment

Messages posted to a closed MessagePort should not be deliverd.

Project Member Reported by mek@chromium.org, Dec 12 2016

Issue description

The following patch updates one of our layout tests to add a test to make sure that messages that are posted to a (transfered) closed port don't actually still arive. And this test fails. Once a port is closed any messages sent to it should disappear.

diff --git a/third_party/WebKit/LayoutTests/fast/events/message-port-clone.html b/third_party/WebKit/LayoutTests/fast/events/message-port-clone.html
index e158ec6..88d1f03 100644
--- a/third_party/WebKit/LayoutTests/fast/events/message-port-clone.html
+++ b/third_party/WebKit/LayoutTests/fast/events/message-port-clone.html
@@ -95,6 +95,9 @@ function testPostClosePort()
 {
     var channel = new MessageChannel;
     var channel2 = new MessageChannel;
+    channel2.port1.onmessage = function(evt) {
+        testFailed("Message sent to closed port should not arrive.");
+    }
     channel2.port2.close();
     channel.port1.postMessage("closed", [channel2.port2]);
     channel.port2.onmessage = function(evt) {
@@ -102,8 +105,10 @@ function testPostClosePort()
         shouldNotBe("testEvent.ports", "null");
         shouldBe("testEvent.ports.length", "1");
         shouldBe("testEvent.data", "'closed'");
-
-        finishJSTest();
+        testEvent.ports[0].postMessage('Should not arrive');
+        setTimeout(function() {
+            finishJSTest();
+        }, 100);
     }
 }

 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6

commit 09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6
Author: mek <mek@chromium.org>
Date: Wed Jan 18 21:10:59 2017

Import wpt/webmessaging tests

Imports wpt@aae3e1b6ffb8b24acb777450933ceeafd97e3655
Using update-w3c-deps in Chromium 96c89c1cd14f092f9879407f85d7001c246e9687.

NOEXPORT=true

BUG=670024
BUG=660384
BUG= 665820 
BUG= 673526 

Review-Url: https://codereview.chromium.org/2558423002
Cr-Commit-Position: refs/heads/master@{#444478}

[modify] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/TestExpectations
[modify] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/W3CImportExpectations
[modify] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/MANIFEST.json
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/Channel_postMessage_DataCloneErr.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/Channel_postMessage_clone_port.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/Channel_postMessage_clone_port_error.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/Channel_postMessage_event_properties.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/Channel_postMessage_ports_readonly_array.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/Channel_postMessage_target_source.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/MessageEvent.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/MessageEvent_properties.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/MessagePort_initial_disabled.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/MessagePort_onmessage_start.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/README.md
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/Transferred_objects_unusable.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/basics.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/blobs.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/interface.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/resources/sandboxed.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/resources/worker.js
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/sandbox.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/workers.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/event.data.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/event.origin.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/event.ports.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/event.source.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/event.source.xorigin.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/001.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/002.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/003.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004-1.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004-2.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/004.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/message-channels/close.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_ArrayBuffer.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_Date.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_Document.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_Function.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_MessagePorts_sorigin.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_MessagePorts_xorigin.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_arrays.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_asterisk_xorigin.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_dup_transfer_objects.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_invalid_targetOrigin.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_objects.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_origin_mismatch.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_origin_mismatch_xorigin.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_solidus_sorigin.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/postMessage_solidus_xorigin.sub.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/support/ChildWindowPostMessage.htm
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/support/compare.js
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/001.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/002.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/003.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/004.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/005.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/006.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/007.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/010.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/011.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/012.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/013.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/014.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/015.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/016.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/017.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/018.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/019.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/020.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/021.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/023.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/024.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/025.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/026.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/with-ports/027.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/001.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/002.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/003.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/004.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/005.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/006.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/007.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/008.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/009.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/010.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/011.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/012.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/013.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/014.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/015.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/016.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/017.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/018.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/019-1.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/019.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/020-1.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/020.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/021.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/023.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/024.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/025-1.js
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/025.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/026.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/027.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/028.html
[add] https://crrev.com/09f2dd1f7eed9ee0bf7584f93871a117bcdf67c6/third_party/WebKit/LayoutTests/external/wpt/webmessaging/without-ports/029.html

Has this been fixed? In any case, looks like this is not an untriaged issue in the least. :) As part of platform predictability, we have been pinging untriaged "Hotlist-Interop" bugs.

Comment 3 by mek@chromium.org, Feb 6 2017

Status: Available (was: Untriaged)
Nope, hasn't been fixed. And I believe the in-progress mojo rewrite of MessagePort has the same bug. I guess nobody is actively triaging Blink>Messaging bugs yet. Marking this as available is probably the right thing to do. 
This seems straightforward (and P3/Available is probably a suitable triage, thanks), but probably ought to wait until after Darin's refactor lands.

Comment 5 by mek@chromium.org, Feb 7 2017

It's not quite straight forward, especially after Darin's refactor, as mojo doesn't entirely have the concept of transfering a closed message pipe. But one possible work-around would be to just represent closed message pipes by creating a new message pipe and throwing one end away. So yeah, not complicated, but a little bit tricky.

Comment 6 by mek@chromium.org, Sep 13 2017

Owner: mek@chromium.org
Status: Started (was: Available)

Comment 7 by mek@chromium.org, Sep 28 2017

Blockedon: 769835
Project Member

Comment 8 by bugdroid1@chromium.org, Oct 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/419b66b54c98e04141e5e966d905dbb371314770

commit 419b66b54c98e04141e5e966d905dbb371314770
Author: Marijn Kruisselbrink <mek@chromium.org>
Date: Mon Oct 02 20:30:24 2017

Fix behavior around closed message ports.

Connect a closed message port to a dangling message pipe to make sure
messages posted to the port end up getting lost, even after the message
port is transferred to a different process.

Bug:  673526 
Change-Id: I95467bf5c3e1af316c8781bcca6dfdda29936fe8
Reviewed-on: https://chromium-review.googlesource.com/690981
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#505760}
[modify] https://crrev.com/419b66b54c98e04141e5e966d905dbb371314770/third_party/WebKit/LayoutTests/TestExpectations
[modify] https://crrev.com/419b66b54c98e04141e5e966d905dbb371314770/third_party/WebKit/Source/core/dom/MessagePort.cpp

Comment 9 by mek@chromium.org, Oct 2 2017

Status: Fixed (was: Started)
Project Member

Comment 10 by bugdroid1@chromium.org, Oct 3 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/db3d89459575f0c658c562baa2d3d55648e6767c

commit db3d89459575f0c658c562baa2d3d55648e6767c
Author: Marijn Kruisselbrink <mek@chromium.org>
Date: Tue Oct 03 16:32:02 2017

Revert "Fix behavior around closed message ports."

This reverts commit 419b66b54c98e04141e5e966d905dbb371314770.

Reason for revert: Depends on MessagePort onion-soupification, which
needs to be reverted for performance issues.

Original change's description:
> Fix behavior around closed message ports.
> 
> Connect a closed message port to a dangling message pipe to make sure
> messages posted to the port end up getting lost, even after the message
> port is transferred to a different process.
> 
> Bug:  673526 
> Change-Id: I95467bf5c3e1af316c8781bcca6dfdda29936fe8
> Reviewed-on: https://chromium-review.googlesource.com/690981
> Reviewed-by: Jeremy Roman <jbroman@chromium.org>
> Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#505760}

TBR=jbroman@chromium.org,mek@chromium.org

Change-Id: Ia2cead94d083c2f27b8be8c451de0ce1a06c2866
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug:  673526 ,  770834 
Reviewed-on: https://chromium-review.googlesource.com/698284
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506067}
[modify] https://crrev.com/db3d89459575f0c658c562baa2d3d55648e6767c/third_party/WebKit/LayoutTests/TestExpectations
[modify] https://crrev.com/db3d89459575f0c658c562baa2d3d55648e6767c/third_party/WebKit/Source/core/dom/MessagePort.cpp

Comment 11 by mek@chromium.org, Oct 3 2017

Status: Started (was: Fixed)
Project Member

Comment 12 by bugdroid1@chromium.org, Oct 4 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c43f07d4b4907d52a57af8e8bbfea949c168491b

commit c43f07d4b4907d52a57af8e8bbfea949c168491b
Author: Marijn Kruisselbrink <mek@chromium.org>
Date: Wed Oct 04 20:59:31 2017

Reland "Fix behavior around closed message ports."

This is a reland of 419b66b54c98e04141e5e966d905dbb371314770

Original change's description:
> Fix behavior around closed message ports.
>
> Connect a closed message port to a dangling message pipe to make sure
> messages posted to the port end up getting lost, even after the message
> port is transferred to a different process.
>
> Bug:  673526 
> Change-Id: I95467bf5c3e1af316c8781bcca6dfdda29936fe8
> Reviewed-on: https://chromium-review.googlesource.com/690981
> Reviewed-by: Jeremy Roman <jbroman@chromium.org>
> Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#505760} Conflicts:

TBR=jbroman@chromium.org

Bug:  673526 
Change-Id: Iafdcc3e8891e80c120d270f6f04bb79a55092067
Reviewed-on: https://chromium-review.googlesource.com/700323
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506511}
[modify] https://crrev.com/c43f07d4b4907d52a57af8e8bbfea949c168491b/third_party/WebKit/LayoutTests/TestExpectations
[modify] https://crrev.com/c43f07d4b4907d52a57af8e8bbfea949c168491b/third_party/WebKit/Source/core/dom/MessagePort.cpp

Comment 13 by mek@chromium.org, Oct 4 2017

Status: Fixed (was: Started)

Sign in to add a comment