Bug 2646 - enable browser plugins so Chrome can play sound now
authorEugene Ostroukhov <eugeneo@symbian.org>
Wed, 12 May 2010 15:03:32 -0700
changeset 332 c27ec884e806
parent 331 7e0aa6ca3db1
child 333 895153411a80
Bug 2646 - enable browser plugins so Chrome can play sound now
org.symbian.tools.wrttools.debug.core/src/org/symbian/tools/wrttools/debug/internal/launch/ChromeInstancesManager.java
org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/WorkspaceResourcesServlet.java
--- a/org.symbian.tools.wrttools.debug.core/src/org/symbian/tools/wrttools/debug/internal/launch/ChromeInstancesManager.java	Tue May 11 18:12:49 2010 -0700
+++ b/org.symbian.tools.wrttools.debug.core/src/org/symbian/tools/wrttools/debug/internal/launch/ChromeInstancesManager.java	Wed May 12 15:03:32 2010 -0700
@@ -42,10 +42,9 @@
             "--disk-cache-dir=%s", // We don't care
             "--disable-web-security", // Widgets can use network now
             "--disable-extenions", // Use standard UI, should also improve speed and stability
-            "--disable-plugins", // Run faster!
             "--activate-on-launch", // Bring to front on Mac
             "--disable-geolocation", // Use our own Geolocation (needed to emulate Geolocation in phonegap) 
-            "--always-enable-dev-tools", "--no-default-browser-check", // Our users don't need this nagging
+            "--no-default-browser-check", // Our users don't need this nagging
             "--no-first-run", // We don't care
             "--app=%s" // Here we will have widget URI as --app argument
     };
--- a/org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/WorkspaceResourcesServlet.java	Tue May 11 18:12:49 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/http/WorkspaceResourcesServlet.java	Wed May 12 15:03:32 2010 -0700
@@ -75,6 +75,7 @@
         EXTENSION_CONTENT_TYPE.put("png", "application/octet-stream");
         EXTENSION_CONTENT_TYPE.put("css", "text/css");
         EXTENSION_CONTENT_TYPE.put("js", "application/x-javascript");
+        EXTENSION_CONTENT_TYPE.put("mp3", "audio/x-mpeg");
     }
 
     private static String encode(String path) {