[Webkit-unassigned] [Bug 60174] Fix getUserMedia callback bindings for JSC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 30 07:58:34 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=60174





--- Comment #14 from Adam Bergkvist <adam.bergkvist at ericsson.com>  2011-05-30 07:58:33 PST ---
(In reply to comment #12)
> I think this has been caused by my arbitrary decision of using int as the dummy type. My apologies if it caused problems in JSC. I'll keep it in mind in case I see myself in a similar situation in the future.
>

The JSC bindings generator didn't work too well with the int. I think it should be avoided since it's not a primitive type in WebIDL, although I've seen it used in other places in WebKit as well.

> In any case, this code you're trying to patch doesn't have dummies anymore since the bug 56666 introducing the GeneratedStream class has been finally landed. This makes the patch unnecessary at this point.

It was obviously temporary code but the fix turned out to be so tiny so I thought it would be nice to be able to run the tests (on the GTK port) asap. 

> Layout tests for getUserMedia should be working now with the expected results in both JSC and V8. In case they don't, please don't hesitate to contact me or tommyw at google.com.

I still get the same mismatching diff against the expected results (see http://webkit.org/b/60391).

I've noticed another difference between the V8 and JSC bindings regarding how the exception code is handled. It is not initialized (to 0) at creation in the JSC bindings, but I've seen that you've added an ec = 0; further down in the controller code to handle the consequences.

-- 
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