<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - currentThreadIsHoldingLock Heap::unprotect Assertion"
   href="https://bugs.webkit.org/show_bug.cgi?id=159579#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - currentThreadIsHoldingLock Heap::unprotect Assertion"
   href="https://bugs.webkit.org/show_bug.cgi?id=159579">bug 159579</a>
              from <span class="vcard"><a class="email" href="mailto:chris.vno&#64;outlook.com" title="Chris Vienneau &lt;chris.vno&#64;outlook.com&gt;"> <span class="fn">Chris Vienneau</span></a>
</span></b>
        <pre>Unfortunately i don't think i can provide a stand alone test case, the test is run from some wrapping code we have created, I'm not familiar enough with how test cases are normally done on the trunk webkit project.
Test Code:
    void JavascriptArrays(void*)
    {
        EA_TRACE_MESSAGE(&quot;Running JavascriptArrays&quot;);

        JavascriptArrayBoundObject jsb;
        jsb.mEAWK = mEAWK;
        jsb.mView = mView;

        using namespace EA::WebKit;
        mView-&gt;BindJavaScriptObject(&quot;TestObject&quot;, &amp;jsb);

        eastl::string16 script(EA_CHAR16(&quot;TestObject.ArrayTest([1, true, \&quot;ping\&quot;]);&quot;));

        JavascriptValue *returnValue = mEAWK-&gt;CreateJavascriptValue(mView);
        mView-&gt;EvaluateJavaScript(script.data(), returnValue);
        mEAWK-&gt;DestroyJavascriptValue(returnValue);
    }</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>