summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2010-03-09 16:33:18 -0800
committerJesse Wilson <jessewilson@google.com>2010-03-09 18:07:09 -0800
commitdf138faff880612d97a8e6e3fa344a91ae9d96ac (patch)
tree787d03324e17c6e1e858a539de905be8046414f1 /include/ScopedJavaUnicodeString.h
parentec02394f92b3ff460543dad5c57bc2ee6474683f (diff)
Implement adoptNode() and importNode().
importNode() shares all of its implementation with Node.clone(); the only areas they differ are the ones we don't support. The shared code is in 2 new methods, shallowCopy() and cloneOrImportNode(), both based on the old clone() method. Also removing some unnecessary "throws DOMException" clauses. The tests for the new methods are slightly cumbersome. Most move/copy nodes to another document, serialize that, and compare. Change-Id: Id9fb076e020d8327a8f70da401af9bd95d7a3d1b
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions