summaryrefslogtreecommitdiff
path: root/test/DOMTSHandler.pm
diff options
context:
space:
mode:
authorBo Yang <struggleyb.nku@gmail.com>2009-08-13 09:33:24 +0000
committerBo Yang <struggleyb.nku@gmail.com>2009-08-13 09:33:24 +0000
commit7d9fffe1fa883aa06509dbb71a1c34b6b91e15e6 (patch)
tree19c55b39d97567a37b88b49aaaac13b21b9f24ee /test/DOMTSHandler.pm
parentf34ead9b8cfe3e518868323cf5ac715f41aa1ef7 (diff)
downloadlibdom-7d9fffe1fa883aa06509dbb71a1c34b6b91e15e6.tar.gz
libdom-7d9fffe1fa883aa06509dbb71a1c34b6b91e15e6.tar.bz2
Merge the Events module (branches/struggleyb/libdom-events) back to trunk. :)
svn path=/trunk/dom/; revision=9236
Diffstat (limited to 'test/DOMTSHandler.pm')
-rw-r--r--test/DOMTSHandler.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/DOMTSHandler.pm b/test/DOMTSHandler.pm
index c7dd61d..5f36d53 100644
--- a/test/DOMTSHandler.pm
+++ b/test/DOMTSHandler.pm
@@ -694,7 +694,11 @@ sub generate_method {
if (exists $ats{'var'}) {
# Add the bootstrap params
if (exists $bootstrap_api{$method}) {
- $params = $params.", myrealloc, NULL, ctx";
+ if ($method eq "dom_implementation_create_document") {
+ $params = $params.", myrealloc, NULL, ctx, NULL";
+ } else {
+ $params = $params.", myrealloc, NULL, ctx";
+ }
}
# Deal with the situation like
#