My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

trivial/
for browser implementations,
using this directory as your path,
load the "program" module. It should
alert you with the results of
an increment function.

compliance/*
for a module loader to be compliant,
it must run and pass every test in
this directory.

All of these tests presume the existence of
a "console" module that provides a "print"
method for test reporting. Tests call
the "print" method with a "message"
and a "label" argument that is one of
"pass" or "fail". "window.console.log"
in most browsers suffices.

All of these tests write a "DONE" info
message to confirm that they ran completely.

security/*
each directory here contains
a test that verifies that a module
can get capabilities from its environment
without accessing free variables.

experiments/*
each of these tests corresponds to
an experimental feature, like
"include" or implicit locally bound "exports".

global/*
each directory here contains
a program.html and a program.js.
The program.html loads the transitive
dependencies of program.js explicitly
using script tags. These tests
demonstrate compliant modules working
in both <script> tags and module
loaders.

Show details Hide details

Change log

r3 by cowbertvonmoo on Feb 05, 2009   Diff
Added a fresh batch of feature tests.
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 1290 bytes, 45 lines
Hosted by Google Code