<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP GET
filter all-popups
</keywords>
</info>

<reply>
<data>
HTTP/1.1 200 OK%CR
Date: Thu, 22 Jul 2010 11:22:33 GMT%CR
Connection: close%CR
Content-Type: text/html%CR
X-Control: swsclose%CR
%CR
# Here are some strings the all-popups filter should modify:

# pcrs command 1:

+ mapwindow.open(
+ window.open(
+ this.open(
+ parent.open(

# pcrs command 2:

 target  = "blank"
 target  =   'blank'
 target  =   "new"
 target  =   'new'
</data>
</reply>

<proxy-reply>
<data>
HTTP/1.1 200 OK%CR
Date: Thu, 22 Jul 2010 11:22:33 GMT%CR
Connection: close%CR
Content-Type: text/html%CR
X-Control: swsclose%CR
Content-Length: 178%CR
%CR
# Here are some strings the all-popups filter should modify:

# pcrs command 1:

+ mapwindow.concat(
+ window.concat(
+ this.concat(
+ parent.concat(

# pcrs command 2:

 
 
 
 
</data>
</proxy-reply>


<client>
<server>
http
</server>
<name>
+filter{all-popups}
</name>
<features>
proxy
</features>
<command>
http://%HOSTIP:%HTTPPORT/all-popups/%TESTNUMBER
</command>
</client>

<verify>
<protocol>
GET /all-popups/%TESTNUMBER HTTP/1.1%CR
Host: %HOSTIP:%HTTPPORT%CR
User-Agent: curl/%VERSION%CR
Accept: */*%CR
Connection: close%CR
%CR
</protocol>
</verify>
</testcase>
