BladeSmithJohn / nixysa

Automatically exported from code.google.com/p/nixysa
Apache License 2.0
0 stars 0 forks source link

HelloWorld Example not work in chrome #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build HelloWorld example in source tree
2. Copy libhelloworld.so to ~/.mozilla/plugins
3. Open hw_test.html in chrome

What is the expected output? What do you see instead?
I expect  chrome alert "Hello World"
And i see In chrome://plugins chrome shows that plugin loaded successfully and 
registered for mime type "application/HelloWorld" but when open example it 
shows that "No plug-in Available to display this content."

What version of the product are you using? On what operating system?
chrome Version 24.0.1312.70, Ubuntu 10.04 amd64

Please provide any additional information below.
Same works fine in firefox 19.0

Fast Solution:
By changing mime type from "application/HelloWorld" in plugin.cc to 
"application/helloworld" everything works fine(even without changing 
hw_test.html file).
I suggest to use "application/helloworld" mime type in example and clarify in 
wiki to not use UPPER CASE for mime type.

Original issue reported on code.google.com by bukhamse...@gmail.com on 22 Feb 2013 at 11:09