<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - WebProcess crashes after too many redirect error when there's an active NPAPI plugin"
href="https://bugs.webkit.org/show_bug.cgi?id=146019#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - WebProcess crashes after too many redirect error when there's an active NPAPI plugin"
href="https://bugs.webkit.org/show_bug.cgi?id=146019">bug 146019</a>
from <span class="vcard"><a class="email" href="mailto:cgarcia@igalia.com" title="Carlos Garcia Campos <cgarcia@igalia.com>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=146019#c4">comment #4</a>)
<span class="quote">> Comment on <span class=""><a href="attachment.cgi?id=254951&action=diff" name="attach_254951" title="Patch">attachment 254951</a> <a href="attachment.cgi?id=254951&action=edit" title="Patch">[details]</a></span>
> Patch
>
> I read over the code again and I am more sure this is a correct change.
>
> Is there some way to make a regression test for this? That would really help
> for the future.</span >
I thought about it, but I'm afraid it's not that easy to write a cross platform layout test for this. We would need a test with a NPAPI plugin running that produces a main resource load error before the load is committed. For soup based ports we could indeed use an infinite redirection to trigger too many redirections error, but I don't know if that would work in mac too. I tried with a GTK+ specific unit test and I was unable to reproduce the crash. And I can't share the website in which the crash is always reproducible :-( In any case, I can try to write a layout test for this if someone has an idea of how to reproduce this, and helps me a bit.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>