- From: Philippe Le Hegaret <plh@w3.org>
- Date: Fri, 18 Mar 2011 16:57:26 -0400
- To: James Graham <jgraham@opera.com>
- Cc: public-test-infra <public-test-infra@w3.org>
Hi James, a few comments for your consideration. This one will fail as expected but no relevant message is generated in the log: [[ function throwException() { throw "Exception"; } test(function() { assert_true(throwException()); }, "throw an exception within a test"); ]] This one seems to fail on Firefox 4: [[ test(function() { assert_exists(document, "documentElement"); }, "document.documentElement exists"); ]] It would also be nice to be able to write: [[ test(function() { assert_exists(document, "createElement"); }, "document.createElement exists"); ]] Thank you, Philippe
Received on Friday, 18 March 2011 20:57:35 UTC