Home | History | Annotate | Download | only in mjsunit

Lines Matching defs:scripts

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