Backed out a19daae11647 (Bug 1186307) for W8 and W4 bustage on CLOSED TREE
This commit is contained in:
@@ -113,11 +113,8 @@ PostMessageEvent::Run()
|
||||
false /*cancelable */, messageData, mCallerOrigin,
|
||||
EmptyString(), mSource);
|
||||
|
||||
nsTArray<nsRefPtr<MessagePortBase>> ports;
|
||||
TakeTransferredPorts(ports);
|
||||
|
||||
event->SetPorts(new MessagePortList(static_cast<dom::Event*>(event.get()),
|
||||
ports));
|
||||
GetTransferredPorts()));
|
||||
|
||||
// We can't simply call dispatchEvent on the window because doing so ends
|
||||
// up flipping the trusted bit on the event, and we don't want that to
|
||||
|
||||
Reference in New Issue
Block a user