[Webkit-unassigned] [Bug 27906] [chromium] MessagePort construction fails in worker process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 31 18:40:20 PDT 2009


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





--- Comment #2 from John Abd-El-Malek <jam at chromium.org>  2009-07-31 18:40:20 PDT ---
note, for the MessagePort case, I hit this assert in debug mode and I'm not
sure what the right fix is (i.e. this isn't ready to commit until it's fixed)

WorkerContextExecutionProxy::ToV8Object calls
V8DOMWrapper::setJSWrapperForDOMObject which has this code:

#ifndef NDEBUG
    V8ClassIndex::V8WrapperType type = V8DOMWrapper::domWrapperType(wrapper);
    switch (type) {
#define MAKE_CASE(TYPE, NAME) case V8ClassIndex::TYPE:
        ACTIVE_DOM_OBJECT_TYPES(MAKE_CASE)
        ASSERT_NOT_REACHED();
#undef MAKE_CASE
    default:
        break;
    }
#endif

Note sure why the check was added.  Should WOrkerContextExecutionProxy not call
V8DOMWrapper::setJSWrapperForDOMObject(impl, result); for MessagePort?

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