[Webkit-unassigned] [Bug 41651] [ REGRESSION - Safari 4 / Safari5 ] (6533.16, r62241) Webkit plugin embedded into an IFRAME crashes when calling callWebScriptMethod or get nil arguments
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 7 01:31:04 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=41651
--- Comment #4 from verney <philippe.verney at ives.fr> 2010-10-07 01:31:04 PST ---
We have now built a test plugin and simple test pages to reproduce and isolate the bugs:
- testPlugin.html is the page that embed the plugin itself. It has three buttons
- one to call a method StartPlugin()
- one to set a property DialDomain
- one to read the property and display the value in an alert box.
- testPlugin1frame.html: this page includes the former page inside an IFRAME. It has also three buttons
- one to call the mthod StartPlugin by calling a JS function defined inside the child IFRAME
- one to call the method StartPlugin by calling it directly from inside the page
- one method to set the DialDomain property by calling a JS function defined inside the child IFRAME
- testPlugin2frame.html the page includes testPlugin1frame.html insde an IFRAME to create a second level of IFRAME embedding.
TestPlugin.zip is the source code of the test plugin. YOu'll have to compile it with XCode and copy the plugin directory into /USers/yourusername/Library/Internet-Plugins to activate it. It sends traces to the system console messages
Here are the situation where the plugin work
1/ load testPlugin.html in Webkit browser
- call StartPlugin(): method called ok. argument ok, callback is raised corrrectly
- set property: ok. data received correctly
- read propery: ok
2/ load testPlugin1frame.html in Webkit browser
- call StartPlugin() from inside the IFRAME: method called ok. argument ok, callback is raised corrrectly
- set property from inside the IFRAME: ok. data received correctly
- read propery from inside the IFRAME : ok
- call StartPlugin from parent page using function defined in child: ok
- call StartPlugin from parent page acessing plugin directly from paren: ok
- call set property from parent page using function defined in child: ok
Now Here is how to reproduce the bugs
LOAD testPlugin2frame.html
- call StartPlugin from parent page using function defined in child: NOK. Data received is NULL and callback is not executed
- call StartPlugin from parent page acessing plugin directly from parent: Data received is NULL and callback is not executed
- call set property from parent page using function defined in child: NOT data received is null.
Please advise
Philippe
http://www.ives.fr/
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list