i've just found a weird behaviour of AdBlock. It may cause a tab, opened by click on anchor with target="_blank", to crash when user clicks another anchor with blocked destination. See below.
How to reproduce:
======================
1. Create file t.html with content:
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<META name="description" content="" />
<META name="keywords" content="" />
<META name="robots" content="noindex, nofollow" />
</head>
<body>
<a target='_blank' href='t2.html'>click</a>
</body>
</html>
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>William Hill Poker</title>
<META name="robots" content="noindex, nofollow" />
</head>
<body>
<a rel='nofollow' href='http://serve.williamhill.com/promoRedirect?campaign=DEFAULT&channel=DEFAULT&zone=111'>William Hill Poker</a>
</body>
</html>
Code: Select all
/promoredirect?*&campaign=*&zone=
5. click on "William Hill Poker" link to crash current tab. It will silently closed and it is definitely not the behaviour user wanted to see.
==============
Also the crash will occur if t2.html will have document.location.href="http://serve.williamhill.com/promoRedir ... T&zone=111" statement or if t2.html document will send header('Location: http://serve.williamhill.com/promoRedir ... T&zone=111');
Firefox version 10.0
AdBlock Plus 2.0.3, subscription "RuAdList+EasyList (русский, українська)"
Windows 7 x64
From my point of view, the bug is urgent and has very high priority.
Feel free to ask any assistance.
Sincerely yours,
AdBlock supporter.