WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
53218
Add a test mode to WebKit2 that exercises reentrancy while waiting for reply to a synchronous message
https://bugs.webkit.org/show_bug.cgi?id=53218
Summary
Add a test mode to WebKit2 that exercises reentrancy while waiting for reply ...
Adam Roben (:aroben)
Reported
2011-01-26 18:12:55 PST
As described in
bug 51351 comment 4
and in
bug 51352
, we're going to make WebKit2 spin a run loop while waiting for a reply to all synchronous messages. This will provide many more opportunities for reentrancy into WebKit. To uncover issues this causes, we should add a test mode to WebKit2 that explicitly causes this reentrancy to happen.
Attachments
Add attachment
proposed patch, testcase, etc.
Adam Roben (:aroben)
Comment 1
2011-01-26 18:14:08 PST
One way to do this is: Add a message-only window inside WebKit2. Whenever we are about to spin a run loop while waiting for a reply to a synchronous message, post a custom window message to the message-only window. When the message-only window receives the message, make some call into WebKit (e.g., try to close a page, modify the DOM and trigger layout, etc.).
Adam Roben (:aroben)
Comment 2
2011-01-26 18:14:21 PST
We could turn this mode on while running the regression tests, e.g.
Anders Carlsson
Comment 3
2011-01-26 18:16:19 PST
<
rdar://problem/8922495
>
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