[Webkit-unassigned] [Bug 102552] IndexedDB: Add serializeIDBValue() to IDB binding utility functions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 19 14:22:36 PST 2012


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





--- Comment #5 from Michael Pruett <michael at 68k.org>  2012-11-19 14:24:33 PST ---
(In reply to comment #4)
> Can't you just add a CallWith=ScriptState to the IDL to get the script state from the bindings layer?

That solution would be ideal. However it seems that adding CallWith=ScriptState to a function causes the V8 binding generator to invoke the function with an EmptyScriptState rather than with ScriptState::current(). And at the beginning of ScriptValue::serialize(), a ScriptScope is created with this EmptyScriptState. Since the EmptyScriptState has a null v8::Context, the v8::Context::Scope in ScriptScope enters the null context, triggering an assertion failure in V8.

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