RESOLVED FIXED 70953
crbug.com/101665 Chromium ui_tests WorkerTest.WorkerMessagePort[GC] were broken by https://bugs.webkit.org/attachment.cgi?id=112342
https://bugs.webkit.org/show_bug.cgi?id=70953
Summary Chromium ui_tests WorkerTest.WorkerMessagePort[GC] were broken by https://bug...
Dave Michael
Reported 2011-10-26 11:44:04 PDT
In http://trac.webkit.org/changeset/98381, I changed PlatformMessagePortChannel::hasPendingActivity thusly: bool PlatformMessagePortChannel::hasPendingActivity() { MutexLocker lock(m_mutex); - return m_localPort; + return m_localPort && m_localPort->hasPendingActivity(); } I suspect the new code is 'right' (in that I think it provides the originally _intended_ behavior), but existing code elsewhere must depend on the previous behavior. I'm planning to undo this part of CS 98381, and hoping that somebody else more familiar with existing PlatformMessagePortChannels can fix the problem with this function and its caller(s) (if there is a problem).
Attachments
Patch (1.52 KB, patch)
2011-10-26 11:53 PDT, Dave Michael
no flags
Dave Michael
Comment 1 2011-10-26 11:53:52 PDT
Dave Michael
Comment 2 2011-10-26 11:55:45 PDT
I verified locally that these ui tests pass with this change.
David Levin
Comment 3 2011-10-26 11:55:52 PDT
Comment on attachment 112572 [details] Patch hmm. I missed that change somehow. It is best not to do unrelated changes in your patch and it is also good to explain why a change was necessary in the changelog where the function is listed. I should have mentioned this in your previous change.
David Levin
Comment 4 2011-10-26 11:57:27 PDT
Please re-enable the disabled tests where this gets into chromium. (Also for changes of this sort, there should be some test to verify that the change is correct and stays in place, but that was for the last patch.)
WebKit Review Bot
Comment 5 2011-10-27 07:03:47 PDT
Comment on attachment 112572 [details] Patch Clearing flags on attachment: 112572 Committed r98566: <http://trac.webkit.org/changeset/98566>
WebKit Review Bot
Comment 6 2011-10-27 07:03:51 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.