[Webkit-unassigned] [Bug 104684] [GTK] fast/xmlhttprequest/xmlhttprequest-recursive-sync-event.html is crashing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 19 13:17:21 PST 2013


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





--- Comment #5 from Dan Winship <danw at gnome.org>  2013-01-19 13:19:10 PST ---
(In reply to comment #4)
> > There might be other issues with that though that will take some time to iron out, so an easier short-term fix would be to add our own xmlhttprequest nesting limit and throw StackOverflowError earlier than we normally would.
> 
> I'm not sure if that is doable. The stack is controlled solely in JavaScriptCore, with (to me) no clear way of limiting the XHR nesting count from WebCore.

Well, I was thinking maybe you could return an appropriate error from loadResourceSynchronously that would get translated to StackOverflowError...

However... I notice now that loadResourceSynchronously asserts !loadingSynchronousRequest, which means that the previous WebCoreSynchronousLoader has to have already been destroyed at that point... so we shouldn't run out of fds, unless we're leaking GMainContexts or something?

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