vhardy 02/05/03 05:10:39 Added: test-resources/org/apache/batik/bridge iWasLoaded.js Log: This script will mark the test referencing it as failed. It is used in tests checking that scripts are not loaded as expected in some configurations Revision Changes Path 1.1 xml-batik/test-resources/org/apache/batik/bridge/iWasLoaded.js Index: iWasLoaded.js =================================================================== /***************************************************************************** * Copyright (C) The Apache Software Foundation. All rights reserved. * * ------------------------------------------------------------------------- * * This software is published under the terms of the Apache Software License * * version 1.1, a copy of which has been included with this distribution in * * the LICENSE file. * *****************************************************************************/ /** * If this script is loaded by ecmaCheckNoLoad.svg, it will mark * the test result as failed. * * @author <a href="mailto:[EMAIL PROTECTED]">Vincent Hardy</a> * @version $Id: iWasLoaded.js,v 1.1 2002/05/03 12:10:39 vhardy Exp $ */ var result = document.getElementById("testResult"); result.setAttributeNS(null, "result", "failed"); result.setAttributeNS(null, "errorCode", "iWasLoaded.js should not have been loaded");
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]