[Webkit-unassigned] [Bug 41651] REGRESSION (Safari 4 - Safari 5): Plugin embedded into an IFRAME doesn't work due to dynamic global object not having a RootObject
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 6 20:42:48 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=41651
--- Comment #21 from loomiS22 <bdill707 at gmail.com> ---
Comment on attachment 70049
--> https://bugs.webkit.org/attachment.cgi?id=70049
test page to reproduce the bug
><HTML>
><HEAD>
><TITLE>Plug-in Test</TITLE>
>
><script>
> function StartPlugin()
> {
> var urlLicence = "http://licence.com/licence.lic";
>
> try
> {
> isPluginStarted = TestPluginView.StartPlugin(urlLicence); // failed : 0, sinon 1
> }
> catch (ex)
> {
> alert( "no plugin installed");
> }
> }
>
>
> function SetPropertyTest()
> {
> TestPluginView.DialDomain='mondomaine.com';
> }
>
>// Callback function to be called by the plugin when calling StartPlugin()
>function OnLogMessage(level, msg)
>{
> log = "level " + level + " msg: " + msg;
> alert(log);
>}
>
>
></script>
>
></HEAD>
>
>
><BODY id="bodyId">
> <div id="cmd" >
> <input type="button" id="StartPlugin" value="calling method StartPlugin() in same frame" onclick="StartPlugin()"><br>
> <input type="button" id="SettingProperty"
> value="SettingProperty in same frame " onclick="SetPropertyTest()"><br>
> <input type="button" value="Reading property" onclick="alert(TestPluginView.DialDomain)"><br>
> </div>
> <!-- Container -->
> <div id="client" style="background-color:#fffff;">
> <embed
> style="border-width: 2px; border-style: solid;"
> id="TestPluginView"
> name="TestPluginView"
> width="352" height="288"
> type="application/x-test-plugin"/>
> </div>
> <script >
> var myPlugin = document.getElementById('TestPluginView');
> </script>
>
></BODY>
></HTML>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190107/7443999d/attachment.html>
More information about the webkit-unassigned
mailing list