Home | History | Annotate | Download | only in mjsunit

Lines Matching defs:scripts

41 var scripts = Debug.scripts();
42 for (i = 0; i < scripts.length; i++) {
43 if (scripts[i].type == Debug.ScriptType.Native) {
44 if (scripts[i].name) {
45 // TODO(1641): Remove check for equally named native scripts once the
47 if (!named_native_names[scripts[i].name]) {
48 named_native_names[scripts[i].name] = true;
52 } else if (scripts[i].type == Debug.ScriptType.Extension) {
54 } else if (scripts[i].type == Debug.ScriptType.Normal) {
57 assertUnreachable('Unexpected type ' + scripts[i].type);
61 // This has to be updated if the number of native scripts change.