未验证 提交 394ac6b4 编写于 作者: N Nurhan Turgut 提交者: GitHub

[web] fix clipboard.getData (#17544)

* remove the fake reply for paste message. the clipboard.dart will reply with the content of the clipboard

* also remove the fake answer for copy
上级 ac574e11
......@@ -392,11 +392,9 @@ class EngineWindow extends ui.Window {
return;
case 'Clipboard.setData':
ClipboardMessageHandler().setDataMethodCall(decoded, callback);
_replyToPlatformMessage(callback, codec.encodeSuccessEnvelope(true));
return;
case 'Clipboard.getData':
ClipboardMessageHandler().getDataMethodCall(callback);
_replyToPlatformMessage(callback, codec.encodeSuccessEnvelope(true));
return;
}
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册