<?xml version="1.0" encoding="UTF-8"?>
<!--

  $Author: richard $

  $Revision: 1.7 $

  $Log: 1,v $
  Revision 1.7  2002/04/19 11:12:36  richard
  autofailed, missing auto_failed, yesno

  Revision 1.6  2002/03/21 13:52:37  richard
  formatting

  Revision 1.5  2002/02/23 11:29:01  richard
  error

  Revision 1.4  2002/02/22 14:30:40  richard
  write test

  Revision 1.3  2001/10/30 16:22:07  gb
  Modified all the test files in the wml2 directory such that it puts the <?xml?> declaration back at the top of the file, before the comment.

  Revision 1.2  2001/10/08 21:56:04  gb
  Added the standard header of Author, Revision and Log at the top of each template file.


-->
<test id="wml2/markup/contextandnav/wmlgoelement/1" class="A" scope="wml2" 
	testtype="application" type="auto" source="wml2#6.16.4" device="both">
	<assertion>When the SENDREFERER attribute of the WML:GO element is set 
	to true, the user agent must send the URL of the deck containing this 
	task to the server.
	</assertion>
	<specnote>Create a card that contains the WML:GO element within the 
	ENTERFORWARD event binding. The WML:GO attributes SENDREFERER attribute 
	must be set to 'true'. Call the card and make sure that when the event 
	happens the URI is sent to the server.
	</specnote>
	<results>
		<result ci="true">
			<name>ENV_Referer</name>
			<value>true</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card newcontext="true" id="main">
				<wml:onevent type="enterforward">
					<wml:go sendreferer="true" href="[[responseurl]]">
						[[sessionvars]]
					</wml:go>
				</wml:onevent>
				[[auto_failed]]
			</wml:card>
		]]>
	</method>
</test>
