- From: Marcos Caceres <w3c@marcosc.com>
- Date: Mon, 14 Jan 2013 18:03:11 +0000
- To: Clint Hill <clint.hill@gmail.com>
- Cc: Brian Kardell <bkardell@gmail.com>, "public-nextweb@w3.org" <public-nextweb@w3.org>
On Monday, January 14, 2013 at 5:31 PM, Marcos Caceres wrote: > Ok, I see what you are doing now. Yeah, I like your approach. So, looking at: https://github.com/extensibleweb/webidl.js/blob/master/test/web-idl-type-boolean-tests.js How are the tests run? (i.e., where is QUnit.start() called?) I can see a setTimeout() on the WebIDL interface tests, but what happens if any of the files are not ready before the timeout is called? (this happened to me). Also, won't you be switching modules as each script file is loaded but then requires is run async? Like, if you run, Boolean-tests.js module("WebIDL Boolean"); //async load Boolean. Octet-tests.js module("WebIDL Octet"); //async load 0ctet. The load order is not guaranteed, is it? -- Marcos Caceres
Received on Monday, 14 January 2013 18:03:46 UTC