title: Custom Protocol Handler not passing argument on OSX
body: <p>I'm trying to hook up a custom protocol handler to my application on OSX so that I can do test://argument</p>
  
  <p>In my plist I have the following:</p>
  
  <pre><code>&lt;key&gt;CFBundleURLTypes&lt;/key&gt;
  &lt;array&gt;
      &lt;dict&gt;
          &lt;key&gt;CFBundleTypeRole&lt;/key&gt;
          &lt;string&gt;Viewer&lt;/string&gt;
          &lt;key&gt;CFBundleURLIconFile&lt;/key&gt;
          &lt;string&gt;&lt;/string&gt;
          &lt;key&gt;CFBundleURLName&lt;/key&gt;
          &lt;string&gt;test&lt;/string&gt;
          &lt;key&gt;CFBundleURLSchemes&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;test&lt;/string&gt;
          &lt;/array&gt;
      &lt;/dict&gt;
  &lt;/array&gt;
  </code></pre>
  
  <p>This successfully launches the application, however my argument list is always empty. Why is this? </p>
  
  <p>Under the covers it launches a Java\Scala application, the main method is:
  object LoadJS {
    def main(args: Array[String]) {</p>
  
  <p>I can pass in arguments when using the "open" command on the command line. Tried from both Chrome and Firefox but either work. </p>
  
  <p>Any ideas?</p>
  
  <p>Thanks</p>
  
  <p>Ben</p>