<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/events/tasks/go/2" class="A" scope="wml" testtype="application" type="auto" source="wml13#9.5.1" device="both">
  <assertion>When the SENDREFERER attribute of the GO element is set to true,
the user agent must send the URL of the deck containing this task to
the server. The URL sent must be the smallest relative URL possible if
it can be relative at all.
</assertion>
  <notes>The sendreferer method is special, as it must examine the
HTTP_REFERER header.  Test must change expected result if test name changed.</notes>
  <specnote>Check the HTTP_REFERER header for the smallest possible URL.  This
will be the deck name.  Therefore just test to make sure at least the deck name
is returned.</specnote>
  <results>
    <result>
      <name>ENV_HTTP_REFERER</name>
      <value>2</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<onevent type="onenterforward">
<go href="<responseurl>" sendreferer="true">
<sessionvars>
</go>
</onevent>
<auto_failed>
</card>]]>
  </method>
</test>

