In Name.add, support ArrayBuffer, but make sure ArrayBuffer is defined.

Change-Id: Iff9ccbecbab92ab1edb4ddd68ffde1a34d75b4d2
Remove debug test code.

Change-Id: I3386a50ac51bcd8af6da67fcee5924a6da2cd47b