Summary: | WebFrameImpl::client() needs NULL check in WebWorkerClientImpl::openFileSystem | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Taiju Tsuiki <tzik> | ||||||||||||
Component: | WebKit Misc. | Assignee: | Taiju Tsuiki <tzik> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | adamk, jamesr, kinuko, tkent, webkit.review.bot | ||||||||||||
Priority: | P2 | ||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Attachments: |
|
Description
Taiju Tsuiki
2012-09-10 22:48:59 PDT
Created attachment 163284 [details]
Patch
Created attachment 163285 [details]
build fix
Comment on attachment 163285 [details]
build fix
Why does the patch have no tests?
We know we hit renderer crash here and I believe this patch will fix it. But, I could not reproduce it locally nor reduce it to simple test case. (In reply to comment #4) > But, I could not reproduce it locally nor reduce it to simple test case. ChangeLog should have such information. Created attachment 163323 [details]
add test
(In reply to comment #5) > (In reply to comment #4) > > But, I could not reproduce it locally nor reduce it to simple test case. > > ChangeLog should have such information. I see. I'll do it next time. Now, I added a regression test for it. WebKit crashes on the test without my fix. Could you take a look again? Comment on attachment 163323 [details] add test View in context: https://bugs.webkit.org/attachment.cgi?id=163323&action=review > LayoutTests/fast/filesystem/workers/detached-frame-crash.html:6 > +if (window.testRunner) { > + testRunner.dumpAsText(); We use 4-space indentation in JavaScript code too. Created attachment 163339 [details]
fix style
Comment on attachment 163323 [details] add test View in context: https://bugs.webkit.org/attachment.cgi?id=163323&action=review >> LayoutTests/fast/filesystem/workers/detached-frame-crash.html:6 >> + testRunner.dumpAsText(); > > We use 4-space indentation in JavaScript code too. Done Comment on attachment 163339 [details] fix style View in context: https://bugs.webkit.org/attachment.cgi?id=163339&action=review > Source/WebKit/chromium/src/WebWorkerClientImpl.cpp:214 > + callbacks->didFail(WebFileErrorAbort); Can you confirm this failure in the test? (In reply to comment #11) > (From update of attachment 163339 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=163339&action=review > > > Source/WebKit/chromium/src/WebWorkerClientImpl.cpp:214 > > + callbacks->didFail(WebFileErrorAbort); > > Can you confirm this failure in the test? I couldn't. I think there is no way to propagate error message outside from a worker on detached frame. Created attachment 163513 [details]
simplify test
Comment on attachment 163513 [details]
simplify test
rubber stamped
Comment on attachment 163513 [details] simplify test Clearing flags on attachment: 163513 Committed r128263: <http://trac.webkit.org/changeset/128263> All reviewed patches have been landed. Closing bug. One of the tests added here, fast/filesystem/workers/detached-frame-crash.html, has been flaky in debug builds on Win/Linux since it was added. See flakiness dashboard: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Ffilesystem%2Fworkers%2Fdetached-frame-crash.html Please take a look. Opened bug 96524 to track flakiness. |