[webkit-help] NPAPI plugin crashes while calling npnfuncs->invoke in GtkLauncher

souvik.datta at wipro.com souvik.datta at wipro.com
Fri Mar 16 02:50:16 PDT 2012


Hello Vanya,

I have used "window" instead of "document" and I have finally got the message in webKit. :)) 
Thank you very much for your support.
________________________________________
From: vanuan at gmail.com [vanuan at gmail.com] on behalf of Vanya Yani [iyani at luxoft.com]
Sent: Friday, March 16, 2012 3:13 PM
To: Souvik Datta (WT01 - PES-Auto-Practice)
Cc: webkit-help at lists.webkit.org
Subject: Re: [webkit-help] NPAPI plugin crashes while calling npnfuncs->invoke in GtkLauncher

The following code works in webkit:

<html>
<head>
<script type="text/javascript">
function func(message)
{
return document.write(message);
}
</script>
</head>

<body>
<script type="text/javascript">
window.func("message");
</script>


</body>
</html>

So npn_invoke on the window itself should also work.

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com


More information about the webkit-help mailing list