rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XML.java (19 lines): - line 46: /* TODO: needs encapsulation. */ - line 55: /* TODO: Rename this, at the very least. But it's not clear it's even necessary */ - line 64: // TODO Either cross-reference this next comment with the specification or delete it and - line 83: // TODO Clarify the following comment and add a reference to the spec - line 97: // TODO This is how I found it but I am not sure it makes sense - line 164: // TODO Is this really a no-op? Check the spec to be sure - line 210: // TODO Miscellaneous methods not yet grouped - line 231: // TODO Is this legal, but just not "supported"? If so, support it. - line 251: // TODO Should have an XMLNode.Filter implementation based on XMLName - line 263: // TODO Right now I think this method would allow child( "@xxx" ) to return the xxx - line 268: // TODO Should this also match processing instructions? If so, we have to change the - line 344: // TODO This is a horrifyingly inefficient way to do this so we should make it - line 350: // TODO Is this right? Check the spec ... - line 382: // TODO Cross-reference comment below with spec - line 389: // TODO it is not clear what this method was for ... - line 543: // TODO Have not carefully considered the spec but it seems to call for this - line 657: // TODO See ECMA357 9.1.1 last paragraph for what defaults should be - line 676: // TODO: This appears to confuse the interpreter if we use the "real" class property - line 697: // TODO: Probably inefficient; taking clean non-optimized rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XmlNode.java (10 lines): - line 164: // TODO See ECMA 357 Section 9.1 - line 204: // TODO Check ECMA for what happens here - line 236: // TODO May need to be changed if we allow XmlNode to refer to several Node objects - line 329: // TODO I think this is analogous to the other way, but have not really thought it - line 461: // TODO I must confess I am not sure I understand the spec fully. See ECMA357 - line 535: // TODO Or could make callers handle null? - line 640: // TODO Move functionality from QName lookupPrefix to here - line 655: // TODO Where is this class used? No longer using it in QName implementation - line 820: /* TODO: was marked deprecated by original author */ - line 825: /* TODO: was marked deprecated by original author */ rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XmlProcessor.java (8 lines): - line 371: // TODO Should this use XML settings? - line 375: // TODO How to handle these runtime errors? - line 382: // TODO Cannot remember what this is for, so whether it should use settings or not - line 396: // TODO How to handle these runtime errors? - line 399: // TODO How to handle these runtime errors? - line 439: // TODO Check this - line 444: // TODO My goodness ECMA is complicated (see 10.2.1). We'll try this first. - line 463: // TODO Does Java trim() work same as XMLWhitespace? rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XMLLibImpl.java (8 lines): - line 155: // TODO Will this always be an XMLName of type attribute name? - line 165: // TODO Not 100% sure that putting these in global namespace is the right thing to - line 197: /* TODO: Marked deprecated by original author */ - line 367: // TODO Clarify or remove the following comment - line 411: /* TODO: Can this can be replaced by ecmaToXml below? - line 460: // TODO Technically we should fail on anything except a String, Number or Boolean - line 473: // TODO Could this get any uglier? - line 575: TODO: Too general; this should be split into overloaded methods. rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XMLName.java (7 lines): - line 120: /** TODO: marked deprecated by original author */ - line 125: /** TODO: marked deprecated by original implementor */ - line 410: // TODO Could throw exception maybe, should not call this method on attribute - line 426: /* TODO: marked deprecated by original author */ - line 431: // TODO Fix whether this is an attribute XMLName at construction? - line 438: /* TODO: was marked deprecated by original author */ - line 443: // TODO Fix whether this is an descendant XMLName at construction? rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XMLList.java (4 lines): - line 31: /* TODO Will probably end up unnecessary as we move things around */ - line 36: // TODO Should be XMLObjectImpl, XMLName? - line 42: /* TODO: original author marked this as deprecated */ - line 206: // TODO Find a way to refactor this whole method and simplify it rhino/src/main/java/org/mozilla/javascript/ScriptRuntime.java (4 lines): - line 1247: // FIXME we want to avoid toString() here, especially for concat() - line 2362: // TODO: we used to special-case XMLObject here, but putProperty - line 2386: // TODO: The LeftHandSide also may not be a reference to a - line 2392: // TODO: we used to special-case XMLObject here, but putProperty rhino/src/main/java/org/mozilla/javascript/Interpreter.java (3 lines): - line 182: // TODO: move this check into InterpreterData construction - line 239: // TODO: adjust idata idata.itsMaxFrameArray & idata.itsMaxStack so they start with - line 761: // TODO: Icode_REG_STR_C0-3 is not dump. I made this the same it. rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java (3 lines): - line 334: // TODO Can this be made more strongly typed? - line 1094: /* TODO: Hopefully this can be replaced with ecmaToXml below. */ - line 1104: // TODO Check this rhino-tools/src/main/java/org/mozilla/javascript/tools/jsc/Main.java (3 lines): - line 167: throw new Error(e.toString()); // TODO: better error - line 173: // TODO: allow for multiple comma-separated interfaces. - line 182: throw new Error(e.toString()); // TODO: better error benchmarks/testsrc/benchmarks/v8-benchmarks-v5/crypto.js (2 lines): - line 1440: // TODO: allow reseeding after first request - line 1632: // TODO: re-calculate any missing CRT params benchmarks/testsrc/benchmarks/v8-benchmarks-v6/crypto.js (2 lines): - line 1440: // TODO: allow reseeding after first request - line 1632: // TODO: re-calculate any missing CRT params rhino/src/main/java/org/mozilla/classfile/ClassFileWriter.java (2 lines): - line 95: * ACC_PROTECTED ACC_FINAL ACC_ABSTRACT TODO: check that this is the appropriate set - line 2263: case ByteCode.JSR: // TODO: JSR is deprecated rhino/src/main/java/org/mozilla/javascript/Parser.java (2 lines): - line 2310: // TODO: support default values inside destructured assignment - line 4557: // TODO: should handle other nested values on the lhs (ArrayLiteral, ObjectLiteral) benchmarks/testsrc/benchmarks/v8-benchmarks-v6/raytrace.js (2 lines): - line 623: /* TODO: dynamically include other scripts */ - line 763: /* TODO */ benchmarks/testsrc/benchmarks/v8-benchmarks-v5/raytrace.js (2 lines): - line 654: /* TODO: dynamically include other scripts */ - line 794: /* TODO */ rhino/src/main/java/org/mozilla/javascript/optimizer/BodyCodegen.java (2 lines): - line 2209: // TODO: this is actually only necessary if the yield operation is - line 3563: // TODO we used to return for count == 0 but that broke the following: rhino/src/main/java/org/mozilla/javascript/regexp/RegExpImpl.java (1 line): - line 386: // TODO: redesign is necessary benchmarks/testsrc/benchmarks/sunspider-1.0/regexp-dna.js (1 line): - line 1711: dnaInput = dnaInput.replace(k, subs[k]) // FIXME: Would like this to be a global substitution in a future version of SunSpider. rhino/src/main/java/org/mozilla/javascript/DefiningClassLoader.java (1 line): - line 24: // TODO: we might want to use a separate protection domain for classes benchmarks/src/jmh/java/org/mozilla/javascript/benchmarks/V8Benchmark.java (1 line): - line 181: /* TODO not working right now benchmarks/testsrc/benchmarks/sunspider-0.9.1/regexp-dna.js (1 line): - line 1711: dnaInput = dnaInput.replace(k, subs[k]) // FIXME: Would like this to be a global substitution in a future version of SunSpider. rhino/src/main/java/org/mozilla/javascript/NativeJSON.java (1 line): - line 205: // TODO: This should also apply to subclasses of NativeString and NativeNumber rhino/src/main/java/org/mozilla/javascript/BaseFunction.java (1 line): - line 603: // TODO: add warning, error based on version rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/Namespace.java (1 line): - line 267: // TODO Is there a way to push this back into QName so that we can make rhino/src/main/java/org/mozilla/javascript/JavaAdapter.java (1 line): - line 182: // TODO: cache class wrapper? rhino/src/main/java/org/mozilla/javascript/EqualObjectGraphs.java (1 line): - line 265: // TODO: assert linked maps traversal order? rhino/src/main/java/org/mozilla/javascript/TokenStream.java (1 line): - line 413: Id_let = Token.LET, // TODO : Valid IdentifierName in non-strict mode. rhino/src/main/java/org/mozilla/javascript/NativeJavaObject.java (1 line): - line 94: // TODO: passing 'this' as the scope is bogus since it has rhino/src/main/java/org/mozilla/javascript/IRFactory.java (1 line): - line 1222: if (right == null) { // TODO: should this ever happen? rhino/src/main/java/org/mozilla/javascript/regexp/NativeRegExp.java (1 line): - line 1054: // TODO: support capture group names consisting of unicode escape sequences rhino-xml/src/main/java/org/mozilla/javascript/xmlimpl/QName.java (1 line): - line 69: * TODO This property is supposed to be invisible and I think we can