testfunc/test/jstests/test_ajax.html
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 25 May 2011 10:58:43 +0200
branchstable
changeset 7428 5338d895b891
parent 7363 2293c49b290a
permissions -rw-r--r--
[web session] fix session handling so we get a chance to have for instance the 'forgotpwd' feature working on a site where anonymous are not allowed fix several pbs: * we need a session id and a session cookie anyway, else subsequent http queries are unrelated * this imply some changes in the session attribution workflow for session without a cnx * some views/selectors must be fixed for cases where session has no cnx On the way, avoid unnecessary Redirect on successful login. closes #750543

<html>
  <head>
    <!-- dependencies -->
    <script type="text/javascript" src="../../data/jquery.js"></script>
    <script src="../../data/cubicweb.python.js" type="text/javascript"></script>
    <script src="../../data/cubicweb.js" type="text/javascript"></script>
    <script src="../../data/cubicweb.compat.js" type="text/javascript"></script>
    <script src="../../data/cubicweb.dom.js" type="text/javascript"></script>
    <script src="../../data/cubicweb.htmlhelpers.js" type="text/javascript"></script>
    <script src="../../data/cubicweb.ajax.js" type="text/javascript"></script>
    <!-- qunit files -->
    <script type="text/javascript" src="../../../devtools/data/qunit.js"></script>
    <link rel="stylesheet" type="text/css" media="all" href="../../../devtools/data/qunit.css" />
    <!-- test suite -->
    <script src="cwmock.js" type="text/javascript"></script>
    <script src="test_ajax.js" type="text/javascript"></script>
  </head>
  <body>
    <div id="main"> </div>
    <h1 id="qunit-header">cubicweb.ajax.js functions tests</h1>
    <h2 id="qunit-banner"></h2>
    <ol id="qunit-tests">
  </body>
</html>