Backed out a19daae11647 (Bug 1186307) for W8 and W4 bustage on CLOSED TREE

This commit is contained in:
Nigel Babu
2015-08-27 15:04:25 +05:30
parent c19b7b0f34
commit ad0137c71f
20 changed files with 1042 additions and 856 deletions

View File

@@ -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