WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
70658
[JSC] Implement MessagePort transfer in JSC bindings implementation of webkitPostMessage
https://bugs.webkit.org/show_bug.cgi?id=70658
Summary
[JSC] Implement MessagePort transfer in JSC bindings implementation of webkit...
Dmitry Lomov
Reported
2011-10-21 15:58:23 PDT
Corresponding bug for chromium:
https://bugs.webkit.org/show_bug.cgi?id=70580
Attachments
Fix + tests
(10.90 KB, patch)
2011-10-24 20:10 PDT
,
Dmitry Lomov
no flags
Details
Formatted Diff
Diff
CR comments addressed (thanks David!)
(10.87 KB, patch)
2011-10-25 11:20 PDT
,
Dmitry Lomov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Dmitry Lomov
Comment 1
2011-10-24 20:10:25 PDT
Created
attachment 112296
[details]
Fix + tests
David Levin
Comment 2
2011-10-25 09:56:45 PDT
Comment on
attachment 112296
[details]
Fix + tests View in context:
https://bugs.webkit.org/attachment.cgi?id=112296&action=review
Looks good to me (with a few minor nits). (I don't know about the cast static_cast<JSDOMGlobalObject*>(m_exec->lexicalGlobalObject())). Hopefully Oliver will weigh in on it too!
> Source/WebCore/bindings/js/SerializedScriptValue.cpp:290 > +
extra blank line.
> Source/WebCore/bindings/js/SerializedScriptValue.cpp:1212 > + if (!m_messagePorts || index >= m_messagePorts->size()) {
Why not just combine this with the previous if ||...
Dmitry Lomov
Comment 3
2011-10-25 11:19:15 PDT
(In reply to
comment #2
)
> (From update of
attachment 112296
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=112296&action=review
> > Looks good to me (with a few minor nits). (I don't know about the cast static_cast<JSDOMGlobalObject*>(m_exec->lexicalGlobalObject())).
From what I see, the assumption of this cast holds, but an opinion of an experienced JSC engineer is most welcome.
Dmitry Lomov
Comment 4
2011-10-25 11:20:00 PDT
Created
attachment 112364
[details]
CR comments addressed (thanks David!)
David Levin
Comment 5
2011-10-31 10:09:55 PDT
Comment on
attachment 112364
[details]
CR comments addressed (thanks David!) Looks good. Thanks!
WebKit Review Bot
Comment 6
2011-10-31 14:07:38 PDT
Comment on
attachment 112364
[details]
CR comments addressed (thanks David!) Clearing flags on attachment: 112364 Committed
r98879
: <
http://trac.webkit.org/changeset/98879
>
WebKit Review Bot
Comment 7
2011-10-31 14:07:42 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug