1 Some porting notes for jscore work:
3 1) Some cases Null() or other garbage was used as the default in switch() where
4 it was returning Value(). Value() doesn't exist, we should return -null-
5 according to webcore. This probably needs to be fixed.
7 2) Constructors for objects are probably quite broken. Compare against webcore.
9 3) Lots of abort() were placed for functions and templates I couldn't find any
13 Object err = Error::create(exec,TypeError);
14 exec->setException(err);
17 throwError(exec, TypeError);
19 5) Replace getString() with ::getString()
21 6) Object::dynamicCast() (and others) are gone. Use ->getObject() and friends
22 and check for null instead of isValid().
24 7) .string() -> .domString()
26 8) double<->int conversions need to be fixed
28 9) ctx.sourceId() is gone
30 10) isA(x) -> ->type() == x
32 11) DeclaredFunctionImp::setName is gone - what to do?